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
genValues = new QValue[]{QValue.create(parent.getNodeId().getUUID().toString())};
String uuid = parent.getUUID(); if (uuid == null) { uuid = UUID.randomUUID().toString(); } genValues = new QValue[]{QValue.create(uuid)};
private QValue[] computeSystemGeneratedPropertyValues(NodeState parent, QPropertyDefinition def) { QValue[] genValues = null; /** * todo: need to come up with some callback mechanism for applying system generated values * (e.g. using a NodeTypeInstanceHandler interface) */ String[] qDefaultValues = def.getDefaultValues(); if (qDefaultValues != null && qDefaultValues.length > 0) { if (def.getRequiredType() == PropertyType.BINARY) { try { genValues = QValue.create(def.getDefaultValuesAsStream(), def.getRequiredType()); } catch (IOException e) { log.error("Internal error while build QValue from property definition: ", e.getMessage()); return null; } } else { genValues = QValue.create(qDefaultValues, def.getRequiredType()); } } else { // some predefined nodetypes declare auto-created properties without // default values QName declaringNT = def.getDeclaringNodeType(); QName name = def.getQName(); if (QName.MIX_REFERENCEABLE.equals(declaringNT) && QName.JCR_UUID.equals(name)) { // mix:referenceable node type defines jcr:uuid genValues = new QValue[]{QValue.create(parent.getNodeId().getUUID().toString())}; } else if (QName.NT_BASE.equals(declaringNT)) { // nt:base node type if (QName.JCR_PRIMARYTYPE.equals(name)) { // jcr:primaryType property genValues = new QValue[]{QValue.create(parent.getNodeTypeName())}; } else if (QName.JCR_MIXINTYPES.equals(name)) { // jcr:mixinTypes property QName[] mixins = parent.getMixinTypeNames(); genValues = new QValue[mixins.length]; for (int i = 0; i < mixins.length; i++) { genValues[i] = QValue.create(mixins[i]); } } } else if (QName.NT_HIERARCHYNODE.equals(declaringNT) && QName.JCR_CREATED.equals(name)) { // nt:hierarchyNode node type defines jcr:created property genValues = new QValue[]{QValue.create(Calendar.getInstance())}; } else if (QName.NT_RESOURCE.equals(declaringNT) && QName.JCR_LASTMODIFIED.equals(name)) { // nt:resource node type defines jcr:lastModified property genValues = new QValue[]{QValue.create(Calendar.getInstance())}; } else if (QName.NT_VERSION.equals(declaringNT) && QName.JCR_CREATED.equals(name)) { // nt:version node type defines jcr:created property genValues = new QValue[]{QValue.create(Calendar.getInstance())}; } } return genValues; }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/9ae8bbb5c63832a2db95f20a916c3c350f4f0681/SessionItemStateManager.java/clean/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/SessionItemStateManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2238, 620, 8526, 3671, 3163, 7823, 1396, 1972, 12, 907, 1119, 982, 16, 4766, 12900, 2238, 1396, 1852, 1652, 13, 288, 3639, 2238, 620, 8526, 3157, 1972, 273, 446, 31, 3639, 1783, 540, 380, 10621, 30, 1608, 358, 12404, 731, 598, 2690, 1348, 12860, 364, 13650, 2619, 4374, 924, 540, 380, 261, 73, 18, 75, 18, 1450, 279, 20896, 1442, 1503, 1560, 13, 540, 1195, 3639, 514, 8526, 1043, 1868, 1972, 273, 1652, 18, 588, 1868, 1972, 5621, 3639, 309, 261, 85, 1868, 1972, 480, 446, 597, 1043, 1868, 1972, 18, 2469, 405, 374, 13, 288, 5411, 309, 261, 536, 18, 588, 3705, 559, 1435, 422, 22983, 18, 16813, 13, 288, 7734, 775, 288, 10792, 3157, 1972, 273, 2238, 620, 18, 2640, 12, 536, 18, 588, 1868, 1972, 17052, 9334, 1652, 18, 588, 3705, 559, 10663, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 613, 18, 1636, 2932, 3061, 555, 1323, 1361, 2238, 620, 628, 1272, 2379, 30, 3104, 425, 18, 24906, 10663, 10792, 327, 446, 31, 7734, 289, 5411, 289, 469, 288, 9079, 3157, 1972, 273, 2238, 620, 18, 2640, 12, 85, 1868, 1972, 16, 1652, 18, 588, 3705, 559, 10663, 5411, 289, 3639, 289, 469, 288, 5411, 368, 2690, 19555, 14003, 15180, 14196, 3656, 17, 4824, 1790, 2887, 5411, 368, 805, 924, 5411, 16723, 20845, 1784, 273, 1652, 18, 588, 3456, 5968, 15101, 5621, 5411, 16723, 508, 273, 1652, 18, 588, 13688, 5621, 5411, 309, 261, 13688, 18, 7492, 60, 67, 14617, 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, 2238, 620, 8526, 3671, 3163, 7823, 1396, 1972, 12, 907, 1119, 982, 16, 4766, 12900, 2238, 1396, 1852, 1652, 13, 288, 3639, 2238, 620, 8526, 3157, 1972, 273, 446, 31, 3639, 1783, 540, 380, 10621, 30, 1608, 358, 12404, 731, 598, 2690, 1348, 12860, 364, 13650, 2619, 4374, 924, 540, 380, 261, 73, 18, 75, 18, 1450, 279, 20896, 1442, 1503, 1560, 13, 540, 1195, 3639, 514, 8526, 1043, 1868, 1972, 273, 1652, 18, 588, 1868, 1972, 5621, 3639, 309, 261, 85, 1868, 1972, 480, 446, 597, 1043, 1868, 1972, 18, 2469, 405, 374, 13, 288, 5411, 309, 261, 536, 18, 588, 3705, 559, 1435, 422, 22983, 18, 16813, 13, 288, 7734, 775, 288, 10792, 3157, 1972, 2 ]
return propertyList.getInherited("font-size").getLength().mvalue();
return propertyList.getInherited("font-size").getLength().getValue();
public int getBaseLength() { switch (iBaseType) { case FONTSIZE: return propertyList.get("font-size").getLength().mvalue(); case INH_FONTSIZE: return propertyList.getInherited("font-size").getLength().mvalue(); //case CONTAINING_BOX: // depends on property?? inline-progression vs block-progression //return parentFO.getContentWidth(); case CONTAINING_REFAREA: // example: start-indent, end-indent { //FONode fo; //for (fo = parentFO; fo != null && !fo.generatesReferenceAreas(); // fo = fo.getParent()); //return (((fo != null) && (fo instanceof FObj)) ? ((FObj)fo).getContentWidth() : 0); return 0; } case CUSTOM_BASE: //log.debug("!!! LengthBase.getBaseLength() called on CUSTOM_BASE type !!!"); return 0; default: //log.error("Unknown base type for LengthBase."); return 0; } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/eef12c894b3a6b778bd8cc21a0da2dc0faa4e00f/LengthBase.java/buggy/src/org/apache/fop/datatypes/LengthBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 8297, 1782, 1435, 288, 3639, 1620, 261, 77, 2171, 559, 13, 288, 3639, 648, 27104, 4574, 30, 5411, 327, 1272, 682, 18, 588, 2932, 5776, 17, 1467, 20387, 588, 1782, 7675, 81, 1132, 5621, 3639, 648, 2120, 44, 67, 25221, 4574, 30, 5411, 327, 1272, 682, 18, 588, 29078, 2932, 5776, 17, 1467, 20387, 588, 1782, 7675, 24805, 5621, 3639, 368, 3593, 8020, 6964, 1360, 67, 16876, 30, 5411, 368, 10935, 603, 1272, 14646, 6370, 17, 8298, 285, 6195, 1203, 17, 8298, 285, 5411, 368, 2463, 982, 3313, 18, 588, 1350, 2384, 5621, 3639, 648, 8020, 6964, 1360, 67, 862, 2046, 29416, 30, 565, 368, 3454, 30, 787, 17, 9355, 16, 679, 17, 9355, 540, 288, 5411, 368, 42, 673, 390, 18261, 31, 5411, 368, 1884, 261, 617, 273, 982, 3313, 31, 18261, 480, 446, 597, 401, 617, 18, 3441, 815, 2404, 28377, 5621, 5411, 368, 3639, 18261, 273, 18261, 18, 588, 3054, 10663, 5411, 368, 2463, 261, 12443, 617, 480, 446, 13, 597, 261, 617, 1276, 478, 2675, 3719, 692, 14015, 42, 2675, 13, 617, 2934, 588, 1350, 2384, 1435, 294, 374, 1769, 5411, 327, 374, 31, 3639, 289, 3639, 648, 21012, 67, 8369, 30, 5411, 368, 1330, 18, 4148, 2932, 25885, 11311, 2171, 18, 588, 2171, 1782, 1435, 2566, 603, 21012, 67, 8369, 618, 401, 5, 4442, 1769, 5411, 327, 374, 31, 3639, 805, 30, 5411, 368, 1330, 18, 1636, 2932, 4874, 1026, 618, 364, 11311, 2171, 1199, 1769, 5411, 327, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 8297, 1782, 1435, 288, 3639, 1620, 261, 77, 2171, 559, 13, 288, 3639, 648, 27104, 4574, 30, 5411, 327, 1272, 682, 18, 588, 2932, 5776, 17, 1467, 20387, 588, 1782, 7675, 81, 1132, 5621, 3639, 648, 2120, 44, 67, 25221, 4574, 30, 5411, 327, 1272, 682, 18, 588, 29078, 2932, 5776, 17, 1467, 20387, 588, 1782, 7675, 24805, 5621, 3639, 368, 3593, 8020, 6964, 1360, 67, 16876, 30, 5411, 368, 10935, 603, 1272, 14646, 6370, 17, 8298, 285, 6195, 1203, 17, 8298, 285, 5411, 368, 2463, 982, 3313, 18, 588, 1350, 2384, 5621, 3639, 648, 8020, 6964, 1360, 67, 862, 2046, 29416, 30, 565, 368, 3454, 30, 787, 17, 9355, 16, 679, 17, 9355, 540, 288, 2 ]
StatusPrinter.print(fruitContext); return fruitContext.getFruitShellList();
return fruitContext.getFruitShellList(); } catch (Exception je) { StatusPrinter.print(fruitContext); throw je; }
public List<FruitShell> doFirstPart(String filename) throws Exception { HashMap<Pattern, Action> rulesMap = new HashMap<Pattern, Action>(); rulesMap.put(new Pattern("group/fruitShell"), new FruitShellAction()); rulesMap.put(new Pattern("group/fruitShell/fruit"), new FruitFactoryAction()); rulesMap.put(new Pattern("group/fruitShell/fruit/*"), new NOPAction()); SimpleConfigurator simpleConfigurator = new SimpleConfigurator(rulesMap); simpleConfigurator.setContext(fruitContext); simpleConfigurator.doConfigure(Constants.TEST_DIR_PREFIX + "input/joran/" + filename); StatusPrinter.print(fruitContext); return fruitContext.getFruitShellList(); }
46523 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46523/b17afdd922fb715ce4d262907d6b474541e9bd32/FruitConfigurationTest.java/clean/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitConfigurationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 987, 32, 7167, 14945, 13220, 34, 741, 3759, 1988, 12, 780, 1544, 13, 1216, 1185, 288, 565, 4317, 32, 3234, 16, 4382, 34, 2931, 863, 273, 394, 4317, 32, 3234, 16, 4382, 34, 5621, 565, 2931, 863, 18, 458, 12, 2704, 6830, 2932, 1655, 19, 4840, 14945, 13220, 6, 3631, 394, 478, 8653, 305, 13220, 1803, 10663, 565, 2931, 863, 18, 458, 12, 2704, 6830, 2932, 1655, 19, 4840, 14945, 13220, 19, 4840, 14945, 6, 3631, 394, 478, 8653, 305, 1733, 1803, 10663, 565, 2931, 863, 18, 458, 12, 2704, 6830, 2932, 1655, 19, 4840, 14945, 13220, 19, 4840, 14945, 19, 7388, 3631, 394, 423, 3665, 1803, 10663, 565, 4477, 17182, 4143, 17182, 273, 394, 4477, 17182, 12, 7482, 863, 1769, 565, 4143, 17182, 18, 542, 1042, 12, 4840, 14945, 1042, 1769, 565, 4143, 17182, 18, 2896, 11207, 12, 2918, 18, 16961, 67, 4537, 67, 6307, 397, 315, 2630, 19, 78, 280, 304, 4898, 397, 1544, 1769, 565, 2685, 12149, 18, 1188, 12, 4840, 14945, 1042, 1769, 565, 327, 3812, 14945, 1042, 18, 588, 7167, 14945, 13220, 682, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 987, 32, 7167, 14945, 13220, 34, 741, 3759, 1988, 12, 780, 1544, 13, 1216, 1185, 288, 565, 4317, 32, 3234, 16, 4382, 34, 2931, 863, 273, 394, 4317, 32, 3234, 16, 4382, 34, 5621, 565, 2931, 863, 18, 458, 12, 2704, 6830, 2932, 1655, 19, 4840, 14945, 13220, 6, 3631, 394, 478, 8653, 305, 13220, 1803, 10663, 565, 2931, 863, 18, 458, 12, 2704, 6830, 2932, 1655, 19, 4840, 14945, 13220, 19, 4840, 14945, 6, 3631, 394, 478, 8653, 305, 1733, 1803, 10663, 565, 2931, 863, 18, 458, 12, 2704, 6830, 2932, 1655, 19, 4840, 14945, 13220, 19, 4840, 14945, 19, 7388, 3631, 394, 423, 3665, 1803, 10663, 565, 4477, 17182, 4143, 17182, 273, 394, 4477, 17182, 2 ]
if ((index < 0) || (index >= fFoldedCount))
if ((index < 0) || (index >= fFoldedCount)) {
public Object[] getFoldedElements(int index) { if ((index < 0) || (index >= fFoldedCount)) return null; int start = fFoldedIndices[index]; int count = (index == fFoldedCount - 1) ? fFilteredCount - start : fFoldedIndices[index + 1] - start; Object[] elements = new Object[count]; for (int i = 0; i != count; i++) elements[i] = fElements[fFilteredIndices[start + i]]; return elements; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/FilteredList.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/FilteredList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 8526, 2812, 355, 785, 3471, 12, 474, 770, 13, 288, 202, 202, 430, 14015, 1615, 411, 374, 13, 747, 261, 1615, 1545, 284, 42, 355, 785, 1380, 3719, 1082, 202, 2463, 446, 31, 202, 202, 474, 787, 273, 284, 42, 355, 785, 8776, 63, 1615, 15533, 202, 202, 474, 1056, 273, 261, 1615, 422, 284, 42, 355, 785, 1380, 300, 404, 13, 692, 284, 14478, 1380, 300, 787, 9506, 202, 30, 284, 42, 355, 785, 8776, 63, 1615, 397, 404, 65, 300, 787, 31, 202, 202, 921, 8526, 2186, 273, 394, 1033, 63, 1883, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 480, 1056, 31, 277, 27245, 1082, 202, 6274, 63, 77, 65, 273, 284, 3471, 63, 74, 14478, 8776, 63, 1937, 397, 277, 13563, 31, 202, 202, 2463, 2186, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 8526, 2812, 355, 785, 3471, 12, 474, 770, 13, 288, 202, 202, 430, 14015, 1615, 411, 374, 13, 747, 261, 1615, 1545, 284, 42, 355, 785, 1380, 3719, 1082, 202, 2463, 446, 31, 202, 202, 474, 787, 273, 284, 42, 355, 785, 8776, 63, 1615, 15533, 202, 202, 474, 1056, 273, 261, 1615, 422, 284, 42, 355, 785, 1380, 300, 404, 13, 692, 284, 14478, 1380, 300, 787, 9506, 202, 30, 284, 42, 355, 785, 8776, 63, 1615, 397, 404, 65, 300, 787, 31, 202, 202, 921, 8526, 2186, 273, 394, 1033, 63, 1883, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 480, 1056, 31, 277, 27245, 1082, 202, 6274, 63, 77, 2 ]
JMSPropertyFieldTable table = new JMSPropertyFieldTable();
JMSPropertyFieldTable table = new JMSPropertyFieldTable(new FieldTable());
public void testCheckPropertyNameStartCharacterIsLetter() throws JMSException { JMSPropertyFieldTable table = new JMSPropertyFieldTable(); //Try a name that starts with a number try { table.setObject("1", "String"); fail("property name must start with a letter"); } catch (IllegalArgumentException iae) { //normal path } checkEmpty(table); }
45585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45585/9cad5792c8fa0203114d63a1851b0a9181c967f5/JMSPropertyFieldTableTest.java/buggy/qpid/java/common/src/test/java/org/apache/qpid/framing/JMSPropertyFieldTableTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1564, 13073, 1685, 7069, 2520, 13938, 1435, 1216, 20343, 565, 288, 3639, 13270, 1396, 974, 1388, 1014, 273, 394, 13270, 1396, 974, 1388, 12, 2704, 2286, 1388, 10663, 3639, 368, 7833, 279, 508, 716, 2542, 598, 279, 1300, 3639, 775, 3639, 288, 5411, 1014, 18, 542, 921, 2932, 21, 3113, 315, 780, 8863, 5411, 2321, 2932, 4468, 508, 1297, 787, 598, 279, 9471, 8863, 3639, 289, 3639, 1044, 261, 31237, 30905, 13, 3639, 288, 5411, 368, 6130, 589, 3639, 289, 3639, 866, 1921, 12, 2121, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1564, 13073, 1685, 7069, 2520, 13938, 1435, 1216, 20343, 565, 288, 3639, 13270, 1396, 974, 1388, 1014, 273, 394, 13270, 1396, 974, 1388, 12, 2704, 2286, 1388, 10663, 3639, 368, 7833, 279, 508, 716, 2542, 598, 279, 1300, 3639, 775, 3639, 288, 5411, 1014, 18, 542, 921, 2932, 21, 3113, 315, 780, 8863, 5411, 2321, 2932, 4468, 508, 1297, 787, 598, 279, 9471, 8863, 3639, 289, 3639, 1044, 261, 31237, 30905, 13, 3639, 288, 5411, 368, 6130, 589, 3639, 289, 3639, 866, 1921, 12, 2121, 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 ]
if (sessionOutputSeparator != null) fspec.setSeparator(sessionOutputSeparator); else fspec.setSeparator(DEFOUTPUTSEPARATOR); }
if (key.indexOf(LINEEND) > 0) key = key.substring(0, key.indexOf(LINEEND));
private void parseCommand(String command) throws SequenceException, FormatException, InvalidQueryException, IOException, SQLException { int cLen = command.length(); command = command.replaceAll("\\s;$", ";"); // removes any whitespace before the ; character if (cLen == 0) return; else if (command.startsWith(USEC)) useCommand(NormalizeCommand(command)); else if (command.startsWith(SHOWDATASETC)) showDataset(); else if (command.startsWith(HELPC)) System.out.print(Help(NormalizeCommand(command))); else if (command.startsWith(DESCC)) DescribeRequest(NormalizeCommand(command)); else if (command.startsWith(SETCONSETSC)) setConnectionSettings(NormalizeCommand(command)); else if (command.startsWith(SHOWCONSETSC)) showConnectionSettings(); else if (command.startsWith(SETPROMPT)) setPrompt(NormalizeCommand(command)); else if (command.startsWith(SETOUTSETSC)) setOutputSettings(NormalizeCommand(command)); else if (command.startsWith(SHOWOUTSETSC)) showOutputSettings(); else if (command.startsWith(SETVERBOSEC)) setVerbose(NormalizeCommand(command)); else if (command.startsWith(HISTORYC)) History(NormalizeCommand(command)); else if (command.startsWith(EXECC)) Execute(NormalizeCommand(command)); else if (command.startsWith(LOADSCRIPTC)) LoadScript(NormalizeCommand(command)); else if (command.startsWith(RUNSCRIPTC)) ExecuteScript(NormalizeCommand(command)); else if (command.startsWith(SAVETOSCRIPTC)) WriteHistory(NormalizeCommand(command)); else if (NormalizeCommand(command).equals(EXITC) || NormalizeCommand(command).equals(QUITC)) ExitShell(); else if (command.startsWith(MartShellLib.GETQSTART) || command.startsWith(MartShellLib.USINGQSTART)) { if (envDataset != null) msl.setDataset(envDataset); Query query = msl.MQLtoQuery(command); OutputStream os = null; if (sessionOutputFile != null) os = sessionOutputFile; else os = System.out; FormatSpec fspec = null; if (sessionOutputFormat != null) { if (sessionOutputFormat.equals("fasta")) fspec = FormatSpec.FASTAFORMAT; else { fspec = new FormatSpec(FormatSpec.TABULATED); if (sessionOutputSeparator != null) fspec.setSeparator(sessionOutputSeparator); else fspec.setSeparator(DEFOUTPUTSEPARATOR); } } else fspec = FormatSpec.TABSEPARATEDFORMAT; engine.execute(query, fspec, os); } else if (command.startsWith(MartShellLib.STOREC)) { //storedCommand, should only be one 'as' mainLogger.info("Recieved storeCommand " + command + "\n"); command = command.substring(MartShellLib.STOREC.length() + 1).trim(); mainLogger.info(" now " + command + "\n"); StringTokenizer toks = new StringTokenizer(command, " "); StringBuffer storedCommand = new StringBuffer(); String key = null; boolean getKey = false; while (toks.hasMoreTokens()) { if (getKey) { key = toks.nextToken(); } else { String tok = toks.nextToken(); if (tok.equalsIgnoreCase(ASC)) getKey = true; else { if (storedCommand.length() > 0) storedCommand.append(" "); storedCommand.append(tok); } } } mainLogger.info("as command " + command + "\n\nkey = " + key + "\nstoredCommand = " + storedCommand.toString() + "\n" ); if (key.indexOf(LINEEND) > 0 ) key = key.substring(0, key.indexOf(LINEEND)); msl.addStoredMQLCommand(key, storedCommand.toString()); } else { throw new InvalidQueryException("\nInvalid Command: please try again " + command + "\n"); } }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/b7446e1a7ab65dfe54c5324d118c13dbb6e0bf2a/MartShell.java/buggy/src/java/org/ensembl/mart/shell/MartShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1109, 2189, 12, 780, 1296, 13, 202, 202, 15069, 8370, 503, 16, 4077, 503, 16, 1962, 1138, 503, 16, 1860, 16, 6483, 288, 202, 202, 474, 276, 2891, 273, 1296, 18, 2469, 5621, 202, 202, 3076, 273, 1296, 18, 2079, 1595, 2932, 1695, 87, 31, 8, 3113, 11430, 1769, 202, 202, 759, 7157, 1281, 7983, 1865, 326, 274, 3351, 202, 202, 430, 261, 71, 2891, 422, 374, 13, 1082, 202, 2463, 31, 202, 202, 12107, 309, 261, 3076, 18, 17514, 1190, 12, 8001, 39, 3719, 1082, 202, 1202, 2189, 12, 14380, 2189, 12, 3076, 10019, 202, 202, 12107, 309, 261, 3076, 18, 17514, 1190, 12, 16677, 4883, 4043, 39, 3719, 1082, 202, 4500, 10656, 5621, 202, 202, 12107, 309, 261, 3076, 18, 17514, 1190, 12, 20264, 3513, 3719, 1082, 202, 3163, 18, 659, 18, 1188, 12, 6696, 12, 14380, 2189, 12, 3076, 3719, 1769, 202, 202, 12107, 309, 261, 3076, 18, 17514, 1190, 12, 10964, 39, 3719, 1082, 202, 8782, 691, 12, 14380, 2189, 12, 3076, 10019, 202, 202, 12107, 309, 261, 3076, 18, 17514, 1190, 12, 4043, 2248, 4043, 2312, 3719, 1082, 202, 542, 1952, 2628, 12, 14380, 2189, 12, 3076, 10019, 202, 202, 12107, 309, 261, 3076, 18, 17514, 1190, 12, 16677, 2248, 4043, 2312, 3719, 1082, 202, 4500, 1952, 2628, 5621, 202, 202, 12107, 309, 261, 3076, 18, 17514, 1190, 12, 4043, 3373, 49, 1856, 3719, 1082, 202, 542, 15967, 12, 14380, 2189, 12, 3076, 10019, 202, 202, 12107, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1109, 2189, 12, 780, 1296, 13, 202, 202, 15069, 8370, 503, 16, 4077, 503, 16, 1962, 1138, 503, 16, 1860, 16, 6483, 288, 202, 202, 474, 276, 2891, 273, 1296, 18, 2469, 5621, 202, 202, 3076, 273, 1296, 18, 2079, 1595, 2932, 1695, 87, 31, 8, 3113, 11430, 1769, 202, 202, 759, 7157, 1281, 7983, 1865, 326, 274, 3351, 202, 202, 430, 261, 71, 2891, 422, 374, 13, 1082, 202, 2463, 31, 202, 202, 12107, 309, 261, 3076, 18, 17514, 1190, 12, 8001, 39, 3719, 1082, 202, 1202, 2189, 12, 14380, 2189, 12, 3076, 10019, 202, 202, 12107, 309, 261, 3076, 18, 17514, 1190, 12, 16677, 4883, 4043, 39, 3719, 1082, 202, 4500, 10656, 5621, 2 ]
Iterator itr = ImageServiceUtil.getImageById("%.ig.%").iterator();
Iterator itr = ImageLocalServiceUtil.search("%.ig.%").iterator();
private void _updateImage() throws PortalException, SystemException { // Image gallery Iterator itr = ImageServiceUtil.getImageById("%.ig.%").iterator(); while (itr.hasNext()) { Image image = (Image)itr.next(); String oldImageId = image.getImageId(); String newImageId = StringUtil.replace( oldImageId, ".ig.", ".image_gallery."); if (newImageId.endsWith(".tn")) { newImageId = newImageId.substring( 0, newImageId.length() - 2) + "small"; } else { newImageId = newImageId + ".large"; } ImageServiceUtil.updateImage(newImageId, image.getTextObj()); ImageServiceUtil.deleteImage(oldImageId); } // Shopping item itr = ImageServiceUtil.getImageById("%.s.%").iterator(); while (itr.hasNext()) { Image image = (Image)itr.next(); String oldImageId = image.getImageId(); String newImageId = StringUtil.replace( oldImageId, ".s.", ".shopping.item."); ImageServiceUtil.updateImage(newImageId, image.getTextObj()); ImageServiceUtil.deleteImage(oldImageId); } }
53908 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53908/26bb21a1caec847cbb4c3a32f63cca4bbb012167/UpgradeProcess_Legacy.java/buggy/portal-ejb/src/com/liferay/portal/upgrade/UpgradeProcess_Legacy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 389, 2725, 2040, 1435, 1216, 25478, 503, 16, 26731, 288, 202, 202, 759, 3421, 13624, 202, 202, 3198, 11176, 273, 3421, 1179, 1304, 18, 588, 2040, 5132, 27188, 18, 360, 7866, 20387, 9838, 5621, 202, 202, 17523, 261, 305, 86, 18, 5332, 2134, 10756, 288, 1082, 202, 2040, 1316, 273, 261, 2040, 13, 305, 86, 18, 4285, 5621, 1082, 202, 780, 1592, 2040, 548, 273, 1316, 18, 588, 2040, 548, 5621, 1082, 202, 780, 394, 2040, 548, 273, 14205, 18, 2079, 12, 9506, 202, 1673, 2040, 548, 16, 3552, 360, 1199, 16, 3552, 2730, 67, 21454, 1199, 1769, 1082, 202, 430, 261, 2704, 2040, 548, 18, 5839, 1190, 2932, 18, 5088, 6, 3719, 288, 9506, 202, 2704, 2040, 548, 273, 394, 2040, 548, 18, 28023, 12, 6862, 202, 20, 16, 394, 2040, 548, 18, 2469, 1435, 300, 576, 13, 397, 315, 12019, 14432, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 2704, 2040, 548, 273, 394, 2040, 548, 397, 3552, 14095, 14432, 1082, 202, 97, 1082, 202, 2040, 1179, 1304, 18, 2725, 2040, 12, 2704, 2040, 548, 16, 1316, 18, 588, 1528, 2675, 10663, 1082, 202, 2040, 1179, 1304, 18, 3733, 2040, 12, 1673, 2040, 548, 1769, 202, 202, 97, 202, 202, 759, 17568, 1382, 761, 202, 202, 305, 86, 273, 3421, 1179, 1304, 18, 588, 2040, 5132, 27188, 18, 87, 7866, 20387, 9838, 5621, 202, 202, 17523, 261, 305, 86, 18, 5332, 2134, 10756, 288, 1082, 202, 2040, 1316, 273, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 389, 2725, 2040, 1435, 1216, 25478, 503, 16, 26731, 288, 202, 202, 759, 3421, 13624, 202, 202, 3198, 11176, 273, 3421, 1179, 1304, 18, 588, 2040, 5132, 27188, 18, 360, 7866, 20387, 9838, 5621, 202, 202, 17523, 261, 305, 86, 18, 5332, 2134, 10756, 288, 1082, 202, 2040, 1316, 273, 261, 2040, 13, 305, 86, 18, 4285, 5621, 1082, 202, 780, 1592, 2040, 548, 273, 1316, 18, 588, 2040, 548, 5621, 1082, 202, 780, 394, 2040, 548, 273, 14205, 18, 2079, 12, 9506, 202, 1673, 2040, 548, 16, 3552, 360, 1199, 16, 3552, 2730, 67, 21454, 1199, 1769, 1082, 202, 430, 261, 2704, 2040, 548, 18, 5839, 1190, 2932, 18, 5088, 6, 3719, 288, 9506, 2 ]
return new SaslInputStream(source,this);
if (getSecurity() > 0) { return new SaslInputStream(source,this); } else { return source; }
public InputStream getInputStream(InputStream source) throws IOException { return new SaslInputStream(source,this); }
9279 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9279/01d75cf2000ffbe9d8a22b16221afa14e5f24d86/GenericServer.java/buggy/java/CyrusSasl/GenericServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5037, 14424, 12, 4348, 1084, 13, 1216, 1860, 565, 288, 202, 2463, 394, 348, 345, 80, 4348, 12, 3168, 16, 2211, 1769, 202, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5037, 14424, 12, 4348, 1084, 13, 1216, 1860, 565, 288, 202, 2463, 394, 348, 345, 80, 4348, 12, 3168, 16, 2211, 1769, 202, 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 ]
expect(outageDao.currentOutages(1,1)).andReturn(expectedOutages);
expect(outageDao.currentOutages(1,1,"iflostservice","asc")).andReturn(expectedOutages);
public void testCurrentByRange () { Collection<OnmsOutage> expectedOutages = new JdbcSet(); OnmsOutage expectedCurrent = new OnmsOutage(); expectedCurrent.setId(1); expectedOutages.add(expectedCurrent); expect(outageDao.currentOutages(1,1)).andReturn(expectedOutages); replay(outageDao); Set suppressed = (Set) outageService.getCurrentOutagesByRange(1, 1); verify(outageDao); assertTrue("Current Outages", suppressed.equals(expectedOutages)); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/7ffeb729e0b16ef637118f7f01b9e4bfca89ed84/DefaultOutageServiceTest.java/buggy/opennms-webapp/src/test/java/org/opennms/web/svclayer/DefaultOutageServiceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 3935, 858, 2655, 1832, 288, 5411, 2200, 32, 1398, 959, 1182, 410, 34, 2665, 1182, 1023, 273, 394, 24209, 694, 5621, 1377, 2755, 959, 1182, 410, 2665, 3935, 273, 225, 394, 2755, 959, 1182, 410, 5621, 1377, 2665, 3935, 18, 542, 548, 12, 21, 1769, 1850, 2665, 1182, 1023, 18, 1289, 12, 3825, 3935, 1769, 5411, 4489, 12, 659, 410, 11412, 18, 2972, 1182, 1023, 12, 21, 16, 21, 10837, 430, 383, 334, 3278, 15937, 3691, 7923, 2934, 464, 990, 12, 3825, 1182, 1023, 1769, 1377, 16033, 12, 659, 410, 11412, 1769, 5411, 1000, 24448, 273, 261, 694, 13, 596, 410, 1179, 18, 588, 3935, 1182, 1023, 858, 2655, 12, 21, 16, 404, 1769, 1377, 3929, 12, 659, 410, 11412, 1769, 1377, 1815, 5510, 2932, 3935, 2976, 1023, 3113, 24448, 18, 14963, 12, 3825, 1182, 1023, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 3935, 858, 2655, 1832, 288, 5411, 2200, 32, 1398, 959, 1182, 410, 34, 2665, 1182, 1023, 273, 394, 24209, 694, 5621, 1377, 2755, 959, 1182, 410, 2665, 3935, 273, 225, 394, 2755, 959, 1182, 410, 5621, 1377, 2665, 3935, 18, 542, 548, 12, 21, 1769, 1850, 2665, 1182, 1023, 18, 1289, 12, 3825, 3935, 1769, 5411, 4489, 12, 659, 410, 11412, 18, 2972, 1182, 1023, 12, 21, 16, 21, 10837, 430, 383, 334, 3278, 15937, 3691, 7923, 2934, 464, 990, 12, 3825, 1182, 1023, 1769, 1377, 16033, 12, 659, 410, 11412, 1769, 5411, 1000, 24448, 273, 261, 694, 13, 596, 410, 1179, 18, 588, 3935, 1182, 1023, 858, 2655, 12, 21, 16, 404, 1769, 1377, 3929, 2 ]
logger.info("Starting new socket node."); new Thread(new SocketNode(socket, h)).start(); } } catch (Exception e) { e.printStackTrace(); } }
logger.info("Starting new socket node."); new Thread(new SocketNode(socket, h)).start(); } } catch (Exception e) { e.printStackTrace(); } }
public static void main(String argv[]) { if (argv.length == 3) { init(argv[0], argv[1], argv[2]); } else { usage("Wrong number of arguments."); } try { logger.info("Listening on port " + port); ServerSocket serverSocket = new ServerSocket(port); while (true) { logger.info("Waiting to accept a new client."); Socket socket = serverSocket.accept(); InetAddress inetAddress = socket.getInetAddress(); logger.info("Connected to client at " + inetAddress); LoggerContext h = (LoggerContext) server.hierarchyMap.get(inetAddress); if (h == null) { h = server.configureHierarchy(inetAddress); } logger.info("Starting new socket node."); new Thread(new SocketNode(socket, h)).start(); } } catch (Exception e) { e.printStackTrace(); } }
46578 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46578/7177ff8f31734f293185997e0a81156f64bc26a6/SocketServer.java/buggy/logback-classic/src/main/java/ch/qos/logback/classic/net/SocketServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 5261, 63, 5717, 288, 202, 202, 430, 261, 19485, 18, 2469, 422, 890, 13, 288, 1082, 202, 2738, 12, 19485, 63, 20, 6487, 5261, 63, 21, 6487, 5261, 63, 22, 19226, 202, 202, 97, 469, 288, 1082, 202, 9167, 2932, 13634, 1300, 434, 1775, 1199, 1769, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 4901, 18, 1376, 2932, 31594, 603, 1756, 315, 397, 1756, 1769, 1082, 202, 2081, 4534, 1438, 4534, 273, 394, 3224, 4534, 12, 655, 1769, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 4901, 18, 1376, 2932, 15946, 358, 2791, 279, 394, 1004, 1199, 1769, 9506, 202, 4534, 2987, 273, 1438, 4534, 18, 9436, 5621, 9506, 202, 382, 278, 1887, 17661, 1887, 273, 2987, 18, 588, 382, 278, 1887, 5621, 9506, 202, 4901, 18, 1376, 2932, 8932, 358, 1004, 622, 315, 397, 17661, 1887, 1769, 9506, 202, 3328, 1042, 366, 273, 261, 3328, 1042, 13, 1438, 18, 17937, 863, 18, 588, 12, 23864, 1887, 1769, 9506, 202, 430, 261, 76, 422, 446, 13, 288, 6862, 202, 76, 273, 1438, 18, 14895, 12074, 12, 23864, 1887, 1769, 9506, 202, 97, 9506, 202, 4901, 18, 1376, 2932, 11715, 394, 2987, 756, 1199, 1769, 9506, 202, 2704, 4884, 12, 2704, 8758, 907, 12, 7814, 16, 366, 13, 2934, 1937, 5621, 1082, 202, 97, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 73, 18, 1188, 6332, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 5261, 63, 5717, 288, 202, 202, 430, 261, 19485, 18, 2469, 422, 890, 13, 288, 1082, 202, 2738, 12, 19485, 63, 20, 6487, 5261, 63, 21, 6487, 5261, 63, 22, 19226, 202, 202, 97, 469, 288, 1082, 202, 9167, 2932, 13634, 1300, 434, 1775, 1199, 1769, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 4901, 18, 1376, 2932, 31594, 603, 1756, 315, 397, 1756, 1769, 1082, 202, 2081, 4534, 1438, 4534, 273, 394, 3224, 4534, 12, 655, 1769, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 4901, 18, 1376, 2932, 15946, 358, 2791, 279, 394, 1004, 1199, 1769, 9506, 202, 4534, 2987, 273, 1438, 4534, 18, 9436, 5621, 9506, 2 ]
bl.printStackTrace();
Log.log(Log.ERROR,this,bl);
String getLine(Element elem) { if(elem == null) return ""; try { return buffer.getText(elem.getStartOffset(), elem.getEndOffset() - elem.getStartOffset() - 1); } catch(BadLocationException bl) { bl.printStackTrace(); return ""; } }
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/f069d2ff351bbe01259f5df8f7a594a981c218e6/HyperSearch.java/clean/org/gjt/sp/jedit/gui/HyperSearch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 780, 9851, 12, 1046, 3659, 13, 202, 202, 95, 1082, 202, 430, 12, 10037, 422, 446, 13, 9506, 202, 2463, 1408, 31, 1082, 202, 698, 1082, 202, 95, 9506, 202, 2463, 1613, 18, 588, 1528, 12, 10037, 18, 588, 1685, 2335, 9334, 6862, 202, 10037, 18, 588, 1638, 2335, 1435, 300, 6862, 202, 10037, 18, 588, 1685, 2335, 1435, 300, 404, 1769, 1082, 202, 97, 1082, 202, 14683, 12, 6434, 2735, 503, 2811, 13, 1082, 202, 95, 9506, 202, 3083, 18, 1188, 6332, 5621, 9506, 202, 2463, 1408, 31, 1082, 202, 97, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 780, 9851, 12, 1046, 3659, 13, 202, 202, 95, 1082, 202, 430, 12, 10037, 422, 446, 13, 9506, 202, 2463, 1408, 31, 1082, 202, 698, 1082, 202, 95, 9506, 202, 2463, 1613, 18, 588, 1528, 12, 10037, 18, 588, 1685, 2335, 9334, 6862, 202, 10037, 18, 588, 1638, 2335, 1435, 300, 6862, 202, 10037, 18, 588, 1685, 2335, 1435, 300, 404, 1769, 1082, 202, 97, 1082, 202, 14683, 12, 6434, 2735, 503, 2811, 13, 1082, 202, 95, 9506, 202, 3083, 18, 1188, 6332, 5621, 9506, 202, 2463, 1408, 31, 1082, 202, 97, 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 ]
final byte[] CR = { '\r' }; final byte[] LF = { '\n' }; final byte[] CRLF = { '\r', '\n' };
final byte[] CR = { (byte)'\r' }; final byte[] LF = { (byte)'\n' }; final byte[] CRLF = { (byte)'\r', (byte)'\n' };
public void write(OutputStream stream) throws IOException { synchronized (stream) { if (options_lines != null) { stream.write(options_lines.toBytes(), 0, options_lines.length()); } ByteBuf b = new ByteBuf(); final byte[] CR = { '\r' }; final byte[] LF = { '\n' }; final byte[] CRLF = { '\r', '\n' }; byte linebreak[] = (Constants.ISUNIX ? LF : Constants.ISMAC ? CR : CRLF); for (Enumeration e = lines.elements(); e.hasMoreElements(); ) { NewsRCLine n = (NewsRCLine) e.nextElement(); b.setLength(0); n.write(b); b.append(linebreak); stream.write(b.toBytes(), 0, b.length()); } } }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/de607c82e274a450526cd77de822002985cd7767/NewsRC.java/buggy/grendel/storage/NewsRC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 12, 4632, 1407, 13, 1216, 1860, 288, 565, 3852, 261, 3256, 13, 288, 1377, 309, 261, 2116, 67, 3548, 480, 446, 13, 288, 3639, 1407, 18, 2626, 12, 2116, 67, 3548, 18, 869, 2160, 9334, 374, 16, 5397, 702, 67, 3548, 18, 2469, 10663, 1377, 289, 1377, 17120, 324, 273, 394, 17120, 5621, 1377, 727, 1160, 8526, 6732, 273, 288, 2337, 86, 11, 289, 31, 1377, 727, 1160, 8526, 18803, 273, 288, 2337, 82, 11, 289, 31, 1377, 727, 1160, 8526, 21791, 273, 288, 2337, 86, 2187, 2337, 82, 11, 289, 31, 1377, 1160, 980, 8820, 8526, 273, 261, 2918, 18, 5127, 10377, 60, 692, 18803, 294, 5245, 18, 5127, 10875, 692, 6732, 294, 21791, 1769, 1377, 364, 261, 21847, 425, 273, 2362, 18, 6274, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 3639, 27061, 11529, 1670, 290, 273, 261, 17948, 11529, 1670, 13, 425, 18, 4285, 1046, 5621, 3639, 324, 18, 542, 1782, 12, 20, 1769, 3639, 290, 18, 2626, 12, 70, 1769, 3639, 324, 18, 6923, 12, 1369, 8820, 1769, 3639, 1407, 18, 2626, 12, 70, 18, 869, 2160, 9334, 374, 16, 324, 18, 2469, 10663, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 12, 4632, 1407, 13, 1216, 1860, 288, 565, 3852, 261, 3256, 13, 288, 1377, 309, 261, 2116, 67, 3548, 480, 446, 13, 288, 3639, 1407, 18, 2626, 12, 2116, 67, 3548, 18, 869, 2160, 9334, 374, 16, 5397, 702, 67, 3548, 18, 2469, 10663, 1377, 289, 1377, 17120, 324, 273, 394, 17120, 5621, 1377, 727, 1160, 8526, 6732, 273, 288, 2337, 86, 11, 289, 31, 1377, 727, 1160, 8526, 18803, 273, 288, 2337, 82, 11, 289, 31, 1377, 727, 1160, 8526, 21791, 273, 288, 2337, 86, 2187, 2337, 82, 11, 289, 31, 1377, 1160, 980, 8820, 8526, 273, 261, 2918, 18, 5127, 10377, 60, 692, 18803, 294, 5245, 18, 5127, 10875, 692, 6732, 294, 21791, 2 ]
data.widthHint = 170;
data.widthHint = 200;
public void createControl( Composite parent ) { Composite composite = new Composite( parent, SWT.NONE ); GridLayout gridLayout = new GridLayout( ); gridLayout.numColumns = 2; gridLayout.marginHeight = 10; gridLayout.marginWidth = 10; gridLayout.horizontalSpacing = 10; gridLayout.verticalSpacing = 10; composite.setLayout( gridLayout ); Label label0 = new Label( composite, SWT.NONE ); label0.setText( MESSAGE_REPORT_TEMPLATES ); Label previewLabel = new Label( composite, SWT.NONE ); previewLabel.setText( MESSAGE_PREVIEW ); GridData data = new GridData( GridData.BEGINNING ); previewLabel.setLayoutData( data ); templateList = new List( composite, SWT.BORDER ); createCustomTemplateList( ); for ( Iterator it = templates.iterator( ); it.hasNext( ); ) { templateList.add( ( (Template) it.next( ) ).getName( ) ); } data = new GridData( GridData.BEGINNING | GridData.FILL_VERTICAL ); data.widthHint = 170; templateList.setLayoutData( data ); previewPane = new Composite( composite, 0 ); data = new GridData( GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL ); previewPane.setLayoutData( data ); gridLayout = new GridLayout( ); gridLayout.verticalSpacing = 10; previewPane.setLayout( gridLayout ); previewCanvas = new ImageCanvas( previewPane, SWT.BORDER ); data = new GridData( GridData.BEGINNING ); data.heightHint = 229; data.widthHint = 184; previewCanvas.setLayoutData( data ); Label descriptionTitle = new Label( previewPane, SWT.NONE ); descriptionTitle.setText( MESSAGE_DESCRIPTION ); data = new GridData( GridData.FILL_HORIZONTAL ); descriptionTitle.setLayoutData( data ); description = new Label( previewPane, SWT.WRAP ); data = new GridData( GridData.FILL_HORIZONTAL ); data.widthHint = 184; data.horizontalIndent = 20; description.setLayoutData( data ); new Label( previewPane, SWT.NONE ); chkBox = new Button( composite, SWT.CHECK ); chkBox.setText( MESSAGE_SHOW_CHEATSHEET ); chkBox.setSelection( ReportPlugin.readCheatSheetPreference( ) ); chkBox.addSelectionListener( new SelectionListener( ) { public void widgetSelected( SelectionEvent e ) { ReportPlugin.writeCheatSheetPreference( chkBox.getSelection( ) ); } public void widgetDefaultSelected( SelectionEvent e ) { ReportPlugin.writeCheatSheetPreference( chkBox.getSelection( ) ); } } ); hookListeners( ); templateList.select( 0 ); templateListener.handleEvent( new Event( ) ); setControl( composite ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/137b99336b2e256bd032451d0c5ade7881ce9d0b/WizardTemplateChoicePage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/WizardTemplateChoicePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 6313, 3744, 3068, 3744, 273, 394, 7145, 3744, 12, 11272, 202, 202, 5222, 3744, 18, 2107, 3380, 273, 576, 31, 202, 202, 5222, 3744, 18, 10107, 2686, 273, 1728, 31, 202, 202, 5222, 3744, 18, 10107, 2384, 273, 1728, 31, 202, 202, 5222, 3744, 18, 18396, 18006, 273, 1728, 31, 202, 202, 5222, 3744, 18, 17824, 18006, 273, 1728, 31, 202, 202, 27676, 18, 542, 3744, 12, 3068, 3744, 11272, 202, 202, 2224, 1433, 20, 273, 394, 5287, 12, 9635, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1925, 20, 18, 542, 1528, 12, 9841, 67, 22710, 67, 12205, 55, 11272, 202, 202, 2224, 10143, 2224, 273, 394, 5287, 12, 9635, 16, 348, 8588, 18, 9826, 11272, 202, 202, 12102, 2224, 18, 542, 1528, 12, 9841, 67, 3670, 12145, 11272, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 7145, 751, 18, 16061, 15870, 11272, 202, 202, 12102, 2224, 18, 542, 3744, 751, 12, 501, 11272, 202, 202, 3202, 682, 273, 394, 987, 12, 9635, 16, 348, 8588, 18, 38, 7954, 11272, 202, 202, 2640, 3802, 2283, 682, 12, 11272, 202, 202, 1884, 261, 4498, 518, 273, 5539, 18, 9838, 12, 11272, 518, 18, 5332, 2134, 12, 11272, 262, 202, 202, 95, 1082, 202, 3202, 682, 18, 1289, 12, 261, 261, 2283, 13, 518, 18, 4285, 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, 918, 752, 3367, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 6313, 3744, 3068, 3744, 273, 394, 7145, 3744, 12, 11272, 202, 202, 5222, 3744, 18, 2107, 3380, 273, 576, 31, 202, 202, 5222, 3744, 18, 10107, 2686, 273, 1728, 31, 202, 202, 5222, 3744, 18, 10107, 2384, 273, 1728, 31, 202, 202, 5222, 3744, 18, 18396, 18006, 273, 1728, 31, 202, 202, 5222, 3744, 18, 17824, 18006, 273, 1728, 31, 202, 202, 27676, 18, 542, 3744, 12, 3068, 3744, 11272, 202, 202, 2224, 1433, 20, 273, 394, 5287, 12, 9635, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1925, 20, 2 ]
log.error( "Failed on " + className + ".init(InstallationLayout)", e );
log.error( "Failed on " + startClassName + ".init(InstallationLayout)", e );
public void callInit( String className ) { Class clazz = null; Method op = null; Thread.currentThread().setContextClassLoader( appLoader ); try { clazz = appLoader.loadClass( className ); } catch ( ClassNotFoundException e ) { log.error( "Could not find " + className, e ); System.exit( ExitCodes.CLASS_LOOKUP ); } try { bootstrapped = clazz.newInstance(); } catch ( Exception e ) { log.error( "Could not instantiate " + className, e ); System.exit( ExitCodes.INSTANTIATION ); } try { op = clazz.getMethod( "init", new Class[] { InstallationLayout.class } ); } catch ( Exception e ) { log.error( "Could not find init(InstallationLayout) method for " + className, e ); System.exit( ExitCodes.METHOD_LOOKUP ); } try { op.invoke( bootstrapped, new Object[] { this.install } ); } catch ( Exception e ) { log.error( "Failed on " + className + ".init(InstallationLayout)", e ); System.exit( ExitCodes.INITIALIZATION ); } }
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/4350c947119a3f2bb5047cf41c1cca097a80b46b/Bootstrapper.java/clean/standalone/daemon/src/main/java/org/apache/directory/server/standalone/daemon/Bootstrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 745, 2570, 12, 514, 2658, 262, 565, 288, 3639, 1659, 4003, 273, 446, 31, 3639, 2985, 1061, 273, 446, 31, 7734, 4884, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 595, 2886, 11272, 3639, 775, 3639, 288, 5411, 4003, 273, 595, 2886, 18, 945, 797, 12, 2658, 11272, 3639, 289, 3639, 1044, 261, 10403, 425, 262, 3639, 288, 5411, 613, 18, 1636, 12, 315, 4445, 486, 1104, 315, 397, 2658, 16, 425, 11272, 5411, 2332, 18, 8593, 12, 9500, 6295, 18, 5237, 67, 1502, 31581, 11272, 3639, 289, 7734, 775, 3639, 288, 5411, 7065, 1845, 273, 4003, 18, 2704, 1442, 5621, 3639, 289, 3639, 1044, 261, 1185, 425, 262, 3639, 288, 5411, 613, 18, 1636, 12, 315, 4445, 486, 10275, 315, 397, 2658, 16, 425, 11272, 5411, 2332, 18, 8593, 12, 9500, 6295, 18, 706, 15379, 45, 2689, 11272, 3639, 289, 7734, 775, 3639, 288, 5411, 1061, 273, 4003, 18, 588, 1305, 12, 315, 2738, 3113, 394, 1659, 8526, 288, 10284, 367, 3744, 18, 1106, 289, 11272, 3639, 289, 3639, 1044, 261, 1185, 425, 262, 3639, 288, 5411, 613, 18, 1636, 12, 315, 4445, 486, 1104, 1208, 12, 21790, 3744, 13, 707, 364, 315, 397, 2658, 16, 425, 11272, 5411, 2332, 18, 8593, 12, 9500, 6295, 18, 5327, 67, 1502, 31581, 11272, 3639, 289, 7734, 775, 3639, 288, 5411, 1061, 18, 14407, 12, 7065, 1845, 16, 394, 1033, 8526, 288, 333, 18, 5425, 289, 11272, 3639, 289, 3639, 1044, 261, 1185, 425, 262, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 745, 2570, 12, 514, 2658, 262, 565, 288, 3639, 1659, 4003, 273, 446, 31, 3639, 2985, 1061, 273, 446, 31, 7734, 4884, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 595, 2886, 11272, 3639, 775, 3639, 288, 5411, 4003, 273, 595, 2886, 18, 945, 797, 12, 2658, 11272, 3639, 289, 3639, 1044, 261, 10403, 425, 262, 3639, 288, 5411, 613, 18, 1636, 12, 315, 4445, 486, 1104, 315, 397, 2658, 16, 425, 11272, 5411, 2332, 18, 8593, 12, 9500, 6295, 18, 5237, 67, 1502, 31581, 11272, 3639, 289, 7734, 775, 3639, 288, 5411, 7065, 1845, 273, 4003, 18, 2704, 1442, 5621, 3639, 289, 3639, 1044, 261, 1185, 425, 262, 3639, 288, 5411, 613, 18, 1636, 12, 2 ]
public void setActive(boolean activeState) { if (activeState) {
public void setActive(int activeState) { if (activeState != StackPresentation.AS_INACTIVE) {
public void setActive(boolean activeState) { if (activeState) { if (presentationSite.getState() == IStackPresentationSite.STATE_MINIMIZED) { setState(IStackPresentationSite.STATE_RESTORED); } } getPresentation().setActive(activeState ? StackPresentation.AS_ACTIVE_FOCUS : StackPresentation.AS_INACTIVE); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/caa606c7325710ffec5da6d00cdda37dc6bd0c74/PartStack.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartStack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20669, 12, 6494, 2695, 1119, 13, 288, 3639, 309, 261, 3535, 1119, 13, 288, 5411, 309, 261, 10364, 4956, 18, 588, 1119, 1435, 422, 467, 2624, 6351, 367, 4956, 18, 7998, 67, 6236, 3445, 24131, 13, 288, 7734, 12947, 12, 45, 2624, 6351, 367, 4956, 18, 7998, 67, 12030, 51, 5879, 1769, 5411, 289, 10792, 289, 3639, 1689, 1581, 367, 7675, 542, 3896, 12, 3535, 1119, 692, 7283, 6351, 367, 18, 3033, 67, 13301, 67, 3313, 39, 3378, 294, 7283, 6351, 367, 18, 3033, 67, 706, 13301, 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, 918, 20669, 12, 6494, 2695, 1119, 13, 288, 3639, 309, 261, 3535, 1119, 13, 288, 5411, 309, 261, 10364, 4956, 18, 588, 1119, 1435, 422, 467, 2624, 6351, 367, 4956, 18, 7998, 67, 6236, 3445, 24131, 13, 288, 7734, 12947, 12, 45, 2624, 6351, 367, 4956, 18, 7998, 67, 12030, 51, 5879, 1769, 5411, 289, 10792, 289, 3639, 1689, 1581, 367, 7675, 542, 3896, 12, 3535, 1119, 692, 7283, 6351, 367, 18, 3033, 67, 13301, 67, 3313, 39, 3378, 294, 7283, 6351, 367, 18, 3033, 67, 706, 13301, 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 ]
public org.quickfix.field.SettlSessID getSettlSessID() throws FieldNotFound { org.quickfix.field.SettlSessID value = new org.quickfix.field.SettlSessID();
public quickfix.field.SettlSessID getSettlSessID() throws FieldNotFound { quickfix.field.SettlSessID value = new quickfix.field.SettlSessID();
public org.quickfix.field.SettlSessID getSettlSessID() throws FieldNotFound { org.quickfix.field.SettlSessID value = new org.quickfix.field.SettlSessID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/AssignmentReport.java/buggy/src/java/src/quickfix/fix44/AssignmentReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 55, 403, 734, 336, 694, 6172, 55, 403, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 55, 403, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 55, 403, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 55, 403, 734, 336, 694, 6172, 55, 403, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 55, 403, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 55, 403, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
actionBarConfigurer);
getActionBarConfigurer());
private void addWorkingSetBuildActions(MenuManager menu) { buildWorkingSetMenu = new MenuManager(IDEWorkbenchMessages .getString("Workbench.buildSet")); //$NON-NLS-1$ IContributionItem workingSetBuilds = new BuildSetMenu(window, actionBarConfigurer); buildWorkingSetMenu.add(workingSetBuilds); menu.add(buildWorkingSetMenu); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/02a63c83a96f095b44f6c4a9bd0de64e8b842628/WorkbenchActionBuilder.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 14836, 694, 3116, 6100, 12, 4599, 1318, 3824, 13, 288, 3639, 1361, 14836, 694, 4599, 273, 394, 9809, 1318, 12, 10385, 2421, 22144, 5058, 7734, 263, 588, 780, 2932, 2421, 22144, 18, 3510, 694, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 467, 442, 4027, 1180, 5960, 694, 7746, 273, 394, 3998, 694, 4599, 12, 5668, 16, 7734, 12473, 5190, 809, 11278, 10663, 3639, 1361, 14836, 694, 4599, 18, 1289, 12, 20478, 694, 7746, 1769, 3639, 3824, 18, 1289, 12, 3510, 14836, 694, 4599, 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, 3238, 918, 527, 14836, 694, 3116, 6100, 12, 4599, 1318, 3824, 13, 288, 3639, 1361, 14836, 694, 4599, 273, 394, 9809, 1318, 12, 10385, 2421, 22144, 5058, 7734, 263, 588, 780, 2932, 2421, 22144, 18, 3510, 694, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 467, 442, 4027, 1180, 5960, 694, 7746, 273, 394, 3998, 694, 4599, 12, 5668, 16, 7734, 12473, 5190, 809, 11278, 10663, 3639, 1361, 14836, 694, 4599, 18, 1289, 12, 20478, 694, 7746, 1769, 3639, 3824, 18, 1289, 12, 3510, 14836, 694, 4599, 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 ]
return doAction(initFolderAction(checked ? "check" : "!check", ids));
return doAction(folderAction(checked ? "check" : "!check", ids));
public ZActionResult setFolderChecked(String ids, boolean checked) throws ServiceException { return doAction(initFolderAction(checked ? "check" : "!check", ids)); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/4204a253d9bc3c1a2228a7c292f2b3489beeeb2a/ZSoapMailbox.java/buggy/ZimbraServer/src/java/com/zimbra/cs/zclient/soap/ZSoapMailbox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2285, 1803, 1253, 444, 3899, 11454, 12, 780, 3258, 16, 1250, 5950, 13, 1216, 16489, 288, 3639, 327, 741, 1803, 12, 5609, 1803, 12, 4532, 692, 315, 1893, 6, 294, 17528, 1893, 3113, 3258, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 2285, 1803, 1253, 444, 3899, 11454, 12, 780, 3258, 16, 1250, 5950, 13, 1216, 16489, 288, 3639, 327, 741, 1803, 12, 5609, 1803, 12, 4532, 692, 315, 1893, 6, 294, 17528, 1893, 3113, 3258, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IProjectDescription newDescription = createDescription( project, projectName, newLocation); monitor.worked(50); project.copy(newDescription, IResource.SHALLOW | IResource.FORCE, monitor); monitor.worked(50); } catch (CoreException e) { recordError(e); } finally { monitor.done(); } } }; try { new ProgressMonitorJobsDialog(shell).run(true, true, op); } catch (InterruptedException e) { return false; } catch (InvocationTargetException e) { displayError(NLS.bind(IDEWorkbenchMessages.CopyProjectAction_internalError, e.getTargetException().getMessage())); return false; } return true; }
return true; }
boolean performCopy(final IProject project, final String projectName, final IPath newLocation) { WorkspaceModifyOperation op = new WorkspaceModifyOperation() { public void execute(IProgressMonitor monitor) { monitor.beginTask(COPY_PROGRESS_TITLE, 100); try { if (monitor.isCanceled()) { throw new OperationCanceledException(); } //Get a copy of the current description and modify it IProjectDescription newDescription = createDescription( project, projectName, newLocation); monitor.worked(50); project.copy(newDescription, IResource.SHALLOW | IResource.FORCE, monitor); monitor.worked(50); } catch (CoreException e) { recordError(e); // log error } finally { monitor.done(); } } }; try { new ProgressMonitorJobsDialog(shell).run(true, true, op); } catch (InterruptedException e) { return false; } catch (InvocationTargetException e) { displayError(NLS.bind(IDEWorkbenchMessages.CopyProjectAction_internalError, e.getTargetException().getMessage())); return false; } return true; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/53cada7d6d0463cdcb3aed320ea380f4aae64087/CopyProjectAction.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyProjectAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 3073, 2951, 12, 6385, 467, 4109, 1984, 16, 727, 514, 17234, 16, 5411, 727, 467, 743, 394, 2735, 13, 288, 3639, 14396, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 5411, 1071, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 288, 7734, 6438, 18, 10086, 2174, 12, 24875, 67, 24022, 67, 14123, 16, 2130, 1769, 7734, 775, 288, 10792, 309, 261, 10259, 18, 291, 23163, 10756, 288, 25083, 202, 12849, 394, 4189, 23163, 503, 5621, 6862, 202, 97, 10792, 368, 967, 279, 1610, 434, 326, 783, 2477, 471, 5612, 518, 10792, 467, 4109, 3291, 394, 3291, 273, 752, 3291, 12, 18701, 1984, 16, 17234, 16, 394, 2735, 1769, 10792, 6438, 18, 1252, 329, 12, 3361, 1769, 10792, 1984, 18, 3530, 12, 2704, 3291, 16, 467, 1420, 18, 2664, 13511, 18701, 571, 467, 1420, 18, 27817, 16, 6438, 1769, 10792, 6438, 18, 1252, 329, 12, 3361, 1769, 7734, 289, 1044, 261, 25341, 425, 13, 288, 10792, 1409, 668, 12, 73, 1769, 368, 613, 555, 7734, 289, 3095, 288, 10792, 6438, 18, 8734, 5621, 7734, 289, 5411, 289, 3639, 289, 31, 3639, 775, 288, 5411, 394, 10980, 7187, 7276, 6353, 12, 10304, 2934, 2681, 12, 3767, 16, 638, 16, 1061, 1769, 3639, 289, 1044, 261, 24485, 503, 425, 13, 288, 5411, 327, 629, 31, 3639, 289, 1044, 261, 9267, 14950, 425, 13, 288, 5411, 2562, 668, 12, 5106, 18, 4376, 12, 10385, 2421, 22144, 5058, 18, 2951, 4109, 1803, 67, 7236, 668, 16, 425, 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, 1250, 3073, 2951, 12, 6385, 467, 4109, 1984, 16, 727, 514, 17234, 16, 5411, 727, 467, 743, 394, 2735, 13, 288, 3639, 14396, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 5411, 1071, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 288, 7734, 6438, 18, 10086, 2174, 12, 24875, 67, 24022, 67, 14123, 16, 2130, 1769, 7734, 775, 288, 10792, 309, 261, 10259, 18, 291, 23163, 10756, 288, 25083, 202, 12849, 394, 4189, 23163, 503, 5621, 6862, 202, 97, 10792, 368, 967, 279, 1610, 434, 326, 783, 2477, 471, 5612, 518, 10792, 467, 4109, 3291, 394, 3291, 273, 752, 3291, 12, 18701, 1984, 16, 17234, 16, 394, 2735, 1769, 10792, 6438, 18, 1252, 329, 12, 3361, 2 ]
public CachedResultSet( BaseQuery query, IResultClass meta, IDataSetPopulator odaResultSet, IEventHandler eventHandler ) throws DataException
public CachedResultSet( )
public CachedResultSet( BaseQuery query, IResultClass meta, IDataSetPopulator odaResultSet, IEventHandler eventHandler ) throws DataException { this.handler = eventHandler; this.resultSetPopulator = new ResultSetPopulator( query, meta, this, eventHandler ); resultSetPopulator.populateResultSet( new OdiResultSetWrapper( odaResultSet) ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/0049044a5bef6d7cacb43d07aaac96e021a89ed5/CachedResultSet.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/CachedResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15771, 13198, 12, 3360, 1138, 843, 16, 467, 1253, 797, 2191, 16, 1082, 202, 734, 396, 694, 7049, 11775, 320, 2414, 13198, 16, 467, 16402, 30441, 262, 1082, 202, 15069, 1910, 503, 202, 95, 202, 202, 2211, 18, 4176, 273, 30441, 31, 202, 202, 2211, 18, 2088, 694, 7049, 11775, 273, 394, 10842, 7049, 11775, 12, 843, 16, 9506, 202, 3901, 16, 9506, 202, 2211, 16, 9506, 202, 2575, 1503, 11272, 202, 202, 2088, 694, 7049, 11775, 18, 19936, 13198, 12, 394, 531, 3211, 13198, 3611, 12, 320, 2414, 13198, 13, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15771, 13198, 12, 3360, 1138, 843, 16, 467, 1253, 797, 2191, 16, 1082, 202, 734, 396, 694, 7049, 11775, 320, 2414, 13198, 16, 467, 16402, 30441, 262, 1082, 202, 15069, 1910, 503, 202, 95, 202, 202, 2211, 18, 4176, 273, 30441, 31, 202, 202, 2211, 18, 2088, 694, 7049, 11775, 273, 394, 10842, 7049, 11775, 12, 843, 16, 9506, 202, 3901, 16, 9506, 202, 2211, 16, 9506, 202, 2575, 1503, 11272, 202, 202, 2088, 694, 7049, 11775, 18, 19936, 13198, 12, 394, 531, 3211, 13198, 3611, 12, 320, 2414, 13198, 13, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
match(LITERAL_attribute); if ( inputState.guessing==0 ) { name= "attribute"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_comment:
match(LITERAL_parent); if ( inputState.guessing==0 ) { name= "parent"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_self:
public final String reservedKeywords() throws RecognitionException, TokenStreamException { String name; returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST reservedKeywords_AST = null; name= null; switch ( LA(1)) { case LITERAL_element: { org.exist.xquery.parser.XQueryAST tmp397_AST = null; tmp397_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp397_AST); match(LITERAL_element); if ( inputState.guessing==0 ) { name = "element"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_to: { org.exist.xquery.parser.XQueryAST tmp398_AST = null; tmp398_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp398_AST); match(LITERAL_to); if ( inputState.guessing==0 ) { name = "to"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_div: { org.exist.xquery.parser.XQueryAST tmp399_AST = null; tmp399_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp399_AST); match(LITERAL_div); if ( inputState.guessing==0 ) { name= "div"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_mod: { org.exist.xquery.parser.XQueryAST tmp400_AST = null; tmp400_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp400_AST); match(LITERAL_mod); if ( inputState.guessing==0 ) { name= "mod"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_text: { org.exist.xquery.parser.XQueryAST tmp401_AST = null; tmp401_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp401_AST); match(LITERAL_text); if ( inputState.guessing==0 ) { name= "text"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_node: { org.exist.xquery.parser.XQueryAST tmp402_AST = null; tmp402_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp402_AST); match(LITERAL_node); if ( inputState.guessing==0 ) { name= "node"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_or: { org.exist.xquery.parser.XQueryAST tmp403_AST = null; tmp403_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp403_AST); match(LITERAL_or); if ( inputState.guessing==0 ) { name= "or"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_and: { org.exist.xquery.parser.XQueryAST tmp404_AST = null; tmp404_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp404_AST); match(LITERAL_and); if ( inputState.guessing==0 ) { name= "and"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_child: { org.exist.xquery.parser.XQueryAST tmp405_AST = null; tmp405_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp405_AST); match(LITERAL_child); if ( inputState.guessing==0 ) { name= "child"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_parent: { org.exist.xquery.parser.XQueryAST tmp406_AST = null; tmp406_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp406_AST); match(LITERAL_parent); if ( inputState.guessing==0 ) { name= "parent"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_self: { org.exist.xquery.parser.XQueryAST tmp407_AST = null; tmp407_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp407_AST); match(LITERAL_self); if ( inputState.guessing==0 ) { name= "self"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_attribute: { org.exist.xquery.parser.XQueryAST tmp408_AST = null; tmp408_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp408_AST); match(LITERAL_attribute); if ( inputState.guessing==0 ) { name= "attribute"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_comment: { org.exist.xquery.parser.XQueryAST tmp409_AST = null; tmp409_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp409_AST); match(LITERAL_comment); if ( inputState.guessing==0 ) { name= "comment"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_document: { org.exist.xquery.parser.XQueryAST tmp410_AST = null; tmp410_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp410_AST); match(LITERAL_document); if ( inputState.guessing==0 ) { name= "document"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 168: { org.exist.xquery.parser.XQueryAST tmp411_AST = null; tmp411_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp411_AST); match(168); if ( inputState.guessing==0 ) { name= "document-node"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_collection: { org.exist.xquery.parser.XQueryAST tmp412_AST = null; tmp412_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp412_AST); match(LITERAL_collection); if ( inputState.guessing==0 ) { name= "collection"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ancestor: { org.exist.xquery.parser.XQueryAST tmp413_AST = null; tmp413_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp413_AST); match(LITERAL_ancestor); if ( inputState.guessing==0 ) { name= "ancestor"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_descendant: { org.exist.xquery.parser.XQueryAST tmp414_AST = null; tmp414_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp414_AST); match(LITERAL_descendant); if ( inputState.guessing==0 ) { name= "descendant"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 180: { org.exist.xquery.parser.XQueryAST tmp415_AST = null; tmp415_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp415_AST); match(180); if ( inputState.guessing==0 ) { name= "descendant-or-self"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 184: { org.exist.xquery.parser.XQueryAST tmp416_AST = null; tmp416_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp416_AST); match(184); if ( inputState.guessing==0 ) { name= "ancestor-or-self"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 185: { org.exist.xquery.parser.XQueryAST tmp417_AST = null; tmp417_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp417_AST); match(185); if ( inputState.guessing==0 ) { name= "preceding-sibling"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 181: { org.exist.xquery.parser.XQueryAST tmp418_AST = null; tmp418_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp418_AST); match(181); if ( inputState.guessing==0 ) { name= "following-sibling"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_following: { org.exist.xquery.parser.XQueryAST tmp419_AST = null; tmp419_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp419_AST); match(LITERAL_following); if ( inputState.guessing==0 ) { name = "following"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_preceding: { org.exist.xquery.parser.XQueryAST tmp420_AST = null; tmp420_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp420_AST); match(LITERAL_preceding); if ( inputState.guessing==0 ) { name = "preceding"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_item: { org.exist.xquery.parser.XQueryAST tmp421_AST = null; tmp421_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp421_AST); match(LITERAL_item); if ( inputState.guessing==0 ) { name= "item"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_empty: { org.exist.xquery.parser.XQueryAST tmp422_AST = null; tmp422_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp422_AST); match(LITERAL_empty); if ( inputState.guessing==0 ) { name= "empty"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_version: { org.exist.xquery.parser.XQueryAST tmp423_AST = null; tmp423_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp423_AST); match(LITERAL_version); if ( inputState.guessing==0 ) { name= "version"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_xquery: { org.exist.xquery.parser.XQueryAST tmp424_AST = null; tmp424_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp424_AST); match(LITERAL_xquery); if ( inputState.guessing==0 ) { name= "xquery"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_variable: { org.exist.xquery.parser.XQueryAST tmp425_AST = null; tmp425_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp425_AST); match(LITERAL_variable); if ( inputState.guessing==0 ) { name= "variable"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_namespace: { org.exist.xquery.parser.XQueryAST tmp426_AST = null; tmp426_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp426_AST); match(LITERAL_namespace); if ( inputState.guessing==0 ) { name= "namespace"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_if: { org.exist.xquery.parser.XQueryAST tmp427_AST = null; tmp427_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp427_AST); match(LITERAL_if); if ( inputState.guessing==0 ) { name= "if"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_then: { org.exist.xquery.parser.XQueryAST tmp428_AST = null; tmp428_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp428_AST); match(LITERAL_then); if ( inputState.guessing==0 ) { name= "then"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_else: { org.exist.xquery.parser.XQueryAST tmp429_AST = null; tmp429_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp429_AST); match(LITERAL_else); if ( inputState.guessing==0 ) { name= "else"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_for: { org.exist.xquery.parser.XQueryAST tmp430_AST = null; tmp430_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp430_AST); match(LITERAL_for); if ( inputState.guessing==0 ) { name= "for"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_let: { org.exist.xquery.parser.XQueryAST tmp431_AST = null; tmp431_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp431_AST); match(LITERAL_let); if ( inputState.guessing==0 ) { name= "let"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_default: { org.exist.xquery.parser.XQueryAST tmp432_AST = null; tmp432_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp432_AST); match(LITERAL_default); if ( inputState.guessing==0 ) { name= "default"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_function: { org.exist.xquery.parser.XQueryAST tmp433_AST = null; tmp433_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp433_AST); match(LITERAL_function); if ( inputState.guessing==0 ) { name= "function"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_external: { org.exist.xquery.parser.XQueryAST tmp434_AST = null; tmp434_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp434_AST); match(LITERAL_external); if ( inputState.guessing==0 ) { name = "external"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_as: { org.exist.xquery.parser.XQueryAST tmp435_AST = null; tmp435_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp435_AST); match(LITERAL_as); if ( inputState.guessing==0 ) { name = "as"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_union: { org.exist.xquery.parser.XQueryAST tmp436_AST = null; tmp436_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp436_AST); match(LITERAL_union); if ( inputState.guessing==0 ) { name = "union"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_intersect: { org.exist.xquery.parser.XQueryAST tmp437_AST = null; tmp437_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp437_AST); match(LITERAL_intersect); if ( inputState.guessing==0 ) { name = "intersect"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_except: { org.exist.xquery.parser.XQueryAST tmp438_AST = null; tmp438_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp438_AST); match(LITERAL_except); if ( inputState.guessing==0 ) { name = "except"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_order: { org.exist.xquery.parser.XQueryAST tmp439_AST = null; tmp439_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp439_AST); match(LITERAL_order); if ( inputState.guessing==0 ) { name = "order"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_by: { org.exist.xquery.parser.XQueryAST tmp440_AST = null; tmp440_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp440_AST); match(LITERAL_by); if ( inputState.guessing==0 ) { name = "by"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_group: { org.exist.xquery.parser.XQueryAST tmp441_AST = null; tmp441_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp441_AST); match(LITERAL_group); if ( inputState.guessing==0 ) { name = "group"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_some: { org.exist.xquery.parser.XQueryAST tmp442_AST = null; tmp442_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp442_AST); match(LITERAL_some); if ( inputState.guessing==0 ) { name = "some"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_every: { org.exist.xquery.parser.XQueryAST tmp443_AST = null; tmp443_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp443_AST); match(LITERAL_every); if ( inputState.guessing==0 ) { name = "every"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_is: { org.exist.xquery.parser.XQueryAST tmp444_AST = null; tmp444_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp444_AST); match(LITERAL_is); if ( inputState.guessing==0 ) { name = "is"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_isnot: { org.exist.xquery.parser.XQueryAST tmp445_AST = null; tmp445_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp445_AST); match(LITERAL_isnot); if ( inputState.guessing==0 ) { name = "isnot"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_module: { org.exist.xquery.parser.XQueryAST tmp446_AST = null; tmp446_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp446_AST); match(LITERAL_module); if ( inputState.guessing==0 ) { name = "module"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_import: { org.exist.xquery.parser.XQueryAST tmp447_AST = null; tmp447_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp447_AST); match(LITERAL_import); if ( inputState.guessing==0 ) { name = "import"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_at: { org.exist.xquery.parser.XQueryAST tmp448_AST = null; tmp448_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp448_AST); match(LITERAL_at); if ( inputState.guessing==0 ) { name = "at"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_cast: { org.exist.xquery.parser.XQueryAST tmp449_AST = null; tmp449_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp449_AST); match(LITERAL_cast); if ( inputState.guessing==0 ) { name = "cast"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_return: { org.exist.xquery.parser.XQueryAST tmp450_AST = null; tmp450_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp450_AST); match(LITERAL_return); if ( inputState.guessing==0 ) { name = "return"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_instance: { org.exist.xquery.parser.XQueryAST tmp451_AST = null; tmp451_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp451_AST); match(LITERAL_instance); if ( inputState.guessing==0 ) { name = "instance"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_of: { org.exist.xquery.parser.XQueryAST tmp452_AST = null; tmp452_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp452_AST); match(LITERAL_of); if ( inputState.guessing==0 ) { name = "of"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_declare: { org.exist.xquery.parser.XQueryAST tmp453_AST = null; tmp453_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp453_AST); match(LITERAL_declare); if ( inputState.guessing==0 ) { name = "declare"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_collation: { org.exist.xquery.parser.XQueryAST tmp454_AST = null; tmp454_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp454_AST); match(LITERAL_collation); if ( inputState.guessing==0 ) { name = "collation"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 64: { org.exist.xquery.parser.XQueryAST tmp455_AST = null; tmp455_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp455_AST); match(64); if ( inputState.guessing==0 ) { name = "boundary-space"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_preserve: { org.exist.xquery.parser.XQueryAST tmp456_AST = null; tmp456_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp456_AST); match(LITERAL_preserve); if ( inputState.guessing==0 ) { name = "preserve"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_strip: { org.exist.xquery.parser.XQueryAST tmp457_AST = null; tmp457_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp457_AST); match(LITERAL_strip); if ( inputState.guessing==0 ) { name = "strip"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ordering: { org.exist.xquery.parser.XQueryAST tmp458_AST = null; tmp458_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp458_AST); match(LITERAL_ordering); if ( inputState.guessing==0 ) { name = "ordering"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_construction: { org.exist.xquery.parser.XQueryAST tmp459_AST = null; tmp459_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp459_AST); match(LITERAL_construction); if ( inputState.guessing==0 ) { name = "construction"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ordered: { org.exist.xquery.parser.XQueryAST tmp460_AST = null; tmp460_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp460_AST); match(LITERAL_ordered); if ( inputState.guessing==0 ) { name = "ordered"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_unordered: { org.exist.xquery.parser.XQueryAST tmp461_AST = null; tmp461_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp461_AST); match(LITERAL_unordered); if ( inputState.guessing==0 ) { name = "unordered"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_typeswitch: { org.exist.xquery.parser.XQueryAST tmp462_AST = null; tmp462_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp462_AST); match(LITERAL_typeswitch); if ( inputState.guessing==0 ) { name = "typeswitch"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_encoding: { org.exist.xquery.parser.XQueryAST tmp463_AST = null; tmp463_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp463_AST); match(LITERAL_encoding); if ( inputState.guessing==0 ) { name = "encoding"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 67: { org.exist.xquery.parser.XQueryAST tmp464_AST = null; tmp464_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp464_AST); match(67); if ( inputState.guessing==0 ) { name = "base-uri"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_update: { org.exist.xquery.parser.XQueryAST tmp465_AST = null; tmp465_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp465_AST); match(LITERAL_update); if ( inputState.guessing==0 ) { name = "update"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_replace: { org.exist.xquery.parser.XQueryAST tmp466_AST = null; tmp466_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp466_AST); match(LITERAL_replace); if ( inputState.guessing==0 ) { name = "replace"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_delete: { org.exist.xquery.parser.XQueryAST tmp467_AST = null; tmp467_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp467_AST); match(LITERAL_delete); if ( inputState.guessing==0 ) { name = "delete"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_value: { org.exist.xquery.parser.XQueryAST tmp468_AST = null; tmp468_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp468_AST); match(LITERAL_value); if ( inputState.guessing==0 ) { name = "value"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_insert: { org.exist.xquery.parser.XQueryAST tmp469_AST = null; tmp469_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp469_AST); match(LITERAL_insert); if ( inputState.guessing==0 ) { name = "insert"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_with: { org.exist.xquery.parser.XQueryAST tmp470_AST = null; tmp470_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp470_AST); match(LITERAL_with); if ( inputState.guessing==0 ) { name = "with"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_into: { org.exist.xquery.parser.XQueryAST tmp471_AST = null; tmp471_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp471_AST); match(LITERAL_into); if ( inputState.guessing==0 ) { name = "into"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_rename: { org.exist.xquery.parser.XQueryAST tmp472_AST = null; tmp472_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp472_AST); match(LITERAL_rename); if ( inputState.guessing==0 ) { name = "rename"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_option: { org.exist.xquery.parser.XQueryAST tmp473_AST = null; tmp473_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp473_AST); match(LITERAL_option); if ( inputState.guessing==0 ) { name = "option"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_case: { org.exist.xquery.parser.XQueryAST tmp474_AST = null; tmp474_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp474_AST); match(LITERAL_case); if ( inputState.guessing==0 ) { name = "case"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_validate: { org.exist.xquery.parser.XQueryAST tmp475_AST = null; tmp475_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp475_AST); match(LITERAL_validate); if ( inputState.guessing==0 ) { name = "validate"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_schema: { org.exist.xquery.parser.XQueryAST tmp476_AST = null; tmp476_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp476_AST); match(LITERAL_schema); if ( inputState.guessing==0 ) { name = "schema"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_treat: { org.exist.xquery.parser.XQueryAST tmp477_AST = null; tmp477_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp477_AST); match(LITERAL_treat); if ( inputState.guessing==0 ) { name = "treat"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 85: { org.exist.xquery.parser.XQueryAST tmp478_AST = null; tmp478_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp478_AST); match(85); if ( inputState.guessing==0 ) { name = "no-preserve"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_inherit: { org.exist.xquery.parser.XQueryAST tmp479_AST = null; tmp479_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp479_AST); match(LITERAL_inherit); if ( inputState.guessing==0 ) { name = "inherit"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 87: { org.exist.xquery.parser.XQueryAST tmp480_AST = null; tmp480_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp480_AST); match(87); if ( inputState.guessing==0 ) { name = "no-inherit"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_eq: { org.exist.xquery.parser.XQueryAST tmp481_AST = null; tmp481_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp481_AST); match(LITERAL_eq); if ( inputState.guessing==0 ) { name="eq"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ne: { org.exist.xquery.parser.XQueryAST tmp482_AST = null; tmp482_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp482_AST); match(LITERAL_ne); if ( inputState.guessing==0 ) { name = "ne"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_lt: { org.exist.xquery.parser.XQueryAST tmp483_AST = null; tmp483_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp483_AST); match(LITERAL_lt); if ( inputState.guessing==0 ) { name = "lt"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_le: { org.exist.xquery.parser.XQueryAST tmp484_AST = null; tmp484_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp484_AST); match(LITERAL_le); if ( inputState.guessing==0 ) { name = "le"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_gt: { org.exist.xquery.parser.XQueryAST tmp485_AST = null; tmp485_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp485_AST); match(LITERAL_gt); if ( inputState.guessing==0 ) { name = "gt"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ge: { org.exist.xquery.parser.XQueryAST tmp486_AST = null; tmp486_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp486_AST); match(LITERAL_ge); if ( inputState.guessing==0 ) { name = "ge"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = reservedKeywords_AST; return name; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ce8b3af89ca1836e7de5c4b3c7110a9e9001a4e4/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 514, 225, 8735, 14149, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 202, 202, 780, 508, 31, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 8735, 14149, 67, 9053, 273, 446, 31, 202, 202, 529, 33, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2956, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 5520, 27, 67, 9053, 273, 446, 31, 1082, 202, 5645, 5520, 27, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 5520, 27, 67, 9053, 1769, 1082, 202, 1916, 12, 23225, 67, 2956, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 529, 273, 315, 2956, 14432, 1082, 202, 97, 1082, 202, 18898, 14149, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 2972, 9053, 18, 3085, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 511, 18454, 67, 869, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 514, 225, 8735, 14149, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 202, 202, 780, 508, 31, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 8735, 14149, 67, 9053, 273, 446, 31, 202, 202, 529, 33, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2956, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 5520, 27, 67, 9053, 273, 446, 31, 1082, 202, 5645, 5520, 27, 67, 9053, 273, 261, 3341, 18, 2 ]
if ( isSnapshot( artifact ) && !alreadyResolved( artifact ) )
if ( isSnapshot( artifact ) )
public Artifact transformForResolve( Artifact artifact, List remoteRepositories, ArtifactRepository localRepository ) throws ArtifactMetadataRetrievalException { if ( isSnapshot( artifact ) && !alreadyResolved( artifact ) ) { // TODO: this mostly works, however... // - poms and jars are different, so both are checked individually // - when a pom is downloaded, it prevents the JAR getting downloaded because of the timestamp // - need to gather first, group them all up by groupId/artifactId, then go after them/* SnapshotArtifactMetadata localMetadata; try { localMetadata = SnapshotArtifactMetadata.readLocalSnapshotMetadata( artifact, localRepository ); } catch ( ArtifactPathFormatException e ) { throw new ArtifactMetadataRetrievalException( "Error reading local metadata", e ); } catch ( IOException e ) { throw new ArtifactMetadataRetrievalException( "Error reading local metadata", e ); } boolean foundRemote = false; for ( Iterator i = remoteRepositories.iterator(); i.hasNext(); ) { ArtifactRepository remoteRepository = (ArtifactRepository) i.next(); SnapshotArtifactMetadata remoteMetadata = SnapshotArtifactMetadata.createRemoteSnapshotMetadata( artifact ); remoteMetadata.retrieveFromRemoteRepository( remoteRepository, wagonManager ); if ( remoteMetadata.compareTo( localMetadata ) > 0 ) { // TODO: investigate transforming this in place, in which case resolve can return void artifact = createArtifactCopy( artifact, remoteMetadata ); artifact.setRepository( remoteRepository ); localMetadata = remoteMetadata; foundRemote = true; } } if ( foundRemote ) { artifact.addMetadata( localMetadata ); }*/ resolvedArtifactCache.add( getCacheKey( artifact ) ); } return artifact; }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/b529deb2df0f32c44c376a5267c00546c0c84768/SnapshotTransformation.java/buggy/maven-artifact/src/main/java/org/apache/maven/artifact/transform/SnapshotTransformation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14022, 2510, 1290, 8460, 12, 14022, 6462, 16, 987, 2632, 18429, 16, 29159, 14022, 3305, 1191, 3305, 262, 3639, 1216, 14022, 2277, 27356, 503, 565, 288, 3639, 309, 261, 353, 4568, 12, 6462, 262, 262, 3639, 288, 5411, 368, 2660, 30, 333, 23958, 6330, 16, 14025, 2777, 5411, 368, 225, 300, 21400, 87, 471, 28838, 854, 3775, 16, 1427, 3937, 854, 5950, 28558, 5411, 368, 225, 300, 1347, 279, 21400, 353, 13549, 16, 518, 17793, 326, 24728, 8742, 13549, 2724, 434, 326, 2858, 5411, 368, 225, 300, 1608, 358, 11090, 1122, 16, 1041, 2182, 777, 731, 635, 6612, 19, 17706, 548, 16, 1508, 1960, 1839, 2182, 20308, 5411, 10030, 7581, 2277, 1191, 2277, 31, 5411, 775, 5411, 288, 7734, 1191, 2277, 273, 10030, 7581, 2277, 18, 896, 2042, 4568, 2277, 12, 6462, 16, 1191, 3305, 11272, 5411, 289, 5411, 1044, 261, 14022, 743, 9291, 425, 262, 5411, 288, 7734, 604, 394, 14022, 2277, 27356, 503, 12, 315, 668, 6453, 1191, 1982, 3113, 425, 11272, 5411, 289, 5411, 1044, 261, 1860, 425, 262, 5411, 288, 7734, 604, 394, 14022, 2277, 27356, 503, 12, 315, 668, 6453, 1191, 1982, 3113, 425, 11272, 5411, 289, 5411, 1250, 1392, 5169, 273, 629, 31, 5411, 364, 261, 4498, 277, 273, 2632, 18429, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 14022, 3305, 2632, 3305, 273, 261, 7581, 3305, 13, 277, 18, 4285, 5621, 7734, 10030, 7581, 2277, 2632, 2277, 273, 10030, 7581, 2277, 18, 2640, 5169, 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, 14022, 2510, 1290, 8460, 12, 14022, 6462, 16, 987, 2632, 18429, 16, 29159, 14022, 3305, 1191, 3305, 262, 3639, 1216, 14022, 2277, 27356, 503, 565, 288, 3639, 309, 261, 353, 4568, 12, 6462, 262, 262, 3639, 288, 5411, 368, 2660, 30, 333, 23958, 6330, 16, 14025, 2777, 5411, 368, 225, 300, 21400, 87, 471, 28838, 854, 3775, 16, 1427, 3937, 854, 5950, 28558, 5411, 368, 225, 300, 1347, 279, 21400, 353, 13549, 16, 518, 17793, 326, 24728, 8742, 13549, 2724, 434, 326, 2858, 5411, 368, 225, 300, 1608, 358, 11090, 1122, 16, 1041, 2182, 777, 731, 635, 6612, 19, 17706, 548, 16, 1508, 1960, 1839, 2182, 20308, 5411, 10030, 7581, 2277, 1191, 2277, 31, 5411, 775, 5411, 2 ]
public static boolean addAssociation(String extension, String command, /*String iconFileName,*/ String description) { // Add association // StringTokenizer osName = new StringTokenizer(System.getProperties().getProperty("os.name")); // remove association if it already exists System.out.println("Removing 1...\n"); removeAssociation(extension); System.out.println("Removing 2...\n"); AssociationService serv = new AssociationService(); Association logassoc = new Association(); logassoc.addFileExtension(extension.toUpperCase()); logassoc.setDescription(description); logassoc.addAction(new Action("open", command + " %1")); logassoc.setIconFileName(new File("").getAbsolutePath() + "/graphics/enginuity-ico.ico"); System.out.println("Adding ...\n" + logassoc + "\n\n\n"); try { serv.registerUserAssociation(logassoc); } catch (Exception e) { System.err.println(e); } return true; }
48870 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48870/6de0141c6b9c28f5829cdc6689fcbc001d1d1bca/FileAssociator.java/clean/src/enginuity/util/FileAssociator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 527, 7174, 12, 780, 2710, 16, 514, 1296, 16, 1748, 780, 4126, 4771, 16, 5549, 514, 2477, 13, 288, 3639, 368, 1436, 6384, 540, 368, 16370, 1140, 461, 273, 394, 16370, 12, 3163, 18, 588, 2297, 7675, 588, 1396, 2932, 538, 18, 529, 7923, 1769, 7734, 368, 1206, 6384, 309, 518, 1818, 1704, 7734, 2332, 18, 659, 18, 8222, 2932, 18939, 404, 2777, 64, 82, 8863, 3639, 1206, 7174, 12, 6447, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 18939, 576, 2777, 64, 82, 8863, 3639, 18400, 1179, 13515, 273, 394, 18400, 1179, 5621, 540, 18400, 613, 14578, 273, 394, 18400, 5621, 540, 613, 14578, 18, 1289, 812, 3625, 12, 6447, 18, 869, 8915, 10663, 5411, 613, 14578, 18, 542, 3291, 12, 3384, 1769, 540, 613, 14578, 18, 1289, 1803, 12, 2704, 4382, 2932, 3190, 3113, 1296, 397, 315, 738, 21, 7923, 1769, 540, 613, 14578, 18, 542, 5554, 4771, 12, 2704, 1387, 2932, 20387, 588, 10368, 743, 1435, 397, 2206, 31586, 19, 275, 1912, 89, 560, 17, 10764, 18, 10764, 8863, 1171, 2332, 18, 659, 18, 8222, 2932, 13962, 1372, 64, 82, 6, 397, 613, 14578, 397, 1548, 82, 64, 82, 64, 82, 8863, 3639, 775, 288, 7734, 13515, 18, 4861, 1299, 7174, 12, 1330, 14578, 1769, 540, 289, 1044, 261, 503, 425, 13, 288, 7734, 2332, 18, 370, 18, 8222, 12, 73, 1769, 540, 289, 5397, 327, 638, 31, 565, 289, 2, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 527, 7174, 12, 780, 2710, 16, 514, 1296, 16, 1748, 780, 4126, 4771, 16, 5549, 514, 2477, 13, 288, 3639, 368, 1436, 6384, 540, 368, 16370, 1140, 461, 273, 394, 16370, 12, 3163, 18, 588, 2297, 7675, 588, 1396, 2932, 538, 18, 529, 7923, 1769, 7734, 368, 1206, 6384, 309, 518, 1818, 1704, 7734, 2332, 18, 659, 18, 8222, 2932, 18939, 404, 2777, 64, 82, 8863, 3639, 1206, 7174, 12, 6447, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 18939, 576, 2777, 64, 82, 8863, 3639, 18400, 1179, 13515, 273, 394, 18400, 1179, 5621, 540, 18400, 613, 14578, 273, 394, 18400, 5621, 540, 613, 14578, 18, 1289, 812, 3625, 12, 6447, 18, 869, 8915, 10663, 2 ]
} else if (currentFolder.getState() == I_CmsConstants.C_STATE_CHANGED) {
} else if (currentFolder.getState() == I_CmsConstants.C_STATE_CHANGED) {
public synchronized void publishProject(CmsRequestContext context, I_CmsReport report, CmsProject onlineProject, int publishHistoryId, CmsResource directPublishResource, boolean backupEnabled, int backupTagId, int maxVersions) throws Exception { CmsFolder currentFolder = null; CmsResource currentFileHeader = null; CmsLock currentLock = null; List offlineFolders = null; List offlineFiles = null; List deletedFolders = (List) new ArrayList(); String currentResourceName = null; long publishDate = System.currentTimeMillis(); Iterator i = null; boolean publishCurrentResource = false; List projectResources = null; Map sortedFolderMap = null; List sortedFolderList = null; int m, n; Set publishedContentIds = (Set) new HashSet(); try { if (backupEnabled) { // write an entry in the publish project log m_driverManager.backupProject(context, context.currentProject(), backupTagId, publishDate); } // read the project resources of the project that gets published projectResources = m_driverManager.readProjectResources(context, context.currentProject()); // read all changed/new/deleted folders offlineFolders = m_driverManager.getVfsDriver().readFolders(context.currentProject().getId()); // ensure that the folders appear in the correct (DFS) tree order // sort out folders that will not be published sortedFolderMap = (Map) new HashMap(); i = offlineFolders.iterator(); while (i.hasNext()) { publishCurrentResource = false; currentFolder = (CmsFolder) i.next(); currentResourceName = m_driverManager.readPath(context, currentFolder, true); currentFolder.setFullResourceName(currentResourceName); currentLock = m_driverManager.getLock(context, currentResourceName); // the resource must have either a new/deleted state in the link or a new/delete state in the resource record publishCurrentResource = currentFolder.getState() > I_CmsConstants.C_STATE_UNCHANGED; if (context.currentProject().getType() == I_CmsConstants.C_PROJECT_TYPE_DIRECT_PUBLISH && directPublishResource != null) { // the resource must be a sub resource of the direct-publish-resource in case of a "direct publish" publishCurrentResource = publishCurrentResource && currentResourceName.startsWith(directPublishResource.getRootPath()); } else { // the resource must have a changed state and must be changed in the project that is currently published publishCurrentResource = publishCurrentResource && currentFolder.getProjectLastModified() == context.currentProject().getId(); // the resource must be in one of the paths defined for the project publishCurrentResource = publishCurrentResource && CmsProject.isInsideProject(projectResources, currentFolder); } // the resource must be unlocked publishCurrentResource = publishCurrentResource && currentLock.isNullLock(); if (publishCurrentResource) { sortedFolderMap.put(currentResourceName, currentFolder); } } sortedFolderList = (List) new ArrayList(sortedFolderMap.keySet()); Collections.sort(sortedFolderList); offlineFolders.clear(); offlineFolders = null; m = 1; n = sortedFolderList.size(); i = sortedFolderList.iterator(); if (n > 0) { report.println(report.key("report.publish_folders_begin"), I_CmsReport.C_FORMAT_HEADLINE); } while (i.hasNext()) { currentResourceName = (String) i.next(); currentFolder = (CmsFolder) sortedFolderMap.get(currentResourceName); if (currentFolder.getState() == I_CmsConstants.C_STATE_DELETED) { // C_STATE_DELETE deletedFolders.add(currentFolder); } else if (currentFolder.getState() == I_CmsConstants.C_STATE_NEW) { // bounce the current publish task through all project drivers m_driverManager.getProjectDriver().publishFolder(context, report, m++, n, onlineProject, currentFolder, backupEnabled, publishDate, publishHistoryId, backupTagId, maxVersions); // reset the resource state to UNCHANGED and the last-modified-in-project-ID to 0 internalResetResourceState(context, currentFolder); } else if (currentFolder.getState() == I_CmsConstants.C_STATE_CHANGED) { // bounce the current publish task through all project drivers m_driverManager.getProjectDriver().publishFolder(context, report, m++, n, onlineProject, currentFolder, backupEnabled, publishDate, publishHistoryId, backupTagId, maxVersions); // reset the resource state to UNCHANGED and the last-modified-in-project-ID to 0 internalResetResourceState(context, currentFolder); } i.remove(); } if (n > 0) { report.println(report.key("report.publish_folders_end"), I_CmsReport.C_FORMAT_HEADLINE); } if (sortedFolderList != null) { sortedFolderList.clear(); sortedFolderList = null; } if (sortedFolderMap != null) { sortedFolderMap.clear(); sortedFolderMap = null; } /////////////////////////////////////////////////////////////////////////////////////// // now read all changed/new/deleted files offlineFiles = m_driverManager.getVfsDriver().readFiles(context.currentProject().getId()); // sort out files that will not be published i = offlineFiles.iterator(); while (i.hasNext()) { publishCurrentResource = false; currentFileHeader = (CmsResource) i.next(); currentResourceName = m_driverManager.readPath(context, currentFileHeader, true); currentFileHeader.setFullResourceName(currentResourceName); currentLock = m_driverManager.getLock(context, currentResourceName); switch (currentFileHeader.getState()) { // the current resource is deleted case I_CmsConstants.C_STATE_DELETED : // it is published, if it was changed to deleted in the current project String delProject = m_driverManager.getVfsDriver().readProperty(I_CmsConstants.C_PROPERTY_INTERNAL, context.currentProject().getId(), currentFileHeader, currentFileHeader.getType()); if (delProject != null && delProject.equals("" + context.currentProject().getId())) { publishCurrentResource = true; } else { publishCurrentResource = false; } break; // the current resource is new case I_CmsConstants.C_STATE_NEW : // it is published, if it was created in the current project // or if it is a new sibling of another resource that is currently not changed in any project publishCurrentResource = currentFileHeader.getProjectLastModified() == context.currentProject().getId() || currentFileHeader.getProjectLastModified() == 0; break; // the current resource is changed case I_CmsConstants.C_STATE_CHANGED : // it is published, if it was changed in the current project publishCurrentResource = currentFileHeader.getProjectLastModified() == context.currentProject().getId(); break; // the current resource is unchanged case I_CmsConstants.C_STATE_UNCHANGED : default : // so it is not published publishCurrentResource = false; break; } if (context.currentProject().getType() == I_CmsConstants.C_PROJECT_TYPE_DIRECT_PUBLISH && directPublishResource != null) { // the resource must be a sub resource of the direct-publish-resource in case of a "direct publish" publishCurrentResource = publishCurrentResource && currentResourceName.startsWith(directPublishResource.getRootPath()); } else { // the resource must be in one of the paths defined for the project publishCurrentResource = publishCurrentResource && CmsProject.isInsideProject(projectResources, currentFileHeader); } // do not publish resources that are locked publishCurrentResource = publishCurrentResource && currentLock.isNullLock(); // handle temporary files immediately here coz they aren't "published" anyway if (currentLock.isNullLock()) { // remove any possible temporary files for this resource m_driverManager.getVfsDriver().removeTempFile(currentFileHeader); } if (currentFileHeader.getName().startsWith(I_CmsConstants.C_TEMP_PREFIX)) { // trash the current resource if it is a temporary file m_driverManager.getVfsDriver().deleteProperties(context.currentProject().getId(), currentFileHeader); m_driverManager.getVfsDriver().removeFile(context.currentProject(), currentFileHeader, true); } if (!publishCurrentResource) { i.remove(); } } m = 1; n = offlineFiles.size(); i = offlineFiles.iterator(); if (n > 0) { report.println(report.key("report.publish_files_begin"), I_CmsReport.C_FORMAT_HEADLINE); } while (i.hasNext()) { currentFileHeader = (CmsResource) i.next(); currentResourceName = currentFileHeader.getRootPath(); currentFileHeader.setFullResourceName(currentResourceName); // bounce the current publish task through all project drivers m_driverManager.getProjectDriver().publishFile(context, report, m++, n, onlineProject, currentFileHeader, publishedContentIds, backupEnabled, publishDate, publishHistoryId, backupTagId, maxVersions); i.remove(); // set back all vars. inside the while loop! currentFileHeader = null; currentResourceName = null; } if (n > 0) { report.println(report.key("report.publish_files_end"), I_CmsReport.C_FORMAT_HEADLINE); } if (offlineFiles != null) { offlineFiles.clear(); offlineFiles = null; } //////////////////////////////////////////////////////////////////////////////////////// // now delete the "deleted" folders if (deletedFolders.isEmpty()) { return; } // ensure that the folders appear in the correct (DFS) tree order sortedFolderMap = (Map) new HashMap(); i = deletedFolders.iterator(); while (i.hasNext()) { currentFolder = (CmsFolder) i.next(); currentResourceName = currentFolder.getRootPath(); sortedFolderMap.put(currentResourceName, currentFolder); } sortedFolderList = (List) new ArrayList(sortedFolderMap.keySet()); Collections.sort(sortedFolderList); // reverse the order of the folder to delete them in a bottom-up order Collections.reverse(sortedFolderList); if (deletedFolders != null) { deletedFolders.clear(); deletedFolders = null; } m = 1; n = sortedFolderList.size(); i = sortedFolderList.iterator(); if (n > 0) { report.println(report.key("report.publish_delete_folders_begin"), I_CmsReport.C_FORMAT_HEADLINE); } while (i.hasNext()) { currentResourceName = (String) i.next(); currentFolder = (CmsFolder) sortedFolderMap.get(currentResourceName); // bounce the current publish task through all project drivers m_driverManager.getProjectDriver().publishDeletedFolder(context, report, m++, n, onlineProject, currentFolder, backupEnabled, publishDate, publishHistoryId, backupTagId, maxVersions); i.remove(); } if (n > 0) { report.println(report.key("report.publish_delete_folders_end"), I_CmsReport.C_FORMAT_HEADLINE); } if (sortedFolderList != null) { sortedFolderList.clear(); sortedFolderList = null; } if (sortedFolderMap != null) { sortedFolderMap.clear(); sortedFolderMap = null; } } catch (Exception e) { // these are dummy catch blocks to have a finally block for clearing // allocated resources. thus the exceptions are just logged and // immediately thrown to the upper app. layer. if (C_DEBUG) { System.err.println(e.getMessage()); e.printStackTrace(System.err); } throw e; } catch (OutOfMemoryError o) { if (OpenCms.getLog(this).isFatalEnabled()) { OpenCms.getLog(this).fatal("Out of memory error during publishing", o); } // clear all caches to reclaim memory OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_CLEAR_CACHES, Collections.EMPTY_MAP, false)); // force a complete object finalization and garbage collection System.runFinalization(); Runtime.getRuntime().runFinalization(); System.gc(); Runtime.getRuntime().gc(); throw o; } finally { if (sortedFolderList != null) { sortedFolderList.clear(); sortedFolderList = null; } if (sortedFolderMap != null) { sortedFolderMap.clear(); sortedFolderMap = null; } if (deletedFolders != null) { deletedFolders.clear(); deletedFolders = null; } if (offlineFiles != null) { offlineFiles.clear(); offlineFiles = null; } currentFileHeader = null; currentFolder = null; } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/1e5e9323a6fee2671775480bc1936bf1c5b4a068/CmsProjectDriver.java/buggy/src/org/opencms/db/generic/CmsProjectDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 3808, 4109, 12, 4747, 21426, 819, 16, 467, 67, 25702, 2605, 16, 2149, 4109, 12365, 4109, 16, 509, 3808, 5623, 548, 16, 7630, 2657, 6024, 1420, 16, 1250, 5114, 1526, 16, 509, 5114, 1805, 548, 16, 509, 943, 5940, 13, 1216, 1185, 288, 3639, 2149, 3899, 783, 3899, 273, 446, 31, 3639, 7630, 22650, 1864, 273, 446, 31, 3639, 2149, 2531, 783, 2531, 273, 446, 31, 3639, 987, 13493, 14885, 273, 446, 31, 3639, 987, 13493, 2697, 273, 446, 31, 3639, 987, 4282, 14885, 273, 261, 682, 13, 394, 2407, 5621, 3639, 514, 783, 19327, 273, 446, 31, 3639, 1525, 3808, 1626, 273, 2332, 18, 2972, 28512, 5621, 3639, 4498, 277, 273, 446, 31, 3639, 1250, 3808, 3935, 1420, 273, 629, 31, 3639, 987, 1984, 3805, 273, 446, 31, 3639, 1635, 3115, 3899, 863, 273, 446, 31, 3639, 987, 3115, 3899, 682, 273, 446, 31, 3639, 509, 312, 16, 290, 31, 3639, 1000, 9487, 1350, 2673, 273, 261, 694, 13, 394, 6847, 5621, 3639, 775, 288, 5411, 309, 261, 9572, 1526, 13, 288, 7734, 368, 1045, 392, 1241, 316, 326, 3808, 1984, 613, 7734, 312, 67, 7407, 1318, 18, 9572, 4109, 12, 2472, 16, 819, 18, 2972, 4109, 9334, 5114, 1805, 548, 16, 3808, 1626, 1769, 5411, 289, 5411, 368, 855, 326, 1984, 2703, 434, 326, 1984, 716, 5571, 9487, 5411, 1984, 3805, 273, 312, 67, 7407, 1318, 18, 896, 4109, 3805, 12, 2472, 16, 819, 18, 2972, 4109, 10663, 5411, 368, 855, 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, 3852, 918, 3808, 4109, 12, 4747, 21426, 819, 16, 467, 67, 25702, 2605, 16, 2149, 4109, 12365, 4109, 16, 509, 3808, 5623, 548, 16, 7630, 2657, 6024, 1420, 16, 1250, 5114, 1526, 16, 509, 5114, 1805, 548, 16, 509, 943, 5940, 13, 1216, 1185, 288, 3639, 2149, 3899, 783, 3899, 273, 446, 31, 3639, 7630, 22650, 1864, 273, 446, 31, 3639, 2149, 2531, 783, 2531, 273, 446, 31, 3639, 987, 13493, 14885, 273, 446, 31, 3639, 987, 13493, 2697, 273, 446, 31, 3639, 987, 4282, 14885, 273, 261, 682, 13, 394, 2407, 5621, 3639, 514, 783, 19327, 273, 446, 31, 3639, 1525, 3808, 1626, 273, 2332, 18, 2972, 28512, 5621, 3639, 4498, 277, 273, 446, 31, 3639, 2 ]
}
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals(node.getPrefix()) || XMLConstants.XMLNS_ATTRIBUTE.equals(node.getNodeName())) { return false; } // Fall through case Node.ELEMENT_NODE: break; default: return false; } if (any) { return true; } String uri = qName.getNamespaceURI(); String nodeUri = node.getNamespaceURI(); String nodeLocalName = node.getLocalName(); if (nodeLocalName != null && !equal(uri, nodeUri)) { return false; } if (anyLocalName) { return true; } String localName = qName.getLocalPart(); if (nodeLocalName != null) { nodeLocalName = node.getNodeName(); } return (localName.equals(nodeLocalName)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NameTest.java/buggy/core/src/classpath/gnu/gnu/xml/xpath/NameTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1885, 12, 907, 756, 16, 509, 949, 16, 509, 562, 13, 225, 288, 565, 1620, 261, 2159, 18, 588, 15101, 10756, 1377, 288, 1377, 648, 2029, 18, 11616, 67, 8744, 30, 3639, 368, 2256, 486, 845, 1981, 1677, 3639, 514, 2003, 273, 756, 18, 588, 3402, 3098, 5621, 3639, 309, 261, 4201, 2918, 18, 4201, 3156, 67, 11616, 67, 3156, 67, 3098, 18, 14963, 12, 1650, 13, 747, 5411, 3167, 2918, 18, 4201, 3156, 67, 11616, 18, 14963, 12, 2159, 18, 588, 2244, 10756, 747, 5411, 3167, 2918, 18, 4201, 3156, 67, 11616, 18, 14963, 12, 2159, 18, 588, 18948, 1435, 3719, 1850, 288, 5411, 327, 629, 31, 1171, 368, 23647, 3059, 1377, 648, 2029, 18, 10976, 67, 8744, 30, 3639, 898, 31, 1377, 805, 30, 3639, 327, 629, 31, 540, 309, 261, 2273, 13, 1377, 288, 3639, 327, 638, 31, 540, 514, 2003, 273, 22914, 18, 588, 3402, 3098, 5621, 565, 514, 756, 3006, 273, 756, 18, 588, 3402, 3098, 5621, 565, 514, 756, 29583, 273, 756, 18, 588, 29583, 5621, 565, 309, 261, 2159, 29583, 480, 446, 597, 401, 9729, 12, 1650, 16, 756, 3006, 3719, 1377, 288, 3639, 327, 629, 31, 540, 309, 261, 2273, 29583, 13, 1377, 288, 3639, 327, 638, 31, 540, 514, 11927, 273, 22914, 18, 588, 2042, 1988, 5621, 565, 309, 261, 2159, 29583, 480, 446, 13, 1377, 288, 3639, 756, 29583, 273, 756, 18, 588, 18948, 5621, 540, 327, 261, 3729, 461, 18, 14963, 12, 2159, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1885, 12, 907, 756, 16, 509, 949, 16, 509, 562, 13, 225, 288, 565, 1620, 261, 2159, 18, 588, 15101, 10756, 1377, 288, 1377, 648, 2029, 18, 11616, 67, 8744, 30, 3639, 368, 2256, 486, 845, 1981, 1677, 3639, 514, 2003, 273, 756, 18, 588, 3402, 3098, 5621, 3639, 309, 261, 4201, 2918, 18, 4201, 3156, 67, 11616, 67, 3156, 67, 3098, 18, 14963, 12, 1650, 13, 747, 5411, 3167, 2918, 18, 4201, 3156, 67, 11616, 18, 14963, 12, 2159, 18, 588, 2244, 10756, 747, 5411, 3167, 2918, 18, 4201, 3156, 67, 11616, 18, 14963, 12, 2159, 18, 588, 18948, 1435, 3719, 1850, 288, 5411, 327, 629, 31, 1171, 368, 23647, 3059, 1377, 648, 2029, 18, 2 ]
zoomOutIfNecessary(editor);
private IEditorPart busyOpenEditorBatched(IEditorInput input, String editorID, boolean activate, boolean findExisting) throws PartInitException { IEditorPart editor = null; if (findExisting) { // If an editor already exists for the input, use it. editor = getEditorManager().findEditor(input); if (editor != null) { if (IEditorRegistry.SYSTEM_EXTERNAL_EDITOR_ID.equals(editorID)) { if (editor.isDirty()) { MessageDialog dialog = new MessageDialog( getWorkbenchWindow().getShell(), WorkbenchMessages.Save, null, // accept the default window icon NLS.bind(WorkbenchMessages.WorkbenchPage_editorAlreadyOpenedMsg, input.getName()), MessageDialog.QUESTION, new String[] { IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL, IDialogConstants.CANCEL_LABEL }, 0); int saveFile = dialog.open(); if (saveFile == 0) { try { final IEditorPart editorToSave = editor; getWorkbenchWindow().run(false, false, new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { editorToSave.doSave(monitor); } }); } catch (InvocationTargetException e) { throw (RuntimeException) e.getTargetException(); } catch (InterruptedException e) { return null; } } else if (saveFile == 2) { return null; } } } else { // do the IShowEditorInput notification before showing the editor // to reduce flicker if (editor instanceof IShowEditorInput) { ((IShowEditorInput) editor).showEditorInput(input); } showEditor(activate, editor); return editor; } } } // Disabled turning redraw off, because it causes setFocus // in activate(editor) to fail. // getClientComposite().setRedraw(false); // Remember the old visible editor IEditorPart oldVisibleEditor = getEditorManager().getVisibleEditor(); // Otherwise, create a new one. This may cause the new editor to // become the visible (i.e top) editor. IEditorReference ref = null; ref = getEditorManager().openEditor(editorID, input, true); if (ref != null) { editor = ref.getEditor(true); addPart(ref); } if (editor != null) { //firePartOpened(editor); zoomOutIfNecessary(editor); setEditorAreaVisible(true); if (activate) { if (editor instanceof MultiEditor) activate(((MultiEditor) editor).getActiveEditor()); else activate(editor); } else { activationList.setActive(editor); if (activePart != null) { // ensure the activation list is in a valid state activationList.setActive(activePart); } // The previous openEditor call may create a new editor // and make it visible, so send the notification. IEditorPart visibleEditor = getEditorManager() .getVisibleEditor(); if ((visibleEditor == editor) && (oldVisibleEditor != editor)) { actionSwitcher.updateTopEditor(editor); firePartBroughtToTop(editor); } else { bringToTop(editor); } } window.firePerspectiveChanged(this, getPerspective(), ref, CHANGE_EDITOR_OPEN); window.firePerspectiveChanged(this, getPerspective(), CHANGE_EDITOR_OPEN); } // getClientComposite().setRedraw(true); return editor; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/45ab2bee3420234882ba61c9b99fecd868b62e8f/WorkbenchPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 6946, 1988, 21697, 3678, 6946, 4497, 329, 12, 45, 6946, 1210, 810, 16, 5411, 514, 4858, 734, 16, 1250, 10235, 16, 225, 1250, 1104, 9895, 13, 1216, 6393, 2570, 503, 288, 202, 202, 45, 6946, 1988, 4858, 273, 446, 31, 9506, 202, 430, 261, 4720, 9895, 13, 288, 202, 3639, 368, 971, 392, 4858, 1818, 1704, 364, 326, 810, 16, 999, 518, 18, 202, 3639, 4858, 273, 336, 6946, 1318, 7675, 4720, 6946, 12, 2630, 1769, 202, 3639, 309, 261, 9177, 480, 446, 13, 288, 202, 5411, 309, 261, 45, 6946, 4243, 18, 14318, 67, 2294, 11702, 67, 13208, 67, 734, 18, 14963, 12, 9177, 734, 3719, 288, 202, 7734, 309, 261, 9177, 18, 291, 10785, 10756, 288, 202, 10792, 2350, 6353, 6176, 273, 394, 2350, 6353, 12, 202, 18701, 29026, 22144, 3829, 7675, 588, 13220, 9334, 202, 18701, 4147, 22144, 5058, 18, 4755, 16, 3196, 18701, 446, 16, 368, 2791, 326, 805, 2742, 4126, 202, 18701, 29117, 18, 4376, 12, 2421, 22144, 5058, 18, 2421, 22144, 1964, 67, 9177, 9430, 23115, 3332, 16, 225, 810, 18, 17994, 1435, 3631, 3196, 18701, 2350, 6353, 18, 4740, 1146, 16, 394, 514, 8526, 288, 202, 4766, 565, 1599, 3529, 2918, 18, 29081, 67, 13545, 16, 202, 4766, 565, 1599, 3529, 2918, 18, 3417, 67, 13545, 16, 202, 4766, 565, 1599, 3529, 2918, 18, 25268, 67, 13545, 19879, 374, 1769, 202, 10792, 509, 1923, 812, 273, 6176, 18, 3190, 5621, 202, 10792, 309, 261, 5688, 812, 422, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 6946, 1988, 21697, 3678, 6946, 4497, 329, 12, 45, 6946, 1210, 810, 16, 5411, 514, 4858, 734, 16, 1250, 10235, 16, 225, 1250, 1104, 9895, 13, 1216, 6393, 2570, 503, 288, 202, 202, 45, 6946, 1988, 4858, 273, 446, 31, 9506, 202, 430, 261, 4720, 9895, 13, 288, 202, 3639, 368, 971, 392, 4858, 1818, 1704, 364, 326, 810, 16, 999, 518, 18, 202, 3639, 4858, 273, 336, 6946, 1318, 7675, 4720, 6946, 12, 2630, 1769, 202, 3639, 309, 261, 9177, 480, 446, 13, 288, 202, 5411, 309, 261, 45, 6946, 4243, 18, 14318, 67, 2294, 11702, 67, 13208, 67, 734, 18, 14963, 12, 9177, 734, 3719, 288, 202, 7734, 309, 261, 9177, 18, 291, 10785, 2 ]
fDeferredDocumentImpl.appendChild(datatypeIndex, enumerationIndex);
fDeferredDocumentImpl.appendChild(simpleTypeIndex, enumerationIndex);
public void attlistDecl(QName elementDecl, QName attributeDecl, int attType, String enumString, int attDefaultType, int attDefaultValue) throws Exception { if (DEBUG_ATTLIST_DECL) { System.out.println("attlistDecl(" + fStringPool.toString(elementDecl.rawname) + ", " + fStringPool.toString(attributeDecl.rawname) + ", " + fStringPool.toString(attType) + ", " + enumString + ", " + fStringPool.toString(attDefaultType) + ", " + fStringPool.toString(attDefaultValue) + ")"); } // deferred expansion if (fDeferredDocumentImpl != null) { // get the default value if (attDefaultValue != -1) { if (DEBUG_ATTLIST_DECL) { System.out.println(" adding default attribute value: "+ fStringPool.toString(attDefaultValue)); } // get element definition int elementDefIndex = fDeferredDocumentImpl.lookupElementDefinition(elementDecl.rawname); // create element definition if not already there if (elementDefIndex == -1) { elementDefIndex = fDeferredDocumentImpl.createElementDefinition(elementDecl.rawname); fDeferredDocumentImpl.appendChild(fDocumentTypeIndex, elementDefIndex); } // add default attribute int attrIndex = fDeferredDocumentImpl.createAttribute(attributeDecl.rawname, attributeDecl.uri, attDefaultValue, false); fDeferredDocumentImpl.appendChild(elementDefIndex, attrIndex); } // // Create attribute declaration // /*REVISIT- Grammar Access if (fGrammarAccess) { // get element declaration; create it if necessary int schemaIndex = getLastChildElement(fDocumentTypeIndex, "schema"); String elementName = fStringPool.toString(elementDecl.rawname); int elementIndex = getLastChildElement(schemaIndex, "element", "name", elementName); if (elementIndex == -1) { int handle = fAttrList.startAttrList(); fAttrList.addAttr( fStringPool.addSymbol("name"), fStringPool.addString(elementName), fStringPool.addSymbol("NMTOKEN"), true, false); //search fAttrList.addAttr( fStringPool.addSymbol("export"), fStringPool.addString("true"), fStringPool.addSymbol("ENUMERATION"), false, false); // search fAttrList.endAttrList(); elementIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("element"), fAttrList, handle); fDeferredDocumentImpl.appendChild(schemaIndex, elementIndex); } // get type element; create it if necessary int typeIndex = getLastChildElement(elementIndex, "type"); if (typeIndex == -1) { typeIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("type"), null, -1); fDeferredDocumentImpl.insertBefore(elementIndex, typeIndex, getLastChildElement(elementIndex)); } // create attribute and set its attributes String attributeName = fStringPool.toString(attributeDecl.rawname); int attributeIndex = getLastChildElement(elementIndex, "attribute", "name", attributeName); if (attributeIndex == -1) { int handle = fAttrList.startAttrList(); fAttrList.addAttr( fStringPool.addSymbol("name"), fStringPool.addString(attributeName), fStringPool.addSymbol("NMTOKEN"), true, false); // search /*** fAttrList.addAttr( fStringPool.addSymbol("type"), fStringPool.addString("string"), fStringPool.addSymbol("CDATA"), true, false); // search /***/ /* fAttrList.addAttr( fStringPool.addSymbol("minOccurs"), fStringPool.addString("0"), fStringPool.addSymbol("CDATA"), false, false); // search fAttrList.addAttr( fStringPool.addSymbol("maxOccurs"), fStringPool.addString("1"), fStringPool.addSymbol("CDATA"), false, false); // search fAttrList.endAttrList(); attributeIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("attribute"), fAttrList, handle); fDeferredDocumentImpl.appendChild(typeIndex, attributeIndex); // attribute type: CDATA, ENTITY, ... , NMTOKENS; ENUMERATION String attributeTypeName = fStringPool.toString(attType); if (attributeTypeName.equals("CDATA")) { int typeAttrIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("type"), fStringPool.addString("string"), false); fDeferredDocumentImpl.setAttributeNode(attributeIndex, typeAttrIndex); } else if (attributeTypeName.equals("ENUMERATION")) { handle = fAttrList.startAttrList(); fAttrList.addAttr( fStringPool.addSymbol("source"), fStringPool.addString("NMTOKEN"), fStringPool.addSymbol("CDATA"), true, false); // search fAttrList.endAttrList(); int datatypeIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("datatype"), fAttrList, handle); fDeferredDocumentImpl.appendChild(attributeIndex, datatypeIndex); String tokenizerString = enumString.substring(1, enumString.length() - 1); StringTokenizer tokenizer = new StringTokenizer(tokenizerString, "|"); while (tokenizer.hasMoreTokens()) { handle = fAttrList.startAttrList(); fAttrList.addAttr( fStringPool.addSymbol("value"), fStringPool.addString(tokenizer.nextToken()), fStringPool.addSymbol("CDATA"), true, false); // search fAttrList.endAttrList(); int enumerationIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("enumeration"), fAttrList, handle); fDeferredDocumentImpl.appendChild(datatypeIndex, enumerationIndex); } } else { // REVISIT: Could we ever get an unknown data type? -Ac int typeAttrIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("type"), fStringPool.addString(attributeTypeName), true); fDeferredDocumentImpl.setAttributeNode(attributeIndex, typeAttrIndex); } // attribute default type: #IMPLIED, #REQUIRED, #FIXED boolean fixed = false; if (attDefaultType != -1) { String attributeDefaultTypeName = fStringPool.toString(attDefaultType); if (attributeDefaultTypeName.equals("#REQUIRED")) { int minOccursAttrIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("minOccurs"), fStringPool.addString("1"), true); int oldMinOccursAttrIndex = fDeferredDocumentImpl.setAttributeNode(attributeIndex, minOccursAttrIndex); fStringPool.releaseString(fDeferredDocumentImpl.getNodeValue(oldMinOccursAttrIndex, false)); } else if (attributeDefaultTypeName.equals("#FIXED")) { fixed = true; int fixedAttrIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("fixed"), attDefaultValue, true); fDeferredDocumentImpl.setAttributeNode(attributeIndex, fixedAttrIndex); } } // attribute default value if (!fixed && attDefaultValue != -1) { int defaultAttrIndex = fDeferredDocumentImpl.createAttribute(fStringPool.addSymbol("default"), attDefaultValue, true); fDeferredDocumentImpl.setAttributeNode(attributeIndex, defaultAttrIndex); } } } */ } // full expansion else if (fDocumentImpl != null) { // get the default value if (attDefaultValue != -1) { if (DEBUG_ATTLIST_DECL) { System.out.println(" adding default attribute value: "+ fStringPool.toString(attDefaultValue)); } // get element name String elementName = fStringPool.toString(elementDecl.rawname); // get element definition node NamedNodeMap elements = ((DocumentTypeImpl)fDocumentType).getElements(); ElementDefinitionImpl elementDef = (ElementDefinitionImpl)elements.getNamedItem(elementName); if (elementDef == null) { elementDef = fDocumentImpl.createElementDefinition(elementName); ((DocumentTypeImpl)fDocumentType).getElements().setNamedItem(elementDef); } // REVISIT: Check for uniqueness of element name? -Ac // REVISIT: what about default attributes with URI? -ALH // get attribute name and value index String attrName = fStringPool.toString(attributeDecl.rawname); String attrValue = fStringPool.toString(attDefaultValue); // create attribute and set properties AttrImpl attr = (AttrImpl)fDocumentImpl.createAttribute(attrName); attr.setValue(attrValue); attr.setSpecified(false); // add default attribute to element definition elementDef.getAttributes().setNamedItem(attr); } // // Create attribute declaration // /*REVISIT Grammar Access if (fGrammarAccess) { // get element declaration; create it if necessary Element schema = XUtil.getFirstChildElement(fDocumentType, "schema"); String elementName = fStringPool.toString(elementDecl.rawname); Element element = XUtil.getFirstChildElement(schema, "element", "name", elementName); if (element == null) { element = fDocument.createElement("element"); element.setAttribute("name", elementName); //element.setAttribute("export", "true"); //((AttrImpl)element.getAttributeNode("export")).setSpecified(false); schema.appendChild(element); } // get type element; create it if necessary Element type = XUtil.getFirstChildElement(element, "type"); if (type == null) { type = fDocument.createElement("type"); // REVISIT: Check for archetype redeclaration? -Ac element.insertBefore(type, XUtil.getFirstChildElement(element)); } // create attribute and set its attributes String attributeName = fStringPool.toString(attributeDecl.rawname); Element attribute = XUtil.getFirstChildElement(element, "attribute", "name", attributeName); if (attribute == null) { attribute = fDocument.createElement("attribute"); attribute.setAttribute("name", attributeName); attribute.setAttribute("minOccurs", "0"); ((AttrImpl)attribute.getAttributeNode("minOccurs")).setSpecified(false); attribute.setAttribute("maxOccurs", "1"); ((AttrImpl)attribute.getAttributeNode("maxOccurs")).setSpecified(false); type.appendChild(attribute); // attribute type: CDATA, ENTITY, ... , NMTOKENS; ENUMERATION String attributeTypeName = fStringPool.toString(attType); if (attributeTypeName.equals("CDATA")) { attribute.setAttribute("type", "string"); ((AttrImpl)attribute.getAttributeNode("type")).setSpecified(false); } else if (attributeTypeName.equals("ENUMERATION")) { Element datatype = fDocumentImpl.createElement("datatype"); datatype.setAttribute("source", "NMTOKEN"); attribute.appendChild(datatype); String tokenizerString = enumString.substring(1, enumString.length() - 1); StringTokenizer tokenizer = new StringTokenizer(tokenizerString, "|"); while (tokenizer.hasMoreTokens()) { Element enumeration = fDocument.createElement("enumeration"); enumeration.setAttribute("value", tokenizer.nextToken()); datatype.appendChild(enumeration); } } else { // REVISIT: Could we ever get an unknown data type? -Ac attribute.setAttribute("type", attributeTypeName); } // attribute default type: #IMPLIED, #REQUIRED, #FIXED boolean fixed = false; if (attDefaultType != -1) { String attributeDefaultTypeName = fStringPool.toString(attDefaultType); if (attributeDefaultTypeName.equals("#REQUIRED")) { attribute.setAttribute("minOccurs", "1"); ((AttrImpl)attribute.getAttributeNode("minOccurs")).setSpecified(true); } else if (attributeDefaultTypeName.equals("#FIXED")) { fixed = true; String fixedValue = fStringPool.toString(attDefaultValue); attribute.setAttribute("fixed", fixedValue); } } // attribute default value if (!fixed && attDefaultValue != -1) { String defaultValue = fStringPool.toString(attDefaultValue); attribute.setAttribute("default", defaultValue); } } } */ } // if NOT defer-node-expansion } // attlistDecl(int,int,int,String,int,int)
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/3bbd83a7bcddbc34357f71fe08eace8d74b9bc8f/DOMParser.java/buggy/src/org/apache/xerces/parsers/DOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2403, 1098, 3456, 12, 13688, 930, 3456, 16, 16723, 1566, 3456, 16, 11794, 509, 2403, 559, 16, 514, 2792, 780, 16, 18701, 509, 2403, 1868, 559, 16, 509, 2403, 15646, 13, 3639, 1216, 1185, 288, 3639, 309, 261, 9394, 67, 789, 56, 7085, 67, 23956, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 4558, 1098, 3456, 2932, 397, 284, 780, 2864, 18, 10492, 12, 2956, 3456, 18, 1899, 529, 13, 397, 3104, 315, 397, 4766, 7734, 284, 780, 2864, 18, 10492, 12, 4589, 3456, 18, 1899, 529, 13, 397, 3104, 315, 397, 4766, 7734, 284, 780, 2864, 18, 10492, 12, 4558, 559, 13, 397, 3104, 315, 397, 4766, 7734, 2792, 780, 397, 3104, 315, 397, 4766, 7734, 284, 780, 2864, 18, 10492, 12, 4558, 1868, 559, 13, 397, 3104, 315, 397, 4766, 7734, 284, 780, 2864, 18, 10492, 12, 4558, 15646, 13, 397, 7310, 1769, 3639, 289, 3639, 368, 7045, 17965, 3639, 309, 261, 74, 16886, 2519, 2828, 480, 446, 13, 288, 5411, 368, 336, 326, 805, 460, 5411, 309, 261, 4558, 15646, 480, 300, 21, 13, 288, 7734, 309, 261, 9394, 67, 789, 56, 7085, 67, 23956, 13, 288, 10792, 2332, 18, 659, 18, 8222, 2932, 225, 6534, 805, 1566, 460, 30, 13773, 4766, 4202, 284, 780, 2864, 18, 10492, 12, 4558, 15646, 10019, 7734, 289, 7734, 368, 336, 930, 2379, 7734, 509, 930, 3262, 1016, 225, 273, 284, 16886, 2519, 2828, 18, 8664, 1046, 1852, 12, 2956, 3456, 18, 1899, 529, 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, 2403, 1098, 3456, 12, 13688, 930, 3456, 16, 16723, 1566, 3456, 16, 11794, 509, 2403, 559, 16, 514, 2792, 780, 16, 18701, 509, 2403, 1868, 559, 16, 509, 2403, 15646, 13, 3639, 1216, 1185, 288, 3639, 309, 261, 9394, 67, 789, 56, 7085, 67, 23956, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 4558, 1098, 3456, 2932, 397, 284, 780, 2864, 18, 10492, 12, 2956, 3456, 18, 1899, 529, 13, 397, 3104, 315, 397, 4766, 7734, 284, 780, 2864, 18, 10492, 12, 4589, 3456, 18, 1899, 529, 13, 397, 3104, 315, 397, 4766, 7734, 284, 780, 2864, 18, 10492, 12, 4558, 559, 13, 397, 3104, 315, 397, 4766, 7734, 2792, 780, 397, 3104, 315, 397, 2 ]
public String getColumnText(Object element, int columnIndex) { if (!(element instanceof DetectorFactory)) { return null; } DetectorFactory factory = (DetectorFactory) element; switch (columnIndex) { case 0 : return page.getBugsAbbreviation(factory); case 1 : return factory.getShortName(); case 2 : return factory.getSpeed(); case 3 : StringBuffer sb = new StringBuffer(); Collection patterns = factory.getReportedBugPatterns(); for (Iterator iter = patterns.iterator(); iter.hasNext();) { BugPattern pattern = (BugPattern) iter.next(); sb.append(pattern.getShortDescription()); if (iter.hasNext()) { sb.append(" | "); //$NON-NLS-1$ } } return sb.toString(); default : return null; } }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/c0407a75e650f506df48c3a1f7800b80b54c2116/FindbugsPropertyPage.java/buggy/eclipsePlugin/src/de/tobject/findbugs/properties/FindbugsPropertyPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 780, 588, 1494, 1528, 12, 921, 2956, 16, 474, 2827, 1016, 15329, 1082, 202, 430, 12, 5, 12, 2956, 1336, 792, 12594, 1733, 3719, 95, 9506, 202, 2463, 2011, 31, 1082, 202, 97, 1082, 202, 12594, 1733, 6848, 28657, 12594, 1733, 13, 2956, 31, 1082, 202, 9610, 12, 2827, 1016, 15329, 9506, 202, 3593, 20, 30, 6862, 202, 2463, 2433, 18, 588, 31559, 5895, 15500, 12, 6848, 1769, 9506, 202, 3593, 21, 30, 6862, 202, 2463, 6848, 18, 588, 29983, 5621, 9506, 202, 3593, 22, 30, 6862, 202, 2463, 6848, 18, 588, 16562, 5621, 9506, 202, 3593, 23, 30, 6862, 202, 780, 13699, 70, 33, 2704, 780, 1892, 5621, 6862, 202, 2532, 13317, 33, 6848, 18, 588, 426, 1798, 19865, 11268, 5621, 6862, 202, 1884, 12, 3198, 2165, 33, 13317, 18, 9838, 5621, 2165, 18, 5332, 2134, 5621, 15329, 25083, 202, 19865, 3234, 4951, 28657, 19865, 3234, 13, 2165, 18, 4285, 5621, 25083, 202, 18366, 18, 6923, 12, 4951, 18, 588, 4897, 3291, 10663, 25083, 202, 430, 12, 2165, 18, 5332, 2134, 10756, 95, 6862, 1082, 202, 18366, 18, 6923, 2932, 96, 8863, 759, 8, 3993, 17, 5106, 17, 21, 8, 25083, 202, 97, 6862, 202, 97, 6862, 202, 6154, 70, 18, 10492, 5621, 9506, 202, 1886, 30, 6862, 202, 2463, 2011, 31, 1082, 202, 97, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 780, 588, 1494, 1528, 12, 921, 2956, 16, 474, 2827, 1016, 15329, 1082, 202, 430, 12, 5, 12, 2956, 1336, 792, 12594, 1733, 3719, 95, 9506, 202, 2463, 2011, 31, 1082, 202, 97, 1082, 202, 12594, 1733, 6848, 28657, 12594, 1733, 13, 2956, 31, 1082, 202, 9610, 12, 2827, 1016, 15329, 9506, 202, 3593, 20, 30, 6862, 202, 2463, 2433, 18, 588, 31559, 5895, 15500, 12, 6848, 1769, 9506, 202, 3593, 21, 30, 6862, 202, 2463, 6848, 18, 588, 29983, 5621, 9506, 202, 3593, 22, 30, 6862, 202, 2463, 6848, 18, 588, 16562, 5621, 9506, 202, 3593, 23, 30, 6862, 202, 780, 13699, 70, 33, 2704, 780, 1892, 5621, 6862, 202, 2532, 13317, 33, 6848, 18, 2 ]
maybeStart(false);
public synchronized void nonfatalError(SplitfileBlock block, int reasonCode) { if(callOnProgress) callback.onProgress(); nonfatalErrors.inc(reasonCode); runningBlocks.remove(block); int levelNumber = block.getRetryCount(); levelNumber++; Logger.minor(this, "Non-fatal error on "+block+" -> "+levelNumber); if(levelNumber > maxLevel) { failedBlocksTooManyRetries.add(block); Logger.minor(this, "Finished with "+block); } else { Level newLevel = makeLevel(levelNumber); newLevel.add(block); } maybeStart(false); }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/4494127894552d90423b4da0a9e9e08341b4b073/RetryTracker.java/buggy/src/freenet/client/RetryTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1661, 30709, 668, 12, 5521, 768, 1768, 1203, 16, 509, 3971, 1085, 13, 288, 202, 202, 430, 12, 1991, 1398, 5491, 13, 1082, 202, 3394, 18, 265, 5491, 5621, 202, 202, 5836, 30709, 4229, 18, 9523, 12, 10579, 1085, 1769, 202, 202, 8704, 6450, 18, 4479, 12, 2629, 1769, 202, 202, 474, 1801, 1854, 273, 1203, 18, 588, 7539, 1380, 5621, 202, 202, 2815, 1854, 9904, 31, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 3989, 17, 30709, 555, 603, 13773, 2629, 9078, 317, 13773, 2815, 1854, 1769, 202, 202, 430, 12, 2815, 1854, 405, 943, 2355, 13, 288, 1082, 202, 7307, 6450, 10703, 5594, 13656, 18, 1289, 12, 2629, 1769, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 10577, 598, 13773, 2629, 1769, 202, 202, 97, 469, 288, 1082, 202, 2355, 394, 2355, 273, 1221, 2355, 12, 2815, 1854, 1769, 1082, 202, 2704, 2355, 18, 1289, 12, 2629, 1769, 202, 202, 97, 202, 202, 19133, 1685, 12, 5743, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1661, 30709, 668, 12, 5521, 768, 1768, 1203, 16, 509, 3971, 1085, 13, 288, 202, 202, 430, 12, 1991, 1398, 5491, 13, 1082, 202, 3394, 18, 265, 5491, 5621, 202, 202, 5836, 30709, 4229, 18, 9523, 12, 10579, 1085, 1769, 202, 202, 8704, 6450, 18, 4479, 12, 2629, 1769, 202, 202, 474, 1801, 1854, 273, 1203, 18, 588, 7539, 1380, 5621, 202, 202, 2815, 1854, 9904, 31, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 3989, 17, 30709, 555, 603, 13773, 2629, 9078, 317, 13773, 2815, 1854, 1769, 202, 202, 430, 12, 2815, 1854, 405, 943, 2355, 13, 288, 1082, 202, 7307, 6450, 10703, 5594, 13656, 18, 1289, 12, 2629, 1769, 1082, 202, 2 ]
((ComplexPhase)p).replacePhase(oldId, newId);
((ComplexPhase) p).replacePhase(oldId, newId);
public final void replacePhase(int oldId, int newId) { for(int i=0; i<subPhases.length; i++) { Phase p = getPhase(subPhases[i]); if (p.getId() == oldId) { // Replace subPhases[i] = newId; } else if (p instanceof ComplexPhase) { // Recurse ((ComplexPhase)p).replacePhase(oldId, newId); } } }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4c66aa27cec27f8dd5902baec018ff86d7f49ee2/ComplexPhase.java/clean/MMTk/src/org/mmtk/plan/ComplexPhase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 1453, 11406, 12, 474, 1592, 548, 16, 509, 27598, 13, 288, 565, 364, 12, 474, 277, 33, 20, 31, 277, 32, 1717, 3731, 3304, 18, 2469, 31, 277, 27245, 288, 1377, 19459, 293, 273, 21735, 448, 12, 1717, 3731, 3304, 63, 77, 19226, 1377, 309, 261, 84, 18, 26321, 1435, 422, 1592, 548, 13, 288, 3639, 368, 6910, 3639, 720, 3731, 3304, 63, 77, 65, 273, 27598, 31, 1377, 289, 469, 309, 261, 84, 1276, 16060, 11406, 13, 288, 3639, 368, 868, 17682, 3639, 14015, 12795, 11406, 13, 293, 2934, 2079, 11406, 12, 1673, 548, 16, 27598, 1769, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 1453, 11406, 12, 474, 1592, 548, 16, 509, 27598, 13, 288, 565, 364, 12, 474, 277, 33, 20, 31, 277, 32, 1717, 3731, 3304, 18, 2469, 31, 277, 27245, 288, 1377, 19459, 293, 273, 21735, 448, 12, 1717, 3731, 3304, 63, 77, 19226, 1377, 309, 261, 84, 18, 26321, 1435, 422, 1592, 548, 13, 288, 3639, 368, 6910, 3639, 720, 3731, 3304, 63, 77, 65, 273, 27598, 31, 1377, 289, 469, 309, 261, 84, 1276, 16060, 11406, 13, 288, 3639, 368, 868, 17682, 3639, 14015, 12795, 11406, 13, 293, 2934, 2079, 11406, 12, 1673, 548, 16, 27598, 1769, 1377, 289, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public RubyObject eval(Ruby ruby, RubyObject self) { CRefNode savedCRef = null; RubyFrame frame = ruby.getRubyFrame(); frame.setTmp(ruby.getRubyFrame()); ruby.setRubyFrame(frame); ruby.getRubyScope().push(); if (getRefValue() != null) { savedCRef = ruby.getCRef(); ruby.setCRef(getRefValue()); ruby.getRubyFrame().setCbase(getRefValue()); } if (getTable() != null) { // List tmp = Collections.nCopies(idTable[0].intValue() + 1, ruby.getNil()); // ShiftableList vars = new ShiftableList(new ArrayList(tmp)); RubyPointer vars = new RubyPointer(ruby.getNil(), getTable().getId(0).intValue() + 1); vars.set(0, this); vars.inc(); ruby.getRubyScope().setLocalVars(vars); ruby.getRubyScope().setLocalTbl(getTable()); } else { ruby.getRubyScope().setLocalVars(null); ruby.getRubyScope().setLocalTbl(null); } RubyObject result = getNextNode().eval(ruby, self); ruby.getRubyScope().pop(); ruby.setRubyFrame(frame.getTmp()); if (savedCRef != null) { ruby.setCRef(savedCRef); } return result; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/buggy/org/jruby/nodes/ScopeNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 19817, 921, 5302, 12, 54, 10340, 22155, 16, 19817, 921, 365, 13, 288, 39, 1957, 907, 5198, 39, 1957, 273, 446, 31, 54, 10340, 3219, 2623, 273, 22155, 18, 588, 54, 10340, 3219, 5621, 3789, 18, 542, 9161, 12, 27768, 18, 588, 54, 10340, 3219, 10663, 27768, 18, 542, 54, 10340, 3219, 12, 3789, 1769, 27768, 18, 588, 54, 10340, 3876, 7675, 6206, 5621, 430, 261, 588, 30556, 1435, 480, 446, 13, 288, 14077, 39, 1957, 273, 22155, 18, 588, 39, 1957, 5621, 27768, 18, 542, 39, 1957, 12, 588, 30556, 10663, 27768, 18, 588, 54, 10340, 3219, 7675, 542, 39, 1969, 12, 588, 30556, 10663, 97, 430, 261, 588, 1388, 1435, 480, 446, 13, 288, 759, 987, 1853, 273, 5737, 18, 82, 15670, 12, 350, 1388, 63, 20, 8009, 474, 620, 1435, 397, 404, 16, 22155, 18, 588, 12616, 10663, 759, 2638, 430, 2121, 682, 4153, 273, 394, 2638, 430, 2121, 682, 12, 2704, 2407, 12, 5645, 10019, 54, 10340, 4926, 4153, 273, 394, 19817, 4926, 12, 27768, 18, 588, 12616, 9334, 5638, 7675, 26321, 12, 20, 2934, 474, 620, 1435, 397, 404, 1769, 4699, 18, 542, 12, 20, 16, 333, 1769, 4699, 18, 9523, 5621, 27768, 18, 588, 54, 10340, 3876, 7675, 542, 2042, 5555, 12, 4699, 1769, 27768, 18, 588, 54, 10340, 3876, 7675, 542, 2042, 22592, 12, 588, 1388, 10663, 97, 469, 288, 27768, 18, 588, 54, 10340, 3876, 7675, 542, 2042, 5555, 12, 2011, 1769, 27768, 18, 588, 54, 10340, 3876, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 19817, 921, 5302, 12, 54, 10340, 22155, 16, 19817, 921, 365, 13, 288, 39, 1957, 907, 5198, 39, 1957, 273, 446, 31, 54, 10340, 3219, 2623, 273, 22155, 18, 588, 54, 10340, 3219, 5621, 3789, 18, 542, 9161, 12, 27768, 18, 588, 54, 10340, 3219, 10663, 27768, 18, 542, 54, 10340, 3219, 12, 3789, 1769, 27768, 18, 588, 54, 10340, 3876, 7675, 6206, 5621, 430, 261, 588, 30556, 1435, 480, 446, 13, 288, 14077, 39, 1957, 273, 22155, 18, 588, 39, 1957, 5621, 27768, 18, 542, 39, 1957, 12, 588, 30556, 10663, 27768, 18, 588, 54, 10340, 3219, 7675, 542, 39, 1969, 12, 588, 30556, 10663, 97, 430, 261, 588, 1388, 1435, 480, 446, 13, 288, 759, 987, 2 ]
Object expObject = definitions.get(buffer, startPos, len);
Object expObject = definitions.get(buffer, nameOffset, len);
protected void handlePPInclude(int pos2, boolean include_next, int startingLineNumber) { char[] buffer = bufferStack[bufferStackPos]; int limit = bufferLimit[bufferStackPos]; skipOverWhiteSpace(); int startOffset = pos2; int pos = ++bufferPos[bufferStackPos]; if (pos >= limit) return; boolean local = false; String filename = null; int endOffset = startOffset; int nameOffset = 0; int nameEndOffset = 0; int nameLine = 0, endLine = 0; char c = buffer[pos]; int start; int length; switch (c) { case '\n': return; case '"': nameLine = getLineNumber(bufferPos[bufferStackPos]); local = true; start = bufferPos[bufferStackPos] + 1; length = 0; boolean escaped = false; while (++bufferPos[bufferStackPos] < limit) { ++length; c = buffer[bufferPos[bufferStackPos]]; if (c == '"') { if (!escaped) break; } else if (c == '\\') { escaped = !escaped; continue; } escaped = false; } --length; filename = new String(buffer, start, length); nameOffset = start; nameEndOffset = start + length; endOffset = start + length + 1; break; case '<': nameLine = getLineNumber(bufferPos[bufferStackPos]); local = false; start = bufferPos[bufferStackPos] + 1; length = 0; while (++bufferPos[bufferStackPos] < limit && buffer[bufferPos[bufferStackPos]] != '>') ++length; endOffset = start + length + 1; nameOffset = start; nameEndOffset = start + length; filename = new String(buffer, start, length); break; default: // handle macro expansions while (++bufferPos[bufferStackPos] < limit) { c = buffer[bufferPos[bufferStackPos]]; if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c == '_' || (c >= '0' && c <= '9') || Character.isUnicodeIdentifierPart(c)) { continue; } else if (c == '\\' && bufferPos[bufferStackPos] + 1 < buffer.length && buffer[bufferPos[bufferStackPos] + 1] == '\n') { // escaped newline ++bufferPos[bufferStackPos]; continue; } break; } int startPos= pos; int len= bufferPos[bufferStackPos] - startPos; bufferPos[bufferStackPos]--; Object expObject = definitions.get(buffer, startPos, len); if (expObject != null) { char[] t = null; if (expObject instanceof FunctionStyleMacro) { t = handleFunctionStyleMacro( (FunctionStyleMacro) expObject, false); } else if (expObject instanceof ObjectStyleMacro) { t = ((ObjectStyleMacro) expObject).getExpansion(); } if (t != null) { t = replaceArgumentMacros(t); if (t.length >= 2) { if (t[0] == '"' && t[t.length-1] == '"') { local = true; filename = new String(t, 1, t.length-2); } else if (t[0] == '<' && t[t.length-1] == '>') { local = false; filename = new String(t, 1, t.length-2); } } } } break; } if (filename == null || filename == EMPTY_STRING) { handleProblem(IProblem.PREPROCESSOR_INVALID_DIRECTIVE, startOffset, null); return; } char[] fileNameArray = filename.toCharArray(); // TODO else we need to do macro processing on the rest of the line endLine = getLineNumber(bufferPos[bufferStackPos]); skipToNewLine(); findAndPushInclusion(filename, fileNameArray, local, include_next, startOffset, nameOffset, nameEndOffset, endOffset, startingLineNumber, nameLine, endLine); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/df871fe06bd1191491f65b19014fc27782320263/BaseScanner.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/BaseScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1640, 6584, 8752, 12, 474, 949, 22, 16, 1250, 2341, 67, 4285, 16, 5411, 509, 5023, 31063, 13, 288, 3639, 1149, 8526, 1613, 273, 1613, 2624, 63, 4106, 2624, 1616, 15533, 3639, 509, 1800, 273, 1613, 3039, 63, 4106, 2624, 1616, 15533, 3639, 2488, 4851, 23108, 5621, 3639, 509, 18245, 273, 949, 22, 31, 3639, 509, 949, 273, 965, 4106, 1616, 63, 4106, 2624, 1616, 15533, 3639, 309, 261, 917, 1545, 1800, 13, 5411, 327, 31, 3639, 1250, 1191, 273, 629, 31, 3639, 514, 1544, 273, 446, 31, 3639, 509, 25507, 273, 18245, 31, 3639, 509, 508, 2335, 273, 374, 31, 3639, 509, 508, 1638, 2335, 273, 374, 31, 3639, 509, 508, 1670, 273, 374, 16, 31763, 273, 374, 31, 3639, 1149, 276, 273, 1613, 63, 917, 15533, 3639, 509, 787, 31, 3639, 509, 769, 31, 3639, 1620, 261, 71, 13, 288, 3639, 648, 2337, 82, 4278, 5411, 327, 31, 3639, 648, 2119, 4278, 5411, 508, 1670, 273, 26089, 12, 4106, 1616, 63, 4106, 2624, 1616, 19226, 5411, 1191, 273, 638, 31, 5411, 787, 273, 1613, 1616, 63, 4106, 2624, 1616, 65, 397, 404, 31, 5411, 769, 273, 374, 31, 5411, 1250, 8345, 273, 629, 31, 5411, 1323, 261, 9904, 4106, 1616, 63, 4106, 2624, 1616, 65, 411, 1800, 13, 288, 7734, 965, 2469, 31, 7734, 276, 273, 1613, 63, 4106, 1616, 63, 4106, 2624, 1616, 13563, 31, 7734, 309, 261, 71, 422, 4754, 13, 288, 10792, 309, 16051, 16502, 13, 13491, 898, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1640, 6584, 8752, 12, 474, 949, 22, 16, 1250, 2341, 67, 4285, 16, 5411, 509, 5023, 31063, 13, 288, 3639, 1149, 8526, 1613, 273, 1613, 2624, 63, 4106, 2624, 1616, 15533, 3639, 509, 1800, 273, 1613, 3039, 63, 4106, 2624, 1616, 15533, 3639, 2488, 4851, 23108, 5621, 3639, 509, 18245, 273, 949, 22, 31, 3639, 509, 949, 273, 965, 4106, 1616, 63, 4106, 2624, 1616, 15533, 3639, 309, 261, 917, 1545, 1800, 13, 5411, 327, 31, 3639, 1250, 1191, 273, 629, 31, 3639, 514, 1544, 273, 446, 31, 3639, 509, 25507, 273, 18245, 31, 3639, 509, 508, 2335, 273, 374, 31, 3639, 509, 508, 1638, 2335, 273, 374, 31, 3639, 509, 508, 1670, 273, 374, 16, 2 ]
time.setTimeInMillis(now);
time.setTime(new Date(now));
public void run() { try { try { long now = System.currentTimeMillis(); time.setTimeInMillis(now); float t = timedDocumentRoot.convertWallclockTime(time); if (Math.floor(t) > second) { second = Math.floor(t); // System.err.println("fps: " + frames); frames = 0; } float t2 = tick(t, false); if (t2 == Float.POSITIVE_INFINITY) { waitTime = Long.MAX_VALUE; } else { waitTime = now + (long) (t2 * 1000) - 2000;; } frames++; } catch (AnimationException ex) { throw new BridgeException(ctx, ex.getElement().getElement(), ex.getMessage()); } } catch (BridgeException ex) { if (ctx.getUserAgent() == null) { ex.printStackTrace(); } else { ctx.getUserAgent().displayError(ex); } } //Thread.yield(); try { Thread.sleep(1); } catch (InterruptedException ie) { } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/a526efe4475c312e73c2bec1726347b9b4f2fb8a/SVGAnimationEngine.java/buggy/sources/org/apache/batik/bridge/SVGAnimationEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 775, 288, 7734, 775, 288, 10792, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 10792, 813, 18, 542, 950, 12, 2704, 2167, 12, 3338, 10019, 10792, 1431, 268, 273, 7491, 2519, 2375, 18, 6283, 26558, 18517, 950, 12, 957, 1769, 10792, 309, 261, 10477, 18, 74, 5807, 12, 88, 13, 405, 2205, 13, 288, 13491, 2205, 273, 2361, 18, 74, 5807, 12, 88, 1769, 13491, 368, 2332, 18, 370, 18, 8222, 2932, 74, 1121, 30, 315, 397, 7793, 1769, 13491, 7793, 273, 374, 31, 10792, 289, 10792, 1431, 268, 22, 273, 4024, 12, 88, 16, 629, 1769, 10792, 309, 261, 88, 22, 422, 5450, 18, 7057, 16325, 67, 17716, 13, 288, 13491, 30452, 273, 3407, 18, 6694, 67, 4051, 31, 10792, 289, 469, 288, 13491, 30452, 273, 2037, 397, 261, 5748, 13, 261, 88, 22, 380, 4336, 13, 300, 16291, 25708, 10792, 289, 10792, 7793, 9904, 31, 7734, 289, 1044, 261, 10816, 503, 431, 13, 288, 10792, 604, 394, 24219, 503, 12, 5900, 16, 431, 18, 21336, 7675, 21336, 9334, 4766, 2868, 431, 18, 24906, 10663, 7734, 289, 5411, 289, 1044, 261, 13691, 503, 431, 13, 288, 7734, 309, 261, 5900, 18, 588, 12276, 1435, 422, 446, 13, 288, 10792, 431, 18, 1188, 6332, 5621, 7734, 289, 469, 288, 10792, 1103, 18, 588, 12276, 7675, 5417, 668, 12, 338, 1769, 7734, 289, 5411, 289, 5411, 368, 3830, 18, 23604, 5621, 5411, 775, 288, 7734, 4884, 18, 19607, 12, 21, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 775, 288, 7734, 775, 288, 10792, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 10792, 813, 18, 542, 950, 12, 2704, 2167, 12, 3338, 10019, 10792, 1431, 268, 273, 7491, 2519, 2375, 18, 6283, 26558, 18517, 950, 12, 957, 1769, 10792, 309, 261, 10477, 18, 74, 5807, 12, 88, 13, 405, 2205, 13, 288, 13491, 2205, 273, 2361, 18, 74, 5807, 12, 88, 1769, 13491, 368, 2332, 18, 370, 18, 8222, 2932, 74, 1121, 30, 315, 397, 7793, 1769, 13491, 7793, 273, 374, 31, 10792, 289, 10792, 1431, 268, 22, 273, 4024, 12, 88, 16, 629, 1769, 10792, 309, 261, 88, 22, 422, 5450, 18, 7057, 16325, 67, 17716, 13, 288, 13491, 2 ]
jj_la1[45] = jj_gen; break label_17;
jj_la1[43] = jj_gen; break label_16;
final public void RelationalExpression() throws ParseException { AdditiveExpression(); label_17: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LOGICAL_LT: case LOGICAL_LE: case LOGICAL_GT: case LOGICAL_GE: ; break; default: jj_la1[45] = jj_gen; break label_17; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LOGICAL_LT: jj_consume_token(LOGICAL_LT); ASTLTNode jjtn001 = new ASTLTNode(this, JJTLTNODE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { AdditiveExpression(); } catch (Throwable jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte001;} } if (jjte001 instanceof ParseException) { {if (true) throw (ParseException)jjte001;} } {if (true) throw (Error)jjte001;} } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } break; case LOGICAL_GT: jj_consume_token(LOGICAL_GT); ASTGTNode jjtn002 = new ASTGTNode(this, JJTGTNODE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); try { AdditiveExpression(); } catch (Throwable jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte002;} } if (jjte002 instanceof ParseException) { {if (true) throw (ParseException)jjte002;} } {if (true) throw (Error)jjte002;} } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, 2); } } break; case LOGICAL_LE: jj_consume_token(LOGICAL_LE); ASTLENode jjtn003 = new ASTLENode(this, JJTLENODE); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); try { AdditiveExpression(); } catch (Throwable jjte003) { if (jjtc003) { jjtree.clearNodeScope(jjtn003); jjtc003 = false; } else { jjtree.popNode(); } if (jjte003 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte003;} } if (jjte003 instanceof ParseException) { {if (true) throw (ParseException)jjte003;} } {if (true) throw (Error)jjte003;} } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, 2); } } break; case LOGICAL_GE: jj_consume_token(LOGICAL_GE); ASTGENode jjtn004 = new ASTGENode(this, JJTGENODE); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); try { AdditiveExpression(); } catch (Throwable jjte004) { if (jjtc004) { jjtree.clearNodeScope(jjtn004); jjtc004 = false; } else { jjtree.popNode(); } if (jjte004 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte004;} } if (jjte004 instanceof ParseException) { {if (true) throw (ParseException)jjte004;} } {if (true) throw (Error)jjte004;} } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, 2); } } break; default: jj_la1[46] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/89173502837b4d67a69cd30d0b93cf47ed84c8cc/Parser.java/buggy/src/java/org/apache/velocity/runtime/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 21646, 2300, 1435, 1216, 10616, 288, 565, 1436, 3720, 2300, 5621, 565, 1433, 67, 4033, 30, 565, 1323, 261, 3767, 13, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 2018, 10109, 67, 12050, 30, 1377, 648, 2018, 10109, 67, 900, 30, 1377, 648, 2018, 10109, 67, 16506, 30, 1377, 648, 2018, 10109, 67, 7113, 30, 3639, 274, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 7950, 65, 273, 10684, 67, 4507, 31, 3639, 898, 1433, 67, 4033, 31, 1377, 289, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 2018, 10109, 67, 12050, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 29249, 67, 12050, 1769, 13491, 9183, 12050, 907, 10684, 5088, 11664, 273, 394, 9183, 12050, 907, 12, 2211, 16, 804, 46, 5967, 56, 8744, 1769, 13491, 1250, 10684, 5111, 11664, 273, 638, 31, 13491, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 11664, 1769, 3639, 775, 288, 1850, 1436, 3720, 2300, 5621, 3639, 289, 1044, 261, 15155, 10684, 736, 11664, 13, 288, 13491, 309, 261, 78, 78, 5111, 11664, 13, 288, 12900, 10684, 3413, 18, 8507, 907, 3876, 12, 78, 78, 5088, 11664, 1769, 12900, 10684, 5111, 11664, 273, 629, 31, 13491, 289, 469, 288, 12900, 10684, 3413, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 21646, 2300, 1435, 1216, 10616, 288, 565, 1436, 3720, 2300, 5621, 565, 1433, 67, 4033, 30, 565, 1323, 261, 3767, 13, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 2018, 10109, 67, 12050, 30, 1377, 648, 2018, 10109, 67, 900, 30, 1377, 648, 2018, 10109, 67, 16506, 30, 1377, 648, 2018, 10109, 67, 7113, 30, 3639, 274, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 7950, 65, 273, 10684, 67, 4507, 31, 3639, 898, 1433, 67, 4033, 31, 1377, 289, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 2 ]
DefaultMutableTreeNode bugNode = new BugTreeNode(member);
BugTreeNode bugNode = new BugTreeNode(member); if (BUG_COUNT) bugNode.setCount(currentGroup.getMemberCount());
private void insertIntoGroup(BugInstance member) { currentGroup.incrementMemberCount(); DefaultMutableTreeNode bugNode = new BugTreeNode(member); bugTreeModel.insertNodeInto(bugNode, currentGroupNode, currentGroupNode.getChildCount()); // Insert annotations Iterator j = member.annotationIterator(); while (j.hasNext()) { BugAnnotation annotation = (BugAnnotation) j.next(); DefaultMutableTreeNode annotationNode = new DefaultMutableTreeNode(annotation); bugTreeModel.insertNodeInto(annotationNode, bugNode, bugNode.getChildCount()); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/db1eb206214820f45b578506d7520dc4dca7ab88/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 3238, 918, 2243, 5952, 1114, 12, 19865, 1442, 3140, 13, 288, 7734, 783, 1114, 18, 15016, 4419, 1380, 5621, 7734, 16907, 12513, 7934, 907, 273, 394, 16907, 12513, 12, 5990, 1769, 309, 261, 4827, 67, 7240, 13, 7934, 907, 18, 542, 1380, 12, 2972, 1114, 18, 588, 4419, 1380, 10663, 7734, 7934, 2471, 1488, 18, 6387, 907, 5952, 12, 925, 907, 16, 783, 1114, 907, 16, 783, 1114, 907, 18, 588, 1763, 1380, 10663, 27573, 368, 8040, 5617, 7734, 4498, 525, 273, 3140, 18, 11495, 3198, 5621, 7734, 1323, 261, 78, 18, 5332, 2134, 10756, 288, 10792, 16907, 3257, 3204, 273, 261, 19865, 3257, 13, 525, 18, 4285, 5621, 10792, 2989, 19536, 12513, 3204, 907, 273, 394, 2989, 19536, 12513, 12, 11495, 1769, 10792, 7934, 2471, 1488, 18, 6387, 907, 5952, 12, 11495, 907, 16, 7934, 907, 16, 225, 7934, 907, 18, 588, 1763, 1380, 10663, 7734, 289, 18701, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 3238, 918, 2243, 5952, 1114, 12, 19865, 1442, 3140, 13, 288, 7734, 783, 1114, 18, 15016, 4419, 1380, 5621, 7734, 16907, 12513, 7934, 907, 273, 394, 16907, 12513, 12, 5990, 1769, 309, 261, 4827, 67, 7240, 13, 7934, 907, 18, 542, 1380, 12, 2972, 1114, 18, 588, 4419, 1380, 10663, 7734, 7934, 2471, 1488, 18, 6387, 907, 5952, 12, 925, 907, 16, 783, 1114, 907, 16, 783, 1114, 907, 18, 588, 1763, 1380, 10663, 27573, 368, 8040, 5617, 7734, 4498, 525, 273, 3140, 18, 11495, 3198, 5621, 7734, 1323, 261, 78, 18, 5332, 2134, 10756, 288, 10792, 16907, 3257, 3204, 273, 261, 19865, 3257, 13, 525, 18, 4285, 5621, 10792, 2989, 19536, 12513, 3204, 907, 273, 394, 2989, 2 ]
super(position);
super(position, NodeTypes.OPASGNNODE);
public OpAsgnNode(ISourcePosition position, Node receiverNode, Node valueNode, String variableName, String methodName) { super(position); this.receiverNode = receiverNode; this.valueNode = valueNode; this.variableName = variableName.intern(); this.operatorName = methodName.intern(); this.variableNameAsgn = (variableName + "=").intern(); }
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/6e15491217631472c05c6928672f9c7064a978b3/OpAsgnNode.java/buggy/src/org/jruby/ast/OpAsgnNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6066, 37, 1055, 82, 907, 12, 45, 1830, 2555, 1754, 16, 2029, 5971, 907, 16, 2029, 460, 907, 16, 514, 17834, 16, 514, 4918, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 3665, 3033, 8318, 8744, 1769, 3639, 333, 18, 24454, 907, 273, 5971, 907, 31, 3639, 333, 18, 1132, 907, 273, 460, 907, 31, 3639, 333, 18, 6105, 461, 273, 17834, 18, 267, 798, 5621, 3639, 333, 18, 9497, 461, 273, 4918, 18, 267, 798, 5621, 3639, 333, 18, 6105, 461, 37, 1055, 82, 273, 261, 6105, 461, 397, 9671, 2934, 267, 798, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6066, 37, 1055, 82, 907, 12, 45, 1830, 2555, 1754, 16, 2029, 5971, 907, 16, 2029, 460, 907, 16, 514, 17834, 16, 514, 4918, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 3665, 3033, 8318, 8744, 1769, 3639, 333, 18, 24454, 907, 273, 5971, 907, 31, 3639, 333, 18, 1132, 907, 273, 460, 907, 31, 3639, 333, 18, 6105, 461, 273, 17834, 18, 267, 798, 5621, 3639, 333, 18, 9497, 461, 273, 4918, 18, 267, 798, 5621, 3639, 333, 18, 6105, 461, 37, 1055, 82, 273, 261, 6105, 461, 397, 9671, 2934, 267, 798, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
stringBuffer.append(TEXT_37); } else {
public String generate(Object argument) { StringBuffer stringBuffer = new StringBuffer(); /** * <copyright> * * Copyright (c) 2002-2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * IBM - Initial API and implementation * * </copyright> */ GenPackage genPackage = (GenPackage)argument; GenModel genModel=genPackage.getGenModel(); stringBuffer.append(TEXT_1); stringBuffer.append(TEXT_2); stringBuffer.append("$"); stringBuffer.append(TEXT_3); stringBuffer.append("$"); stringBuffer.append(TEXT_4); stringBuffer.append(genPackage.getPresentationPackageName()); stringBuffer.append(TEXT_5); if (!genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_6); } stringBuffer.append(TEXT_7); if (!genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_8); } stringBuffer.append(TEXT_9); stringBuffer.append(genPackage.getQualifiedFactoryInterfaceName()); stringBuffer.append(TEXT_10); stringBuffer.append(genPackage.getQualifiedPackageInterfaceName()); stringBuffer.append(TEXT_11); genModel.markImportLocation(stringBuffer); stringBuffer.append(TEXT_12); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_13); if (genModel.getCopyrightText() != null) { stringBuffer.append(TEXT_14); stringBuffer.append(genModel.getImportedName("java.lang.String")); stringBuffer.append(TEXT_15); stringBuffer.append(genModel.getCopyrightText()); stringBuffer.append(TEXT_16); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_17); } stringBuffer.append(TEXT_18); stringBuffer.append(genPackage.getPackageInterfaceName()); stringBuffer.append(TEXT_19); stringBuffer.append(genPackage.getUncapPackageInterfaceName()); stringBuffer.append(TEXT_20); stringBuffer.append(genPackage.getPackageInterfaceName()); stringBuffer.append(TEXT_21); stringBuffer.append(genPackage.getFactoryInterfaceName()); stringBuffer.append(TEXT_22); stringBuffer.append(genPackage.getUncapFactoryInterfaceName()); stringBuffer.append(TEXT_23); stringBuffer.append(genPackage.getUncapPackageInterfaceName()); stringBuffer.append(TEXT_24); stringBuffer.append(genPackage.getFactoryInterfaceName()); stringBuffer.append(TEXT_25); if (!genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_26); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_27); } stringBuffer.append(TEXT_28); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_29); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_30); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_31); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_32); stringBuffer.append(genPackage.getPrefix()); stringBuffer.append(TEXT_33); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_34); if (!genPackage.hasDocumentRoot()) { stringBuffer.append(TEXT_35); stringBuffer.append(genPackage.getUncapPackageInterfaceName()); stringBuffer.append(TEXT_36); stringBuffer.append(genPackage.getUncapFactoryInterfaceName()); stringBuffer.append(TEXT_37); } else { stringBuffer.append(TEXT_38); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData")); stringBuffer.append(TEXT_39); stringBuffer.append(genPackage.getUncapPackageInterfaceName()); stringBuffer.append(TEXT_40); stringBuffer.append(genPackage.getUncapFactoryInterfaceName()); stringBuffer.append(TEXT_41); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")); stringBuffer.append(TEXT_42); } stringBuffer.append(TEXT_43); if (genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_44); stringBuffer.append(genModel.getImportedName("java.io.File")); stringBuffer.append(TEXT_45); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_46); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_47); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_48); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_49); stringBuffer.append(genModel.getImportedName("org.eclipse.jface.operation.IRunnableWithProgress")); stringBuffer.append(TEXT_50); stringBuffer.append(genModel.getImportedName("org.eclipse.jface.operation.IRunnableWithProgress")); stringBuffer.append(TEXT_51); stringBuffer.append(genModel.getImportedName("java.lang.reflect.InvocationTargetException")); stringBuffer.append(TEXT_52); } else { stringBuffer.append(TEXT_53); } stringBuffer.append(TEXT_54); if (!genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_55); } stringBuffer.append(TEXT_56); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_57); if (genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_58); stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditorAdvisorClassName())); stringBuffer.append(TEXT_59); } else { stringBuffer.append(TEXT_60); stringBuffer.append(genModel.getImportedName("org.eclipse.ui.IWorkbenchWindow")); stringBuffer.append(TEXT_61); stringBuffer.append(genModel.getImportedName("org.eclipse.ui.IWorkbenchPage")); stringBuffer.append(TEXT_62); stringBuffer.append(genModel.getImportedName("org.eclipse.ui.IWorkbenchPart")); stringBuffer.append(TEXT_63); stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.ISelection")); stringBuffer.append(TEXT_64); stringBuffer.append(genModel.getImportedName("org.eclipse.jface.viewers.StructuredSelection")); stringBuffer.append(TEXT_65); stringBuffer.append(genModel.getImportedName("org.eclipse.ui.PartInitException")); stringBuffer.append(TEXT_66); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_67); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_68); } stringBuffer.append(TEXT_69); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_70); if (!genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_71); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_72); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_73); stringBuffer.append(genPackage.getPrefix().toLowerCase()); stringBuffer.append(TEXT_74); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_75); stringBuffer.append(genPackage.getEditorClassName()); stringBuffer.append(TEXT_76); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_77); stringBuffer.append(genModel.getImportedName("org.eclipse.core.runtime.Path")); stringBuffer.append(TEXT_78); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_79); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_80); } stringBuffer.append(TEXT_81); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_82); if (genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_83); stringBuffer.append(genModel.getImportedName("org.eclipse.swt.widgets.Text")); stringBuffer.append(TEXT_84); } stringBuffer.append(TEXT_85); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_86); if (genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_87); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_88); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_89); stringBuffer.append(genModel.getImportedName("org.eclipse.swt.widgets.Text")); stringBuffer.append(TEXT_90); stringBuffer.append(genModel.getImportedName("org.eclipse.swt.events.ModifyListener")); stringBuffer.append(TEXT_91); stringBuffer.append(genModel.getImportedName("org.eclipse.swt.events.ModifyEvent")); stringBuffer.append(TEXT_92); stringBuffer.append(genModel.getImportedName("org.eclipse.swt.widgets.Button")); stringBuffer.append(TEXT_93); stringBuffer.append(genModel.getImportedName("org.eclipse.swt.widgets.Button")); stringBuffer.append(TEXT_94); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_95); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_96); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_97); stringBuffer.append("_UI_"+genPackage.getEditorClassName()+"FilenameExtension"); stringBuffer.append(TEXT_98); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_99); stringBuffer.append(genModel.getImportedName(genModel.getQualifiedEditorAdvisorClassName())); stringBuffer.append(TEXT_100); stringBuffer.append(genModel.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_101); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_102); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_103); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_104); } stringBuffer.append(TEXT_105); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_106); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_107); if (!genPackage.hasDocumentRoot()) { stringBuffer.append(TEXT_108); stringBuffer.append(genPackage.getUncapPackageInterfaceName()); stringBuffer.append(TEXT_109); } else { stringBuffer.append(TEXT_110); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData")); stringBuffer.append(TEXT_111); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.ExtendedMetaData")); stringBuffer.append(TEXT_112); stringBuffer.append(genPackage.getUncapPackageInterfaceName()); stringBuffer.append(TEXT_113); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")); stringBuffer.append(TEXT_114); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")); stringBuffer.append(TEXT_115); } stringBuffer.append(TEXT_116); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_117); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_118); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_119); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_120); if (genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_121); } else { stringBuffer.append(TEXT_122); } stringBuffer.append(TEXT_123); if (genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_124); } stringBuffer.append(TEXT_125); if (genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_126); } stringBuffer.append(TEXT_127); if (!genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_128); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_129); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_130); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_131); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_132); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_133); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_134); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_135); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_136); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_137); stringBuffer.append(genPackage.getEditorClassName()); stringBuffer.append(TEXT_138); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_139); stringBuffer.append(genPackage.getEditorClassName()); stringBuffer.append(TEXT_140); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(genModel.getNonNLS(2)); stringBuffer.append(genModel.getNonNLS(3)); stringBuffer.append(TEXT_141); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_142); stringBuffer.append(genPackage.getEditorClassName()); stringBuffer.append(TEXT_143); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_144); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_145); stringBuffer.append(genPackage.getEditorClassName()); stringBuffer.append(TEXT_146); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_147); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_148); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_149); } stringBuffer.append(TEXT_150); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_151); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_152); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_153); stringBuffer.append(genPackage.getModelWizardClassName()); stringBuffer.append(TEXT_154); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_155); stringBuffer.append(genPackage.getImportedEditorPluginClassName()); stringBuffer.append(TEXT_156); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_157); if (genModel.isRichClientPlatform()) { stringBuffer.append(TEXT_158); } else { stringBuffer.append(TEXT_159); } stringBuffer.append(TEXT_160); genModel.emitSortedImports(); stringBuffer.append(TEXT_161); return stringBuffer.toString(); }
11224 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11224/d1c7a4a11e25cb34e5d2fc171ec3157eb4abbf02/ModelWizard.java/clean/plugins/org.eclipse.emf.codegen.ecore/src/org/eclipse/emf/codegen/ecore/templates/editor/ModelWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2103, 12, 921, 1237, 13, 225, 288, 565, 6674, 533, 1892, 273, 394, 6674, 5621, 565, 1783, 380, 411, 29187, 34, 380, 380, 25417, 261, 71, 13, 4044, 22, 17, 6976, 24, 23450, 49, 9557, 11390, 471, 10654, 18, 380, 4826, 14989, 8735, 18, 282, 1220, 5402, 471, 326, 1721, 16840, 310, 31824, 380, 854, 7165, 2319, 3613, 326, 6548, 434, 326, 5658, 7224, 16832, 331, 21, 18, 20, 380, 1492, 1721, 2919, 27891, 333, 7006, 16, 471, 353, 2319, 622, 380, 1062, 2207, 5591, 18, 20416, 18, 3341, 19, 2013, 19, 71, 412, 17, 90, 2163, 18, 2620, 380, 380, 735, 665, 13595, 30, 380, 282, 23450, 49, 300, 10188, 1491, 471, 4471, 380, 380, 7765, 29187, 34, 1195, 565, 10938, 2261, 3157, 2261, 273, 261, 7642, 2261, 13, 3446, 31, 10938, 1488, 3157, 1488, 33, 4507, 2261, 18, 588, 7642, 1488, 5621, 565, 533, 1892, 18, 6923, 12, 5151, 67, 21, 1769, 565, 533, 1892, 18, 6923, 12, 5151, 67, 22, 1769, 565, 533, 1892, 18, 6923, 2932, 8, 8863, 565, 533, 1892, 18, 6923, 12, 5151, 67, 23, 1769, 565, 533, 1892, 18, 6923, 2932, 8, 8863, 565, 533, 1892, 18, 6923, 12, 5151, 67, 24, 1769, 565, 533, 1892, 18, 6923, 12, 4507, 2261, 18, 588, 6351, 367, 18308, 10663, 565, 533, 1892, 18, 6923, 12, 5151, 67, 25, 1769, 565, 309, 16051, 4507, 1488, 18, 291, 22591, 1227, 8201, 10756, 288, 565, 533, 1892, 18, 6923, 12, 5151, 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, 282, 1071, 514, 2103, 12, 921, 1237, 13, 225, 288, 565, 6674, 533, 1892, 273, 394, 6674, 5621, 565, 1783, 380, 411, 29187, 34, 380, 380, 25417, 261, 71, 13, 4044, 22, 17, 6976, 24, 23450, 49, 9557, 11390, 471, 10654, 18, 380, 4826, 14989, 8735, 18, 282, 1220, 5402, 471, 326, 1721, 16840, 310, 31824, 380, 854, 7165, 2319, 3613, 326, 6548, 434, 326, 5658, 7224, 16832, 331, 21, 18, 20, 380, 1492, 1721, 2919, 27891, 333, 7006, 16, 471, 353, 2319, 622, 380, 1062, 2207, 5591, 18, 20416, 18, 3341, 19, 2013, 19, 71, 412, 17, 90, 2163, 18, 2620, 380, 380, 735, 665, 13595, 30, 380, 282, 23450, 49, 300, 10188, 1491, 471, 4471, 380, 380, 2 ]
public org.quickfix.field.SecurityExchange getSecurityExchange() throws FieldNotFound { org.quickfix.field.SecurityExchange value = new org.quickfix.field.SecurityExchange();
public quickfix.field.SecurityExchange getSecurityExchange() throws FieldNotFound { quickfix.field.SecurityExchange value = new quickfix.field.SecurityExchange();
public org.quickfix.field.SecurityExchange getSecurityExchange() throws FieldNotFound { org.quickfix.field.SecurityExchange value = new org.quickfix.field.SecurityExchange(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/News.java/buggy/src/java/src/quickfix/fix43/News.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 11688, 19288, 11688, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 11688, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 11688, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 11688, 19288, 11688, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 11688, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 11688, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
doFinish( containerName, fileName, stream, cheatSheetId, showCheatSheet, monitor );
doFinish( containerName, fileName, stream, cheatSheetId, showCheatSheet, monitor );
public boolean performFinish( ) { final IPath containerName = newReportFileWizardPage .getContainerFullPath( ); String fn = newReportFileWizardPage.getFileName( ); final String fileName; if ( !fn.endsWith( "." + fileExtension ) ) //$NON-NLS-1$ { fileName = fn + "." + fileExtension; //$NON-NLS-1$ } else { fileName = fn; } InputStream streamFromPage = null; String cheatSheetIdFromPage = "";//$NON-NLS-1$ boolean showCheatSheetFromPage = false; // Temporary remark the choice page for that feature is not supported in // R1 // if ( choicePage.isBlank( ) ) // { // // blank report // URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI // ), // new Path( templateChoicePage.getBlankTemplate( ).reportPath ) ); // if ( url != null ) // { // try // { // streamFromPage = url.openStream( ); // } // catch ( IOException e1 ) // { // //ignore. // } // } // // cheatSheetIdFromPage = templateChoicePage.getBlankTemplate( // ).cheatSheetId; // showCheatSheetFromPage = false; // } // else if ( !choicePage.isCustom( ) ) // { // predefined template URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI ), new Path( templateChoicePage.getTemplate( ).getReportPath( ) ) ); if ( url != null ) { try { streamFromPage = url.openStream( ); } catch ( IOException e1 ) { // ignore. } } else { try { streamFromPage = new FileInputStream( templateChoicePage .getTemplate( ).getReportPath( ) ); } catch ( FileNotFoundException e ) { } } cheatSheetIdFromPage = templateChoicePage.getTemplate( ) .getCheatSheetId( ); showCheatSheetFromPage = templateChoicePage.getShowCheatSheet( ); // Temporary remark the choice page for that feature is not supported in // R1 // } // else // { // // custom template // try // { // streamFromPage = new FileInputStream( // customTemplatePage.getReportPath( ) ); // String xmlPath = customTemplatePage.getReportPath( ) // .replaceFirst( ".rptdesign", ".xml" ); // File f = new File( xmlPath ); // if ( f.exists( ) ) // { // cheatSheetIdFromPage = f.toURL( ).toString( ); // // commented out until opencheatsheetaction bug is fixed in // // eclipse // // https://bugs.eclipse.org/bugs/show_bug.cgi?id=88481 // // showCheatSheetFromPage = // // customTemplatePage.getShowCheatSheet( ); // } // // } // catch ( Exception e ) // { // ExceptionHandler.handle( e ); // return false; // } // } final InputStream stream = streamFromPage; final String cheatSheetId = cheatSheetIdFromPage; final boolean showCheatSheet = showCheatSheetFromPage; IRunnableWithProgress op = new IRunnableWithProgress( ) { public void run( IProgressMonitor monitor ) throws InvocationTargetException { try { doFinish( containerName, fileName, stream, cheatSheetId, showCheatSheet, monitor ); } catch ( CoreException e ) { throw new InvocationTargetException( e ); } finally { monitor.done( ); } } }; try { getContainer( ).run( true, false, op ); } catch ( InterruptedException e ) { return false; } catch ( InvocationTargetException e ) { Throwable realException = e.getTargetException( ); ExceptionHandler.handle( realException ); return false; } return true; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/9508ad902ce38297514198adde76c0cc21ff3b29/NewReportWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/wizards/NewReportWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 11641, 12, 262, 202, 95, 202, 202, 6385, 467, 743, 20408, 273, 394, 4820, 812, 27130, 1964, 9506, 202, 18, 588, 2170, 24173, 12, 11272, 202, 202, 780, 2295, 273, 394, 4820, 812, 27130, 1964, 18, 588, 4771, 12, 11272, 202, 202, 6385, 514, 3968, 31, 202, 202, 430, 261, 401, 4293, 18, 5839, 1190, 12, 4585, 397, 23908, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 17812, 273, 2295, 397, 4585, 397, 23908, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 17812, 273, 2295, 31, 202, 202, 97, 202, 202, 4348, 1407, 1265, 1964, 273, 446, 31, 202, 202, 780, 19315, 270, 8229, 548, 1265, 1964, 273, 1408, 31, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 6494, 2405, 39, 580, 270, 8229, 1265, 1964, 273, 629, 31, 202, 202, 759, 22791, 849, 1313, 326, 6023, 1363, 364, 716, 2572, 353, 486, 3260, 316, 202, 202, 759, 534, 21, 202, 202, 759, 309, 261, 6023, 1964, 18, 291, 7796, 12, 262, 262, 202, 202, 759, 288, 202, 202, 759, 368, 7052, 2605, 202, 202, 759, 1976, 880, 273, 11810, 18, 4720, 12, 11810, 18, 588, 3405, 12, 8706, 3773, 18, 22710, 67, 5370, 202, 202, 759, 262, 16, 202, 202, 759, 394, 2666, 12, 1542, 10538, 1964, 18, 588, 7796, 2283, 12, 262, 18, 6006, 743, 262, 11272, 202, 202, 759, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 11641, 12, 262, 202, 95, 202, 202, 6385, 467, 743, 20408, 273, 394, 4820, 812, 27130, 1964, 9506, 202, 18, 588, 2170, 24173, 12, 11272, 202, 202, 780, 2295, 273, 394, 4820, 812, 27130, 1964, 18, 588, 4771, 12, 11272, 202, 202, 6385, 514, 3968, 31, 202, 202, 430, 261, 401, 4293, 18, 5839, 1190, 12, 4585, 397, 23908, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 17812, 273, 2295, 397, 4585, 397, 23908, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 17812, 273, 2295, 31, 202, 202, 97, 202, 202, 4348, 1407, 1265, 1964, 273, 446, 2 ]
public int getIconWidth() { return 9; }
public int getIconWidth() { return 9; }
public int getIconWidth() { return 9; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/38d4141e54ddf41ccd8b8eeb424449da21e57e60/DetailsPane.java/clean/src_new/org/argouml/ui/DetailsPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 21724, 2384, 1435, 288, 327, 2468, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 21724, 2384, 1435, 288, 327, 2468, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 Project project = (Project)dataContext.getData(DataConstants.PROJECT); return project;
return (Project)dataContext.getData(DataConstants.PROJECT);
private Project getProject(AnActionEvent e) { final DataContext dataContext = e.getDataContext(); final Project project = (Project)dataContext.getData(DataConstants.PROJECT); return project; }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/62afe21451464d4948655b0dd4230dfb59cc483a/NewModuleAction.java/buggy/source/com/intellij/openapi/roots/ui/configuration/actions/NewModuleAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 5420, 11080, 12, 979, 1803, 1133, 425, 13, 288, 565, 727, 1910, 1042, 501, 1042, 273, 425, 18, 588, 751, 1042, 5621, 565, 727, 5420, 1984, 273, 261, 4109, 13, 892, 1042, 18, 588, 751, 12, 751, 2918, 18, 17147, 1769, 565, 327, 1984, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 5420, 11080, 12, 979, 1803, 1133, 425, 13, 288, 565, 727, 1910, 1042, 501, 1042, 273, 425, 18, 588, 751, 1042, 5621, 565, 727, 5420, 1984, 273, 261, 4109, 13, 892, 1042, 18, 588, 751, 12, 751, 2918, 18, 17147, 1769, 565, 327, 1984, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public IReportDocument openReportDocument( String systemId, String fileName, Map options ) throws EngineException;
public IReportDocument openReportDocument( String fileName ) throws EngineException;
public IReportDocument openReportDocument( String systemId, String fileName, Map options ) throws EngineException;
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/6ad19d91d4a24c7a683143b6dd91bd851d98ffa4/IReportEngine.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/IReportEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 4820, 2519, 1696, 4820, 2519, 12, 514, 30083, 16, 1082, 202, 780, 3968, 16, 1635, 702, 262, 1216, 10507, 503, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 467, 4820, 2519, 1696, 4820, 2519, 12, 514, 30083, 16, 1082, 202, 780, 3968, 16, 1635, 702, 262, 1216, 10507, 503, 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 ]
final Map actualAttrs = MoriaController.getUserAttributes(serviceTicketId, "limited");
MoriaController.getUserAttributes(serviceTicketId, "limited");
public void testAttemptSingleSignOn() throws MoriaControllerException { /* Check controller initialization */ controllerInitialization(); boolean denySSO = false; /* Invalid arguments */ try { MoriaController.attemptSingleSignOn(null, "foo"); fail("IllegalInputException should be raised, loginTicketId is null."); } catch (IllegalInputException success) { } try { MoriaController.attemptSingleSignOn("", "foo"); fail("IllegalInputException should be raised, loginTicketId is an empty string."); } catch (IllegalInputException success) { } try { MoriaController.attemptSingleSignOn("foo", null); fail("IllegalInputException should be raised, ssoTicketId is null."); } catch (IllegalInputException success) { } try { MoriaController.attemptSingleSignOn("foo", ""); fail("IllegalInputException should be raised, ssoTicketId is an empty string."); } catch (IllegalInputException success) { } /* Invalid loginTicket */ try { MoriaController.attemptSingleSignOn("doesNotExist", "foo"); fail("UnknownTicketException should be raised, non-existing loginTicketId"); } catch (UnknownTicketException success) { } /* Invalid ssoTicket */ String loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); try { MoriaController.attemptSingleSignOn(loginTicketId, "doesNotExist"); fail("UnknownTicketException should be raised, non-existing ssoTicketId"); } catch (UnknownTicketException success) { } /* Force authentication */ loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); Map tickets = MoriaController.attemptLogin(loginTicketId, null, validUsername, validPassword, denySSO); String ssoTicketId = (String) tickets.get(MoriaController.SSO_TICKET); String newLoginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, true, validPrincipal); try { MoriaController.attemptSingleSignOn(newLoginTicketId, ssoTicketId); fail("UnknownTicketException should be raised, authentication attempt requires interactive authentication."); } catch (UnknownTicketException success) { } /* userorg */ loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); tickets = MoriaController.attemptLogin(loginTicketId, null, validUsername, validPassword, denySSO); ssoTicketId = (String) tickets.get(MoriaController.SSO_TICKET); newLoginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, "limited"); try { final String serviceTicketId = MoriaController.attemptSingleSignOn(newLoginTicketId, ssoTicketId); final Map actualAttrs = MoriaController.getUserAttributes(serviceTicketId, "limited"); fail("AuthorizationException should be raised. Userorg not allowed."); } catch (AuthorizationException success) { } /* Normal use */ loginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); tickets = MoriaController.attemptLogin(loginTicketId, null, validUsername, validPassword, denySSO); ssoTicketId = (String) tickets.get(MoriaController.SSO_TICKET); newLoginTicketId = MoriaController.initiateAuthentication(validAttrs, validPrefix, validPostfix, false, validPrincipal); final String serviceTicketId = MoriaController.attemptSingleSignOn(newLoginTicketId, ssoTicketId); final Map actualAttrs = MoriaController.getUserAttributes(serviceTicketId, validPrincipal); validateMaps(expectedAttrs, actualAttrs); }
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/35ea405c173af989c94d87e2258881973334d7a2/MoriaControllerTest.java/clean/moria2/modules/moria-ctrl/src/test/java/no/feide/moria/controller/MoriaControllerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 7744, 5281, 2766, 1398, 1435, 1216, 490, 280, 1155, 2933, 503, 288, 3639, 1748, 2073, 2596, 10313, 1195, 3639, 2596, 17701, 5621, 3639, 1250, 17096, 1260, 51, 273, 629, 31, 3639, 1748, 1962, 1775, 1195, 3639, 775, 288, 5411, 490, 280, 1155, 2933, 18, 11764, 5281, 2766, 1398, 12, 2011, 16, 315, 11351, 8863, 5411, 2321, 2932, 12195, 20518, 1410, 506, 11531, 16, 3925, 13614, 548, 353, 446, 1199, 1769, 3639, 289, 1044, 261, 12195, 20518, 2216, 13, 288, 3639, 289, 3639, 775, 288, 5411, 490, 280, 1155, 2933, 18, 11764, 5281, 2766, 1398, 2932, 3113, 315, 11351, 8863, 5411, 2321, 2932, 12195, 20518, 1410, 506, 11531, 16, 3925, 13614, 548, 353, 392, 1008, 533, 1199, 1769, 3639, 289, 1044, 261, 12195, 20518, 2216, 13, 288, 3639, 289, 3639, 775, 288, 5411, 490, 280, 1155, 2933, 18, 11764, 5281, 2766, 1398, 2932, 11351, 3113, 446, 1769, 5411, 2321, 2932, 12195, 20518, 1410, 506, 11531, 16, 27250, 13614, 548, 353, 446, 1199, 1769, 3639, 289, 1044, 261, 12195, 20518, 2216, 13, 288, 3639, 289, 3639, 775, 288, 5411, 490, 280, 1155, 2933, 18, 11764, 5281, 2766, 1398, 2932, 11351, 3113, 1408, 1769, 5411, 2321, 2932, 12195, 20518, 1410, 506, 11531, 16, 27250, 13614, 548, 353, 392, 1008, 533, 1199, 1769, 3639, 289, 1044, 261, 12195, 20518, 2216, 13, 288, 3639, 289, 3639, 1748, 1962, 3925, 13614, 1195, 3639, 775, 288, 5411, 490, 280, 1155, 2933, 18, 11764, 5281, 2766, 1398, 2932, 20657, 8418, 3113, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 7744, 5281, 2766, 1398, 1435, 1216, 490, 280, 1155, 2933, 503, 288, 3639, 1748, 2073, 2596, 10313, 1195, 3639, 2596, 17701, 5621, 3639, 1250, 17096, 1260, 51, 273, 629, 31, 3639, 1748, 1962, 1775, 1195, 3639, 775, 288, 5411, 490, 280, 1155, 2933, 18, 11764, 5281, 2766, 1398, 12, 2011, 16, 315, 11351, 8863, 5411, 2321, 2932, 12195, 20518, 1410, 506, 11531, 16, 3925, 13614, 548, 353, 446, 1199, 1769, 3639, 289, 1044, 261, 12195, 20518, 2216, 13, 288, 3639, 289, 3639, 775, 288, 5411, 490, 280, 1155, 2933, 18, 11764, 5281, 2766, 1398, 2932, 3113, 315, 11351, 8863, 5411, 2321, 2932, 12195, 20518, 1410, 506, 11531, 16, 3925, 13614, 548, 353, 392, 1008, 533, 2 ]
agentConfig.setPduType(SnmpAgentConfig.GET_PDU);
public boolean isProtocolSupported(InetAddress address) { try { SnmpAgentConfig agentConfig = SnmpPeerFactory.getInstance().getAgentConfig(address); agentConfig.setPduType(SnmpAgentConfig.GET_PDU); return (getValue(agentConfig, DEFAULT_OID) != null); } catch (Throwable t) { throw new UndeclaredThrowableException(t); } }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/c7fb1c0267a7b284c70383a68c91521d57e9172c/SnmpPlugin.java/buggy/src/services/org/opennms/netmgt/capsd/plugins/SnmpPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 5752, 7223, 12, 382, 278, 1887, 1758, 13, 288, 3639, 775, 288, 5411, 18961, 1291, 3630, 809, 4040, 809, 273, 18961, 1291, 6813, 1733, 18, 588, 1442, 7675, 588, 3630, 809, 12, 2867, 1769, 15604, 327, 261, 24805, 12, 5629, 809, 16, 3331, 67, 12945, 13, 480, 446, 1769, 3639, 289, 1044, 261, 15155, 268, 13, 288, 5411, 604, 394, 1351, 16571, 15155, 503, 12, 88, 1769, 3639, 289, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 5752, 7223, 12, 382, 278, 1887, 1758, 13, 288, 3639, 775, 288, 5411, 18961, 1291, 3630, 809, 4040, 809, 273, 18961, 1291, 6813, 1733, 18, 588, 1442, 7675, 588, 3630, 809, 12, 2867, 1769, 15604, 327, 261, 24805, 12, 5629, 809, 16, 3331, 67, 12945, 13, 480, 446, 1769, 3639, 289, 1044, 261, 15155, 268, 13, 288, 5411, 604, 394, 1351, 16571, 15155, 503, 12, 88, 1769, 3639, 289, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(!previousTrackerIsNull) { KeyTracker old = null; synchronized(this) { old = previousTracker; previousTracker = null; } old.completelyDeprecated(newTracker); } synchronized(this) { previousTracker = null; } boolean currentTrackerIsNull = true; synchronized(this) { currentTrackerIsNull = (currentTracker == null); } if(!currentTrackerIsNull) { KeyTracker old = null; synchronized(this) { old = currentTracker; currentTracker = null; } old.completelyDeprecated(newTracker); }
if(oldCur != null) oldCur.completelyDeprecated(newTracker);
public boolean completedHandshake(long thisBootID, byte[] data, int offset, int length, BlockCipher encCipher, byte[] encKey, Peer replyTo, boolean unverified) { long now = System.currentTimeMillis(); arkFetcher.stop(); synchronized(this) { completedHandshake = true; handshakeCount = 0; bogusNoderef = false; isConnected = true; } try { // First, the new noderef processNewNoderef(data, offset, length); } catch (FSParseException e1) { synchronized(this) { bogusNoderef = true; } Logger.error(this, "Failed to parse new noderef for "+this+": "+e1, e1); // Treat as invalid version } synchronized(this) { isRoutable = true; } if(reverseInvalidVersion()) { try { node.setNewestPeerLastGoodVersion(Version.getArbitraryBuildNumber(getLastGoodVersion())); } catch (NumberFormatException e) { // ignore } Logger.normal(this, "Not connecting to "+this+" - reverse invalid version "+Version.getVersionString()+" for peer's lastGoodversion: "+getLastGoodVersion()); synchronized(this) { verifiedIncompatibleNewerVersion = true; isRoutable = false; } node.peers.disconnected(this); } else { synchronized(this) { verifiedIncompatibleNewerVersion = false; } } if(invalidVersion()) { Logger.normal(this, "Not connecting to "+this+" - invalid version "+getVersion()); synchronized(this) { verifiedIncompatibleOlderVersion = true; isRoutable = false; } node.peers.disconnected(this); } else { synchronized(this) { verifiedIncompatibleOlderVersion = false; } } setPeerNodeStatus(now); KeyTracker newTracker = new KeyTracker(this, encCipher, encKey); changedIP(replyTo); boolean bootIDChanged = false; synchronized(this) { bootIDChanged = (thisBootID != this.bootID); this.bootID = thisBootID; } if(bootIDChanged) { synchronized(this) { connectedTime = now; Logger.minor(this, "Changed boot ID from "+bootID+" to "+thisBootID+" for "+getPeer()); } boolean previousTrackerIsNull = true; synchronized(this) { previousTrackerIsNull = (previousTracker == null); } if(!previousTrackerIsNull) { KeyTracker old = null; synchronized(this) { old = previousTracker; previousTracker = null; } old.completelyDeprecated(newTracker); } synchronized(this) { previousTracker = null; } boolean currentTrackerIsNull = true; synchronized(this) { currentTrackerIsNull = (currentTracker == null); } if(!currentTrackerIsNull) { KeyTracker old = null; synchronized(this) { old = currentTracker; currentTracker = null; } old.completelyDeprecated(newTracker); } node.lm.lostOrRestartedNode(this); } // else it's a rekey if(unverified) { synchronized(this) { unverifiedTracker = newTracker; ctx = null; } Logger.minor(this, "sentHandshake() being called for unverifiedTracker: "+getPeer()); sentHandshake(); } else { synchronized(this) { previousTracker = currentTracker; currentTracker = newTracker; unverifiedTracker = null; } boolean previousTrackerIsNull = true; synchronized(this) { previousTrackerIsNull = (previousTracker == null); } if(!previousTrackerIsNull) { KeyTracker localPreviousTracker = null; synchronized(this) { localPreviousTracker = previousTracker; } localPreviousTracker.deprecated(); } synchronized(this) { neverConnected = false; peerAddedTime = 0; // don't store anymore } setPeerNodeStatus(now); synchronized(this) { ctx = null; } } if(!isConnected()) node.peers.disconnected(this); synchronized(this) { Logger.normal(this, "Completed handshake with "+this+" on "+replyTo+" - current: "+currentTracker+" old: "+previousTracker+" unverified: "+unverifiedTracker+" bootID: "+thisBootID+" getName(): "+getName()); } try { receivedPacket(unverified); } catch (NotConnectedException e) { Logger.error(this, "Disconnected in completedHandshake with "+this); return true; // i suppose } if(isConnected()) { node.peers.addConnectedPeer(this); } synchronized(this) { sentInitialMessages = false; } return true; }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/9ea509d6b77109eb95d09ad3d429f5c67c98b90b/PeerNode.java/buggy/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 5951, 14545, 12, 5748, 333, 15817, 734, 16, 1160, 8526, 501, 16, 509, 1384, 16, 509, 769, 16, 3914, 13896, 2446, 13896, 16, 1160, 8526, 2446, 653, 16, 10669, 30934, 16, 1250, 640, 19685, 13, 288, 377, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 1313, 16855, 18, 5681, 5621, 377, 202, 22043, 12, 2211, 13, 288, 377, 202, 202, 13615, 14545, 273, 638, 31, 377, 202, 202, 2349, 7478, 1380, 273, 374, 31, 540, 202, 70, 28774, 50, 369, 822, 74, 273, 629, 31, 1082, 202, 291, 8932, 273, 638, 31, 3639, 289, 202, 202, 698, 288, 1082, 202, 759, 5783, 16, 326, 394, 14003, 822, 74, 1082, 202, 2567, 1908, 50, 369, 822, 74, 12, 892, 16, 1384, 16, 769, 1769, 202, 202, 97, 1044, 261, 4931, 13047, 425, 21, 13, 288, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 70, 28774, 50, 369, 822, 74, 273, 638, 31, 1082, 202, 97, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 2925, 358, 1109, 394, 14003, 822, 74, 364, 13773, 2211, 15, 6877, 13773, 73, 21, 16, 425, 21, 1769, 1082, 202, 759, 26564, 487, 2057, 1177, 202, 202, 97, 377, 202, 22043, 12, 2211, 13, 288, 540, 202, 291, 4583, 429, 273, 638, 31, 3639, 289, 202, 202, 430, 12, 9845, 1941, 1444, 10756, 288, 1082, 202, 698, 288, 9506, 202, 2159, 18, 542, 1908, 395, 6813, 3024, 18195, 1444, 12, 1444, 18, 588, 686, 3682, 3345, 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, 5951, 14545, 12, 5748, 333, 15817, 734, 16, 1160, 8526, 501, 16, 509, 1384, 16, 509, 769, 16, 3914, 13896, 2446, 13896, 16, 1160, 8526, 2446, 653, 16, 10669, 30934, 16, 1250, 640, 19685, 13, 288, 377, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 1313, 16855, 18, 5681, 5621, 377, 202, 22043, 12, 2211, 13, 288, 377, 202, 202, 13615, 14545, 273, 638, 31, 377, 202, 202, 2349, 7478, 1380, 273, 374, 31, 540, 202, 70, 28774, 50, 369, 822, 74, 273, 629, 31, 1082, 202, 291, 8932, 273, 638, 31, 3639, 289, 202, 202, 698, 288, 1082, 202, 759, 5783, 16, 326, 394, 14003, 822, 74, 1082, 202, 2567, 1908, 50, 2 ]
ScriptRuntime.getMessage("msg.null.to.object", null),
ScriptRuntime.getMessage0("msg.null.to.object"),
public static Scriptable getProto(Object obj, Scriptable scope) { Scriptable s; if (obj instanceof Scriptable) { s = (Scriptable) obj; } else { s = toObject(scope, obj); } if (s == null) { throw NativeGlobal.constructError( Context.getContext(), "TypeError", ScriptRuntime.getMessage("msg.null.to.object", null), scope); } return s.getPrototype(); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/45820b15541f8822cc8d463aa50caef2201b19b4/ScriptRuntime.java/buggy/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 22780, 3570, 869, 12, 921, 1081, 16, 22780, 2146, 13, 288, 3639, 22780, 272, 31, 3639, 309, 261, 2603, 1276, 22780, 13, 288, 5411, 272, 273, 261, 3651, 429, 13, 1081, 31, 3639, 289, 469, 288, 5411, 272, 273, 24216, 12, 4887, 16, 1081, 1769, 3639, 289, 3639, 309, 261, 87, 422, 446, 13, 288, 5411, 604, 16717, 5160, 18, 10062, 668, 12, 13491, 1772, 18, 29120, 9334, 315, 19030, 3113, 13491, 7739, 5576, 18, 24906, 20, 2932, 3576, 18, 2011, 18, 869, 18, 1612, 6, 3631, 13491, 2146, 1769, 3639, 289, 3639, 327, 272, 18, 588, 15846, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 760, 22780, 3570, 869, 12, 921, 1081, 16, 22780, 2146, 13, 288, 3639, 22780, 272, 31, 3639, 309, 261, 2603, 1276, 22780, 13, 288, 5411, 272, 273, 261, 3651, 429, 13, 1081, 31, 3639, 289, 469, 288, 5411, 272, 273, 24216, 12, 4887, 16, 1081, 1769, 3639, 289, 3639, 309, 261, 87, 422, 446, 13, 288, 5411, 604, 16717, 5160, 18, 10062, 668, 12, 13491, 1772, 18, 29120, 9334, 315, 19030, 3113, 13491, 7739, 5576, 18, 24906, 20, 2932, 3576, 18, 2011, 18, 869, 18, 1612, 6, 3631, 13491, 2146, 1769, 3639, 289, 3639, 327, 272, 18, 588, 15846, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ErrorDialog.openError(parentShell, WorkbenchMessages.getString("CopyFilesAndFoldersOperation.importErrorDialogTitle"), null, status);
MessageDialog dialog = new MessageDialog(parentShell, WorkbenchMessages.getString("CopyFilesAndFoldersOperation.question"), null, msg, MessageDialog.QUESTION, options, 0); dialog.open(); int returnVal = dialog.getReturnCode(); String[] returnCodes = { YES, ALL, NO, CANCEL }; returnCode[0] = returnVal == -1 ? CANCEL : returnCodes[returnVal];
public void run() { ErrorDialog.openError(parentShell, WorkbenchMessages.getString("CopyFilesAndFoldersOperation.importErrorDialogTitle"), //$NON-NLS-1$ null, // no special message status); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b05dffe1fa29012277f291206ce5dbf6926665cb/CopyFilesAndFoldersOperation.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 1435, 288, 25083, 202, 668, 6353, 18, 3190, 668, 12, 2938, 13220, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 2951, 2697, 1876, 14885, 2988, 18, 5666, 668, 6353, 4247, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2011, 16, 368, 1158, 4582, 883, 25083, 202, 2327, 1769, 6862, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4405, 202, 482, 918, 1086, 1435, 288, 25083, 202, 668, 6353, 18, 3190, 668, 12, 2938, 13220, 16, 4147, 22144, 5058, 18, 588, 780, 2932, 2951, 2697, 1876, 14885, 2988, 18, 5666, 668, 6353, 4247, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2011, 16, 368, 1158, 4582, 883, 25083, 202, 2327, 1769, 6862, 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 ]
private void computeAlgorithms() { int cnt = 0; // Vertices logger.info("Find all vertices"); for (Iterator it = subshapeIterator(0); it.hasNext(); ) { CADShape s = (CADShape) it.next(); Mesh m = cadToMesh(s); if (m.mesh == null) m.mesh = (CADVertex) s; } // Edges logger.info("Discretize edges"); for (Iterator it = subshapeIterator(1); it.hasNext(); ) { CADShape s = (CADShape) it.next(); Mesh m = cadToMesh(s); if (m.resultConstraint == null) continue; cnt++; m.resultConstraint.applyAlgorithm(m, s, cnt); } updateNodeLabels(); String xmlFile = "jcae1d"; Bora1DWriter.writeObject(this, xmlDir, xmlFile, xmlBrepDir, brepFile); mesh1D = Bora1DReader.readObject(this, xmlFile); // Faces logger.info("Discretize faces"); cnt = 0; duplicateEdges(); updateNodeLabels(); int nrFaces = 0; for (Iterator it = subshapeIterator(2); it.hasNext(); ) { CADShape s = (CADShape) it.next(); Mesh m = cadToMesh(s); if (m.resultConstraint == null) continue; nrFaces++; } for (Iterator it = subshapeIterator(2); it.hasNext(); ) { CADShape s = (CADShape) it.next(); Mesh m = cadToMesh(s); if (m.resultConstraint == null) continue; cnt++; logger.info("Face "+cnt+"/"+nrFaces); m.mesh1D = mesh1D; m.resultConstraint.applyAlgorithm(m, s, cnt); } // logger.info("Discretize volumes"); MeshToMMesh3DConvert m2dTo3D = new MeshToMMesh3DConvert(xmlDir); cnt = 0; for (Iterator it = subshapeIterator(2); it.hasNext(); it.next()) { cnt++; xmlFile = "jcae2d."+cnt; m2dTo3D.computeRefs(xmlFile); } m2dTo3D.initialize("jcae3d", false); cnt = 0; for (Iterator it = subshapeIterator(2); it.hasNext(); ) { CADFace F = (CADFace) it.next(); cnt++; xmlFile = "jcae2d."+cnt; m2dTo3D.convert(xmlFile, cnt, F); } m2dTo3D.finish(); }
45433 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45433/fe5824fc3ffbc3b98b7253ac71c77b5d1644bbb6/Mesh.java/clean/amibe/src/org/jcae/mesh/bora/ds/Mesh.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 6459, 9200, 29689, 1435, 202, 95, 202, 202, 474, 13085, 33, 20, 31, 202, 202, 759, 13371, 202, 202, 4901, 18, 1376, 2932, 3125, 454, 17476, 8863, 202, 202, 1884, 12, 3198, 305, 33, 1717, 4867, 3198, 12, 20, 1769, 305, 18, 5332, 2134, 5621, 13, 202, 202, 95, 1082, 202, 39, 1880, 30080, 28657, 39, 1880, 8500, 13, 305, 18, 4285, 5621, 1082, 202, 16748, 81, 33, 71, 361, 774, 16748, 12, 87, 1769, 1082, 202, 430, 12, 81, 18, 15557, 631, 2011, 13, 9506, 202, 81, 18, 15557, 28657, 39, 1880, 6475, 13, 87, 31, 202, 202, 97, 202, 202, 759, 10697, 202, 202, 4901, 18, 1376, 2932, 28912, 1349, 554, 8746, 8863, 202, 202, 1884, 12, 3198, 305, 33, 1717, 4867, 3198, 12, 21, 1769, 305, 18, 5332, 2134, 5621, 13, 202, 202, 95, 1082, 202, 39, 1880, 30080, 28657, 39, 1880, 8500, 13, 305, 18, 4285, 5621, 1082, 202, 16748, 81, 33, 71, 361, 774, 16748, 12, 87, 1769, 1082, 202, 430, 12, 81, 18, 2088, 5806, 631, 2011, 13, 9506, 202, 17143, 31, 1082, 202, 13085, 9904, 31, 1082, 202, 81, 18, 2088, 5806, 18, 9010, 6801, 12, 81, 16, 87, 16, 13085, 1769, 202, 202, 97, 202, 202, 2725, 907, 5888, 5621, 202, 202, 780, 2902, 812, 1546, 78, 5353, 73, 21, 72, 14432, 202, 202, 38, 10610, 21, 40, 2289, 18, 2626, 921, 12, 2211, 16, 2902, 1621, 16, 2902, 812, 16, 2902, 38, 14462, 1621, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 6459, 9200, 29689, 1435, 202, 95, 202, 202, 474, 13085, 33, 20, 31, 202, 202, 759, 13371, 202, 202, 4901, 18, 1376, 2932, 3125, 454, 17476, 8863, 202, 202, 1884, 12, 3198, 305, 33, 1717, 4867, 3198, 12, 20, 1769, 305, 18, 5332, 2134, 5621, 13, 202, 202, 95, 1082, 202, 39, 1880, 30080, 28657, 39, 1880, 8500, 13, 305, 18, 4285, 5621, 1082, 202, 16748, 81, 33, 71, 361, 774, 16748, 12, 87, 1769, 1082, 202, 430, 12, 81, 18, 15557, 631, 2011, 13, 9506, 202, 81, 18, 15557, 28657, 39, 1880, 6475, 13, 87, 31, 202, 202, 97, 202, 202, 759, 10697, 202, 202, 4901, 18, 1376, 2932, 28912, 1349, 554, 8746, 8863, 202, 2 ]
void addToFolderList(String addFolderName) { Vector folderNames = Pooka.getResources().getPropertyAsVector(getFolderProperty() + ".folderList", ""); boolean found = false; for (int i = 0; i < folderNames.size(); i++) { String folderName = (String) folderNames.elementAt(i); if (folderName.equals(addFolderName)) { found=true; } } if (!found) { String currentValue = Pooka.getProperty(getFolderProperty() + ".folderList", ""); if (currentValue.equals("")) Pooka.setProperty(getFolderProperty() + ".folderList", addFolderName); else Pooka.setProperty(getFolderProperty() + ".folderList", currentValue + ":" + addFolderName); } }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/6d6ba90375f9de34e58b248daf5e8c0025c1433b/FolderInfo.java/buggy/src/net/suberic/pooka/FolderInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 9604, 3899, 682, 12, 780, 527, 26169, 13, 288, 565, 5589, 3009, 1557, 273, 453, 1184, 69, 18, 588, 3805, 7675, 588, 1396, 1463, 5018, 12, 588, 3899, 1396, 1435, 397, 3552, 5609, 682, 3113, 1408, 1769, 3639, 1250, 1392, 273, 629, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3009, 1557, 18, 1467, 5621, 277, 27245, 288, 1377, 514, 31814, 273, 261, 780, 13, 3009, 1557, 18, 2956, 861, 12, 77, 1769, 5411, 309, 261, 5609, 461, 18, 14963, 12, 1289, 26169, 3719, 288, 3639, 1392, 33, 3767, 31, 1377, 289, 1850, 289, 3639, 309, 16051, 7015, 13, 288, 1377, 514, 14794, 273, 453, 1184, 69, 18, 588, 1396, 12, 588, 3899, 1396, 1435, 397, 3552, 5609, 682, 3113, 1408, 1769, 1377, 309, 261, 2972, 620, 18, 14963, 2932, 6, 3719, 3639, 453, 1184, 69, 18, 542, 1396, 12, 588, 3899, 1396, 1435, 397, 3552, 5609, 682, 3113, 527, 26169, 1769, 1377, 469, 3639, 453, 1184, 69, 18, 542, 1396, 12, 588, 3899, 1396, 1435, 397, 3552, 5609, 682, 3113, 14794, 397, 6153, 397, 527, 26169, 1769, 565, 289, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 9604, 3899, 682, 12, 780, 527, 26169, 13, 288, 565, 5589, 3009, 1557, 273, 453, 1184, 69, 18, 588, 3805, 7675, 588, 1396, 1463, 5018, 12, 588, 3899, 1396, 1435, 397, 3552, 5609, 682, 3113, 1408, 1769, 3639, 1250, 1392, 273, 629, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3009, 1557, 18, 1467, 5621, 277, 27245, 288, 1377, 514, 31814, 273, 261, 780, 13, 3009, 1557, 18, 2956, 861, 12, 77, 1769, 5411, 309, 261, 5609, 461, 18, 14963, 12, 1289, 26169, 3719, 288, 3639, 1392, 33, 3767, 31, 1377, 289, 1850, 289, 3639, 309, 16051, 7015, 13, 288, 1377, 514, 14794, 273, 453, 1184, 69, 18, 588, 1396, 12, 588, 3899, 1396, 2 ]
public void flush () throws IOException { if (closed) throw new IOException ("closed"); }
flush() throws IOException { ; }
public void flush () throws IOException { // We'll throw an exception if we're closed, but there's nothing // else to do here. if (closed) throw new IOException ("closed"); }
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/8d285042d388a7105e3b50a5f438a5cd5ecdb499/PipedWriter.java/clean/libjava/java/io/PipedWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3663, 1832, 1216, 1860, 225, 288, 565, 368, 1660, 5614, 604, 392, 1520, 309, 732, 4565, 4375, 16, 1496, 1915, 1807, 5083, 565, 368, 469, 358, 741, 2674, 18, 565, 309, 261, 12204, 13, 1377, 604, 394, 1860, 7566, 12204, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3663, 1832, 1216, 1860, 225, 288, 565, 368, 1660, 5614, 604, 392, 1520, 309, 732, 4565, 4375, 16, 1496, 1915, 1807, 5083, 565, 368, 469, 358, 741, 2674, 18, 565, 309, 261, 12204, 13, 1377, 604, 394, 1860, 7566, 12204, 8863, 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 ]
protected void createCourseStatistics(CourseStatisticsDTO courseStatistics, List<EnrolmentEvaluation> evaluations) { int firstEnrolledCount = 0; int firstApprovedCount = 0; List<IGrade> firstApprovedGrades = new ArrayList<IGrade>(); int restEnrolledCount = 0; int restApprovedCount = 0; List<IGrade> restApprovedGrades = new ArrayList<IGrade>(); int totalEnrolledCount = 0; int totalApprovedCount = 0; List<IGrade> totalApprovedGrades = new ArrayList<IGrade>(); for (EnrolmentEvaluation evaluation : evaluations) { totalEnrolledCount++; if (evaluation.getEnrolment().isFirstTime()) { firstEnrolledCount++; if (evaluation.getEnrollmentStateByGrade().equals(EnrollmentState.APROVED)) { firstApprovedCount++; IGrade grade = evaluation.getGradeWrapper(); firstApprovedGrades.add(grade); totalApprovedGrades.add(grade); totalApprovedCount++; } } else { restEnrolledCount++; if (evaluation.getEnrollmentStateByGrade().equals(EnrollmentState.APROVED)) { restApprovedCount++; IGrade grade = evaluation.getGradeWrapper(); restApprovedGrades.add(grade); totalApprovedGrades.add(grade); totalApprovedCount++; } } } IGrade firstApprovedAverage = calculateApprovedAverage(firstApprovedGrades); IGrade restApprovedAverage = calculateApprovedAverage(restApprovedGrades); IGrade totalApprovedAverage = calculateApprovedAverage(totalApprovedGrades); courseStatistics.setFirstEnrolledCount(firstEnrolledCount); courseStatistics.setFirstApprovedCount(firstApprovedCount); courseStatistics.setFirstApprovedAverage(firstApprovedAverage); courseStatistics.setRestEnrolledCount(restEnrolledCount); courseStatistics.setRestApprovedCount(restApprovedCount); courseStatistics.setRestApprovedAverage(restApprovedAverage); courseStatistics.setTotalEnrolledCount(totalEnrolledCount); courseStatistics.setTotalApprovedCount(totalApprovedCount); courseStatistics.setTotalApprovedAverage(totalApprovedAverage); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/41d35654dba7bad433e122bb9ac47a19d08f7653/ComputeCourseStatistics.java/buggy/src/net/sourceforge/fenixedu/applicationTier/Servico/department/ComputeCourseStatistics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 39, 3117, 8569, 12, 39, 3117, 8569, 19792, 4362, 8569, 16, 5411, 987, 32, 664, 922, 475, 13468, 34, 3765, 1012, 13, 288, 3639, 509, 1122, 664, 25054, 1380, 273, 374, 31, 3639, 509, 1122, 31639, 1380, 273, 374, 31, 3639, 987, 32, 3047, 354, 323, 34, 1122, 31639, 14571, 5489, 273, 394, 2407, 32, 3047, 354, 323, 34, 5621, 3639, 509, 3127, 664, 25054, 1380, 273, 374, 31, 3639, 509, 3127, 31639, 1380, 273, 374, 31, 3639, 987, 32, 3047, 354, 323, 34, 3127, 31639, 14571, 5489, 273, 394, 2407, 32, 3047, 354, 323, 34, 5621, 3639, 509, 2078, 664, 25054, 1380, 273, 374, 31, 3639, 509, 2078, 31639, 1380, 273, 374, 31, 3639, 987, 32, 3047, 354, 323, 34, 2078, 31639, 14571, 5489, 273, 394, 2407, 32, 3047, 354, 323, 34, 5621, 3639, 364, 261, 664, 922, 475, 13468, 9873, 294, 3765, 1012, 13, 288, 5411, 2078, 664, 25054, 1380, 9904, 31, 5411, 309, 261, 14168, 367, 18, 588, 664, 922, 475, 7675, 291, 3759, 950, 10756, 288, 7734, 1122, 664, 25054, 1380, 9904, 31, 7734, 309, 261, 14168, 367, 18, 588, 664, 17118, 1119, 858, 14571, 323, 7675, 14963, 12, 664, 17118, 1119, 18, 2203, 1457, 12135, 3719, 288, 10792, 1122, 31639, 1380, 9904, 31, 10792, 13102, 354, 323, 7324, 273, 9873, 18, 588, 14571, 323, 3611, 5621, 10792, 1122, 31639, 14571, 5489, 18, 1289, 12, 3994, 1769, 10792, 2078, 31639, 14571, 5489, 18, 1289, 12, 3994, 1769, 10792, 2078, 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, 752, 39, 3117, 8569, 12, 39, 3117, 8569, 19792, 4362, 8569, 16, 5411, 987, 32, 664, 922, 475, 13468, 34, 3765, 1012, 13, 288, 3639, 509, 1122, 664, 25054, 1380, 273, 374, 31, 3639, 509, 1122, 31639, 1380, 273, 374, 31, 3639, 987, 32, 3047, 354, 323, 34, 1122, 31639, 14571, 5489, 273, 394, 2407, 32, 3047, 354, 323, 34, 5621, 3639, 509, 3127, 664, 25054, 1380, 273, 374, 31, 3639, 509, 3127, 31639, 1380, 273, 374, 31, 3639, 987, 32, 3047, 354, 323, 34, 3127, 31639, 14571, 5489, 273, 394, 2407, 32, 3047, 354, 323, 34, 5621, 3639, 509, 2078, 664, 25054, 1380, 273, 374, 31, 3639, 509, 2078, 31639, 1380, 273, 374, 31, 3639, 2 ]
myExpectation.verify(); }
myExpectation.verify(); }
public void testLongPass() { myExpectation.setExpected(100L); myExpectation.setActual(100L); myExpectation.verify(); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/ExpectationValueTest.java/clean/jmock/core/src/test/jmock/expectation/ExpectationValueTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3708, 6433, 1435, 288, 202, 202, 4811, 11988, 367, 18, 542, 6861, 12, 6625, 48, 1769, 202, 202, 4811, 11988, 367, 18, 542, 11266, 12, 6625, 48, 1769, 202, 202, 4811, 11988, 367, 18, 8705, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3708, 6433, 1435, 288, 202, 202, 4811, 11988, 367, 18, 542, 6861, 12, 6625, 48, 1769, 202, 202, 4811, 11988, 367, 18, 542, 11266, 12, 6625, 48, 1769, 202, 202, 4811, 11988, 367, 18, 8705, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String[] fns = { "compile", "toString", "exec", "test", "prefix" }; proto.defineFunctionProperties(fns, NativeRegExp.class, ScriptableObject.DONTENUM);
public static void init(Scriptable scope) throws PropertyException { NativeRegExp proto = new NativeRegExp(); proto.setParentScope(scope); proto.setPrototype(getObjectPrototype(scope)); String[] fns = { "compile", "toString", "exec", "test", "prefix" }; proto.defineFunctionProperties(fns, NativeRegExp.class, ScriptableObject.DONTENUM); String[] props = { "lastIndex", "source", "global", "ignoreCase", "multiline" }; int[] propAttrs = { ScriptableObject.PERMANENT, ScriptableObject.PERMANENT | ScriptableObject.READONLY, ScriptableObject.PERMANENT | ScriptableObject.READONLY, ScriptableObject.PERMANENT | ScriptableObject.READONLY, ScriptableObject.PERMANENT | ScriptableObject.READONLY }; for (int i=0; i < props.length; i++) { proto.defineProperty(props[i], NativeRegExp.class, propAttrs[i]); } Scriptable ctor = NativeRegExpCtor.init(scope); ctor.put("prototype", ctor, proto); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/0fa68c094797eee06e04b0fcd08dbc43188b98ec/NativeRegExp.java/buggy/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1208, 12, 3651, 429, 2146, 13, 3639, 1216, 4276, 503, 565, 288, 3639, 16717, 13673, 3760, 273, 394, 16717, 13673, 5621, 3639, 3760, 18, 542, 3054, 3876, 12, 4887, 1769, 3639, 3760, 18, 542, 15846, 12, 588, 921, 15846, 12, 4887, 10019, 3639, 514, 8526, 21930, 273, 288, 315, 11100, 3113, 315, 10492, 3113, 315, 4177, 3113, 315, 3813, 3113, 315, 3239, 6, 289, 31, 3639, 3760, 18, 11255, 2083, 2297, 12, 74, 2387, 16, 16717, 13673, 18, 1106, 16, 4766, 4202, 22780, 921, 18, 40, 10079, 16509, 1769, 3639, 514, 8526, 3458, 273, 1171, 288, 315, 2722, 1016, 3113, 315, 3168, 3113, 315, 6347, 3113, 315, 6185, 2449, 3113, 315, 5421, 12554, 6, 289, 31, 3639, 509, 8526, 2270, 8262, 273, 7734, 288, 225, 22780, 921, 18, 3194, 9560, 2222, 16, 9079, 22780, 921, 18, 3194, 9560, 2222, 571, 225, 22780, 921, 18, 6949, 10857, 16, 9079, 22780, 921, 18, 3194, 9560, 2222, 571, 225, 22780, 921, 18, 6949, 10857, 16, 9079, 22780, 921, 18, 3194, 9560, 2222, 571, 225, 22780, 921, 18, 6949, 10857, 16, 9079, 22780, 921, 18, 3194, 9560, 2222, 571, 225, 22780, 921, 18, 6949, 10857, 289, 31, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 3458, 18, 2469, 31, 277, 27245, 288, 5411, 3760, 18, 11255, 1396, 12, 9693, 63, 77, 6487, 16717, 13673, 18, 1106, 16, 2270, 8262, 63, 77, 19226, 3639, 289, 3639, 22780, 15120, 273, 16717, 13673, 27425, 18, 2738, 12, 4887, 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, 1208, 12, 3651, 429, 2146, 13, 3639, 1216, 4276, 503, 565, 288, 3639, 16717, 13673, 3760, 273, 394, 16717, 13673, 5621, 3639, 3760, 18, 542, 3054, 3876, 12, 4887, 1769, 3639, 3760, 18, 542, 15846, 12, 588, 921, 15846, 12, 4887, 10019, 3639, 514, 8526, 21930, 273, 288, 315, 11100, 3113, 315, 10492, 3113, 315, 4177, 3113, 315, 3813, 3113, 315, 3239, 6, 289, 31, 3639, 3760, 18, 11255, 2083, 2297, 12, 74, 2387, 16, 16717, 13673, 18, 1106, 16, 4766, 4202, 22780, 921, 18, 40, 10079, 16509, 1769, 3639, 514, 8526, 3458, 273, 1171, 288, 315, 2722, 1016, 3113, 315, 3168, 3113, 315, 6347, 3113, 315, 6185, 2449, 3113, 315, 5421, 12554, 6, 289, 2 ]
user.setField("last_page",oldUser.getString("last_page")); user.addObject("history",(Vector)oldUser.getObject("history"));
user.put("history",oldUser.get("history"));
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{ IMCServiceInterface imcref = IMCServiceRMI.getIMCServiceInterface(req) ; IMCPoolInterface chatref = IMCServiceRMI.getChatIMCPoolInterface(req) ; // Lets validate the session, e.g has the user logged in to Janus? if (super.checkSession(req,res) == false) return ; HttpSession session = req.getSession(true); // Lets get the standard parameters and validate them Properties params = super.getSessionParameters(req) ; if (super.checkParameters(req, res, params) == false) return ; // Lets get the user object imcode.server.User user = super.getUserObj(req,res) ; if(user == null) return ; String metaId = params.getProperty("META_ID"); int meta_id = Integer.parseInt( metaId ); if ( !isUserAuthorized( req, res, meta_id, user ) ) { return; } String loginType = (req.getParameter("login_type")==null) ? "" : (req.getParameter("login_type")) ; log("Logintype r nu: " + loginType) ; // ************* ADD USER TO imCMS db (SELFREGISTRATION) ************** //ok the usecase is to add a new user to imcms db so lets do it if(req.getParameter("saveNewUser")!= null ) { log("Now runs add_user") ; // Lets get the parameters from html page and validate them Properties newUserParams = this.getNewUserParameters(req) ; // Properties userParams = this.getNewUserParameters2(req) ; if( this.checkUserParameters(newUserParams) == false){ log("checkUserParameters(newUserParams) == false so return"); return ; } // Lets validate the passwords. Error message will be generated in method if( UserHandler.verifyPassword(newUserParams,req,res) == false) return ; // Lets validate the phonenbr. Error message will be generated in method if( UserHandler.verifyPhoneNumber(newUserParams,req,res) == false) return ; // Lets validate the userparameters before the sql newUserParams = super.verifyForSql(newUserParams) ; String userName = newUserParams.getProperty("login_name") ; // Lets check that the new username doesnt exists already in db String userNameExists[] = imcref.sqlProcedure("FindUserName '" + userName + "'") ; if(userNameExists != null ) { if(userNameExists.length > 0 ) { String header = "ChatLogin servlet." ; ChatError err = new ChatError(req,res,header,56, LOGIN_ERROR_HTML ) ; return ; } } // Lets get the new UserId for the new user String newUserId = imcref.sqlProcedureStr("GetHighestUserId" ) ; if(newUserId == null){ log("newUserId == null so return"); return ; } // Lets build the users information into a string and add it to db // Lets get the language id the user will have, or set the lang_id to 1 // as default if( newUserParams.getProperty("lang_id") == null ) newUserParams.setProperty("lang_id", "1") ; newUserParams.setProperty("user_id", newUserId) ; String userStr = UserHandler.createUserInfoString(newUserParams) ; UserHandler.addUserInfoDB(imcref, userStr) ; // Lets add a new phone number StringBuffer phoneStr = new StringBuffer() ; phoneStr.append("phoneNbrAdd " + newUserId) ; phoneStr.append(", '" + newUserParams.getProperty("country_code") ) ; phoneStr.append("', '" + newUserParams.getProperty("area_code") ) ; phoneStr.append("', '" + newUserParams.getProperty("local_code") + "'" ) ; imcref.sqlUpdateProcedure(phoneStr.toString()) ; // Ok, lets get the roles the user will get when he is selfregistering and // add those roles to the user String sqlSproc = "C_SelfRegRoles_GetAll2 " + params.getProperty("META_ID") ; String sqlAnswer[] = chatref.sqlProcedure( sqlSproc ) ; // First, get the langprefix String langPrefix = user.getLangPrefix() ; if(sqlAnswer != null ) { for(int i = 0; i<sqlAnswer.length; i+=2){ String aRoleId = sqlAnswer[i].toString() ; // Lets check that the role id is still valid to use against // the host system String sqlCheckSproc = "RoleCheckConferenceAllowed '" + langPrefix +"', "+ aRoleId ; // log("RoleCheckSQL: " + sqlCheckSproc) ; String found = imcref.sqlProcedureStr(sqlCheckSproc) ; //log("FoundRoleCheckSQL: " + found) ; if (found != null ) { String addRoleSql = "AddUserRole " + newUserId + ", " + aRoleId ; //log("AddRoleSQL: " + addRoleSql) ; imcref.sqlUpdateProcedure(addRoleSql) ; } } } // Ok, Lets add the users roles into db, first get the role his in the system with Properties currUserParams = super.getUserParameters(user) ; String userId = currUserParams.getProperty("USER_ID") ; String usersRoles[] = imcref.sqlProcedure("GetUserRolesIDs " + userId ) ; // log("SQL frga:" + "GetUserRolesIDs " + userId) ; if(usersRoles != null ) { for(int i = 0; i<usersRoles.length; i+=2){ // Late change, fix so the superadminrole wont be copied to the new user if(!usersRoles[i].toString().equals("1")){ String addRoleSql = "AddUserRole " + newUserId + ", " + usersRoles[i].toString() ; imcref.sqlUpdateProcedure(addRoleSql) ; }else{ // log("Superadmin rollen kom inte med!") ; } } }else{ // nothing came back from getUserRoles String header = "ConfLogin servlet." ; ChatError err = new ChatError(req,res,header,58 ) ; log(header + err.getErrorMsg()) ; return ; } //hr ska vi kanske se till att logga in anvndaren i systemet String paramStr = MetaInfo.passMeta(params) ; //log("params: "+paramStr); //lets send the user to chatloginpage res.sendRedirect("ChatLogin?"+paramStr); return ; } //end saveNewUser //get alias must bee here because if we logs into imcms then we have to cleare this String chatAlias = req.getParameter("alias").trim(); log("chatAlias: " + chatAlias); //*********logs a user into imcms ***** if(req.getParameter("loginToImCms")!=null){ //ok lets se if there is any user whith this id and pw log("Ok, nu frsker vi verifiera logga in!") ; Properties lparams = this.getLoginParams(req ,res) ; // Ok, Lets check what the user has sent us. Lets verify the fields the user // have had to write freetext in to verify that the sql questions wont go mad. if (this.verifyLoginParams(req, res, lparams) == false) return ; lparams = super.verifyForSql(lparams) ; String userName = lparams.getProperty("LOGIN_NAME") ; String password = lparams.getProperty("PASSWORD") ; // Validate loginparams against DB String sqlQ = "GetUserIdFromName '" + userName + "', '" + password + "'" ; String userId = imcref.sqlProcedureStr( sqlQ ) ; //log("Anvndarens id var: " + userId) ; // Lets check that we found the user. Otherwise send unvailid username password if( userId == null ) { String header = "ChatLogin servlet." ; ChatError err = new ChatError(req,res,header,50, LOGIN_ERROR_HTML ) ; log(header + err.getErrorMsg()) ; return ; } //ok lets create a user obj and put it into the session imcode.server.User oldUser = user; user = null; user = allowUser( userName, password, imcref ); user.setField("last_page",oldUser.getString("last_page")); user.addObject("history",(Vector)oldUser.getObject("history")); session.setAttribute("logon.isDone", user ); chatAlias = null; }//end loginToImCms // ************* LOG A USER INTO A CHAT ************** //ok the usecase is to login a user to a chatroom log("req.getParameter(login) = "+ req.getParameter("login")); if (req.getParameter("loginAlias") != null ||req.getParameter("loginUserName") != null) { log("ok lets get the chat"); //check if the intended chat already exists ServletContext ServletContext myContext = getServletContext(); Chat theChat = (Chat) myContext.getAttribute("theChat"+metaId); if ( theChat == null ){ theChat = createChat(req, user, meta_id); myContext.setAttribute("theChat"+metaId,theChat); session.setAttribute("myChat",theChat); } //ok lets create the chatmember obj imcode.external.chat.ChatMember myMember = theChat.createChatMember(); if (req.getParameter("loginAlias") != null) { //ok we need to see if the name alreadi is in use, and if so send error if (theChat.hasMemberName("Alias: "+chatAlias)) { // System.out.println("in use fix"); }else { myMember.setName("Alias: "+chatAlias); } }else{ myMember.setName(user.getString("login_name")); } myMember.setIPNr(req.getRemoteHost()); //lets get the rooom String currentRoomId = req.getParameter("rooms"); int roomNr; try{ roomNr = Integer.parseInt(currentRoomId); }catch(NumberFormatException nfe){ log("the room was null so return"); return; } ChatGroup myGroup = theChat.getChatGroup(roomNr); myGroup.addNewGroupMember(myMember); //ok lets add a enter msg String libName = super.getTemplateLibName(chatref,theChat.getChatId()+""); String enter_msg = imcref.parseExternalDoc(new Vector(), "enter_msg.html",user.getLangPrefix(), "103", libName); String theDateTime = (super.getDateToday() +" : "+ super.getTimeNow()); ChatMsg newEnterMsg = new ChatMsg(enter_msg, "", CHAT_ENTER_LEAVE_INT, CHAT_ENTER_LEAVE_INT,"", myMember.getName(), myMember.getUserId(), theDateTime.trim()); myGroup.addNewMsg(newEnterMsg); log(myMember.toString()); session.setAttribute("theChatMember",myMember); super.prepareChatBoardSettings(myMember, req, false); //lets redirect to ChatViewer String url = "ChatViewer" ; res.sendRedirect(url) ; return ; } log("end doPost"); return; }//end doPost
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/097a46af4aab69684679687e935ee611cdd83b5a/ChatLogin.java/clean/servlets/chat/ChatLogin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 15069, 16517, 16, 1860, 95, 202, 3445, 39, 18348, 709, 71, 1734, 273, 6246, 39, 1179, 54, 7492, 18, 588, 3445, 39, 18348, 12, 3658, 13, 274, 202, 3445, 39, 2864, 1358, 7916, 1734, 273, 6246, 39, 1179, 54, 7492, 18, 588, 14163, 3445, 39, 2864, 1358, 12, 3658, 13, 274, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 2940, 2157, 1339, 273, 1111, 18, 588, 2157, 12, 3767, 1769, 202, 759, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 202, 2297, 859, 273, 2240, 18, 588, 2157, 2402, 12, 3658, 13, 274, 202, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 327, 274, 202, 759, 511, 2413, 336, 326, 729, 733, 202, 381, 710, 18, 3567, 18, 1299, 729, 273, 2240, 18, 588, 1299, 2675, 12, 3658, 16, 455, 13, 274, 202, 430, 12, 1355, 422, 446, 13, 327, 274, 202, 780, 2191, 548, 273, 202, 859, 18, 588, 1396, 2932, 19294, 67, 734, 8863, 202, 474, 2191, 67, 350, 273, 2144, 18, 2670, 1702, 12, 2191, 548, 11272, 202, 430, 261, 401, 291, 1299, 15341, 12, 1111, 16, 400, 16, 2191, 67, 350, 16, 729, 262, 262, 202, 95, 202, 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, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 15069, 16517, 16, 1860, 95, 202, 3445, 39, 18348, 709, 71, 1734, 273, 6246, 39, 1179, 54, 7492, 18, 588, 3445, 39, 18348, 12, 3658, 13, 274, 202, 3445, 39, 2864, 1358, 7916, 1734, 273, 6246, 39, 1179, 54, 7492, 18, 588, 14163, 3445, 39, 2864, 1358, 12, 3658, 13, 274, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 2940, 2157, 1339, 273, 1111, 18, 588, 2157, 12, 3767, 1769, 202, 759, 511, 2413, 2 ]
assertEquals(cat1, task3.getCategory());
assertEquals(cat1, task3.getContainer());
public void testCreationAndExternalization() { Set<ITask> rootTasks = new HashSet<ITask>(); Task task1 = new Task(manager.genUniqueTaskHandle(), "task 1", true); manager.getTaskList().moveToRoot(task1); rootTasks.add(task1); Task sub1 = new Task(manager.genUniqueTaskHandle(), "sub 1", true); task1.addSubTask(sub1); sub1.setParent(task1); Task task2 = new Task(manager.genUniqueTaskHandle(), "task 2", true); manager.getTaskList().moveToRoot(task2); rootTasks.add(task2); Set<TaskCategory> categories = new HashSet<TaskCategory>(); Set<ITask> cat1Contents = new HashSet<ITask>(); TaskCategory cat1 = new TaskCategory("Category 1", manager.getTaskList()); manager.getTaskList().addCategory(cat1); categories.add(cat1); Task task3 = new Task(manager.genUniqueTaskHandle(), "task 3", true); manager.getTaskList().moveToContainer(cat1, task3); cat1Contents.add(task3); assertEquals(cat1, task3.getCategory()); Task sub2 = new Task(manager.genUniqueTaskHandle(), "sub 2", true); task3.addSubTask(sub2); sub2.setParent(task3); Task task4 = new Task(manager.genUniqueTaskHandle(), "task 4", true); manager.getTaskList().moveToContainer(cat1, task4); cat1Contents.add(task4); BugzillaTask reportInCat1 = new BugzillaTask("123", "label 123", true); manager.getTaskList().moveToContainer(cat1, reportInCat1); assertEquals(cat1, reportInCat1.getCategory()); cat1Contents.add(reportInCat1); BugzillaTask reportInRoot = new BugzillaTask("124", "label 124", true); manager.getTaskList().moveToRoot(reportInRoot); rootTasks.add(reportInRoot); assertEquals("" + manager.getTaskList().getRootElements(), 5, manager.getTaskList().getRootElements().size()); manager.saveTaskList(); assertNotNull(manager.getTaskList()); manager.resetTaskList();// manager.getTaskList().clear();// TaskList list = new TaskList();// manager.setTaskList(list); manager.readExistingOrCreateNewList(); assertNotNull(manager.getTaskList()); assertEquals(rootTasks, manager.getTaskList().getRootTasks()); Set<ITask> readList = manager.getTaskList().getRootTasks(); for (ITask task : readList) { if (task.equals(task1)) { assertEquals(task1.getDescription(), task.getDescription()); assertEquals(1, task.getChildren().size()); } if (task.equals(reportInRoot)) { assertEquals(reportInRoot.getDescription(), task.getDescription()); } } Set<AbstractTaskContainer> readCats = manager.getTaskList().getTaskContainers(); assertTrue(manager.getTaskList().getCategories().contains(cat1)); Iterator<AbstractTaskContainer> iterator = readCats.iterator(); AbstractTaskContainer readCat1 = iterator.next(); assertEquals(cat1, readCat1); assertEquals(cat1Contents, readCat1.getChildren()); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/8aaee855c50738cc181a1133af067bc5118e94b5/TaskListManagerTest.java/buggy/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9906, 1876, 6841, 1588, 1435, 288, 202, 202, 694, 32, 1285, 835, 34, 1365, 6685, 273, 394, 6847, 32, 1285, 835, 34, 5621, 202, 202, 2174, 1562, 21, 273, 394, 3837, 12, 4181, 18, 4507, 6303, 2174, 3259, 9334, 315, 4146, 404, 3113, 638, 1769, 202, 202, 4181, 18, 588, 2174, 682, 7675, 8501, 774, 2375, 12, 4146, 21, 1769, 202, 202, 3085, 6685, 18, 1289, 12, 4146, 21, 1769, 202, 202, 2174, 720, 21, 273, 394, 3837, 12, 4181, 18, 4507, 6303, 2174, 3259, 9334, 315, 1717, 404, 3113, 638, 1769, 202, 202, 4146, 21, 18, 1289, 1676, 2174, 12, 1717, 21, 1769, 202, 202, 1717, 21, 18, 542, 3054, 12, 4146, 21, 1769, 202, 202, 2174, 1562, 22, 273, 394, 3837, 12, 4181, 18, 4507, 6303, 2174, 3259, 9334, 315, 4146, 576, 3113, 638, 1769, 202, 202, 4181, 18, 588, 2174, 682, 7675, 8501, 774, 2375, 12, 4146, 22, 1769, 202, 202, 3085, 6685, 18, 1289, 12, 4146, 22, 1769, 202, 202, 694, 32, 2174, 4457, 34, 6477, 273, 394, 6847, 32, 2174, 4457, 34, 5621, 202, 202, 694, 32, 1285, 835, 34, 6573, 21, 6323, 273, 394, 6847, 32, 1285, 835, 34, 5621, 202, 202, 2174, 4457, 6573, 21, 273, 394, 3837, 4457, 2932, 4457, 404, 3113, 3301, 18, 588, 2174, 682, 10663, 202, 202, 4181, 18, 588, 2174, 682, 7675, 1289, 4457, 12, 2574, 21, 1769, 202, 202, 8995, 18, 1289, 12, 2574, 21, 1769, 202, 202, 2174, 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, 9906, 1876, 6841, 1588, 1435, 288, 202, 202, 694, 32, 1285, 835, 34, 1365, 6685, 273, 394, 6847, 32, 1285, 835, 34, 5621, 202, 202, 2174, 1562, 21, 273, 394, 3837, 12, 4181, 18, 4507, 6303, 2174, 3259, 9334, 315, 4146, 404, 3113, 638, 1769, 202, 202, 4181, 18, 588, 2174, 682, 7675, 8501, 774, 2375, 12, 4146, 21, 1769, 202, 202, 3085, 6685, 18, 1289, 12, 4146, 21, 1769, 202, 202, 2174, 720, 21, 273, 394, 3837, 12, 4181, 18, 4507, 6303, 2174, 3259, 9334, 315, 1717, 404, 3113, 638, 1769, 202, 202, 4146, 21, 18, 1289, 1676, 2174, 12, 1717, 21, 1769, 202, 202, 1717, 21, 18, 542, 3054, 12, 4146, 21, 2 ]
proplist.add(new PropertyDescriptor("id", TableTag.class, null, "setId"));
proplist.add(new PropertyDescriptor("id", TableTag.class, null, "setId"));
public PropertyDescriptor[] getPropertyDescriptors() { List proplist = new ArrayList(); try { proplist.add(new PropertyDescriptor("cellpadding", ELTableTag.class, null, "setCellpadding")); proplist.add(new PropertyDescriptor("cellspacing", ELTableTag.class, null, "setCellspacing")); proplist.add(new PropertyDescriptor("class", ELTableTag.class, null, "setClass")); proplist.add(new PropertyDescriptor("decorator", ELTableTag.class, null, "setDecorator")); proplist.add(new PropertyDescriptor("defaultorder", ELTableTag.class, null, "setDefaultorder")); proplist.add(new PropertyDescriptor("defaultsort", ELTableTag.class, null, "setDefaultsort")); proplist.add(new PropertyDescriptor("export", ELTableTag.class, null, "setExport")); proplist.add(new PropertyDescriptor("frame", ELTableTag.class, null, "setFrame")); proplist.add(new PropertyDescriptor("length", ELTableTag.class, null, "setLength")); proplist.add(new PropertyDescriptor("name", ELTableTag.class, null, "setName")); proplist.add(new PropertyDescriptor("offset", ELTableTag.class, null, "setOffset")); proplist.add(new PropertyDescriptor("pagesize", ELTableTag.class, null, "setPagesize")); proplist.add(new PropertyDescriptor("requestURI", ELTableTag.class, null, "setRequestURI")); proplist.add(new PropertyDescriptor("rules", ELTableTag.class, null, "setRules")); proplist.add(new PropertyDescriptor("sort", ELTableTag.class, null, "setSort")); proplist.add(new PropertyDescriptor("style", ELTableTag.class, null, "setStyle")); proplist.add(new PropertyDescriptor("summary", ELTableTag.class, null, "setSummary")); // can't be evaluated proplist.add(new PropertyDescriptor("id", TableTag.class, null, "setId")); // deprecated attributes (not supporting expressions) proplist.add(new PropertyDescriptor("width", TableTag.class, null, "setWidth")); proplist.add(new PropertyDescriptor("styleClass", ELTableTag.class, null, "setClass")); // remapping proplist.add(new PropertyDescriptor("border", TableTag.class, null, "setBorder")); proplist.add(new PropertyDescriptor("align", TableTag.class, null, "setAlign")); proplist.add(new PropertyDescriptor("background", TableTag.class, null, "setBackground")); proplist.add(new PropertyDescriptor("bgcolor", TableTag.class, null, "setBgcolor")); proplist.add(new PropertyDescriptor("height", TableTag.class, null, "setHeight")); proplist.add(new PropertyDescriptor("hspace", TableTag.class, null, "setHspace")); proplist.add(new PropertyDescriptor("vspace", TableTag.class, null, "setVspace")); } catch (IntrospectionException ex) { // ignore, this should never happen } PropertyDescriptor[] result = new PropertyDescriptor[proplist.size()]; return ((PropertyDescriptor[]) proplist.toArray(result)); }
7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/101977ad06aad488b3652f70bcee7359487e87db/ELTableTagBeanInfo.java/clean/displaytag/src/main/java/org/displaytag/tags/el/ELTableTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 987, 450, 17842, 273, 394, 2407, 5621, 3639, 775, 3639, 288, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 9598, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 797, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 19142, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 10361, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 1019, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 1868, 1019, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 3804, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 1868, 3804, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 6530, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 6144, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3789, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 3219, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 2469, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 1782, 7923, 1769, 5411, 450, 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, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 987, 450, 17842, 273, 394, 2407, 5621, 3639, 775, 3639, 288, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 9598, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 797, 7923, 1769, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 19142, 3113, 14801, 1388, 1805, 18, 1106, 16, 446, 16, 315, 542, 10361, 2 ]
logger = new org.openscience.cdk.tools.LoggingTool(this);
logger = new LoggingTool(this);
public CMLRoundTripTest(String name) { super(name); logger = new org.openscience.cdk.tools.LoggingTool(this); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/3588bdd77f744cd0f88445b38c6fbe4b529fac6b/CMLRoundTripTest.java/clean/src/org/openscience/cdk/test/io/cml/CMLRoundTripTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 385, 1495, 11066, 16148, 4709, 12, 780, 508, 13, 288, 3639, 2240, 12, 529, 1769, 3639, 1194, 273, 394, 10253, 6364, 12, 2211, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 385, 1495, 11066, 16148, 4709, 12, 780, 508, 13, 288, 3639, 2240, 12, 529, 1769, 3639, 1194, 273, 394, 10253, 6364, 12, 2211, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void addText(char[] buf, int start, int count) { addText(new String(buf, start, count));
public void addText(String data) { characters.append(data);
public void addText(char[] buf, int start, int count) { addText(new String(buf, start, count)); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/1aca5cf03666b5bd7b1d17eb16e727338681d525/RuntimeConfigurable.java/buggy/src/main/org/apache/tools/ant/RuntimeConfigurable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 25796, 12, 3001, 8526, 1681, 16, 509, 787, 16, 509, 1056, 13, 288, 3639, 25796, 12, 2704, 514, 12, 4385, 16, 787, 16, 1056, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 918, 25796, 12, 3001, 8526, 1681, 16, 509, 787, 16, 509, 1056, 13, 288, 3639, 25796, 12, 2704, 514, 12, 4385, 16, 787, 16, 1056, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private Object[] findRelatedObjects(IContentType type, String fileName, RelatedRegistry registry) { List allRelated = new ArrayList(); Object[] related = registry.getRelatedObjects(type); for (int i = 0; i < related.length; i++) allRelated.add(related[i]); if (fileName != null) { related = registry.getRelatedObjects(fileName); for (int i = 0; i < related.length; i++) if (!allRelated.contains(related[i])) allRelated.add(related[i]); } while ((type = type.getBaseType()) != null) { related = registry.getRelatedObjects(type); for (int i = 0; i < related.length; i++) if (!allRelated.contains(related[i])) allRelated.add(related[i]); } return allRelated.toArray(); }
private Object[] findRelatedObjects(IContentType type, String fileName, RelatedRegistry registry) { List allRelated = new ArrayList(); Object[] related; if (fileName != null) { related = registry.getRelatedObjects(fileName); for (int i = 0; i < related.length; i++) { if (!allRelated.contains(related[i])) { if (!WorkbenchActivityHelper.filterItem(related[i])) allRelated.add(related[i]); } } } if (fileName != null) { int index = fileName.lastIndexOf('.'); if (index > -1) { String extension = "*" + fileName.substring(index); related = registry.getRelatedObjects(extension); for (int i = 0; i < related.length; i++) { if (!allRelated.contains(related[i])) { if (!WorkbenchActivityHelper.filterItem(related[i])) allRelated.add(related[i]); } } } } if (type != null) { related = registry.getRelatedObjects(type); for (int i = 0; i < related.length; i++) { if (!allRelated.contains(related[i])) { if (!WorkbenchActivityHelper.filterItem(related[i])) allRelated.add(related[i]); } } } if (type != null) { while ((type = type.getBaseType()) != null) { related = registry.getRelatedObjects(type); for (int i = 0; i < related.length; i++) { if (!allRelated.contains(related[i])) { if (!WorkbenchActivityHelper.filterItem(related[i])) allRelated.add(related[i]); } } } } return allRelated.toArray(); }
private Object[] findRelatedObjects(IContentType type, String fileName, RelatedRegistry registry) { List allRelated = new ArrayList(); // first add any objects directly related to the content type Object[] related = registry.getRelatedObjects(type); for (int i = 0; i < related.length; i++) allRelated.add(related[i]); // backward compatibility requested - add any objects related to the file name if (fileName != null) { related = registry.getRelatedObjects(fileName); for (int i = 0; i < related.length; i++) if (!allRelated.contains(related[i])) // we don't want to return duplicates allRelated.add(related[i]); } // now add any indirectly related objects, walking up the content type hierarchy while ((type = type.getBaseType()) != null) { related = registry.getRelatedObjects(type); for (int i = 0; i < related.length; i++) if (!allRelated.contains(related[i])) // we don't want to return duplicates allRelated.add(related[i]); } return allRelated.toArray(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0d43677b529afad3ac2444af2c07e794404cb7cf/EditorRegistry.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/EditorRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 8526, 1104, 8017, 4710, 12, 45, 8046, 618, 16, 514, 3968, 16, 23892, 4243, 4023, 13, 288, 3639, 987, 777, 8017, 273, 394, 2407, 5621, 3639, 368, 1122, 527, 1281, 2184, 5122, 3746, 358, 326, 913, 618, 3639, 1033, 8526, 3746, 273, 4023, 18, 588, 8017, 4710, 12, 723, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3746, 18, 2469, 31, 277, 27245, 5411, 777, 8017, 18, 1289, 12, 9243, 63, 77, 19226, 3639, 368, 12555, 8926, 3764, 300, 527, 1281, 2184, 3746, 358, 326, 585, 508, 3639, 309, 261, 17812, 480, 446, 13, 288, 5411, 3746, 273, 4023, 18, 588, 8017, 4710, 12, 17812, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3746, 18, 2469, 31, 277, 27245, 7734, 309, 16051, 454, 8017, 18, 12298, 12, 9243, 63, 77, 22643, 10792, 368, 732, 2727, 1404, 2545, 358, 327, 11211, 10792, 777, 8017, 18, 1289, 12, 9243, 63, 77, 19226, 3639, 289, 3639, 368, 2037, 527, 1281, 16807, 715, 3746, 2184, 16, 5442, 310, 731, 326, 913, 618, 9360, 540, 1323, 14015, 723, 273, 618, 18, 588, 2171, 559, 10756, 480, 446, 13, 288, 5411, 3746, 273, 4023, 18, 588, 8017, 4710, 12, 723, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3746, 18, 2469, 31, 277, 27245, 7734, 309, 16051, 454, 8017, 18, 12298, 12, 9243, 63, 77, 22643, 10792, 368, 732, 2727, 1404, 2545, 358, 327, 11211, 4766, 4202, 777, 8017, 18, 1289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 8526, 1104, 8017, 4710, 12, 45, 8046, 618, 16, 514, 3968, 16, 23892, 4243, 4023, 13, 288, 3639, 987, 777, 8017, 273, 394, 2407, 5621, 3639, 368, 1122, 527, 1281, 2184, 5122, 3746, 358, 326, 913, 618, 3639, 1033, 8526, 3746, 273, 4023, 18, 588, 8017, 4710, 12, 723, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3746, 18, 2469, 31, 277, 27245, 5411, 777, 8017, 18, 1289, 12, 9243, 63, 77, 19226, 3639, 368, 12555, 8926, 3764, 300, 527, 1281, 2184, 3746, 358, 326, 585, 508, 3639, 309, 261, 17812, 480, 446, 13, 288, 5411, 3746, 273, 4023, 18, 588, 8017, 4710, 12, 17812, 1769, 5411, 364, 261, 474, 277, 273, 374, 2 ]
} else { return '\'' + stringLiteral.substring(1, stringLiteral.length()-1) + '\'';
} else{ return '\'' + stringLiteral .substring(1, stringLiteral.length() - 1) + '\'';
private static String charForStringLiteral(String stringLiteral){ if("\"'\"".equals(stringLiteral)) { return "'\\''"; } else { return '\'' + stringLiteral.substring(1, stringLiteral.length()-1) + '\''; } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/3837c95856454e21e9059f3aa91174a1e2c65526/StringToCharIntention.java/clean/plugins/IntentionPowerPak/src/com/siyeh/ipp/chartostring/StringToCharIntention.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 1149, 1290, 28565, 12, 780, 533, 6177, 15329, 3639, 309, 2932, 2412, 11, 8530, 18, 14963, 12, 1080, 6177, 3719, 3639, 288, 5411, 327, 2491, 10471, 4970, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 327, 15053, 397, 533, 6177, 18, 28023, 12, 21, 16, 533, 6177, 18, 2469, 1435, 17, 21, 13, 397, 21821, 15053, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 760, 514, 1149, 1290, 28565, 12, 780, 533, 6177, 15329, 3639, 309, 2932, 2412, 11, 8530, 18, 14963, 12, 1080, 6177, 3719, 3639, 288, 5411, 327, 2491, 10471, 4970, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 327, 15053, 397, 533, 6177, 18, 28023, 12, 21, 16, 533, 6177, 18, 2469, 1435, 17, 21, 13, 397, 21821, 15053, 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 ]
cancel.setEnabled(false); progressMonitor.setCanceled(true); super.cancelPressed(); }
cancel.setEnabled(false); progressMonitor.setCanceled(true); super.cancelPressed(); }
protected void cancelPressed() { // NOTE: this was previously done from a listener installed on the // cancel button. On GTK, the listener installed by // Dialog.createButton is called first and this was throwing an // exception because the cancel button was already disposed cancel.setEnabled(false); progressMonitor.setCanceled(true); super.cancelPressed(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/18d6e658dfbeda87524388388c4d4c049701f36f/ProgressMonitorDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ProgressMonitorDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3755, 24624, 1435, 288, 3639, 368, 5219, 30, 333, 1703, 7243, 2731, 628, 279, 2991, 5876, 603, 326, 3639, 368, 3755, 3568, 18, 2755, 19688, 47, 16, 326, 2991, 5876, 635, 3639, 368, 17242, 18, 2640, 3616, 353, 2566, 1122, 471, 333, 1703, 19440, 392, 3639, 368, 1520, 2724, 326, 3755, 3568, 1703, 1818, 1015, 7423, 3639, 3755, 18, 542, 1526, 12, 5743, 1769, 3639, 4007, 7187, 18, 542, 23163, 12, 3767, 1769, 3639, 2240, 18, 10996, 24624, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3755, 24624, 1435, 288, 3639, 368, 5219, 30, 333, 1703, 7243, 2731, 628, 279, 2991, 5876, 603, 326, 3639, 368, 3755, 3568, 18, 2755, 19688, 47, 16, 326, 2991, 5876, 635, 3639, 368, 17242, 18, 2640, 3616, 353, 2566, 1122, 471, 333, 1703, 19440, 392, 3639, 368, 1520, 2724, 326, 3755, 3568, 1703, 1818, 1015, 7423, 3639, 3755, 18, 542, 1526, 12, 5743, 1769, 3639, 4007, 7187, 18, 542, 23163, 12, 3767, 1769, 3639, 2240, 18, 10996, 24624, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
text_tuple = new TupleType(mtypes); FunctionType text_function = new FunctionType(RealType.Time, text_tuple); Set time_set = new Linear1DSet(time_type, 0.0, 1.0, 2); text_field = new FieldImpl(text_function, time_set); DataReferenceImpl text_ref = new DataReferenceImpl("text_ref"); text_ref.setData(text_field); Linear2DSet wedge_set =
textTuple = new TupleType(mtypes); FunctionType textFunction = new FunctionType(RealType.Time, textTuple); Set timeSet = new Linear1DSet(timeType, 0.0, 1.0, 2); textField = new FieldImpl(textFunction, timeSet); DataReferenceImpl textRef = new DataReferenceImpl("textRef"); textRef.setData(textField); Linear2DSet wedgeSet =
public void go(String args[]) throws IOException, VisADException, RemoteException { String dir = ""; String slash = System.getProperty("file.separator"); if (args.length > 0) { dir = args[0]; if (!dir.endsWith(slash)) dir = dir + slash; } RealTupleType domain = null; Unit unit = null; String name = null; Set set = null; RealType[] value_types = new RealType[NFILES]; values = new float[NFILES][]; DefaultFamily loader = new DefaultFamily("loader"); for (int i=0; i<NFILES; i++) { Tuple tuple = (Tuple) loader.open(dir + "SPB" + (i+1) + ".PIC"); FieldImpl field = (FieldImpl) tuple.getComponent(0); FlatField ff = (FlatField) field.getSample(0); set = ff.getDomainSet();/*System.out.println("set = " + set);set = Linear2DSet: Length = 393216 Dimension 1: Length = 768 Range = 0.0 to 767.0 Dimension 2: Length = 512 Range = 0.0 to 511.0*/ if (i == 0) { FunctionType func = (FunctionType) ff.getType(); domain = func.getDomain(); element = (RealType) domain.getComponent(0); line = (RealType) domain.getComponent(1); value = (RealType) func.getRange(); unit = value.getDefaultUnit(); name = value.getName(); } value_types[i] = RealType.getRealType(name + (i+1), unit); float[][] temps = ff.getFloats(false); values[i] = temps[0]; // System.out.println("data " + i + " type: " + value_types[i]); } npixels = values[0].length; RealTupleType range = new RealTupleType(value_types); FunctionType big_func = new FunctionType(domain, range); final FlatField big_data = new FlatField(big_func, set); big_data.setSamples(values, false); // RealType value = RealType.getRealType("value"); RealType hue = RealType.getRealType("hue"); RealType HUE = RealType.getRealType("HUE"); RealTupleType new_range = new RealTupleType(value, hue); FunctionType new_func = new FunctionType(domain, new_range); data = new FlatField(new_func, set); data_values = new float[2][npixels]; DataReferenceImpl ref1 = new DataReferenceImpl("ref1"); ref1.setData(data); text = TextType.getTextType("text"); RealType[] time = {RealType.Time}; RealTupleType time_type = new RealTupleType(time); MathType[] mtypes = {element, line, text}; text_tuple = new TupleType(mtypes); FunctionType text_function = new FunctionType(RealType.Time, text_tuple); Set time_set = new Linear1DSet(time_type, 0.0, 1.0, 2); text_field = new FieldImpl(text_function, time_set); DataReferenceImpl text_ref = new DataReferenceImpl("text_ref"); text_ref.setData(text_field); Linear2DSet wedge_set = new Linear2DSet(domain, 0.0, 767.0, 768, 550.0, 570.0, 21); wedge = new FlatField(new_func, wedge_set); wedge_samples = new float[2][768 * 21]; DataReferenceImpl wedge_ref = new DataReferenceImpl("wedge_ref"); wedge_ref.setData(wedge); final DataReferenceImpl xref = new DataReferenceImpl("xref"); // System.out.println("data type: " + new_func); display1 = new DisplayImplJ3D("display1", new TwoDDisplayRendererJ3D()); ScalarMap xmap = new ScalarMap(element, Display.XAxis); display1.addMap(xmap); huexmap = new ScalarMap(HUE, Display.XAxis); display1.addMap(huexmap); ScalarMap ymap = new ScalarMap(line, Display.YAxis); display1.addMap(ymap); ymap.setRange(0.0, 511.0); vmap = new ScalarMap(value, Display.Value); display1.addMap(vmap); hmap = new ScalarMap(hue, Display.Hue); display1.addMap(hmap); ScalarMap textmap = new ScalarMap(text, Display.Text); display1.addMap(textmap); display1.addMap(new ConstantMap(1.0, Display.Saturation)); Control ctrl = textmap.getControl(); if (ctrl != null && ctrl instanceof TextControl) { TextControl text_control = (TextControl) ctrl; text_control.setSize(1.0); text_control.setJustification(TextControl.Justification.CENTER); text_control.setAutoSize(true); } // display1.getGraphicsModeControl().setScaleEnable(true); display1.addReference(ref1); DefaultRendererJ3D renderer = new DefaultRendererJ3D(); display1.addReferences(renderer, xref); renderer.suppressExceptions(true); DefaultRendererJ3D text_renderer = new DefaultRendererJ3D(); display1.addReferences(text_renderer, text_ref); text_renderer.suppressExceptions(true); DefaultRendererJ3D wedge_renderer = new DefaultRendererJ3D(); display1.addReferences(wedge_renderer, wedge_ref); wedge_renderer.suppressExceptions(true); line_ref = new DataReferenceImpl("line"); Gridded2DSet dummy_set = new Gridded2DSet(domain, null, 1); line_ref.setData(dummy_set); display1.addReferences( new RubberBandLineRendererJ3D(element, line), line_ref); final RealType channel = RealType.getRealType("channel"); final RealType point = RealType.getRealType("point"); RealType intensity = RealType.getRealType("intensity"); final FunctionType spectrum_type = new FunctionType(channel, intensity); final FunctionType spectra_type = new FunctionType(point, spectrum_type); final FunctionType line_type = new FunctionType(point, intensity); final FunctionType lines_type = new FunctionType(channel, line_type); final DataReferenceImpl ref2 = new DataReferenceImpl("ref2"); DisplayImplJ3D display2 = new DisplayImplJ3D("display2"); ScalarMap xmap2 = new ScalarMap(channel, Display.XAxis); display2.addMap(xmap2); ScalarMap ymap2 = new ScalarMap(intensity, Display.YAxis); display2.addMap(ymap2); ScalarMap zmap2 = new ScalarMap(point, Display.ZAxis); display2.addMap(zmap2); display2.getGraphicsModeControl().setScaleEnable(true); DefaultRendererJ3D renderer2 = new DefaultRendererJ3D(); display2.addReferences(renderer2, ref2); renderer2.suppressExceptions(true); final RealTupleType fdomain = domain; CellImpl cell = new CellImpl() { public void doAction() throws VisADException, RemoteException { Set cell_set = (Set) line_ref.getData(); if (cell_set == null) return; float[][] samples = cell_set.getSamples(); if (samples == null) return; // System.out.println("box (" + samples[0][0] + ", " + samples[1][0] + // ") to (" + samples[0][1] + ", " + samples[1][1] + ")"); float x1 = samples[0][0]; float y1 = samples[1][0]; float x2 = samples[0][1]; float y2 = samples[1][1]; double dist = Math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)); int nsamp = (int) (dist + 1.0); if (nsamp < 2) nsamp = 2; float[][] ss = new float[2][nsamp]; for (int i=0; i<nsamp; i++) { float a = ((float) i) / (nsamp - 1.0f); ss[0][i] = x1 + a * (x2 - x1); ss[1][i] = y1 + a * (y2 - y1); } Gridded2DSet line = new Gridded2DSet(fdomain, ss, nsamp); xref.setData(line); FlatField line_field = (FlatField) // big_data.resample(line, Data.WEIGHTED_AVERAGE, Data.NO_ERRORS); big_data.resample(line, Data.NEAREST_NEIGHBOR, Data.NO_ERRORS); float[][] line_samples = line_field.getFloats(false); // [NFILES][nsamp] Linear1DSet point_set = new Linear1DSet(point, 0.0, 1.0, nsamp); Integer1DSet channel_set = new Integer1DSet(channel, NFILES); FieldImpl spectra = new FieldImpl(spectra_type, point_set); for (int i=0; i<nsamp; i++) { FlatField spectrum = new FlatField(spectrum_type, channel_set); float[][] temp = new float[1][NFILES]; for (int j=0; j<NFILES; j++) { temp[0][j] = line_samples[j][i]; } spectrum.setSamples(temp, false); spectra.setSample(i, spectrum); } FieldImpl lines = new FieldImpl(lines_type, channel_set); for (int j=0; j<NFILES; j++) { FlatField linex = new FlatField(line_type, point_set); float[][] temp = new float[1][nsamp]; for (int i=0; i<nsamp; i++) { temp[0][i] = line_samples[j][i]; } linex.setSamples(temp, false); lines.setSample(j, linex); } ref2.setData(new Tuple(new Data[] {spectra, lines})); } }; cell.addReference(line_ref); VisADSlider[] value_sliders = new VisADSlider[NFILES]; VisADSlider[] hue_sliders = new VisADSlider[NFILES]; value_refs = new DataReferenceImpl[NFILES]; hue_refs = new DataReferenceImpl[NFILES]; JFrame frame = new JFrame("VisAD MultiLUT"); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) {System.exit(0);} }); // create JPanel in frame JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS)); panel.setAlignmentY(JPanel.TOP_ALIGNMENT); panel.setAlignmentX(JPanel.LEFT_ALIGNMENT); frame.setContentPane(panel); JPanel left = new JPanel(); left.setLayout(new BoxLayout(left, BoxLayout.Y_AXIS)); left.setAlignmentY(JPanel.TOP_ALIGNMENT); left.setAlignmentX(JPanel.LEFT_ALIGNMENT); JPanel center = new JPanel(); center.setLayout(new BoxLayout(center, BoxLayout.Y_AXIS)); center.setAlignmentY(JPanel.TOP_ALIGNMENT); center.setAlignmentX(JPanel.LEFT_ALIGNMENT); JPanel right = new JPanel(); right.setLayout(new BoxLayout(right, BoxLayout.Y_AXIS)); right.setAlignmentY(JPanel.TOP_ALIGNMENT); right.setAlignmentX(JPanel.LEFT_ALIGNMENT); panel.add(left); panel.add(center); panel.add(right); Dimension d = new Dimension(300, 1000); left.setMaximumSize(d); center.setMaximumSize(d); for (int i=0; i<NFILES; i++) { value_refs[i] = new DataReferenceImpl("value" + i); value_refs[i].setData(new Real(1.0)); value_sliders[i] = new VisADSlider("value" + i, -100, 100, 100, 0.01, value_refs[i], RealType.Generic); left.add(value_sliders[i]); hue_refs[i] = new DataReferenceImpl("hue" + i); hue_refs[i].setData(new Real(1.0)); hue_sliders[i] = new VisADSlider("hue" + i, -100, 100, 100, 0.01, hue_refs[i], RealType.Generic); center.add(hue_sliders[i]); } // slider button for setting all value sliders to 0 JButton value_clear = new JButton("Zero values"); value_clear.addActionListener(this); value_clear.setActionCommand("value_clear"); left.add(Box.createVerticalStrut(10)); left.add(value_clear); // slider button for setting all value sliders to 1 JButton value_set = new JButton("One values"); value_set.addActionListener(this); value_set.setActionCommand("value_set"); left.add(value_set); // slider button for setting all hue sliders to 0 JButton hue_clear = new JButton("Zero hues"); hue_clear.addActionListener(this); hue_clear.setActionCommand("hue_clear"); center.add(Box.createVerticalStrut(10)); center.add(hue_clear); // slider button for setting all hue sliders to 1 JButton hue_set = new JButton("One hues"); hue_set.addActionListener(this); hue_set.setActionCommand("hue_set"); center.add(hue_set); // slider button for setting all hue sliders to 0 right.add(display1.getComponent()); right.add(display2.getComponent()); // vmin and vmax labels minmax = new JLabel(" "); left.add(Box.createVerticalStrut(30)); left.add(minmax); // "GO" button for applying computation in sliders JButton compute = new JButton("Compute"); compute.addActionListener(this); compute.setActionCommand("compute"); left.add(Box.createVerticalStrut(10)); left.add(compute); int WIDTH = 1200; int HEIGHT = 1000; Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); frame.setLocation(screenSize.width/2 - WIDTH/2, screenSize.height/2 - HEIGHT/2); frame.setSize(WIDTH, HEIGHT); frame.setVisible(true); doit(); }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/d3560cf43f33592c964cabbb057bed37fea39a07/MultiLUT.java/buggy/loci/MultiLUT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1960, 12, 780, 833, 63, 5717, 540, 1216, 1860, 16, 8077, 1880, 503, 16, 18361, 288, 565, 514, 1577, 273, 1408, 31, 565, 514, 9026, 273, 2332, 18, 588, 1396, 2932, 768, 18, 11287, 8863, 565, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 1377, 1577, 273, 833, 63, 20, 15533, 1377, 309, 16051, 1214, 18, 5839, 1190, 12, 12877, 3719, 1577, 273, 1577, 397, 9026, 31, 565, 289, 565, 15987, 9038, 559, 2461, 273, 446, 31, 565, 8380, 2836, 273, 446, 31, 565, 514, 508, 273, 446, 31, 565, 1000, 444, 273, 446, 31, 565, 15987, 559, 8526, 460, 67, 2352, 273, 394, 15987, 559, 63, 50, 12669, 15533, 565, 924, 273, 394, 1431, 63, 50, 12669, 6362, 15533, 565, 2989, 9203, 4088, 273, 394, 2989, 9203, 2932, 6714, 8863, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 50, 12669, 31, 277, 27245, 288, 1377, 7257, 3193, 273, 261, 9038, 13, 4088, 18, 3190, 12, 1214, 397, 315, 3118, 38, 6, 397, 261, 77, 15, 21, 13, 397, 3552, 20385, 8863, 1377, 2286, 2828, 652, 273, 261, 974, 2828, 13, 3193, 18, 588, 1841, 12, 20, 1769, 1377, 20396, 974, 6875, 273, 261, 16384, 974, 13, 652, 18, 588, 8504, 12, 20, 1769, 1377, 444, 273, 6875, 18, 588, 3748, 694, 5621, 20308, 3163, 18, 659, 18, 8222, 2932, 542, 273, 315, 397, 444, 1769, 542, 273, 13921, 22, 40, 694, 30, 11311, 273, 16977, 1578, 2313, 225, 13037, 404, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1960, 12, 780, 833, 63, 5717, 540, 1216, 1860, 16, 8077, 1880, 503, 16, 18361, 288, 565, 514, 1577, 273, 1408, 31, 565, 514, 9026, 273, 2332, 18, 588, 1396, 2932, 768, 18, 11287, 8863, 565, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 1377, 1577, 273, 833, 63, 20, 15533, 1377, 309, 16051, 1214, 18, 5839, 1190, 12, 12877, 3719, 1577, 273, 1577, 397, 9026, 31, 565, 289, 565, 15987, 9038, 559, 2461, 273, 446, 31, 565, 8380, 2836, 273, 446, 31, 565, 514, 508, 273, 446, 31, 565, 1000, 444, 273, 446, 31, 565, 15987, 559, 8526, 460, 67, 2352, 273, 394, 15987, 559, 63, 50, 12669, 15533, 565, 924, 273, 394, 1431, 2 ]
StringBuffer sb = new StringBuffer();
StringBuffer sb = new StringBuffer();
private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote == '\'') { closeQuote = 0; } break; default : c = closeQuote; closeQuote = '"'; if (!isIdentifierChar(c)) { errorHandler.handleError(IErrors.WARN, support.getPosition(), Messages.getString("deprecated_bare_<<")); //$NON-NLS-1$ break; } while (isIdentifierChar(c)) { tokadd(c); c = nextc(); } pushback(c); break; } // markFilterSource.mark(); // support.readLine(); ISourcePosition startPosition = support.getPosition(); String buffer = support.readLine() + '\n'; String eos = tok(); StringBuffer sb = new StringBuffer(); IListNode list = null; while (true) { // test if the end of file or end of string is reached. String line = support.readLine(); if (line == null) { errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("cannot_found_string_before_eof", eos)); //$NON-NLS-1$ return 0; } else if ((indent && line.trim().startsWith(eos)) || line.startsWith(eos)) { if (line.trim().length() == eos.length()) { // source.addCurrentLine(); break; } } support.unread(line.length() + 1); while (true) { switch (parseString(closeQuote, '\n', '\n')) { case Token.tSTRING : case Token.tXSTRING : yaccValue = (String) yaccValue + '\n'; if (list == null) { sb.append(yaccValue); } else { list.add(new StrNode(support.getPosition(), (String) yaccValue)); } break; case Token.tDSTRING : if (list == null) { list = new DStrNode(support.getPosition()); // FIXME position list.add(new StrNode(support.getPosition(), sb.toString())); } // fall through case Token.tDXSTRING : if (list == null) { list = new DXStrNode(support.getPosition()); // FIXME position list.add(new StrNode(support.getPosition(), sb.toString())); } ListNodeUtil.addAll(list, (IListNode) yaccValue); list.add(new StrNode(support.getPosition(), "\n")); //$NON-NLS-1$ break; case 0 : errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("cannot_found_string_before_eof", eos)); //$NON-NLS-1$ return 0; } if (support.getLastRead() == '\n') { // isEOL()) { // source.addCurrentLine(); break; } } } lexState = LexState.EXPR_END; // parserSupport.setHeredocEnd(ruby.getSourceLine()); // ruby.setSourceLine(linesave); //markFilterSource.reset(); support.setBuffer(buffer, startPosition); switch (closeQuote) { case '\0' : case '\'' : case '"' : if (list != null) { yaccValue = list; return Token.tDSTRING; } else { yaccValue = sb.toString(); return Token.tSTRING; } case '`' : if (list != null) { yaccValue = list; return Token.tDXSTRING; } else { yaccValue = sb.toString(); return Token.tXSTRING; } } return 0; }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/af104711597d4d5b2089320e2517b95b8df14492/RubyYaccLexer.java/buggy/org/jruby/lexer/yacc/RubyYaccLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1109, 26715, 2519, 12, 474, 1746, 10257, 16, 1250, 3504, 13, 288, 202, 202, 474, 276, 31, 202, 202, 45, 1830, 2555, 1754, 273, 2865, 18, 588, 2555, 5621, 202, 202, 759, 509, 2362, 836, 273, 22155, 18, 588, 1830, 1670, 5621, 202, 202, 2704, 17692, 5621, 202, 202, 9610, 261, 4412, 10257, 13, 288, 1082, 202, 3593, 15053, 294, 1082, 202, 3593, 4754, 294, 1082, 202, 3593, 14793, 294, 9506, 202, 17523, 14015, 71, 273, 1024, 71, 10756, 480, 1746, 10257, 13, 288, 6862, 202, 17692, 1289, 12, 71, 1769, 9506, 202, 97, 9506, 202, 430, 261, 4412, 10257, 422, 14118, 6134, 288, 6862, 202, 4412, 10257, 273, 374, 31, 9506, 202, 97, 9506, 202, 8820, 31, 1082, 202, 1886, 294, 9506, 202, 71, 273, 1746, 10257, 31, 9506, 202, 4412, 10257, 273, 4754, 31, 9506, 202, 430, 16051, 291, 3004, 2156, 12, 71, 3719, 288, 6862, 202, 1636, 1503, 18, 4110, 668, 12, 45, 4229, 18, 27999, 16, 2865, 18, 588, 2555, 9334, 4838, 18, 588, 780, 2932, 14089, 67, 70, 834, 67, 17685, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 17523, 261, 291, 3004, 2156, 12, 71, 3719, 288, 6862, 202, 17692, 1289, 12, 71, 1769, 6862, 202, 71, 273, 1024, 71, 5621, 9506, 202, 97, 9506, 202, 6206, 823, 12, 71, 1769, 9506, 202, 8820, 31, 202, 202, 97, 202, 202, 759, 2267, 1586, 1830, 18, 3355, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1109, 26715, 2519, 12, 474, 1746, 10257, 16, 1250, 3504, 13, 288, 202, 202, 474, 276, 31, 202, 202, 45, 1830, 2555, 1754, 273, 2865, 18, 588, 2555, 5621, 202, 202, 759, 509, 2362, 836, 273, 22155, 18, 588, 1830, 1670, 5621, 202, 202, 2704, 17692, 5621, 202, 202, 9610, 261, 4412, 10257, 13, 288, 1082, 202, 3593, 15053, 294, 1082, 202, 3593, 4754, 294, 1082, 202, 3593, 14793, 294, 9506, 202, 17523, 14015, 71, 273, 1024, 71, 10756, 480, 1746, 10257, 13, 288, 6862, 202, 17692, 1289, 12, 71, 1769, 9506, 202, 97, 9506, 202, 430, 261, 4412, 10257, 422, 14118, 6134, 288, 6862, 202, 4412, 10257, 273, 374, 31, 9506, 202, 97, 9506, 2 ]
return false; }
return false; }
public boolean isFalse() { return false; }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/addcb75d5d86d9b1fd628d84d22b74cfc41f078e/RubyObject.java/clean/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 8381, 1435, 288, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 8381, 1435, 288, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): exception occured while pupulating context /users/"+userId+"/layouts/"+layoutId+" "+e.getMessage());
LogService.log(LogService.ERROR, "JNDIManager.initializeSessionContext(): exception occured while pupulating context /users/"+userId+"/layouts/"+layoutId+" "+e.getMessage());
public static void initializeSessionContext (HttpSession session, String userId,String layoutId, Document userLayout) throws PortalException { Context topContext=null; // get initial context try { topContext=(Context)getContext(); } catch (NamingException ne) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): Unable to obtain initial context - " + ne.getMessage()); return; } // bind userId to /sessions context try { Context tsessionContext=(Context)topContext.lookup("/sessions"); tsessionContext.bind(session.getId(),userId); } catch (NamingException ne) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): Unable to obtain /sessions context - " + ne.getMessage()); } // bind listener session.setAttribute("JNDISessionListener", new JNDISessionListener()); // Get the ID of the session String sessionId = session.getId(); Context usersContext = null; try { // get /users context usersContext = (Context)topContext.lookup("/users"); } catch (NamingException ne) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): Could not find /users context - " + ne.getMessage()); throw new PortalException("JNDIManager.initializeSessionContext(): Could not find /users context",ne); } // get or create /users/[userId] context Context userIdContext=null; Context sessionsContext=null; Context layoutsContext=null; try { userIdContext=(Context)usersContext.lookup(userId); // lookup layouts and sessions contexts try { layoutsContext=(Context)userIdContext.lookup("layouts"); } catch (NamingException ne) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): /users/"+userId+"/layouts - did not exist, even though /users/"+userId+" context did!"); layoutsContext=userIdContext.createSubcontext("layouts"); } try { sessionsContext=(Context)userIdContext.lookup("sessions"); } catch (NamingException ne) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): context /users/"+userId+"/sessions - did not exist, even though /users/"+userId+" context did!"); sessionsContext=userIdContext.createSubcontext("sessions"); } } catch (NamingException ne) { // new user try { userIdContext=usersContext.createSubcontext(userId); // create layouts and sessions context layoutsContext=userIdContext.createSubcontext("layouts"); sessionsContext=userIdContext.createSubcontext("sessions"); LogService.instance().log(LogService.DEBUG, "JNDIManager.initializeSessionContext(): initialized context for a userId=\""+userId+"\"."); } catch (NamingException ne2) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): exception encountered while trying to create /users/"+userId+" and layouts/sessions contexts ! "+ne2.getMessage()); throw new PortalException("JNDIManager.initializeSessionContext(): exception encountered while trying to create /users/"+userId+" and layouts/sessions contexts !",ne2); } } // bind sessions/[sessionId] context Context sessionIdContext=null; try { sessionIdContext=sessionsContext.createSubcontext(sessionId); } catch (NameAlreadyBoundException nabe) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): trying to initialize session twice. sessionId=\""+sessionId+"\""); // sessionIdContext=(Context)sessionsContext.lookup(sessionId); throw new PortalException("JNDIManager.initializeSessionContext(): trying to initialize session twice. sessionId=\""+sessionId+"\"",nabe); } catch (Exception e) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): error encountered while trying to create context /users/"+userId+"/sessions/"+sessionId+" "+e.getMessage()); throw new PortalException("JNDIManager.initializeSessionContext(): error encountered while trying to create context /users/"+userId+"/sessions/"+sessionId,e); } // bind layoutId try { sessionIdContext.bind("layoutId",layoutId); } catch (Exception e) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): error encountered while trying to bind /users/"+userId+"/sessions/"+sessionId+"/layoutId "+e.getMessage()); throw new PortalException("JNDIManager.initializeSessionContext(): error encountered while trying to bind /users/"+userId+"/sessions/"+sessionId+"/layoutId",e); } // make sure channel-obj context exists try { sessionIdContext.createSubcontext("channel-obj"); } catch (Exception e) {}; try { // check if the layout id binding already exists try { Context layoutIdContext=(Context)layoutsContext.lookup(layoutId); // assume layouts/[layoutId]/ has already been populated // bind layouts/[layoutId]/sessions/[sessionId] try { Context lsessionsContext=(Context)userIdContext.lookup("layouts/"+layoutId+"/sessions"); lsessionsContext.createSubcontext(sessionId); LogService.instance().log(LogService.DEBUG, "JNDIManager.initializeSessionContext(): created /users/"+userId+"/layouts/"+layoutId+"/sessions/"+sessionId); } catch (Exception e) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): exception occured while looking up context /users/"+userId+"/layouts/"+layoutId+"/sessions , although /users/"+userId+"/layouts context already existed ! "+e.getMessage()); throw new PortalException("JNDIManager.initializeSessionContext(): exception occured while looking up context /users/"+userId+"/layouts/"+layoutId+"/sessions , although /users/"+userId+"/layouts context already existed !",e); } } catch (NamingException nne) { // given layout id has not been registered yet Context layoutIdContext=layoutsContext.createSubcontext(layoutId); // bind layouts/[layoutId]/sessions/[sessionId] context Context lsessionsContext=layoutIdContext.createSubcontext("sessions"); lsessionsContext.createSubcontext(sessionId); LogService.instance().log(LogService.DEBUG, "JNDIManager.initializeSessionContext(): created context /users/"+userId+"/layouts/"+layoutId); try { Context channel_idsContext = (Context)layoutIdContext.createSubcontext("channel-ids"); // Get the list of channels in the user's layout NodeList channelNodes = userLayout.getElementsByTagName("channel"); Node fname = null; Node instanceid = null; // Parse through the channels and populate the JNDI for (int i = 0; i < channelNodes.getLength(); i++) { // Attempt to get the fname and instance ID from the channel fname = channelNodes.item(i).getAttributes().getNamedItem("fname"); instanceid = channelNodes.item(i).getAttributes().getNamedItem("ID"); if (fname != null && instanceid != null) { //System.out.println("fname found -> " + fname); // Create a new composite name from the fname CompositeName cname = new CompositeName(fname.getNodeValue()); // Get a list of the name components Enumeration e = cname.getAll(); // Get the root of the context Context nextContext = channel_idsContext; // Add all of the subcontexts in the fname String subContextName = new String(); while (e.hasMoreElements()) { subContextName = (String)e.nextElement(); if (e.hasMoreElements()) { // Bind a new sub context if the current name component is not the leaf nextContext = nextContext.createSubcontext(subContextName); } else { //System.out.println("Binding " + instanceid.getNodeValue() + " to " + nextContext.getNameInNamespace() + "/" + subContextName); LogService.instance().log(LogService.DEBUG, "JNDIManager.initializeSessionContext(): bound "+instanceid.getNodeValue() + " to " + nextContext.getNameInNamespace() + "/" + subContextName); nextContext.rebind(subContextName, instanceid.getNodeValue()); } } } } } catch (NamingException ne) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): exception occured while creating cahnnel-ids context. "+ne.getMessage()); throw new PortalException("JNDIManager.initializeSessionContext(): exception occured while creating cahnnel-ids context.",ne); } } } catch (Exception e) { LogService.instance().log(LogService.ERROR, "JNDIManager.initializeSessionContext(): exception occured while pupulating context /users/"+userId+"/layouts/"+layoutId+" "+e.getMessage()); throw new PortalException("JNDIManager.initializeSessionContext(): exception occured while pupulating context /users/"+userId+"/layouts/"+layoutId,e); } }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/d2bfd7ff21be71ff7bd0b016b9da73ff8f8bad06/JNDIManager.java/buggy/source/org/jasig/portal/jndi/JNDIManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 4046, 2157, 1042, 261, 2940, 2157, 1339, 16, 514, 6249, 16, 780, 3511, 548, 16, 4319, 729, 3744, 13, 1216, 25478, 503, 288, 1377, 1772, 1760, 1042, 33, 2011, 31, 1377, 368, 336, 2172, 819, 1377, 775, 288, 1850, 1760, 1042, 28657, 1042, 13, 29120, 5621, 1377, 289, 1044, 261, 24102, 503, 1073, 13, 288, 1850, 1827, 1179, 18, 1336, 7675, 1330, 12, 1343, 1179, 18, 3589, 16, 315, 46, 24513, 1318, 18, 11160, 2157, 1042, 13332, 18640, 358, 7161, 2172, 819, 300, 315, 397, 1073, 18, 24906, 10663, 1850, 327, 31, 1377, 289, 1377, 368, 1993, 6249, 358, 342, 16794, 819, 1377, 775, 288, 1850, 1772, 268, 3184, 1042, 28657, 1042, 13, 3669, 1042, 18, 8664, 2932, 19, 16794, 8863, 1850, 268, 3184, 1042, 18, 4376, 12, 3184, 18, 26321, 9334, 18991, 1769, 1377, 289, 1044, 261, 24102, 503, 1073, 13, 288, 1850, 1827, 1179, 18, 1336, 7675, 1330, 12, 1343, 1179, 18, 3589, 16, 315, 46, 24513, 1318, 18, 11160, 2157, 1042, 13332, 18640, 358, 7161, 342, 16794, 819, 300, 315, 397, 1073, 18, 24906, 10663, 1377, 289, 1377, 368, 1993, 2991, 1377, 1339, 18, 542, 1499, 2932, 46, 24513, 2157, 2223, 3113, 394, 804, 24513, 2157, 2223, 10663, 1377, 368, 968, 326, 1599, 434, 326, 1339, 1377, 514, 10338, 273, 1339, 18, 26321, 5621, 1377, 1772, 3677, 1042, 273, 446, 31, 1377, 775, 288, 1850, 368, 336, 342, 5577, 819, 1850, 3677, 1042, 273, 261, 1042, 13, 3669, 1042, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 4046, 2157, 1042, 261, 2940, 2157, 1339, 16, 514, 6249, 16, 780, 3511, 548, 16, 4319, 729, 3744, 13, 1216, 25478, 503, 288, 1377, 1772, 1760, 1042, 33, 2011, 31, 1377, 368, 336, 2172, 819, 1377, 775, 288, 1850, 1760, 1042, 28657, 1042, 13, 29120, 5621, 1377, 289, 1044, 261, 24102, 503, 1073, 13, 288, 1850, 1827, 1179, 18, 1336, 7675, 1330, 12, 1343, 1179, 18, 3589, 16, 315, 46, 24513, 1318, 18, 11160, 2157, 1042, 13332, 18640, 358, 7161, 2172, 819, 300, 315, 397, 1073, 18, 24906, 10663, 1850, 327, 31, 1377, 289, 1377, 368, 1993, 6249, 358, 342, 16794, 819, 1377, 775, 288, 1850, 1772, 268, 3184, 1042, 28657, 1042, 13, 3669, 1042, 2 ]
if (key.startsWith(this.PROV_PREFIX)) { String name = key.substring(this.PROV_PREFIX.length());
if (key.startsWith(GenericJtapiPeer.PROV_PREFIX)) { String name = key.substring(GenericJtapiPeer.PROV_PREFIX.length());
private void loadResources() { // If this fails, the Properties object will be left null, which will signal getProvider() to throw // an exception. Properties props = new Properties(); try { props.load(this.getClass().getResourceAsStream(this.RESOURCE_NAME)); this.setProperties(props); } catch (IOException ioe) { // don't set properties then... return; } // now look for providers and move them to the providers dictionary Hashtable provs = this.getProviders(); Enumeration e = props.keys(); while (e.hasMoreElements()) { String key = (String)e.nextElement(); if (key.startsWith(this.PROV_PREFIX)) { String name = key.substring(this.PROV_PREFIX.length()); provs.put(name, props.get(key)); } // now see if we should change the MediaService.release() behaviour if (key.equals(this.MEDIA_RELEASE_DISCONNECT)) { String disconnect = (String)props.get(key); if (disconnect != null && disconnect.length() > 0 && Character.toLowerCase(disconnect.charAt(0)) != 't') this.disconnectMediaOnRelease = false; } } }
49033 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49033/a2419166514a65f1013c86ae418fedc0f208d699/GenericJtapiPeer.java/clean/src/src/net/sourceforge/gjtapi/GenericJtapiPeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 1262, 3805, 1435, 288, 202, 759, 971, 333, 6684, 16, 326, 6183, 733, 903, 506, 2002, 446, 16, 1492, 903, 4277, 16137, 1435, 358, 604, 202, 759, 392, 1520, 18, 202, 2297, 3458, 273, 394, 6183, 5621, 202, 698, 288, 202, 202, 9693, 18, 945, 12, 2211, 18, 588, 797, 7675, 588, 1420, 17052, 12, 2211, 18, 11395, 67, 1985, 10019, 202, 202, 2211, 18, 542, 2297, 12, 9693, 1769, 202, 97, 1044, 261, 14106, 10847, 13, 288, 202, 202, 759, 2727, 1404, 444, 1790, 1508, 2777, 202, 202, 2463, 31, 202, 97, 202, 759, 2037, 2324, 364, 9165, 471, 3635, 2182, 358, 326, 9165, 3880, 202, 5582, 14544, 450, 6904, 273, 333, 18, 588, 10672, 5621, 202, 21847, 425, 273, 3458, 18, 2452, 5621, 202, 17523, 261, 73, 18, 5332, 7417, 3471, 10756, 288, 202, 202, 780, 498, 273, 261, 780, 13, 73, 18, 4285, 1046, 5621, 202, 202, 430, 261, 856, 18, 17514, 1190, 12, 2211, 18, 3373, 58, 67, 6307, 3719, 288, 1082, 202, 780, 508, 273, 498, 18, 28023, 12, 2211, 18, 3373, 58, 67, 6307, 18, 2469, 10663, 1082, 202, 685, 6904, 18, 458, 12, 529, 16, 3458, 18, 588, 12, 856, 10019, 202, 202, 97, 1082, 202, 759, 2037, 2621, 309, 732, 1410, 2549, 326, 6128, 1179, 18, 9340, 1435, 14273, 202, 202, 430, 261, 856, 18, 14963, 12, 2211, 18, 26368, 67, 30762, 67, 13498, 11032, 3719, 288, 1082, 202, 780, 9479, 273, 261, 780, 13, 9693, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 1262, 3805, 1435, 288, 202, 759, 971, 333, 6684, 16, 326, 6183, 733, 903, 506, 2002, 446, 16, 1492, 903, 4277, 16137, 1435, 358, 604, 202, 759, 392, 1520, 18, 202, 2297, 3458, 273, 394, 6183, 5621, 202, 698, 288, 202, 202, 9693, 18, 945, 12, 2211, 18, 588, 797, 7675, 588, 1420, 17052, 12, 2211, 18, 11395, 67, 1985, 10019, 202, 202, 2211, 18, 542, 2297, 12, 9693, 1769, 202, 97, 1044, 261, 14106, 10847, 13, 288, 202, 202, 759, 2727, 1404, 444, 1790, 1508, 2777, 202, 202, 2463, 31, 202, 97, 202, 759, 2037, 2324, 364, 9165, 471, 3635, 2182, 358, 326, 9165, 3880, 202, 5582, 14544, 450, 6904, 273, 333, 18, 588, 10672, 5621, 2 ]
outBegIdx.value = startIdx; trailingWMAIdx = startIdx - lookbackTotal; today = trailingWMAIdx; tempReal = inReal[today++]; periodWMASub = tempReal; periodWMASum = tempReal; tempReal = inReal[today++]; periodWMASub += tempReal; periodWMASum += tempReal * 2.0; tempReal = inReal[today++]; periodWMASub += tempReal; periodWMASum += tempReal * 3.0;
double todayValue, smoothPeriod;
public TA_RetCode HT_DCPERIOD(int startIdx, int endIdx, double inReal[], MInteger outBegIdx, MInteger outNbElement, double outReal[]) { int outIdx, i; int lookbackTotal, today; double tempReal, tempReal2; double adjustedPrevPeriod, period; int trailingWMAIdx; double periodWMASum, periodWMASub, trailingWMAValue; double smoothedValue; final double a = 0.0962; final double b = 0.5769; double hilbertTempReal; int hilbertIdx; double[] detrender_Odd = new double[3]; ; double[] detrender_Even = new double[3]; ; double detrender; double prev_detrender_Odd; double prev_detrender_Even; double prev_detrender_input_Odd; double prev_detrender_input_Even; double[] Q1_Odd = new double[3]; ; double[] Q1_Even = new double[3]; ; double Q1; double prev_Q1_Odd; double prev_Q1_Even; double prev_Q1_input_Odd; double prev_Q1_input_Even; double[] jI_Odd = new double[3]; ; double[] jI_Even = new double[3]; ; double jI; double prev_jI_Odd; double prev_jI_Even; double prev_jI_input_Odd; double prev_jI_input_Even; double[] jQ_Odd = new double[3]; ; double[] jQ_Even = new double[3]; ; double jQ; double prev_jQ_Odd; double prev_jQ_Even; double prev_jQ_input_Odd; double prev_jQ_input_Even; double Q2, I2, prevQ2, prevI2, Re, Im; double I1ForOddPrev2, I1ForOddPrev3; double I1ForEvenPrev2, I1ForEvenPrev3; double rad2Deg; double todayValue, smoothPeriod; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; rad2Deg = 180.0 / (4.0 * Math.atan(1)); lookbackTotal = 32 + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_HT_DCPERIOD .ordinal()]); if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } outBegIdx.value = startIdx; trailingWMAIdx = startIdx - lookbackTotal; today = trailingWMAIdx; tempReal = inReal[today++]; periodWMASub = tempReal; periodWMASum = tempReal; tempReal = inReal[today++]; periodWMASub += tempReal; periodWMASum += tempReal * 2.0; tempReal = inReal[today++]; periodWMASub += tempReal; periodWMASum += tempReal * 3.0; trailingWMAValue = 0.0; i = 9; do { tempReal = inReal[today++]; { periodWMASub += tempReal; periodWMASub -= trailingWMAValue; periodWMASum += tempReal * 4.0; trailingWMAValue = inReal[trailingWMAIdx++]; smoothedValue = periodWMASum * 0.1; periodWMASum -= periodWMASub; } ; } while (--i != 0); hilbertIdx = 0; { detrender_Odd[0] = 0.0; detrender_Odd[1] = 0.0; detrender_Odd[2] = 0.0; detrender_Even[0] = 0.0; detrender_Even[1] = 0.0; detrender_Even[2] = 0.0; detrender = 0.0; prev_detrender_Odd = 0.0; prev_detrender_Even = 0.0; prev_detrender_input_Odd = 0.0; prev_detrender_input_Even = 0.0; } ; { Q1_Odd[0] = 0.0; Q1_Odd[1] = 0.0; Q1_Odd[2] = 0.0; Q1_Even[0] = 0.0; Q1_Even[1] = 0.0; Q1_Even[2] = 0.0; Q1 = 0.0; prev_Q1_Odd = 0.0; prev_Q1_Even = 0.0; prev_Q1_input_Odd = 0.0; prev_Q1_input_Even = 0.0; } ; { jI_Odd[0] = 0.0; jI_Odd[1] = 0.0; jI_Odd[2] = 0.0; jI_Even[0] = 0.0; jI_Even[1] = 0.0; jI_Even[2] = 0.0; jI = 0.0; prev_jI_Odd = 0.0; prev_jI_Even = 0.0; prev_jI_input_Odd = 0.0; prev_jI_input_Even = 0.0; } ; { jQ_Odd[0] = 0.0; jQ_Odd[1] = 0.0; jQ_Odd[2] = 0.0; jQ_Even[0] = 0.0; jQ_Even[1] = 0.0; jQ_Even[2] = 0.0; jQ = 0.0; prev_jQ_Odd = 0.0; prev_jQ_Even = 0.0; prev_jQ_input_Odd = 0.0; prev_jQ_input_Even = 0.0; } ; period = 0.0; outIdx = 0; prevI2 = prevQ2 = 0.0; Re = Im = 0.0; I1ForOddPrev3 = I1ForEvenPrev3 = 0.0; I1ForOddPrev2 = I1ForEvenPrev2 = 0.0; smoothPeriod = 0.0; while (today <= endIdx) { adjustedPrevPeriod = (0.075 * period) + 0.54; todayValue = inReal[today]; { periodWMASub += todayValue; periodWMASub -= trailingWMAValue; periodWMASum += todayValue * 4.0; trailingWMAValue = inReal[trailingWMAIdx++]; smoothedValue = periodWMASum * 0.1; periodWMASum -= periodWMASub; } ; if ((today % 2) == 0) { { hilbertTempReal = a * smoothedValue; detrender = -detrender_Even[hilbertIdx]; detrender_Even[hilbertIdx] = hilbertTempReal; detrender += hilbertTempReal; detrender -= prev_detrender_Even; prev_detrender_Even = b * prev_detrender_input_Even; detrender += prev_detrender_Even; prev_detrender_input_Even = smoothedValue; detrender *= adjustedPrevPeriod; } ; { hilbertTempReal = a * detrender; Q1 = -Q1_Even[hilbertIdx]; Q1_Even[hilbertIdx] = hilbertTempReal; Q1 += hilbertTempReal; Q1 -= prev_Q1_Even; prev_Q1_Even = b * prev_Q1_input_Even; Q1 += prev_Q1_Even; prev_Q1_input_Even = detrender; Q1 *= adjustedPrevPeriod; } ; { hilbertTempReal = a * I1ForEvenPrev3; jI = -jI_Even[hilbertIdx]; jI_Even[hilbertIdx] = hilbertTempReal; jI += hilbertTempReal; jI -= prev_jI_Even; prev_jI_Even = b * prev_jI_input_Even; jI += prev_jI_Even; prev_jI_input_Even = I1ForEvenPrev3; jI *= adjustedPrevPeriod; } ; { hilbertTempReal = a * Q1; jQ = -jQ_Even[hilbertIdx]; jQ_Even[hilbertIdx] = hilbertTempReal; jQ += hilbertTempReal; jQ -= prev_jQ_Even; prev_jQ_Even = b * prev_jQ_input_Even; jQ += prev_jQ_Even; prev_jQ_input_Even = Q1; jQ *= adjustedPrevPeriod; } ; if (++hilbertIdx == 3) hilbertIdx = 0; Q2 = (0.2 * (Q1 + jI)) + (0.8 * prevQ2); I2 = (0.2 * (I1ForEvenPrev3 - jQ)) + (0.8 * prevI2); I1ForOddPrev3 = I1ForOddPrev2; I1ForOddPrev2 = detrender; } else { { hilbertTempReal = a * smoothedValue; detrender = -detrender_Odd[hilbertIdx]; detrender_Odd[hilbertIdx] = hilbertTempReal; detrender += hilbertTempReal; detrender -= prev_detrender_Odd; prev_detrender_Odd = b * prev_detrender_input_Odd; detrender += prev_detrender_Odd; prev_detrender_input_Odd = smoothedValue; detrender *= adjustedPrevPeriod; } ; { hilbertTempReal = a * detrender; Q1 = -Q1_Odd[hilbertIdx]; Q1_Odd[hilbertIdx] = hilbertTempReal; Q1 += hilbertTempReal; Q1 -= prev_Q1_Odd; prev_Q1_Odd = b * prev_Q1_input_Odd; Q1 += prev_Q1_Odd; prev_Q1_input_Odd = detrender; Q1 *= adjustedPrevPeriod; } ; { hilbertTempReal = a * I1ForOddPrev3; jI = -jI_Odd[hilbertIdx]; jI_Odd[hilbertIdx] = hilbertTempReal; jI += hilbertTempReal; jI -= prev_jI_Odd; prev_jI_Odd = b * prev_jI_input_Odd; jI += prev_jI_Odd; prev_jI_input_Odd = I1ForOddPrev3; jI *= adjustedPrevPeriod; } ; { hilbertTempReal = a * Q1; jQ = -jQ_Odd[hilbertIdx]; jQ_Odd[hilbertIdx] = hilbertTempReal; jQ += hilbertTempReal; jQ -= prev_jQ_Odd; prev_jQ_Odd = b * prev_jQ_input_Odd; jQ += prev_jQ_Odd; prev_jQ_input_Odd = Q1; jQ *= adjustedPrevPeriod; } ; Q2 = (0.2 * (Q1 + jI)) + (0.8 * prevQ2); I2 = (0.2 * (I1ForOddPrev3 - jQ)) + (0.8 * prevI2); I1ForEvenPrev3 = I1ForEvenPrev2; I1ForEvenPrev2 = detrender; } Re = (0.2 * ((I2 * prevI2) + (Q2 * prevQ2))) + (0.8 * Re); Im = (0.2 * ((I2 * prevQ2) - (Q2 * prevI2))) + (0.8 * Im); prevQ2 = Q2; prevI2 = I2; tempReal = period; if ((Im != 0.0) && (Re != 0.0)) period = 360.0 / (Math.atan(Im / Re) * rad2Deg); tempReal2 = 1.5 * tempReal; if (period > tempReal2) period = tempReal2; tempReal2 = 0.67 * tempReal; if (period < tempReal2) period = tempReal2; if (period < 6) period = 6; else if (period > 50) period = 50; period = (0.2 * period) + (0.8 * tempReal); smoothPeriod = (0.33 * period) + (0.67 * smoothPeriod); if (today >= startIdx) { outReal[outIdx++] = smoothPeriod; } today++; } outNbElement.value = outIdx; return TA_RetCode.TA_SUCCESS; }
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 19408, 67, 5528, 28437, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 6955, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 1645, 29205, 63, 5717, 288, 202, 202, 474, 596, 4223, 16, 277, 31, 202, 202, 474, 2324, 823, 5269, 16, 10074, 31, 202, 202, 9056, 31497, 16, 31497, 22, 31, 202, 202, 9056, 13940, 9958, 5027, 16, 3879, 31, 202, 202, 474, 7341, 59, 5535, 4223, 31, 202, 202, 9056, 3879, 25173, 3033, 379, 16, 3879, 59, 5535, 1676, 16, 7341, 59, 5535, 620, 31, 202, 202, 9056, 28443, 620, 31, 202, 202, 6385, 1645, 279, 273, 374, 18, 5908, 8898, 31, 202, 202, 6385, 1645, 324, 273, 374, 18, 25, 6669, 29, 31, 202, 202, 9056, 366, 330, 25925, 7185, 6955, 31, 202, 202, 474, 366, 330, 25925, 4223, 31, 202, 202, 9056, 8526, 3023, 5902, 67, 51, 449, 273, 394, 1645, 63, 23, 15533, 202, 202, 31, 202, 202, 9056, 8526, 3023, 5902, 67, 8321, 273, 394, 1645, 63, 23, 15533, 202, 202, 31, 202, 202, 9056, 3023, 5902, 31, 202, 202, 9056, 2807, 67, 8238, 5902, 67, 51, 449, 31, 202, 202, 9056, 2807, 67, 8238, 5902, 67, 8321, 31, 202, 202, 9056, 2807, 67, 8238, 5902, 67, 2630, 67, 51, 449, 31, 202, 202, 9056, 2807, 67, 8238, 5902, 67, 2630, 67, 8321, 31, 202, 202, 9056, 8526, 2238, 21, 67, 51, 449, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 19408, 67, 5528, 28437, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 6955, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 1645, 29205, 63, 5717, 288, 202, 202, 474, 596, 4223, 16, 277, 31, 202, 202, 474, 2324, 823, 5269, 16, 10074, 31, 202, 202, 9056, 31497, 16, 31497, 22, 31, 202, 202, 9056, 13940, 9958, 5027, 16, 3879, 31, 202, 202, 474, 7341, 59, 5535, 4223, 31, 202, 202, 9056, 3879, 25173, 3033, 379, 16, 3879, 59, 5535, 1676, 16, 7341, 59, 5535, 620, 31, 202, 202, 9056, 28443, 620, 31, 202, 202, 6385, 1645, 279, 273, 374, 18, 5908, 2 ]
throw new UnsupportedOperationException(); }
throw new UnsupportedOperationException(); }
public CompoundDimensionStep getCompoundDimensionStep() throws OLAPException { throw new UnsupportedOperationException(); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/MondrianDimensionStep.java/clean/src/main/mondrian/jolap/MondrianDimensionStep.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 21327, 8611, 4160, 336, 16835, 8611, 4160, 1435, 1216, 531, 48, 2203, 503, 288, 202, 202, 12849, 394, 13172, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 21327, 8611, 4160, 336, 16835, 8611, 4160, 1435, 1216, 531, 48, 2203, 503, 288, 202, 202, 12849, 394, 13172, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
JavaClassAndMethod proto = Hierarchy.findPrototypeMethod(
JavaClassAndMethod proto = Hierarchy.findInvocationLeastUpperBound(
private void analyzeMethod(ClassContext classContext, Method method) throws CFGBuilderException, ClassNotFoundException, DataflowAnalysisException { CFG cfg = classContext.getCFG(method); MethodGen methodGen = classContext.getMethodGen(method); for (Iterator<Location> i = cfg.locationIterator(); i.hasNext();) { Location location = i.next(); Instruction ins = location.getHandle().getInstruction(); if (ins instanceof InvokeInstruction) { if (TARGET_METHOD != null && !((InvokeInstruction)ins).getMethodName(classContext.getConstantPoolGen()).equals(TARGET_METHOD)) continue; System.out.println("\n*******************************************************\n"); System.out.println("Method invocation: " + location.getHandle()); System.out.println("\tInvoking: " + SignatureConverter.convertMethodSignature((InvokeInstruction)ins,classContext.getConstantPoolGen())); JavaClassAndMethod proto = Hierarchy.findPrototypeMethod( (InvokeInstruction) ins, classContext.getConstantPoolGen()); if (proto == null) { System.out.println("\tUnknown prototype method"); } else { System.out.println("\tPrototype method: class=" + proto.getJavaClass().getClassName() + ", method=" + proto.getMethod()); } Set<XMethod> calledMethodSet = Hierarchy.resolveMethodCallTargets( (InvokeInstruction) ins, classContext.getTypeDataflow(method).getFactAtLocation(location), classContext.getConstantPoolGen() ); System.out.println("\tTarget method set: " + calledMethodSet); } } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/bc8f45974147e95347d8a343fd8dc177582743b9/CheckCalls.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/CheckCalls.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12375, 1305, 12, 797, 1042, 667, 1042, 16, 2985, 707, 13, 1082, 202, 15069, 7577, 1263, 503, 16, 10403, 16, 1910, 2426, 9418, 503, 288, 202, 202, 19727, 2776, 273, 667, 1042, 18, 588, 19727, 12, 2039, 1769, 202, 202, 1305, 7642, 707, 7642, 273, 667, 1042, 18, 588, 1305, 7642, 12, 2039, 1769, 202, 202, 1884, 261, 3198, 32, 2735, 34, 277, 273, 2776, 18, 3562, 3198, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 2735, 2117, 273, 277, 18, 4285, 5621, 1082, 202, 11983, 2763, 273, 2117, 18, 588, 3259, 7675, 588, 11983, 5621, 1082, 202, 430, 261, 2679, 1276, 14373, 11983, 13, 288, 9506, 202, 430, 261, 16374, 67, 5327, 480, 446, 25083, 202, 10, 10, 401, 12443, 10969, 11983, 13, 2679, 2934, 588, 11666, 12, 1106, 1042, 18, 588, 6902, 2864, 7642, 1435, 2934, 14963, 12, 16374, 67, 5327, 3719, 6862, 202, 17143, 31, 6862, 9506, 202, 3163, 18, 659, 18, 8222, 31458, 82, 5021, 2751, 11345, 12174, 82, 8863, 6862, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 1305, 9495, 30, 315, 397, 2117, 18, 588, 3259, 10663, 9506, 202, 3163, 18, 659, 18, 8222, 31458, 88, 11354, 310, 30, 315, 397, 25083, 202, 5374, 5072, 18, 6283, 1305, 5374, 12443, 10969, 11983, 13, 2679, 16, 1106, 1042, 18, 588, 6902, 2864, 7642, 1435, 10019, 6862, 9506, 202, 5852, 797, 1876, 1305, 3760, 273, 670, 6000, 18, 4720, 15846, 1305, 12, 25083, 202, 12, 10969, 11983, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12375, 1305, 12, 797, 1042, 667, 1042, 16, 2985, 707, 13, 1082, 202, 15069, 7577, 1263, 503, 16, 10403, 16, 1910, 2426, 9418, 503, 288, 202, 202, 19727, 2776, 273, 667, 1042, 18, 588, 19727, 12, 2039, 1769, 202, 202, 1305, 7642, 707, 7642, 273, 667, 1042, 18, 588, 1305, 7642, 12, 2039, 1769, 202, 202, 1884, 261, 3198, 32, 2735, 34, 277, 273, 2776, 18, 3562, 3198, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 2735, 2117, 273, 277, 18, 4285, 5621, 1082, 202, 11983, 2763, 273, 2117, 18, 588, 3259, 7675, 588, 11983, 5621, 1082, 202, 430, 261, 2679, 1276, 14373, 11983, 13, 288, 9506, 202, 430, 261, 16374, 67, 5327, 2 ]
testNullPointer("/map[@name='Key5']/strings[5]",
assertNullPointer("/map[@name='Key5']/strings[5]",
public void test_doPredicate_index(){ // Existing dynamic property + existing property + index testValueAndPointer("/map[@name='Key2'][@name='strings'][2]", "String 2", "/map[@name='Key2']/strings[2]", "BbDdBbB"); // existingProperty[@name=collectionProperty][index] testValueAndPointer("/nestedBean[@name='strings'][2]", bean.getNestedBean().getStrings()[1], "/nestedBean/strings[2]", "BbBbB"); // existingProperty[@name=missingProperty][index] testNullPointer("/nestedBean[@name='foo'][3]", "/nestedBean[@name='foo'][3]", "BbBnN"); // existingProperty[@name=collectionProperty][missingIndex] testNullPointer("/nestedBean[@name='strings'][5]", "/nestedBean/strings[5]", "BbBbEN"); // map[@name=collectionProperty][index] testValueAndPointer("/map[@name='Key3'][2]", new Integer(2), "/map[@name='Key3'][2]", "BbDdB"); // map[@name=collectionProperty][missingIndex] testNullPointer("/map[@name='Key3'][5]", "/map[@name='Key3'][5]", "BbDdEN"); // map[@name=collectionProperty][missingIndex]/property testNullPointer("/map[@name='Key3'][5]/foo", "/map[@name='Key3'][5]/foo", "BbDdENnN"); // map[@name=map][@name=collection][index] testValueAndPointer("/map[@name='Key5'][@name='strings'][2]", "String 2", "/map[@name='Key5'][@name='strings'][2]", "BbDdDdB"); // map[@name=map][@name=collection][missingIndex] testNullPointer("/map[@name='Key5'][@name='strings'][5]", "/map[@name='Key5'][@name='strings'][5]", "BbDdDdEN"); // Existing dynamic property + indexing testValueAndPointer("/map[@name='Key3'][2]", new Integer(2), "/map[@name='Key3'][2]", "BbDdB"); // Existing dynamic property + indexing testValueAndPointer("/map[@name='Key3'][1]/name", "some", "/map[@name='Key3'][1]/name", "BbDdBbB"); // map[@name=missingProperty][index] testNullPointer("/map[@name='foo'][3]", "/map[@name='foo'][3]", "BbDdEN"); // collectionProperty[index] testValueAndPointer("/integers[2]", new Integer(2), "/integers[2]", "BbB"); // existingProperty/collectionProperty[index] testValueAndPointer("/nestedBean/strings[2]", bean.getNestedBean().getStrings()[1], "/nestedBean/strings[2]", "BbBbB"); // existingProperty[index]/existingProperty testValueAndPointer("/list[3]/int", new Integer(1), "/list[3]/int", "BbBbB"); // existingProperty[missingIndex] testNullPointer("/list[6]", "/list[6]", "BbEN"); // existingProperty/missingProperty[index] testNullPointer("/nestedBean/foo[3]", "/nestedBean/foo[3]", "BbBnN"); // map[@name=missingProperty][index] testNullPointer("/map/foo[3]", "/map[@name='foo'][3]", "BbDdEN"); // existingProperty/collectionProperty[missingIndex] testNullPointer("/nestedBean/strings[5]", "/nestedBean/strings[5]", "BbBbEN"); // map/collectionProperty[missingIndex]/property testNullPointer("/map/Key3[5]/foo", "/map[@name='Key3'][5]/foo", "BbDdENnN"); // map[@name=map]/collection[index] testValueAndPointer("/map[@name='Key5']/strings[2]", "String 2", "/map[@name='Key5'][@name='strings'][2]", "BbDdDdB"); // map[@name=map]/collection[missingIndex] testNullPointer("/map[@name='Key5']/strings[5]", "/map[@name='Key5'][@name='strings'][5]", "BbDdDdEN"); // scalarPropertyAsCollection[index] testValueAndPointer("/int[1]", new Integer(1), "/int", "BbB"); // scalarPropertyAsCollection[index] testValueAndPointer(".[1]/int", new Integer(1), "/int", "BbB"); }
52531 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52531/430fdd01e75a5e681274aa65adeb2d9826ee45a8/SimplePathInterpreterTest.java/buggy/src/test/org/apache/commons/jxpath/ri/axes/SimplePathInterpreterTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 67, 2896, 8634, 67, 1615, 1435, 95, 3639, 368, 28257, 5976, 1272, 397, 2062, 1272, 397, 770, 3639, 1842, 620, 1876, 4926, 2932, 19, 1458, 14782, 529, 2218, 653, 22, 3546, 14782, 529, 2218, 10219, 3546, 63, 22, 65, 3113, 7734, 315, 780, 576, 3113, 7734, 2206, 1458, 14782, 529, 2218, 653, 22, 3546, 19, 10219, 63, 22, 65, 3113, 7734, 315, 38, 70, 40, 72, 38, 70, 38, 8863, 3639, 368, 2062, 1396, 14782, 529, 33, 5548, 1396, 6362, 1615, 65, 3639, 1842, 620, 1876, 4926, 2932, 19, 12985, 3381, 14782, 529, 2218, 10219, 3546, 63, 22, 65, 3113, 7734, 3931, 18, 588, 8649, 3381, 7675, 588, 7957, 1435, 63, 21, 6487, 7734, 2206, 12985, 3381, 19, 10219, 63, 22, 65, 3113, 7734, 315, 38, 70, 38, 70, 38, 8863, 3639, 368, 2062, 1396, 14782, 529, 33, 7337, 1396, 6362, 1615, 65, 3639, 1842, 2041, 4926, 2932, 19, 12985, 3381, 14782, 529, 2218, 11351, 3546, 63, 23, 65, 3113, 7734, 2206, 12985, 3381, 14782, 529, 2218, 11351, 3546, 63, 23, 65, 3113, 7734, 315, 38, 70, 38, 82, 50, 8863, 3639, 368, 2062, 1396, 14782, 529, 33, 5548, 1396, 6362, 7337, 1016, 65, 3639, 1842, 2041, 4926, 2932, 19, 12985, 3381, 14782, 529, 2218, 10219, 3546, 63, 25, 65, 3113, 7734, 2206, 12985, 3381, 19, 10219, 63, 25, 65, 3113, 7734, 315, 38, 70, 38, 70, 1157, 8863, 3639, 368, 852, 14782, 529, 33, 5548, 1396, 6362, 1615, 65, 3639, 1842, 620, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 67, 2896, 8634, 67, 1615, 1435, 95, 3639, 368, 28257, 5976, 1272, 397, 2062, 1272, 397, 770, 3639, 1842, 620, 1876, 4926, 2932, 19, 1458, 14782, 529, 2218, 653, 22, 3546, 14782, 529, 2218, 10219, 3546, 63, 22, 65, 3113, 7734, 315, 780, 576, 3113, 7734, 2206, 1458, 14782, 529, 2218, 653, 22, 3546, 19, 10219, 63, 22, 65, 3113, 7734, 315, 38, 70, 40, 72, 38, 70, 38, 8863, 3639, 368, 2062, 1396, 14782, 529, 33, 5548, 1396, 6362, 1615, 65, 3639, 1842, 620, 1876, 4926, 2932, 19, 12985, 3381, 14782, 529, 2218, 10219, 3546, 63, 22, 65, 3113, 7734, 3931, 18, 588, 8649, 3381, 7675, 588, 7957, 1435, 63, 21, 6487, 7734, 2206, 2 ]
public void init() throws IOException { apr=new AprImpl(); File f=new File( jkHome ); File aprBase=new File( jkHome, "/WEB-INF/jk2/jni" ); apr.setBaseDir( aprBase.getAbsolutePath() ); apr.loadNative(); apr.initialize(); gPool=apr.poolCreate( 0 ); if( log.isDebugEnabled() ) log.debug( "Create pool " + gPool ); File socketFile=new File( file ); if( socketFile.exists() ) { // The socket file cannot be removed ... if (!socketFile.delete()) throw(new IOException("Cannot remove " + file)); } unixListenSocket=apr.unSocketListen( gPool, file, 10 ); if (unixListenSocket<0) throw(new IOException("Cannot create listening socket")); // Run a thread that will accept connections. tp.start(); AprAcceptor acceptAjp=new AprAcceptor( this ); tp.runIt( acceptAjp); }
10630 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10630/e47db653f172ca87f95ebe47ee063a57731debe3/ChannelUn.java/clean/java/org/apache/jk/common/ChannelUn.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1435, 1216, 1860, 288, 3639, 513, 86, 33, 2704, 432, 683, 2828, 5621, 3639, 1387, 284, 33, 2704, 1387, 12, 525, 79, 8684, 11272, 3639, 1387, 513, 86, 2171, 33, 2704, 1387, 12, 525, 79, 8684, 16, 2206, 14778, 17, 19212, 19, 26921, 22, 19, 78, 15834, 6, 11272, 3639, 513, 86, 18, 542, 2171, 1621, 12, 513, 86, 2171, 18, 588, 10368, 743, 1435, 11272, 3639, 513, 86, 18, 945, 9220, 5621, 3639, 513, 86, 18, 11160, 5621, 3639, 314, 2864, 33, 438, 86, 18, 6011, 1684, 12, 374, 11272, 3639, 309, 12, 613, 18, 291, 2829, 1526, 1435, 262, 613, 18, 4148, 12, 315, 1684, 2845, 315, 397, 314, 2864, 11272, 3639, 1387, 2987, 812, 33, 2704, 1387, 12, 585, 11272, 3639, 309, 12, 2987, 812, 18, 1808, 1435, 262, 288, 5411, 368, 1021, 2987, 585, 2780, 506, 3723, 1372, 5411, 309, 16051, 7814, 812, 18, 3733, 10756, 5375, 604, 12, 2704, 1860, 2932, 4515, 1206, 315, 397, 585, 10019, 3639, 289, 3639, 9753, 14750, 4534, 33, 438, 86, 18, 318, 4534, 14750, 12, 314, 2864, 16, 585, 16, 1728, 11272, 3639, 309, 261, 21136, 14750, 4534, 32, 20, 13, 5411, 604, 12, 2704, 1860, 2932, 4515, 752, 13895, 2987, 7923, 1769, 3639, 368, 1939, 279, 2650, 716, 903, 2791, 5921, 18, 3639, 8071, 18, 1937, 5621, 3639, 432, 683, 5933, 280, 2791, 37, 21797, 33, 2704, 432, 683, 5933, 280, 12, 225, 333, 11272, 3639, 8071, 18, 2681, 7193, 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, 1071, 918, 1208, 1435, 1216, 1860, 288, 3639, 513, 86, 33, 2704, 432, 683, 2828, 5621, 3639, 1387, 284, 33, 2704, 1387, 12, 525, 79, 8684, 11272, 3639, 1387, 513, 86, 2171, 33, 2704, 1387, 12, 525, 79, 8684, 16, 2206, 14778, 17, 19212, 19, 26921, 22, 19, 78, 15834, 6, 11272, 3639, 513, 86, 18, 542, 2171, 1621, 12, 513, 86, 2171, 18, 588, 10368, 743, 1435, 11272, 3639, 513, 86, 18, 945, 9220, 5621, 3639, 513, 86, 18, 11160, 5621, 3639, 314, 2864, 33, 438, 86, 18, 6011, 1684, 12, 374, 11272, 3639, 309, 12, 613, 18, 291, 2829, 1526, 1435, 262, 613, 18, 4148, 12, 315, 1684, 2845, 315, 397, 314, 2864, 11272, 3639, 1387, 2 ]
public JPanel createPanel() { // Create the JPanel JPanel panel = new JPanel(); // Create the file chooser fileChooser = new JFileChooser(); //songFileFilter = new SwingClientSongFileFilter(); //playlistFileFilter = new SwingClientPlaylistFileFilter(); //fileChooser.addChoosableFileFilter(songFileFilter); //fileChooser.addChoosableFileFilter(playlistFileFilter); // Create the action listener SwingClientActionListener actionListener = new SwingClientActionListener(); // Create the menus menuBar = new JMenuBar(); frame.setJMenuBar(menuBar); fileMenu = new JMenu("File"); fileMenu.setMnemonic(KeyEvent.VK_F); fileMenu.getAccessibleContext(). setAccessibleDescription("File Menu"); menuBar.add(fileMenu); preferencesMenuItem = new JMenuItem("Preferences", KeyEvent.VK_P); preferencesMenuItem.getAccessibleContext(). setAccessibleDescription("Program preferences configuration"); preferencesMenuItem.addActionListener(actionListener); fileMenu.add(preferencesMenuItem); exitMenuItem = new JMenuItem("Exit", KeyEvent.VK_X); exitMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F4, ActionEvent.ALT_MASK)); exitMenuItem.getAccessibleContext(). setAccessibleDescription("Exit Program"); exitMenuItem.addActionListener(actionListener); fileMenu.add(exitMenuItem); // Create the artist, album, song and song info labels artistLabel = new JLabel("Artist:"); albumLabel = new JLabel("Album:"); songLabel = new JLabel("Song:"); songInfoLabel = new JLabel(""); // Create the song progress bar songProgressBar = new JProgressBar(); songProgressBar.setString("00:00"); songProgressBar.setStringPainted(true); JLabel initialSongTime = new JLabel("0:00"); currentSongLength = new JLabel("00:00"); // Create all of the buttons JPanel topButtonPanel = new JPanel(); JButton previousSongButton = new JButton("Previous Song"); previousSongButton.addActionListener(actionListener); JButton backButton = new JButton("Rewind"); backButton.addActionListener(actionListener); playPauseButton = new JButton("Play"); playPauseButton.addActionListener(actionListener); JButton stopButton = new JButton("Stop"); stopButton.addActionListener(actionListener); JButton fastForwardButton = new JButton("Fast Forward"); fastForwardButton.addActionListener(actionListener); JButton nextSongButton = new JButton("Next Song"); nextSongButton.addActionListener(actionListener); JPanel bottomButtonPanel = new JPanel(); JButton addSongButton = new JButton("Add Song(s)"); addSongButton.addActionListener(actionListener); JButton deleteSongButton = new JButton("Remove Song(s)"); deleteSongButton.addActionListener(actionListener); JButton loadPlaylistButton = new JButton("Load Playlist"); loadPlaylistButton.addActionListener(actionListener); JButton savePlaylistButton = new JButton("Save Playlist"); savePlaylistButton.addActionListener(actionListener); JButton clearPlaylist = new JButton("Clear Playlist"); clearPlaylist.addActionListener(actionListener); //JButton quitButton = new JButton("Quit"); //quitButton.addActionListener(actionListener); // Create the checkboxes itemListener = new SwingClientItemListener(); shuffleCheckBox = new JCheckBox("Shuffle", shuffleEnabled); shuffleCheckBox.addItemListener(itemListener); loopCheckBox = new JCheckBox("Loop Playlist", loopEnabled); loopCheckBox.addItemListener(itemListener); // Create all of the components of the playlist playlistListModel = new DefaultListModel(); playlistList = new JList(playlistListModel); playlistScrollPane = new JScrollPane(playlistList); // Setup the layout manager //panel.setLayout(new GridLayout(2,0)); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); panel.setLayout(gridbag); // Add the compenents to our panel c.gridx = GridBagConstraints.RELATIVE; c.gridy = 0; c.gridheight = 1; c.gridwidth = GridBagConstraints.REMAINDER; c.fill = GridBagConstraints.HORIZONTAL; gridbag.setConstraints(artistLabel, c); panel.add(artistLabel); c.gridx = GridBagConstraints.RELATIVE; c.gridy = 1; c.gridheight = 1; c.gridwidth = GridBagConstraints.REMAINDER; c.fill = GridBagConstraints.HORIZONTAL; gridbag.setConstraints(albumLabel, c); panel.add(albumLabel); c.gridx = GridBagConstraints.RELATIVE; c.gridy = 2; c.gridheight = 1; c.gridwidth = GridBagConstraints.REMAINDER; c.fill = GridBagConstraints.HORIZONTAL; gridbag.setConstraints(songLabel, c); panel.add(songLabel); c.gridx = GridBagConstraints.RELATIVE; c.gridy = 3; c.gridheight = 1; c.gridwidth = 1; c.fill = GridBagConstraints.NONE; gridbag.setConstraints(initialSongTime, c); panel.add(initialSongTime); c.gridx = GridBagConstraints.RELATIVE; c.gridy = 3; //c.gridheight = 1; c.gridwidth = GridBagConstraints.RELATIVE; c.gridheight = 1; c.gridwidth = 3; c.fill = GridBagConstraints.HORIZONTAL; gridbag.setConstraints(songProgressBar, c); panel.add(songProgressBar); //c.gridx = 4; c.gridy = 3; c.gridx = GridBagConstraints.RELATIVE; c.gridy = 3; c.gridheight = 1; c.gridwidth = 1; c.fill = GridBagConstraints.NONE; gridbag.setConstraints(currentSongLength, c); panel.add(currentSongLength); // Code to put in the top button row not in a panel // See next section //c.gridx = GridBagConstraints.RELATIVE; c.gridy = 4; //c.gridheight = 1; c.gridwidth = 1; //c.fill = GridBagConstraints.NONE; //gridbag.setConstraints(previousSongButton, c); //panel.add(previousSongButton); //gridbag.setConstraints(backButton, c); //panel.add(backButton); //gridbag.setConstraints(playPauseButton, c); //panel.add(playPauseButton); //gridbag.setConstraints(stopButton, c); //panel.add(stopButton); //gridbag.setConstraints(fastForwardButton, c); //panel.add(fastForwardButton); //gridbag.setConstraints(nextSongButton, c); //panel.add(nextSongButton); // Put the top row of button in a seperate panel so that they // can squish together topButtonPanel.add(previousSongButton); topButtonPanel.add(backButton); topButtonPanel.add(playPauseButton); topButtonPanel.add(stopButton); topButtonPanel.add(fastForwardButton); topButtonPanel.add(nextSongButton); c.gridx = GridBagConstraints.RELATIVE; c.gridy = 4; c.gridheight = 1; c.gridwidth = GridBagConstraints.REMAINDER; c.fill = GridBagConstraints.HORIZONTAL; gridbag.setConstraints(topButtonPanel, c); panel.add(topButtonPanel); c.gridx = GridBagConstraints.RELATIVE; c.gridy = 5; c.gridheight = 1; c.gridwidth = 1; c.fill = GridBagConstraints.NONE; gridbag.setConstraints(shuffleCheckBox, c); panel.add(shuffleCheckBox); gridbag.setConstraints(loopCheckBox, c); panel.add(loopCheckBox); c.gridx = GridBagConstraints.RELATIVE; c.gridy = 5; c.gridheight = 1; c.gridwidth = GridBagConstraints.REMAINDER; c.fill = GridBagConstraints.HORIZONTAL; gridbag.setConstraints(songInfoLabel, c); panel.add(songInfoLabel); c.gridx = GridBagConstraints.RELATIVE; c.gridy = 6; c.gridheight = 4; c.gridwidth = GridBagConstraints.REMAINDER; c.fill = GridBagConstraints.BOTH; gridbag.setConstraints(playlistScrollPane, c); panel.add(playlistScrollPane); c.gridx = GridBagConstraints.RELATIVE; c.gridy = 10; c.gridheight = 1; c.gridwidth = 1; c.fill = GridBagConstraints.NONE; gridbag.setConstraints(addSongButton, c); panel.add(addSongButton); gridbag.setConstraints(deleteSongButton, c); panel.add(deleteSongButton); gridbag.setConstraints(loadPlaylistButton, c); panel.add(loadPlaylistButton); gridbag.setConstraints(savePlaylistButton, c); panel.add(savePlaylistButton); gridbag.setConstraints(clearPlaylist, c); panel.add(clearPlaylist); //gridbag.setConstraints(quitButton, c); //panel.add(quitButton); // Experiment in putting the buttom row of buttons in a panel // Totally messed up the layout of the app //bottomButtonPanel.add(addSongButton); //bottomButtonPanel.add(deleteSongButton); //bottomButtonPanel.add(loadPlaylistButton); //bottomButtonPanel.add(savePlaylistButton); //bottomButtonPanel.add(clearPlaylist); //c.gridx = GridBagConstraints.RELATIVE; c.gridy = 10; //c.gridheight = 1; c.gridwidth = GridBagConstraints.REMAINDER; //c.fill = GridBagConstraints.HORIZONTAL; //gridbag.setConstraints(bottomButtonPanel, c); //panel.add(bottomButtonPanel); // Create a timer to update the song info and progress bar // every .5 seconds timer = new javax.swing.Timer(500, new ActionListener() { private int previousPlayState = PS_STOPPED; private String previousSong = ""; public void actionPerformed(ActionEvent e) { // Things that must be updated every time songProgressBar.setValue(playedSeconds); songProgressBar.setString(secToMinSec(playedSeconds)); if (loopEnabled != loopCheckBox.isSelected()) { // Arrgh, setSelected generated an ItemListener event, // which causes us to send the "new" state to the server, // which sends it back, which.... So we disable the // ItemListener while making the System.err.println("loopEnabled: " + loopEnabled + " isSelected: " + loopCheckBox.isSelected()); loopCheckBox.removeItemListener(itemListener); loopCheckBox.setSelected(loopEnabled); loopCheckBox.addItemListener(itemListener); } // Things that only need to be updated if we're playing // a new song or our playState changed. if (playState != previousPlayState || currentSong != previousSong) { songProgressBar.setMaximum(totalSeconds); currentSongLength.setText(secToMinSec(totalSeconds)); artistLabel.setText("Artist: " + currentArtist); albumLabel.setText("Album: " + currentAlbum); songLabel.setText("Song: " + currentSong); songInfoLabel.setText(currentSongInfo); if (playState == PS_PLAYING) { playPauseButton.setText("Pause"); } else if (playState == PS_PAUSED) { playPauseButton.setText("Unpause"); } else { playPauseButton.setText("Play"); } frame.pack(); } previousPlayState = playState; previousSong = currentSong; if (playlistUpdated) { // See the comments above for the reasoning for the // ItemListener twiddling. System.err.println("Playlist updated"); shuffleCheckBox.removeItemListener(itemListener); shuffleCheckBox.setSelected(shuffleEnabled); shuffleCheckBox.addItemListener(itemListener); refreshPlaylistList(); playlistUpdated = false; } } }); timer.start(); return panel; }
4737 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4737/e0528bab34e17ff5747046d7de5a9c2c0eaba25b/SwingClient.java/buggy/netstereo/client/java/SwingClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 24048, 752, 5537, 1435, 202, 95, 202, 202, 759, 1788, 326, 24048, 202, 202, 46, 5537, 6594, 273, 394, 24048, 5621, 202, 202, 759, 1788, 326, 585, 5011, 13164, 202, 202, 768, 17324, 273, 394, 804, 812, 17324, 5621, 202, 202, 759, 816, 75, 29837, 273, 394, 26145, 1227, 55, 932, 29837, 5621, 202, 202, 759, 1601, 1098, 29837, 273, 394, 26145, 1227, 30194, 29837, 5621, 202, 202, 759, 768, 17324, 18, 1289, 9636, 538, 429, 29837, 12, 816, 75, 29837, 1769, 202, 202, 759, 768, 17324, 18, 1289, 9636, 538, 429, 29837, 12, 1601, 1098, 29837, 1769, 9506, 202, 759, 1788, 326, 1301, 2991, 202, 202, 6050, 26477, 1803, 2223, 1301, 2223, 273, 1082, 202, 2704, 26145, 1227, 1803, 2223, 5621, 202, 202, 759, 1788, 326, 21374, 202, 202, 5414, 5190, 273, 394, 804, 4599, 5190, 5621, 202, 202, 3789, 18, 542, 46, 4599, 5190, 12, 5414, 5190, 1769, 202, 202, 768, 4599, 273, 394, 804, 4599, 2932, 812, 8863, 202, 202, 768, 4599, 18, 542, 29668, 20918, 12, 653, 1133, 18, 58, 47, 67, 42, 1769, 202, 202, 768, 4599, 18, 588, 10451, 1042, 7675, 9506, 202, 542, 10451, 3291, 2932, 812, 9809, 8863, 202, 202, 5414, 5190, 18, 1289, 12, 768, 4599, 1769, 202, 202, 23219, 12958, 273, 394, 804, 12958, 2932, 12377, 3113, 23737, 18, 58, 47, 67, 52, 1769, 202, 202, 23219, 12958, 18, 588, 10451, 1042, 7675, 9506, 202, 542, 10451, 3291, 2932, 9459, 12750, 1664, 8863, 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, 24048, 752, 5537, 1435, 202, 95, 202, 202, 759, 1788, 326, 24048, 202, 202, 46, 5537, 6594, 273, 394, 24048, 5621, 202, 202, 759, 1788, 326, 585, 5011, 13164, 202, 202, 768, 17324, 273, 394, 804, 812, 17324, 5621, 202, 202, 759, 816, 75, 29837, 273, 394, 26145, 1227, 55, 932, 29837, 5621, 202, 202, 759, 1601, 1098, 29837, 273, 394, 26145, 1227, 30194, 29837, 5621, 202, 202, 759, 768, 17324, 18, 1289, 9636, 538, 429, 29837, 12, 816, 75, 29837, 1769, 202, 202, 759, 768, 17324, 18, 1289, 9636, 538, 429, 29837, 12, 1601, 1098, 29837, 1769, 9506, 202, 759, 1788, 326, 1301, 2991, 202, 202, 6050, 26477, 1803, 2223, 1301, 2223, 273, 1082, 202, 2 ]
log.debug(" current index " + x + " count " + frames.length + " has focus " + mif.isActive() + " title " + mif.getTitle() + " seq " + seq + " id " + mif.getInternalId());
private MyInternalFrame getNextInternalFrame() { JInternalFrame[] frames = (JInternalFrame[])desktop.getAllFrames(); JInternalFrame miv = desktop.getSelectedFrame(); if (miv == null) return null; int index = desktop.getIndexOf(miv); if (index == -1) return null; MyInternalFrame mix = (MyInternalFrame)frames[index]; int seq = mix.getInternalId(); index = 0; for (int x = 0; x < myFrameList.size(); x++) { MyInternalFrame mif = (MyInternalFrame)myFrameList.get(x);// System.out.println(" current index " + x + " count " + frames.length + " has focus " +// mif.isActive() + " title " + mif.getTitle() + " seq " + seq +// " id " + mif.getInternalId()); if (mix.equals(mif)) { index = x + 1; break; } } if (index > myFrameList.size() - 1) { index = 0; } return (MyInternalFrame)myFrameList.get(index); }
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/41959614f13a424f5e04ebb4ca1b8fee5af0f908/Gui5250MDIFrame.java/buggy/src/org/tn5250j/Gui5250MDIFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 613, 18, 4148, 2932, 783, 770, 315, 397, 619, 397, 315, 1056, 315, 397, 7793, 18, 2469, 397, 315, 711, 7155, 315, 397, 312, 430, 18, 291, 3896, 1435, 397, 315, 2077, 315, 397, 312, 430, 18, 588, 4247, 1435, 397, 315, 3833, 315, 397, 3833, 397, 315, 612, 315, 397, 312, 430, 18, 588, 3061, 548, 10663, 3238, 8005, 3061, 3219, 6927, 3061, 3219, 1435, 288, 1330, 18, 4148, 2932, 783, 770, 315, 397, 619, 397, 315, 1056, 315, 397, 7793, 18, 2469, 397, 315, 711, 7155, 315, 397, 312, 430, 18, 291, 3896, 1435, 397, 315, 2077, 315, 397, 312, 430, 18, 588, 4247, 1435, 397, 315, 3833, 315, 397, 3833, 397, 315, 612, 315, 397, 312, 430, 18, 588, 3061, 548, 10663, 613, 18, 4148, 2932, 783, 770, 315, 397, 619, 397, 315, 1056, 315, 397, 7793, 18, 2469, 397, 315, 711, 7155, 315, 397, 312, 430, 18, 291, 3896, 1435, 397, 315, 2077, 315, 397, 312, 430, 18, 588, 4247, 1435, 397, 315, 3833, 315, 397, 3833, 397, 315, 612, 315, 397, 312, 430, 18, 588, 3061, 548, 10663, 804, 3061, 3219, 8526, 7793, 273, 261, 46, 3061, 3219, 63, 5717, 31949, 18, 588, 1595, 15162, 5621, 1330, 18, 4148, 2932, 783, 770, 315, 397, 619, 397, 315, 1056, 315, 397, 7793, 18, 2469, 397, 315, 711, 7155, 315, 397, 312, 430, 18, 291, 3896, 1435, 397, 315, 2077, 315, 397, 312, 430, 18, 588, 4247, 1435, 397, 315, 3833, 315, 397, 3833, 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, 613, 18, 4148, 2932, 783, 770, 315, 397, 619, 397, 315, 1056, 315, 397, 7793, 18, 2469, 397, 315, 711, 7155, 315, 397, 312, 430, 18, 291, 3896, 1435, 397, 315, 2077, 315, 397, 312, 430, 18, 588, 4247, 1435, 397, 315, 3833, 315, 397, 3833, 397, 315, 612, 315, 397, 312, 430, 18, 588, 3061, 548, 10663, 3238, 8005, 3061, 3219, 6927, 3061, 3219, 1435, 288, 1330, 18, 4148, 2932, 783, 770, 315, 397, 619, 397, 315, 1056, 315, 397, 7793, 18, 2469, 397, 315, 711, 7155, 315, 397, 312, 430, 18, 291, 3896, 1435, 397, 315, 2077, 315, 397, 312, 430, 18, 588, 4247, 1435, 397, 315, 3833, 315, 397, 3833, 397, 315, 612, 315, 397, 312, 2 ]
byte result = backing_buffer [position () + array_offset]; position (position () + 1); return result;
return backing_buffer [(pos++) + array_offset];
public byte get () { checkForUnderflow(); byte result = backing_buffer [position () + array_offset]; position (position () + 1); return result; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/d01e2bb9d44011b9da0858919b89766eb7c60dd1/ByteBufferImpl.java/buggy/java/nio/ByteBufferImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 336, 1832, 225, 288, 565, 13855, 14655, 2426, 5621, 565, 1160, 563, 273, 15394, 67, 4106, 306, 3276, 1832, 397, 526, 67, 3348, 15533, 565, 1754, 261, 3276, 1832, 397, 404, 1769, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 1160, 336, 1832, 225, 288, 565, 13855, 14655, 2426, 5621, 565, 1160, 563, 273, 15394, 67, 4106, 306, 3276, 1832, 397, 526, 67, 3348, 15533, 565, 1754, 261, 3276, 1832, 397, 404, 1769, 565, 327, 563, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{
public boolean references(QName var) { if (select != null && select.references(var)) { return true; } if (withParams != null) { for (Iterator i = withParams.iterator(); i.hasNext(); ) { if (((WithParam) i.next()).references(var)) { return true; } } } if (sortKeys != null) { for (Iterator i = sortKeys.iterator(); i.hasNext(); ) { if (((SortKey) i.next()).references(var)) { return true; } } } return super.references(var); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ApplyTemplatesNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ApplyTemplatesNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 5351, 12, 13688, 569, 13, 377, 309, 261, 4025, 480, 446, 597, 2027, 18, 14353, 12, 1401, 3719, 2398, 327, 638, 31, 1377, 289, 565, 309, 261, 1918, 1370, 480, 446, 13, 2398, 364, 261, 3198, 277, 273, 598, 1370, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 5397, 309, 261, 12443, 1190, 786, 13, 277, 18, 4285, 1435, 2934, 14353, 12, 1401, 3719, 11794, 327, 638, 31, 2868, 289, 1850, 289, 1377, 289, 565, 309, 261, 3804, 2396, 480, 446, 13, 2398, 364, 261, 3198, 277, 273, 1524, 2396, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 5397, 309, 261, 12443, 4416, 653, 13, 277, 18, 4285, 1435, 2934, 14353, 12, 1401, 3719, 11794, 327, 638, 31, 2868, 289, 1850, 289, 1377, 289, 565, 327, 2240, 18, 14353, 12, 1401, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 5351, 12, 13688, 569, 13, 377, 309, 261, 4025, 480, 446, 597, 2027, 18, 14353, 12, 1401, 3719, 2398, 327, 638, 31, 1377, 289, 565, 309, 261, 1918, 1370, 480, 446, 13, 2398, 364, 261, 3198, 277, 273, 598, 1370, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 5397, 309, 261, 12443, 1190, 786, 13, 277, 18, 4285, 1435, 2934, 14353, 12, 1401, 3719, 11794, 327, 638, 31, 2868, 289, 1850, 289, 1377, 289, 565, 309, 261, 3804, 2396, 480, 446, 13, 2398, 364, 261, 3198, 277, 273, 1524, 2396, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 5397, 309, 261, 12443, 4416, 653, 13, 277, 18, 4285, 1435, 2934, 14353, 12, 1401, 3719, 2 ]
if (i > 0)
if (decl != firstDecl())
public void print (OutPort out) { out.startLogicalBlock("(Lambda/", ")", 2); Object sym = getSymbol(); if (sym != null) { out.print(sym); out.print('/'); } out.print(id); out.print('/'); out.print("fl:"); out.print(Integer.toHexString(flags)); out.writeSpaceFill(); printLineColumn(out); out.startLogicalBlock("(", false, ")"); Special prevMode = null; int i = 0; int opt_i = 0; int key_args = keywords == null ? 0 : keywords.length; int opt_args = defaultArgs == null ? 0 : defaultArgs.length - key_args; for (Declaration decl = firstDecl(); decl != null; decl = decl.nextDecl()) { Special mode; if (i < min_args) mode = null; else if (i < min_args + opt_args) mode = Special.optional; else if (max_args < 0 && i == min_args + opt_args) mode = Special.rest; else mode = Special.key; if (i > 0) out.writeSpaceFill(); if (mode != prevMode) { out.print(mode); out.writeSpaceFill(); } Expression defaultArg = null; if (mode == Special.optional || mode == Special.key) defaultArg = defaultArgs[opt_i++]; if (defaultArg != null) out.print('('); decl.printInfo(out); if (defaultArg != null && defaultArg != QuoteExp.falseExp) { out.print(' '); defaultArg.print(out); out.print(')'); } i++; prevMode = mode; } out.endLogicalBlock(")"); out.writeSpaceLinear(); if (body == null) out.print("<null body>"); else body.print(out); out.endLogicalBlock(")"); }
36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/e116a9b9bf02e54ec93acadb320d1bd10e2a131f/LambdaExp.java/clean/gnu/expr/LambdaExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1172, 261, 1182, 2617, 596, 13, 225, 288, 565, 596, 18, 1937, 17955, 1768, 2932, 12, 12025, 19, 3113, 7310, 16, 576, 1769, 565, 1033, 5382, 273, 18712, 5621, 565, 309, 261, 8117, 480, 446, 13, 1377, 288, 202, 659, 18, 1188, 12, 8117, 1769, 202, 659, 18, 1188, 2668, 2473, 1769, 1377, 289, 565, 596, 18, 1188, 12, 350, 1769, 565, 596, 18, 1188, 2668, 2473, 1769, 565, 596, 18, 1188, 2932, 2242, 2773, 1769, 225, 596, 18, 1188, 12, 4522, 18, 869, 14866, 12, 7133, 10019, 565, 596, 18, 2626, 3819, 8026, 5621, 565, 1172, 1670, 1494, 12, 659, 1769, 565, 596, 18, 1937, 17955, 1768, 2932, 2932, 16, 629, 16, 7310, 1769, 565, 13409, 2807, 2309, 273, 446, 31, 565, 509, 277, 273, 374, 31, 565, 509, 2153, 67, 77, 273, 374, 31, 565, 509, 498, 67, 1968, 273, 7093, 422, 446, 692, 374, 294, 7093, 18, 2469, 31, 565, 509, 2153, 67, 1968, 273, 805, 2615, 422, 446, 692, 374, 294, 805, 2615, 18, 2469, 300, 498, 67, 1968, 31, 565, 364, 261, 6094, 3496, 273, 1122, 3456, 5621, 540, 3496, 480, 446, 31, 225, 3496, 273, 3496, 18, 4285, 3456, 10756, 1377, 288, 202, 12193, 1965, 31, 202, 430, 261, 77, 411, 1131, 67, 1968, 13, 202, 225, 1965, 273, 446, 31, 202, 12107, 309, 261, 77, 411, 1131, 67, 1968, 397, 2153, 67, 1968, 13, 202, 225, 1965, 273, 13409, 18, 10444, 31, 202, 12107, 309, 261, 1896, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1172, 261, 1182, 2617, 596, 13, 225, 288, 565, 596, 18, 1937, 17955, 1768, 2932, 12, 12025, 19, 3113, 7310, 16, 576, 1769, 565, 1033, 5382, 273, 18712, 5621, 565, 309, 261, 8117, 480, 446, 13, 1377, 288, 202, 659, 18, 1188, 12, 8117, 1769, 202, 659, 18, 1188, 2668, 2473, 1769, 1377, 289, 565, 596, 18, 1188, 12, 350, 1769, 565, 596, 18, 1188, 2668, 2473, 1769, 565, 596, 18, 1188, 2932, 2242, 2773, 1769, 225, 596, 18, 1188, 12, 4522, 18, 869, 14866, 12, 7133, 10019, 565, 596, 18, 2626, 3819, 8026, 5621, 565, 1172, 1670, 1494, 12, 659, 1769, 565, 596, 18, 1937, 17955, 1768, 2932, 2932, 16, 629, 16, 7310, 1769, 565, 2 ]
int parenIndex = GET_ARG(program, pc); pc += ARG_LEN;
int parenIndex = getIndex(program, pc); pc += INDEX_LEN;
executeREBytecode(REGlobalData gData, char[] chars, int end) { int pc = 0; byte program[] = gData.regexp.program; int op = program[pc++]; int currentContinuation_op; int currentContinuation_pc; boolean result = false; currentContinuation_pc = 0; currentContinuation_op = REOP_END;if (debug) {System.out.println("Input = \"" + new String(chars) + "\", start at " + gData.cp);} for (;;) {if (debug) {System.out.println("Testing at " + gData.cp + ", op = " + op);} switch (op) { case REOP_EMPTY: result = true; break; case REOP_BOL: if (gData.cp != 0) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp - 1])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_EOL: if (gData.cp != end) { if (gData.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(chars[gData.cp])) { result = false; break; } } else { result = false; break; } } result = true; break; case REOP_WBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ !((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_WNONBDRY: result = ((gData.cp == 0 || !isWord(chars[gData.cp - 1])) ^ ((gData.cp < end) && isWord(chars[gData.cp]))); break; case REOP_DOT: result = (gData.cp != end && !isLineTerm(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_DIGIT: result = (gData.cp != end && isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONDIGIT: result = (gData.cp != end && !isDigit(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_SPACE: result = (gData.cp != end && isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONSPACE: result = (gData.cp != end && !isREWhiteSpace(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_ALNUM: result = (gData.cp != end && isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_NONALNUM: result = (gData.cp != end && !isWord(chars[gData.cp])); if (result) { gData.cp++; } break; case REOP_FLAT: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNMatcher(gData, offset, length, chars, end); } break; case REOP_FLATi: { int offset = GET_ARG(program, pc); pc += ARG_LEN; int length = GET_ARG(program, pc); pc += ARG_LEN; result = flatNIMatcher(gData, offset, length, chars, end); } break; case REOP_FLAT1: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_FLAT1i: { char matchCh = (char)(program[pc++] & 0xFF); result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_UCFLAT1: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && chars[gData.cp] == matchCh); if (result) { gData.cp++; } } break; case REOP_UCFLAT1i: { char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; result = (gData.cp != end && upcase(chars[gData.cp]) == upcase(matchCh)); if (result) { gData.cp++; } } break; case REOP_ALT: { int nextpc; byte nextop; pushProgState(gData, 0, 0, null, currentContinuation_pc, currentContinuation_op); nextpc = pc + GET_OFFSET(program, pc); nextop = program[nextpc++]; pushBackTrackState(gData, nextop, nextpc); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_JUMP: { int offset; REProgState state = popProgState(gData); currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; offset = GET_OFFSET(program, pc); pc += offset; op = program[pc++]; } continue; case REOP_LPAREN: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; gData.set_parens(parenIndex, gData.cp, 0); op = program[pc++]; } continue; case REOP_RPAREN: { int cap_index; int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; cap_index = gData.parens_index(parenIndex); gData.set_parens(parenIndex, cap_index, gData.cp - cap_index); if (parenIndex > gData.lastParen) gData.lastParen = parenIndex; op = program[pc++]; } continue; case REOP_BACKREF: { int parenIndex = GET_ARG(program, pc); pc += ARG_LEN; result = backrefMatcher(gData, parenIndex, chars, end); } break; case REOP_CLASS: { int index = GET_ARG(program, pc); pc += ARG_LEN; if (gData.cp != end) { if (classMatcher(gData, gData.regexp.classList[index], chars[gData.cp])) { gData.cp++; result = true; break; } } result = false; } break; case REOP_ASSERT: case REOP_ASSERT_NOT: { byte testOp; pushProgState(gData, 0, 0, gData.backTrackLast, currentContinuation_pc, currentContinuation_op); if (op == REOP_ASSERT) { testOp = REOP_ASSERTTEST; } else { testOp = REOP_ASSERTNOTTEST; } pushBackTrackState(gData, testOp, pc + GET_OFFSET(program, pc)); pc += ARG_LEN; op = program[pc++]; } continue; case REOP_ASSERTTEST: case REOP_ASSERTNOTTEST: { REProgState state = popProgState(gData); gData.cp = state.index; gData.backTrackLast = state.savedBackTrackLast; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; if (result) { if (op == REOP_ASSERTTEST) { result = true; } else { result = false; } } else { if (op == REOP_ASSERTTEST) { // Do nothing } else { result = true; } } } break; case REOP_STAR: case REOP_PLUS: case REOP_OPT: case REOP_QUANT: case REOP_MINIMALSTAR: case REOP_MINIMALPLUS: case REOP_MINIMALOPT: case REOP_MINIMALQUANT: { int min, max; boolean greedy = false; switch (op) { case REOP_STAR: greedy = true; // fallthrough case REOP_MINIMALSTAR: min = 0; max = -1; break; case REOP_PLUS: greedy = true; // fallthrough case REOP_MINIMALPLUS: min = 1; max = -1; break; case REOP_OPT: greedy = true; // fallthrough case REOP_MINIMALOPT: min = 0; max = 1; break; case REOP_QUANT: greedy = true; // fallthrough case REOP_MINIMALQUANT: min = GET_ARG(program, pc); pc += ARG_LEN; max = GET_ARG(program, pc); pc += ARG_LEN; break; default: throw Kit.codeBug(); } pushProgState(gData, min, max, null, currentContinuation_pc, currentContinuation_op); if (greedy) { currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); /* Step over <parencount>, <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { if (min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; /* <parencount> <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); popProgState(gData); pc += 2 * ARG_LEN; // <parencount> & <parenindex> pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } } } continue; case REOP_ENDCHILD: pc = currentContinuation_pc; op = currentContinuation_op; continue; case REOP_REPEAT: { REProgState state = popProgState(gData); if (!result) { // // There's been a failure, see if we have enough // children. // if (state.min == 0) result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(program, pc); break; } else { if (state.min == 0 && gData.cp == state.index) { // matched an empty string, that'll get us nowhere result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } int new_min = state.min, new_max = state.max; if (new_min != 0) new_min--; if (new_max != -1) new_max--; if (new_max == 0) { result = true; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); break; } pushProgState(gData, new_min, new_max, null, state.continuation_pc, state.continuation_op); currentContinuation_op = REOP_REPEAT; currentContinuation_pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc); int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; op = program[pc++]; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } } } continue; case REOP_MINIMALREPEAT: { REProgState state = popProgState(gData); if (!result) { // // Non-greedy failure - try to consume another child. // if (state.max == -1 || state.max > 0) { pushProgState(gData, state.min, state.max, null, state.continuation_pc, state.continuation_op); currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } op = program[pc++]; continue; } else { // Don't need to adjust pc since we're going to pop. currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } } else { if (state.min == 0 && gData.cp == state.index) { // Matched an empty string, that'll get us nowhere. result = false; currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; break; } int new_min = state.min, new_max = state.max; if (new_min != 0) new_min--; if (new_max != -1) new_max--; pushProgState(gData, new_min, new_max, null, state.continuation_pc, state.continuation_op); if (new_min != 0) { currentContinuation_op = REOP_MINIMALREPEAT; currentContinuation_pc = pc; int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; for (int k = 0; k < parenCount; k++) { gData.set_parens(parenIndex + k, -1, 0); } op = program[pc++]; } else { currentContinuation_pc = state.continuation_pc; currentContinuation_op = state.continuation_op; pushBackTrackState(gData, REOP_MINIMALREPEAT, pc); popProgState(gData); pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(program, pc); op = program[pc++]; } continue; } } case REOP_END: return true; default: throw Kit.codeBug(); } /* * If the match failed and there's a backtrack option, take it. * Otherwise this is a complete and utter failure. */ if (!result) { REBackTrackData backTrackData = gData.backTrackLast; if (backTrackData != null) { gData.backTrackLast = backTrackData.previous; gData.lastParen = backTrackData.lastParen; // XXX: If backTrackData will no longer be used, then // there is no need to clone backTrackData.parens if (backTrackData.parens != null) { gData.parens = (long[])backTrackData.parens.clone(); } gData.cp = backTrackData.cp; for (int k = 0; k < backTrackData.precedingStateTop; k++) gData.stateStack[k] = backTrackData.precedingState[k]; gData.stateStackTop = backTrackData.precedingStateTop + 1; gData.stateStack[gData.stateStackTop - 1] = backTrackData.currentState; currentContinuation_op = gData.stateStack[gData.stateStackTop - 1].continuation_op; currentContinuation_pc = gData.stateStack[gData.stateStackTop - 1].continuation_pc; pc = backTrackData.continuation_pc; op = backTrackData.continuation_op; continue; } else return false; } /* * Continue with the expression. If this the end of the child, use * the current continuation. */ op = program[pc++]; if (op == REOP_ENDCHILD) { pc = currentContinuation_pc; op = currentContinuation_op; } } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/21f0e29bbdfc8503803ff1fb05a60d0d11f579d5/NativeRegExp.java/clean/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 1149, 8526, 5230, 16, 509, 679, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 509, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 509, 783, 660, 23946, 67, 556, 31, 3639, 509, 783, 660, 23946, 67, 2436, 31, 3639, 1250, 563, 273, 629, 31, 3639, 783, 660, 23946, 67, 2436, 273, 374, 31, 3639, 783, 660, 23946, 67, 556, 273, 2438, 3665, 67, 4415, 31, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 1210, 273, 11843, 397, 394, 514, 12, 7549, 13, 397, 1548, 3113, 787, 622, 315, 397, 314, 751, 18, 4057, 1769, 97, 3639, 364, 261, 25708, 13, 288, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 22218, 622, 315, 397, 314, 751, 18, 4057, 397, 3104, 1061, 273, 315, 397, 1061, 1769, 97, 5411, 1620, 261, 556, 13, 288, 5411, 648, 2438, 3665, 67, 13625, 30, 7734, 563, 273, 638, 31, 7734, 898, 31, 5411, 648, 2438, 3665, 67, 38, 1741, 30, 7734, 309, 261, 75, 751, 18, 4057, 480, 374, 13, 288, 10792, 309, 261, 75, 751, 18, 5421, 12554, 747, 18701, 14015, 75, 751, 18, 17745, 18, 7133, 473, 6756, 5937, 67, 12845, 30690, 13, 480, 374, 3719, 288, 13491, 309, 16051, 291, 1670, 4065, 12, 7549, 63, 75, 751, 18, 4057, 300, 404, 22643, 288, 18701, 563, 273, 629, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 1149, 8526, 5230, 16, 509, 679, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 509, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 509, 783, 660, 23946, 67, 556, 31, 3639, 509, 783, 660, 23946, 67, 2436, 31, 3639, 1250, 563, 273, 629, 31, 3639, 783, 660, 23946, 67, 2436, 273, 374, 31, 3639, 783, 660, 23946, 67, 556, 273, 2438, 3665, 67, 4415, 31, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 1210, 273, 11843, 397, 394, 514, 12, 7549, 13, 397, 1548, 3113, 787, 622, 315, 397, 314, 2 ]
tnew.first = first; tnew.last = last;
tnew.firstVar = first; tnew.firstLevel = firstLev; tnew.lastVar = last; tnew.lastLevel = lastLev;
BddTree bddtree_addrange_rec(BddTree t, BddTree prev, int first, int last, boolean fixed, int id) { if (first < 0 || last < 0 || last < first) return null; /* Empty tree -> build one */ if (t == null) { t = bddtree_new(id); t.first = first; t.fixed = fixed; t.seq = new int[last - first + 1]; t.last = last; update_seq(t); t.prev = prev; return t; } /* Check for identity */ if (first == t.first && last == t.last) return t; /* Inside this section -> insert in next level */ if (first >= t.first && last <= t.last) { t.nextlevel = bddtree_addrange_rec(t.nextlevel, null, first, last, fixed, id); return t; } /* Before this section -> insert */ if (last < t.first) { BddTree tnew = bddtree_new(id); tnew.first = first; tnew.last = last; tnew.fixed = fixed; tnew.seq = new int[last - first + 1]; update_seq(tnew); tnew.next = t; tnew.prev = t.prev; t.prev = tnew; return tnew; } /* After this this section -> go to next */ if (first > t.last) { t.next = bddtree_addrange_rec(t.next, t, first, last, fixed, id); return t; } /* Covering this section -> insert above this level */ if (first <= t.first) { BddTree tnew; BddTree dis = t; while (true) { /* Partial cover ->error */ if (last >= dis.first && last < dis.last) return null; if (dis.next == null || last < dis.next.first) { tnew = bddtree_new(id); tnew.first = first; tnew.last = last; tnew.fixed = fixed; tnew.seq = new int[last - first + 1]; update_seq(tnew); tnew.nextlevel = t; tnew.next = dis.next; tnew.prev = t.prev; if (dis.next != null) dis.next.prev = tnew; dis.next = null; t.prev = null; return tnew; } dis = dis.next; } } return null; }
5661 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5661/36904e06e435c6de3401e122171d5c52d3013a9e/JFactory.java/buggy/JavaBDD/net/sf/javabdd/JFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 605, 449, 2471, 324, 449, 3413, 67, 1289, 3676, 67, 3927, 12, 27128, 2471, 268, 16, 605, 449, 2471, 2807, 16, 4766, 509, 1122, 16, 509, 1142, 16, 1250, 5499, 16, 509, 612, 13, 565, 288, 3639, 309, 261, 3645, 411, 374, 747, 1142, 411, 374, 747, 1142, 411, 1122, 13, 5411, 327, 446, 31, 3639, 1748, 8953, 2151, 317, 1361, 1245, 1195, 3639, 309, 261, 88, 422, 446, 13, 288, 5411, 268, 273, 324, 449, 3413, 67, 2704, 12, 350, 1769, 5411, 268, 18, 3645, 273, 1122, 31, 5411, 268, 18, 12429, 273, 5499, 31, 5411, 268, 18, 5436, 273, 394, 509, 63, 2722, 300, 1122, 397, 404, 15533, 5411, 268, 18, 2722, 273, 1142, 31, 5411, 1089, 67, 5436, 12, 88, 1769, 5411, 268, 18, 10001, 273, 2807, 31, 5411, 327, 268, 31, 3639, 289, 3639, 1748, 2073, 364, 4215, 1195, 3639, 309, 261, 3645, 422, 268, 18, 3645, 597, 1142, 422, 268, 18, 2722, 13, 5411, 327, 268, 31, 3639, 1748, 657, 5564, 333, 2442, 317, 2243, 316, 1024, 1801, 1195, 3639, 309, 261, 3645, 1545, 268, 18, 3645, 597, 1142, 1648, 268, 18, 2722, 13, 288, 5411, 268, 18, 4285, 2815, 273, 7734, 324, 449, 3413, 67, 1289, 3676, 67, 3927, 12, 88, 18, 4285, 2815, 16, 446, 16, 1122, 16, 1142, 16, 5499, 16, 612, 1769, 5411, 327, 268, 31, 3639, 289, 3639, 1748, 11672, 333, 2442, 317, 2243, 1195, 3639, 309, 261, 2722, 411, 268, 18, 3645, 13, 288, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 605, 449, 2471, 324, 449, 3413, 67, 1289, 3676, 67, 3927, 12, 27128, 2471, 268, 16, 605, 449, 2471, 2807, 16, 4766, 509, 1122, 16, 509, 1142, 16, 1250, 5499, 16, 509, 612, 13, 565, 288, 3639, 309, 261, 3645, 411, 374, 747, 1142, 411, 374, 747, 1142, 411, 1122, 13, 5411, 327, 446, 31, 3639, 1748, 8953, 2151, 317, 1361, 1245, 1195, 3639, 309, 261, 88, 422, 446, 13, 288, 5411, 268, 273, 324, 449, 3413, 67, 2704, 12, 350, 1769, 5411, 268, 18, 3645, 273, 1122, 31, 5411, 268, 18, 12429, 273, 5499, 31, 5411, 268, 18, 5436, 273, 394, 509, 63, 2722, 300, 1122, 397, 404, 15533, 5411, 268, 18, 2722, 273, 1142, 31, 5411, 2 ]
if (_faultData != null) return _faultData; if (parent != null) return parent.getFault(); return null; }
if (_faultData != null) return _faultData; if (parent != null) return parent.getFault(); return null; }
public FaultData getFault() { if (_faultData != null) return _faultData; if (parent != null) return parent.getFault(); return null; }
47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/1183932ca4a81d65d22482f0b44fb17eebce0f37/ScopeFrame.java/clean/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ScopeFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 25609, 751, 2812, 3714, 1435, 288, 565, 309, 261, 67, 643, 751, 480, 446, 13, 1377, 327, 389, 643, 751, 31, 565, 309, 261, 2938, 480, 446, 13, 1377, 327, 982, 18, 588, 7083, 5621, 565, 327, 446, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 25609, 751, 2812, 3714, 1435, 288, 565, 309, 261, 67, 643, 751, 480, 446, 13, 1377, 327, 389, 643, 751, 31, 565, 309, 261, 2938, 480, 446, 13, 1377, 327, 982, 18, 588, 7083, 5621, 565, 327, 446, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (nodeType == ASTNode.QUALIFIED_NAME && name.getLocationInParent() == QualifiedName.NAME_PROPERTY) { node= node.getParent(); nodeType= node.getNodeType(); } if (nodeType != ASTNode.SIMPLE_TYPE && nodeType != ASTNode.QUALIFIED_TYPE && nodeType != ASTNode.TYPE_DECLARATION)
if (nodeType != ASTNode.SIMPLE_TYPE && nodeType != ASTNode.QUALIFIED_TYPE && nodeType != ASTNode.QUALIFIED_NAME && nodeType != ASTNode.TYPE_DECLARATION)
public boolean consumes(SemanticToken token) { // 1: match types SimpleName name= token.getNode(); ASTNode node= name.getParent(); int nodeType= node.getNodeType(); if (nodeType == ASTNode.QUALIFIED_NAME && name.getLocationInParent() == QualifiedName.NAME_PROPERTY) { node= node.getParent(); nodeType= node.getNodeType(); } if (nodeType != ASTNode.SIMPLE_TYPE && nodeType != ASTNode.QUALIFIED_TYPE && nodeType != ASTNode.TYPE_DECLARATION) return false; // 2: match classes IBinding binding= token.getBinding(); return binding instanceof ITypeBinding && ((ITypeBinding) binding).isClass(); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/8a39134cb4d96f4c33f768552c7d303e688902a9/SemanticHighlightings.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 25479, 12, 13185, 9941, 1345, 1147, 13, 288, 1082, 202, 759, 404, 30, 845, 1953, 1082, 202, 5784, 461, 508, 33, 1147, 18, 588, 907, 5621, 1082, 202, 9053, 907, 756, 33, 508, 18, 588, 3054, 5621, 1082, 202, 474, 9507, 33, 756, 18, 588, 15101, 5621, 1082, 202, 430, 261, 2159, 559, 422, 9183, 907, 18, 8729, 13519, 67, 1985, 597, 508, 18, 588, 2735, 382, 3054, 1435, 422, 28696, 18, 1985, 67, 9900, 13, 288, 9506, 202, 2159, 33, 756, 18, 588, 3054, 5621, 9506, 202, 2159, 559, 33, 756, 18, 588, 15101, 5621, 1082, 202, 97, 1082, 202, 430, 261, 2159, 559, 480, 9183, 907, 18, 31669, 900, 67, 2399, 597, 9507, 480, 9183, 907, 18, 8729, 13519, 67, 2399, 597, 9507, 480, 9183, 907, 18, 2399, 67, 23956, 985, 2689, 13, 9506, 202, 2463, 629, 31, 1082, 202, 759, 576, 30, 845, 3318, 1082, 202, 45, 5250, 5085, 33, 1147, 18, 588, 5250, 5621, 1082, 202, 2463, 5085, 1276, 467, 559, 5250, 597, 14015, 45, 559, 5250, 13, 5085, 2934, 291, 797, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 25479, 12, 13185, 9941, 1345, 1147, 13, 288, 1082, 202, 759, 404, 30, 845, 1953, 1082, 202, 5784, 461, 508, 33, 1147, 18, 588, 907, 5621, 1082, 202, 9053, 907, 756, 33, 508, 18, 588, 3054, 5621, 1082, 202, 474, 9507, 33, 756, 18, 588, 15101, 5621, 1082, 202, 430, 261, 2159, 559, 422, 9183, 907, 18, 8729, 13519, 67, 1985, 597, 508, 18, 588, 2735, 382, 3054, 1435, 422, 28696, 18, 1985, 67, 9900, 13, 288, 9506, 202, 2159, 33, 756, 18, 588, 3054, 5621, 9506, 202, 2159, 559, 33, 756, 18, 588, 15101, 5621, 1082, 202, 97, 1082, 202, 430, 261, 2159, 559, 480, 9183, 907, 18, 31669, 900, 67, 2399, 597, 9507, 2 ]
int eventType) throws MigrationException
MigrationException e, int eventType) throws MigrationException
public void notifyListeners(MigrationTask task, MigrationContext context, int eventType) throws MigrationException { notifyListeners(task, context, null, eventType); }
49460 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49460/400b350cb99e01e33844ac2ee7f65987ae2192e8/MigrationBroadcaster.java/buggy/migrate/src/java/com/tacitknowledge/util/migration/MigrationBroadcaster.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5066, 5583, 12, 10224, 2174, 1562, 16, 15309, 1042, 819, 16, 3639, 15309, 503, 425, 16, 509, 11216, 13, 1216, 15309, 503, 565, 288, 3639, 5066, 5583, 12, 4146, 16, 819, 16, 446, 16, 11216, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 5066, 5583, 12, 10224, 2174, 1562, 16, 15309, 1042, 819, 16, 3639, 15309, 503, 425, 16, 509, 11216, 13, 1216, 15309, 503, 565, 288, 3639, 5066, 5583, 12, 4146, 16, 819, 16, 446, 16, 11216, 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 ]
runTests(new TestDescriptor[]{ new TestDescriptor(TEST1, "bad", 1, rule), new TestDescriptor(TEST2, "ok", 0, rule), }); }
runTests(rule); }
public void testAll() { runTests(new TestDescriptor[]{ new TestDescriptor(TEST1, "bad", 1, rule), new TestDescriptor(TEST2, "ok", 0, rule), }); }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/4e45de9075eeb015245ff09f8f8c58cf0f98bbf3/EmptySwitchStmtRuleTest.java/buggy/pmd/regress/test/net/sourceforge/pmd/rules/EmptySwitchStmtRuleTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1595, 1435, 288, 3639, 1086, 14650, 12, 2704, 7766, 3187, 63, 7073, 5411, 394, 7766, 3187, 12, 16961, 21, 16, 315, 8759, 3113, 404, 16, 1720, 3631, 5411, 394, 7766, 3187, 12, 16961, 22, 16, 315, 601, 3113, 374, 16, 1720, 3631, 3639, 15549, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1595, 1435, 288, 3639, 1086, 14650, 12, 2704, 7766, 3187, 63, 7073, 5411, 394, 7766, 3187, 12, 16961, 21, 16, 315, 8759, 3113, 404, 16, 1720, 3631, 5411, 394, 7766, 3187, 12, 16961, 22, 16, 315, 601, 3113, 374, 16, 1720, 3631, 3639, 15549, 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 ]
if (newText.length() == 0) return MarkerMessages.MarkerFilterDialog_emptyMessage; return null; }
if (newText.length() == 0) return MarkerMessages.MarkerFilterDialog_emptyMessage; return null; }
public String isValid(String newText) { if (newText.length() == 0) return MarkerMessages.MarkerFilterDialog_emptyMessage; return null; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c08a91512d1b5534132c133486d2efd84191df7d/DialogMarkerFilter.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 20982, 202, 482, 514, 4908, 12, 780, 394, 1528, 13, 288, 6862, 6862, 202, 430, 261, 2704, 1528, 18, 2469, 1435, 422, 374, 13, 6862, 25083, 202, 2463, 14742, 5058, 18, 7078, 1586, 6353, 67, 5531, 1079, 31, 6862, 6862, 202, 2463, 446, 31, 6862, 9506, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 20982, 202, 482, 514, 4908, 12, 780, 394, 1528, 13, 288, 6862, 6862, 202, 430, 261, 2704, 1528, 18, 2469, 1435, 422, 374, 13, 6862, 25083, 202, 2463, 14742, 5058, 18, 7078, 1586, 6353, 67, 5531, 1079, 31, 6862, 6862, 202, 2463, 446, 31, 6862, 9506, 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 ]
} else if (line.startsWith("Referer: ")) {
} else if (lowercaseLine.startsWith("referer: ")) {
protected void clientConnectionRun(Socket s) { OutputStream out = null; String targetRequest = null; boolean usingWWWProxy = false; String currentProxy = null; long requestId = ++__requestId; try { out = s.getOutputStream(); BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStream(), "ISO-8859-1")); String line, method = null, protocol = null, host = null, destination = null; StringBuffer newRequest = new StringBuffer(); while ((line = br.readLine()) != null) { if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Line=[" + line + "]"); if (line.startsWith("Connection: ") || line.startsWith("Keep-Alive: ") || line.startsWith("Proxy-Connection: ")) continue; if (method == null) { // first line (GET /base64/realaddr) if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Method is null for [" + line + "]"); int pos = line.indexOf(" "); if (pos == -1) break; method = line.substring(0, pos); String request = line.substring(pos + 1); if (request.startsWith("/") && getTunnel().getClientOptions().getProperty("i2ptunnel.noproxy") != null) { request = "http://i2p" + request; } else if (request.startsWith("/eepproxy/")) { // /eepproxy/foo.i2p/bar/baz.html HTTP/1.0 String subRequest = request.substring("/eepproxy/".length()); int protopos = subRequest.indexOf(" "); String uri = subRequest.substring(0, protopos); if (uri.indexOf("/") == -1) { uri = uri + "/"; } // "http://" + "foo.i2p/bar/baz.html" + " HTTP/1.0" request = "http://" + uri + subRequest.substring(protopos); } pos = request.indexOf("//"); if (pos == -1) { method = null; break; } protocol = request.substring(0, pos + 2); request = request.substring(pos + 2); targetRequest = request; pos = request.indexOf("/"); if (pos == -1) { method = null; break; } host = request.substring(0, pos); // Quick hack for foo.bar.i2p if (host.toLowerCase().endsWith(".i2p")) { destination = host; host = getHostName(destination); if ( (host != null) && ("i2p".equals(host)) ) { int pos2; if ((pos2 = request.indexOf("?")) != -1) { // Try to find an address helper in the fragments // and split the request into it's component parts for rebuilding later String fragments = request.substring(pos2 + 1); String uriPath = request.substring(0, pos2); pos2 = fragments.indexOf(" "); String protocolVersion = fragments.substring(pos2 + 1); String urlEncoding = ""; fragments = fragments.substring(0, pos2); fragments = fragments + "&"; String fragment; while(fragments.length() > 0) { pos2 = fragments.indexOf("&"); fragment = fragments.substring(0, pos2); fragments = fragments.substring(pos2 + 1); if (fragment.startsWith("i2paddresshelper")) { pos2 = fragment.indexOf("="); if (pos2 >= 0) { addressHelpers.put(destination,fragment.substring(pos2 + 1)); } } else { // append each fragment unless it's the address helper if ("".equals(urlEncoding)) { urlEncoding = "?" + fragment; } else { urlEncoding = urlEncoding + "&" + fragment; } } } // reconstruct the request minus the i2paddresshelper GET var request = uriPath + urlEncoding + " " + protocolVersion; } String addressHelper = (String) addressHelpers.get(destination); if (addressHelper != null) { destination = addressHelper; host = getHostName(destination); } } line = method + " " + request.substring(pos); } else if (host.indexOf(".") != -1) { // The request must be forwarded to a WWW proxy if (_log.shouldLog(Log.DEBUG)) _log.debug("Before selecting outproxy for " + host); currentProxy = selectProxy(); if (_log.shouldLog(Log.DEBUG)) _log.debug("After selecting outproxy for " + host + ": " + currentProxy); if (currentProxy == null) { if (_log.shouldLog(Log.WARN)) _log.warn(getPrefix(requestId) + "Host wants to be outproxied, but we dont have any!"); l.log("No HTTP outproxy found for the request."); if (out != null) { out.write(ERR_NO_OUTPROXY); out.write("<p /><i>Generated on: ".getBytes()); out.write(new Date().toString().getBytes()); out.write("</i></body></html>\n".getBytes()); out.flush(); } s.close(); return; } destination = currentProxy; usingWWWProxy = true; if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Host doesnt end with .i2p and it contains a period [" + host + "]: wwwProxy!"); } else { request = request.substring(pos + 1); pos = request.indexOf("/"); destination = request.substring(0, pos); line = method + " " + request.substring(pos); } boolean isValid = usingWWWProxy || isSupportedAddress(host, protocol); if (!isValid) { if (_log.shouldLog(Log.INFO)) _log.info(getPrefix(requestId) + "notValid(" + host + ")"); method = null; destination = null; break; } else if (!usingWWWProxy) { if (_log.shouldLog(Log.INFO)) _log.info(getPrefix(requestId) + "host=getHostName(" + destination + ")"); host = getHostName(destination); // hide original host } if (_log.shouldLog(Log.DEBUG)) { _log.debug(getPrefix(requestId) + "METHOD:" + method + ":"); _log.debug(getPrefix(requestId) + "PROTOC:" + protocol + ":"); _log.debug(getPrefix(requestId) + "HOST :" + host + ":"); _log.debug(getPrefix(requestId) + "DEST :" + destination + ":"); } } else { if (line.startsWith("Host: ") && !usingWWWProxy) { line = "Host: " + host; if (_log.shouldLog(Log.INFO)) _log.info(getPrefix(requestId) + "Setting host = " + host); } else if (line.startsWith("User-Agent: ")) { // always stripped, added back at the end line = null; continue; } else if (line.startsWith("Accept")) { // strip the accept-blah headers, as they vary dramatically from // browser to browser line = null; continue; } else if (line.startsWith("Referer: ")) { // Shouldn't we be more specific, like accepting in-site referers ? //line = "Referer: i2p"; line = null; continue; // completely strip the line } else if (line.startsWith("Via: ")) { //line = "Via: i2p"; line = null; continue; // completely strip the line } else if (line.startsWith("From: ")) { //line = "From: i2p"; line = null; continue; // completely strip the line } } if (line.length() == 0) { newRequest.append("User-Agent: MYOB/6.66 (AN/ON)\r\n"); newRequest.append("Connection: close\r\n\r\n"); break; } else { newRequest.append(line).append("\r\n"); // HTTP spec } } if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "NewRequest header: [" + newRequest.toString() + "]"); while (br.ready()) { // empty the buffer (POST requests) int i = br.read(); if (i != -1) { newRequest.append((char) i); } } if (method == null || destination == null) { l.log("No HTTP method found in the request."); if (out != null) { out.write(ERR_REQUEST_DENIED); out.write("<p /><i>Generated on: ".getBytes()); out.write(new Date().toString().getBytes()); out.write("</i></body></html>\n".getBytes()); out.flush(); } s.close(); return; } if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Destination: " + destination); Destination dest = I2PTunnel.destFromName(destination); if (dest == null) { l.log("Could not resolve " + destination + "."); if (_log.shouldLog(Log.WARN)) _log.warn("Unable to resolve " + destination + " (proxy? " + usingWWWProxy + ", request: " + targetRequest); writeErrorMessage(ERR_DESTINATION_UNKNOWN, out, targetRequest, usingWWWProxy, destination); s.close(); return; } String remoteID; Properties opts = new Properties(); opts.setProperty("i2p.streaming.inactivityTimeout", ""+120*1000); // 1 == disconnect. see ConnectionOptions in the new streaming lib, which i // dont want to hard link to here opts.setProperty("i2p.streaming.inactivityTimeoutAction", ""+1); I2PSocket i2ps = createI2PSocket(dest, getDefaultOptions(opts)); byte[] data = newRequest.toString().getBytes("ISO-8859-1"); Runnable onTimeout = new OnTimeout(s, s.getOutputStream(), targetRequest, usingWWWProxy, currentProxy, requestId); I2PTunnelRunner runner = new I2PTunnelHTTPClientRunner(s, i2ps, sockLock, data, mySockets, onTimeout); } catch (SocketException ex) { _log.info(getPrefix(requestId) + "Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId); closeSocket(s); } catch (IOException ex) { _log.info(getPrefix(requestId) + "Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId); closeSocket(s); } catch (I2PException ex) { _log.info("getPrefix(requestId) + Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId); closeSocket(s); } }
27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/89509490c5f04a4c55ccab96b3122e70313633ff/I2PTunnelHTTPClient.java/buggy/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1004, 1952, 1997, 12, 4534, 272, 13, 288, 3639, 8962, 596, 273, 446, 31, 3639, 514, 1018, 691, 273, 446, 31, 3639, 1250, 1450, 19989, 59, 3886, 273, 629, 31, 3639, 514, 783, 3886, 273, 446, 31, 3639, 1525, 14459, 273, 965, 972, 2293, 548, 31, 3639, 775, 288, 5411, 596, 273, 272, 18, 588, 4632, 5621, 5411, 10633, 5186, 273, 394, 10633, 12, 2704, 15322, 12, 87, 18, 588, 4348, 9334, 315, 12609, 17, 17258, 17, 21, 7923, 1769, 5411, 514, 980, 16, 707, 273, 446, 16, 1771, 273, 446, 16, 1479, 273, 446, 16, 2929, 273, 446, 31, 5411, 6674, 7428, 273, 394, 6674, 5621, 5411, 1323, 14015, 1369, 273, 5186, 18, 896, 1670, 10756, 480, 446, 13, 288, 7734, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 10792, 389, 1330, 18, 4148, 12, 588, 2244, 12, 2293, 548, 13, 397, 315, 1670, 33, 9614, 397, 980, 397, 9870, 1769, 27573, 309, 261, 1369, 18, 17514, 1190, 2932, 1952, 30, 9369, 747, 5397, 980, 18, 17514, 1190, 2932, 11523, 17, 10608, 30, 9369, 747, 5397, 980, 18, 17514, 1190, 2932, 3886, 17, 1952, 30, 315, 3719, 10792, 1324, 31, 27573, 309, 261, 2039, 422, 446, 13, 288, 368, 1122, 980, 261, 3264, 342, 1969, 1105, 19, 7688, 4793, 13, 10792, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 13491, 389, 1330, 18, 4148, 12, 588, 2244, 12, 2293, 548, 13, 397, 315, 1305, 353, 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, 1004, 1952, 1997, 12, 4534, 272, 13, 288, 3639, 8962, 596, 273, 446, 31, 3639, 514, 1018, 691, 273, 446, 31, 3639, 1250, 1450, 19989, 59, 3886, 273, 629, 31, 3639, 514, 783, 3886, 273, 446, 31, 3639, 1525, 14459, 273, 965, 972, 2293, 548, 31, 3639, 775, 288, 5411, 596, 273, 272, 18, 588, 4632, 5621, 5411, 10633, 5186, 273, 394, 10633, 12, 2704, 15322, 12, 87, 18, 588, 4348, 9334, 315, 12609, 17, 17258, 17, 21, 7923, 1769, 5411, 514, 980, 16, 707, 273, 446, 16, 1771, 273, 446, 16, 1479, 273, 446, 16, 2929, 273, 446, 31, 5411, 6674, 7428, 273, 394, 6674, 5621, 5411, 1323, 14015, 1369, 273, 5186, 18, 896, 1670, 2 ]
return getProperty( design, prop );
return getLocalProperty( design, prop );
public Object getFactoryProperty( ReportDesign design, ElementPropertyDefn prop ) { return getProperty( design, prop ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/bc8fe39b8347d417c60957ef3aedfd8ff8a333b1/StyleElement.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/StyleElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 19352, 1396, 12, 8706, 15478, 8281, 16, 1082, 202, 1046, 1396, 3262, 82, 2270, 262, 202, 95, 202, 202, 2463, 3911, 12, 8281, 16, 2270, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 19352, 1396, 12, 8706, 15478, 8281, 16, 1082, 202, 1046, 1396, 3262, 82, 2270, 262, 202, 95, 202, 202, 2463, 3911, 12, 8281, 16, 2270, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String target = ScriptRuntime.toString(thisObj);
public static Object jsFunction_split(Context cx, Scriptable thisObj, Object[] args, Function funObj) { String target = ScriptRuntime.toString(thisObj); // create an empty Array to return; Scriptable scope = getTopLevelScope(funObj); Scriptable result = ScriptRuntime.newObject(cx, scope, "Array", null); // return an array consisting of the target if no separator given // don't check against undefined, because we want // 'fooundefinedbar'.split(void 0) to split to ['foo', 'bar'] if (args.length < 1) { result.put(0, result, target); return result; } // Use the second argument as the split limit, if given. boolean limited = (args.length > 1) && (args[1] != Undefined.instance); long limit = 0; // Initialize to avoid warning. if (limited) { /* Clamp limit between 0 and 1 + string length. */ limit = ScriptRuntime.toUint32(args[1]); if (limit > target.length()) limit = 1 + target.length(); } String separator = null; int[] matchlen = { 0 }; Object re = null; RegExpProxy reProxy = cx.getRegExpProxy(); if (reProxy != null && reProxy.isRegExp(args[0])) { re = args[0]; } else { separator = ScriptRuntime.toString(args[0]); matchlen[0] = separator.length(); } // split target with separator or re int[] ip = { 0 }; int match; int len = 0; boolean[] matched = { false }; String[][] parens = { null }; while ((match = find_split(funObj, target, separator, re, ip, matchlen, matched, parens)) >= 0) { if ((limited && len >= limit) || (match > target.length())) break; String substr; if (target.length() == 0) substr = target; else substr = target.substring(ip[0], match); result.put(len, result, substr); len++; /* * Imitate perl's feature of including parenthesized substrings * that matched part of the delimiter in the new array, after the * split substring that was delimited. */ if (re != null && matched[0] == true) { int size = parens[0].length; for (int num = 0; num < size; num++) { if (limited && len >= limit) break; result.put(len, result, parens[0][num]); len++; } matched[0] = false; } ip[0] = match + matchlen[0]; if (cx.getLanguageVersion() < Context.VERSION_1_3 && cx.getLanguageVersion() != Context.VERSION_DEFAULT) { /* * Deviate from ECMA to imitate Perl, which omits a final * split unless a limit argument is given and big enough. */ if (!limited && ip[0] == target.length()) break; } } return result; }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/b631b3e8574543a4d24a0048cc710f305deb8ff5/NativeString.java/buggy/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 2083, 67, 4939, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 1850, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 2868, 368, 752, 392, 1008, 1510, 358, 327, 31, 3639, 22780, 2146, 273, 13729, 2355, 3876, 12, 12125, 2675, 1769, 3639, 22780, 563, 273, 7739, 5576, 18, 2704, 921, 12, 71, 92, 16, 2146, 16, 315, 1076, 3113, 446, 1769, 3639, 368, 327, 392, 526, 23570, 434, 326, 1018, 309, 1158, 4182, 864, 3639, 368, 2727, 1404, 866, 5314, 3109, 16, 2724, 732, 2545, 3639, 368, 296, 617, 465, 2178, 3215, 10332, 4939, 12, 6459, 374, 13, 358, 1416, 358, 10228, 11351, 2187, 296, 3215, 3546, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 563, 18, 458, 12, 20, 16, 563, 16, 1018, 1769, 5411, 327, 563, 31, 3639, 289, 3639, 368, 2672, 326, 2205, 1237, 487, 326, 1416, 1800, 16, 309, 864, 18, 3639, 1250, 13594, 273, 261, 1968, 18, 2469, 405, 404, 13, 597, 261, 1968, 63, 21, 65, 480, 22243, 18, 1336, 1769, 3639, 1525, 1800, 273, 374, 31, 225, 368, 9190, 358, 4543, 3436, 18, 3639, 309, 261, 21325, 13, 288, 5411, 1748, 3905, 931, 1800, 3086, 374, 471, 404, 397, 533, 769, 18, 1195, 5411, 1800, 273, 7739, 5576, 18, 869, 5487, 1578, 12, 1968, 63, 21, 19226, 5411, 309, 261, 3595, 405, 1018, 18, 2469, 10756, 7734, 1800, 273, 404, 397, 1018, 18, 2469, 5621, 3639, 289, 3639, 514, 4182, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 2083, 67, 4939, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 1850, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 2868, 368, 752, 392, 1008, 1510, 358, 327, 31, 3639, 22780, 2146, 273, 13729, 2355, 3876, 12, 12125, 2675, 1769, 3639, 22780, 563, 273, 7739, 5576, 18, 2704, 921, 12, 71, 92, 16, 2146, 16, 315, 1076, 3113, 446, 1769, 3639, 368, 327, 392, 526, 23570, 434, 326, 1018, 309, 1158, 4182, 864, 3639, 368, 2727, 1404, 866, 5314, 3109, 16, 2724, 732, 2545, 3639, 368, 296, 617, 465, 2178, 3215, 10332, 4939, 12, 6459, 374, 13, 358, 1416, 358, 10228, 11351, 2187, 296, 3215, 3546, 3639, 309, 261, 1968, 18, 2469, 2 ]
try { startPos = buffer.createPosition(start); endPos = buffer.createPosition(end); } catch(BadLocationException bl) { Log.log(Log.ERROR,this,bl); }
startPos = buffer.createPosition(start); endPos = buffer.createPosition(end);
public void bufferOpened(Buffer buffer) { this.buffer = buffer; Element map = buffer.getDefaultRootElement(); Element elem = map.getElement(line); if(elem == null) elem = map.getElement(map.getElementCount()-1); try { startPos = buffer.createPosition(start); endPos = buffer.createPosition(end); } catch(BadLocationException bl) { Log.log(Log.ERROR,this,bl); } }
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/8d7069fe9a3aa5a198b54f0e3d34ddf054709cc4/HyperSearchResult.java/clean/org/gjt/sp/jedit/search/HyperSearchResult.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1613, 23115, 12, 1892, 1613, 13, 202, 95, 202, 202, 2211, 18, 4106, 273, 1613, 31, 202, 202, 1046, 852, 273, 1613, 18, 588, 1868, 2375, 1046, 5621, 202, 202, 1046, 3659, 273, 852, 18, 21336, 12, 1369, 1769, 202, 202, 430, 12, 10037, 422, 446, 13, 1082, 202, 10037, 273, 852, 18, 21336, 12, 1458, 18, 21336, 1380, 1435, 17, 21, 1769, 202, 202, 698, 202, 202, 95, 1082, 202, 1937, 1616, 273, 1613, 18, 2640, 2555, 12, 1937, 1769, 1082, 202, 409, 1616, 273, 1613, 18, 2640, 2555, 12, 409, 1769, 202, 202, 97, 202, 202, 14683, 12, 6434, 2735, 503, 2811, 13, 202, 202, 95, 1082, 202, 1343, 18, 1330, 12, 1343, 18, 3589, 16, 2211, 16, 3083, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1613, 23115, 12, 1892, 1613, 13, 202, 95, 202, 202, 2211, 18, 4106, 273, 1613, 31, 202, 202, 1046, 852, 273, 1613, 18, 588, 1868, 2375, 1046, 5621, 202, 202, 1046, 3659, 273, 852, 18, 21336, 12, 1369, 1769, 202, 202, 430, 12, 10037, 422, 446, 13, 1082, 202, 10037, 273, 852, 18, 21336, 12, 1458, 18, 21336, 1380, 1435, 17, 21, 1769, 202, 202, 698, 202, 202, 95, 1082, 202, 1937, 1616, 273, 1613, 18, 2640, 2555, 12, 1937, 1769, 1082, 202, 409, 1616, 273, 1613, 18, 2640, 2555, 12, 409, 1769, 202, 202, 97, 202, 202, 14683, 12, 6434, 2735, 503, 2811, 13, 202, 202, 95, 1082, 202, 1343, 18, 1330, 12, 1343, 2 ]
patternIsRelative = true; this.pattern = new File(cwd, pattern);
this.patternIsRelative = true; this.pattern = canonicalize(new File(cwd, pattern).getAbsolutePath());
public Glob(String pattern) { // FIXME: don't use user.dir for cwd String cwd = System.getProperty("user.dir"); // Java File will strip trailing path delimeter. // Make a boolean for this special case (how about multiple slashes?) if (pattern.endsWith("/")) { patternEndsWithPathDelimeter = true; } this.pattern = new File(pattern); //.getAbsoluteFile(); if (!this.pattern.getPath().equals(this.pattern.getAbsolutePath())) { // pattern is relative, but we need to consider cwd; add cwd but remember it's relative so we chop it off later patternIsRelative = true; this.pattern = new File(cwd, pattern); } }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18901, 12, 780, 1936, 13, 288, 377, 202, 759, 9852, 30, 2727, 1404, 999, 729, 18, 1214, 364, 7239, 377, 202, 780, 7239, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 377, 202, 3639, 368, 5110, 1387, 903, 2569, 7341, 589, 10508, 847, 18, 3639, 368, 4344, 279, 1250, 364, 333, 4582, 648, 261, 13606, 2973, 3229, 19034, 8535, 3639, 309, 261, 4951, 18, 5839, 1190, 2932, 4898, 3719, 288, 5411, 1936, 24980, 1190, 743, 21445, 847, 273, 638, 31, 3639, 289, 7734, 202, 2211, 18, 4951, 273, 394, 1387, 12, 4951, 1769, 368, 18, 588, 10368, 812, 5621, 3639, 202, 3639, 202, 430, 16051, 2211, 18, 4951, 18, 588, 743, 7675, 14963, 12, 2211, 18, 4951, 18, 588, 10368, 743, 1435, 3719, 288, 3639, 202, 202, 759, 1936, 353, 3632, 16, 1496, 732, 1608, 358, 5260, 7239, 31, 527, 7239, 1496, 11586, 518, 1807, 3632, 1427, 732, 31258, 518, 3397, 5137, 3639, 202, 202, 4951, 2520, 8574, 273, 638, 31, 3639, 202, 202, 2211, 18, 4951, 273, 394, 1387, 12, 11089, 16, 1936, 1769, 3639, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18901, 12, 780, 1936, 13, 288, 377, 202, 759, 9852, 30, 2727, 1404, 999, 729, 18, 1214, 364, 7239, 377, 202, 780, 7239, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 377, 202, 3639, 368, 5110, 1387, 903, 2569, 7341, 589, 10508, 847, 18, 3639, 368, 4344, 279, 1250, 364, 333, 4582, 648, 261, 13606, 2973, 3229, 19034, 8535, 3639, 309, 261, 4951, 18, 5839, 1190, 2932, 4898, 3719, 288, 5411, 1936, 24980, 1190, 743, 21445, 847, 273, 638, 31, 3639, 289, 7734, 202, 2211, 18, 4951, 273, 394, 1387, 12, 4951, 1769, 368, 18, 588, 10368, 812, 5621, 3639, 202, 3639, 202, 430, 16051, 2211, 18, 4951, 18, 588, 743, 7675, 14963, 12, 2211, 2 ]
public String getCreateLink(CmsObject cms, String collectorName, String param) throws CmsDataAccessException, CmsException { // if action is not set, use default action if (collectorName == null) { collectorName = COLLECTORS[0]; } switch (COLLECTORS_LIST.indexOf(collectorName)) { case 0: // "singleFile" return null; case 1: // "allInFolder" case 2: // "allInFolderDateReleasedDesc" case 3: // "allInFolderNavPos" return getCreateInFolder(cms, param); case 4: // "allInSubTree" case 5: // "allInSubTreeDateReleasedDesc" case 6: // "allInSubTreeNavPos" return null; default: throw new CmsDataAccessException(Messages.get().container(Messages.ERR_COLLECTOR_NAME_INVALID_1, collectorName)); } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/c7083871cfaaede3aa187a175b34be606d8431f2/CmsDefaultResourceCollector.java/clean/src/org/opencms/file/collectors/CmsDefaultResourceCollector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 25667, 2098, 12, 4747, 921, 6166, 16, 514, 8543, 461, 16, 514, 579, 13, 1216, 2149, 751, 9773, 16, 11228, 288, 3639, 368, 309, 1301, 353, 486, 444, 16, 999, 805, 1301, 3639, 309, 261, 21356, 461, 422, 446, 13, 288, 5411, 8543, 461, 273, 5597, 3918, 14006, 63, 20, 15533, 3639, 289, 3639, 1620, 261, 4935, 3918, 14006, 67, 7085, 18, 31806, 12, 21356, 461, 3719, 288, 5411, 648, 374, 30, 7734, 368, 315, 7526, 812, 6, 7734, 327, 446, 31, 5411, 648, 404, 30, 7734, 368, 315, 454, 382, 3899, 6, 5411, 648, 576, 30, 7734, 368, 315, 454, 382, 3899, 1626, 26363, 4217, 6, 5411, 648, 890, 30, 7734, 368, 315, 454, 382, 3899, 12599, 1616, 6, 7734, 327, 25667, 382, 3899, 12, 6851, 16, 579, 1769, 5411, 648, 1059, 30, 7734, 368, 315, 454, 382, 1676, 2471, 6, 5411, 648, 1381, 30, 7734, 368, 315, 454, 382, 1676, 2471, 1626, 26363, 4217, 6, 5411, 648, 1666, 30, 7734, 368, 315, 454, 382, 1676, 2471, 12599, 1616, 6, 7734, 327, 446, 31, 5411, 805, 30, 7734, 604, 394, 2149, 751, 9773, 12, 5058, 18, 588, 7675, 3782, 12, 5058, 18, 9712, 67, 4935, 3918, 916, 67, 1985, 67, 9347, 67, 21, 16, 8543, 461, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 25667, 2098, 12, 4747, 921, 6166, 16, 514, 8543, 461, 16, 514, 579, 13, 1216, 2149, 751, 9773, 16, 11228, 288, 3639, 368, 309, 1301, 353, 486, 444, 16, 999, 805, 1301, 3639, 309, 261, 21356, 461, 422, 446, 13, 288, 5411, 8543, 461, 273, 5597, 3918, 14006, 63, 20, 15533, 3639, 289, 3639, 1620, 261, 4935, 3918, 14006, 67, 7085, 18, 31806, 12, 21356, 461, 3719, 288, 5411, 648, 374, 30, 7734, 368, 315, 7526, 812, 6, 7734, 327, 446, 31, 5411, 648, 404, 30, 7734, 368, 315, 454, 382, 3899, 6, 5411, 648, 576, 30, 7734, 368, 315, 454, 382, 3899, 1626, 26363, 4217, 6, 5411, 648, 890, 30, 7734, 368, 315, 454, 382, 2 ]
public static final boolean fragmentEquals( char[] fragment, char[] name, int startIndex, boolean isCaseSensitive) {
public static final boolean fragmentEquals(char[] fragment, char[] name, int startIndex, boolean isCaseSensitive) {
public static final boolean fragmentEquals( char[] fragment, char[] name, int startIndex, boolean isCaseSensitive) { int max = fragment.length; if (name.length < max + startIndex) return false; if (isCaseSensitive) { for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (fragment[i] != name[i + startIndex]) return false; return true; } for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (Character.toLowerCase(fragment[i]) != Character.toLowerCase(name[i + startIndex])) return false; return true;}
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e33c1f7b0c1f9dbe66a73370c1b98e653087c2df/CharOperation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/CharOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 727, 1250, 5481, 8867, 12, 202, 3001, 8526, 5481, 16, 202, 3001, 8526, 508, 16, 202, 474, 10588, 16, 202, 6494, 353, 2449, 14220, 13, 288, 202, 474, 943, 273, 5481, 18, 2469, 31, 202, 430, 261, 529, 18, 2469, 411, 943, 397, 10588, 13, 202, 202, 2463, 629, 31, 202, 430, 261, 291, 2449, 14220, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 943, 31, 1082, 202, 413, 77, 1545, 374, 31, 1082, 202, 13, 368, 13041, 326, 1633, 353, 486, 10974, 2353, 326, 508, 1082, 202, 430, 261, 11956, 63, 77, 65, 480, 508, 63, 77, 397, 10588, 5717, 9506, 202, 2463, 629, 31, 202, 202, 2463, 638, 31, 202, 97, 202, 1884, 261, 474, 277, 273, 943, 31, 202, 202, 413, 77, 1545, 374, 31, 202, 202, 13, 368, 13041, 326, 1633, 353, 486, 10974, 2353, 326, 508, 202, 202, 430, 261, 7069, 18, 869, 5630, 12, 11956, 63, 77, 5717, 1082, 202, 5, 33, 6577, 18, 869, 5630, 12, 529, 63, 77, 397, 10588, 22643, 1082, 202, 2463, 629, 31, 202, 2463, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 727, 1250, 5481, 8867, 12, 202, 3001, 8526, 5481, 16, 202, 3001, 8526, 508, 16, 202, 474, 10588, 16, 202, 6494, 353, 2449, 14220, 13, 288, 202, 474, 943, 273, 5481, 18, 2469, 31, 202, 430, 261, 529, 18, 2469, 411, 943, 397, 10588, 13, 202, 202, 2463, 629, 31, 202, 430, 261, 291, 2449, 14220, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 943, 31, 1082, 202, 413, 77, 1545, 374, 31, 1082, 202, 13, 368, 13041, 326, 1633, 353, 486, 10974, 2353, 326, 508, 1082, 202, 430, 261, 11956, 63, 77, 65, 480, 508, 63, 77, 397, 10588, 5717, 9506, 202, 2463, 629, 31, 202, 202, 2463, 638, 31, 202, 97, 202, 1884, 261, 2 ]
running=true;
is_it_running=true;
void start() { if(senderThread == null || !senderThread.isAlive()) { senderThread=new Thread(thread_group, this, "ConnectionTable.Connection.Sender [" + getSockAddress() + "]"); senderThread.setDaemon(true); senderThread.start(); running=true; if(log.isTraceEnabled()) log.trace("ConnectionTable.Connection.Sender thread started"); } }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/b81ff70ca75ceafe0dd7bbdfd3a7abff710c0fea/BasicConnectionTable.java/clean/src/org/jgroups/blocks/BasicConnectionTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5411, 918, 787, 1435, 288, 9079, 309, 12, 15330, 3830, 422, 446, 747, 401, 15330, 3830, 18, 291, 10608, 10756, 288, 10402, 5793, 3830, 33, 2704, 4884, 12, 5930, 67, 1655, 16, 333, 16, 315, 1952, 1388, 18, 1952, 18, 12021, 8247, 397, 1322, 975, 1887, 1435, 397, 9870, 1769, 10402, 5793, 3830, 18, 542, 12858, 12, 3767, 1769, 10402, 5793, 3830, 18, 1937, 5621, 10402, 353, 67, 305, 67, 8704, 33, 3767, 31, 10402, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 15604, 613, 18, 5129, 2932, 1952, 1388, 18, 1952, 18, 12021, 2650, 5746, 8863, 9079, 289, 6647, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5411, 918, 787, 1435, 288, 9079, 309, 12, 15330, 3830, 422, 446, 747, 401, 15330, 3830, 18, 291, 10608, 10756, 288, 10402, 5793, 3830, 33, 2704, 4884, 12, 5930, 67, 1655, 16, 333, 16, 315, 1952, 1388, 18, 1952, 18, 12021, 8247, 397, 1322, 975, 1887, 1435, 397, 9870, 1769, 10402, 5793, 3830, 18, 542, 12858, 12, 3767, 1769, 10402, 5793, 3830, 18, 1937, 5621, 10402, 353, 67, 305, 67, 8704, 33, 3767, 31, 10402, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 15604, 613, 18, 5129, 2932, 1952, 1388, 18, 1952, 18, 12021, 2650, 5746, 8863, 9079, 289, 6647, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void clearAll() {
public void clearAll() {
public void clearAll() { columns = null; }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/92132fec739c920d0176309d2b0dc7e814896cf4/Context.java/buggy/src/main/net/sourceforge/jtds/jdbc/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 29453, 1435, 565, 288, 3639, 2168, 273, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 29453, 1435, 565, 288, 3639, 2168, 273, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Configuration c = (Configuration) getChildItem(System.CONFIGURATION);
Configuration c = (Configuration) getChild(System.CONFIGURATION);
public void deconfigure() throws Exception { Configuration c = (Configuration) getChildItem(System.CONFIGURATION); if (c != null) { c.setChildItem(System.USER_CATEGORY, getChildCategory(System.USER_CATEGORY)); removeChildCategory(System.USER_CATEGORY); c.setChildItem(System.COMMUNICATION_PARTNER_CATEGORY, getChildCategory(System.COMMUNICATION_PARTNER_CATEGORY)); removeChildCategory(System.COMMUNICATION_PARTNER_CATEGORY); c.setChildItem(System.COMMUNICATION_PARTNERS_COUNT_CATEGORY, getChildCategory(System.COMMUNICATION_PARTNERS_COUNT_CATEGORY)); removeChildCategory(System.COMMUNICATION_PARTNERS_COUNT_CATEGORY); c.setChildItem(System.DOMAIN_NAME_CATEGORY, getChildCategory(System.DOMAIN_NAME_CATEGORY)); removeChildCategory(System.DOMAIN_NAME_CATEGORY); c.setChildItem(System.HOST_NAME_CATEGORY, getChildCategory(System.HOST_NAME_CATEGORY)); removeChildCategory(System.HOST_NAME_CATEGORY); c.setChildItem(System.IP4_ADDRESS_CATEGORY, getChildCategory(System.IP4_ADDRESS_CATEGORY)); removeChildCategory(System.IP4_ADDRESS_CATEGORY); c.setChildItem(System.IP6_ADDRESS_CATEGORY, getChildCategory(System.IP6_ADDRESS_CATEGORY)); removeChildCategory(System.IP6_ADDRESS_CATEGORY); c.setChildItem(System.SOCKET_ADDRESS_CATEGORY, getChildCategory(System.SOCKET_ADDRESS_CATEGORY)); removeChildCategory(System.SOCKET_ADDRESS_CATEGORY); c.setChildItem(System.CONTROLLER_CATEGORY, getChildCategory(System.CONTROLLER_CATEGORY)); removeChildCategory(System.CONTROLLER_CATEGORY); } else { java.lang.System.out.println("WARNING: Could not deconfigure system. The configuration is null."); } super.deconfigure(); }
11597 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11597/9ea22ccfd933137bb2df841c826a929612a47b55/System.java/clean/trunk/src/core/cybop/core/system/System.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 443, 14895, 1435, 1216, 1185, 288, 3639, 4659, 276, 273, 261, 1750, 13, 8154, 12, 3163, 18, 21200, 1769, 3639, 309, 261, 71, 480, 446, 13, 288, 5411, 276, 18, 542, 1763, 1180, 12, 3163, 18, 4714, 67, 24847, 16, 8154, 4457, 12, 3163, 18, 4714, 67, 24847, 10019, 5411, 14213, 4457, 12, 3163, 18, 4714, 67, 24847, 1769, 5411, 276, 18, 542, 1763, 1180, 12, 3163, 18, 4208, 49, 2124, 2871, 2689, 67, 15055, 12196, 67, 24847, 16, 8154, 4457, 12, 3163, 18, 4208, 49, 2124, 2871, 2689, 67, 15055, 12196, 67, 24847, 10019, 5411, 14213, 4457, 12, 3163, 18, 4208, 49, 2124, 2871, 2689, 67, 15055, 12196, 67, 24847, 1769, 5411, 276, 18, 542, 1763, 1180, 12, 3163, 18, 4208, 49, 2124, 2871, 2689, 67, 15055, 50, 11367, 67, 7240, 67, 24847, 16, 8154, 4457, 12, 3163, 18, 4208, 49, 2124, 2871, 2689, 67, 15055, 50, 11367, 67, 7240, 67, 24847, 10019, 5411, 14213, 4457, 12, 3163, 18, 4208, 49, 2124, 2871, 2689, 67, 15055, 50, 11367, 67, 7240, 67, 24847, 1769, 5411, 276, 18, 542, 1763, 1180, 12, 3163, 18, 18192, 67, 1985, 67, 24847, 16, 8154, 4457, 12, 3163, 18, 18192, 67, 1985, 67, 24847, 10019, 5411, 14213, 4457, 12, 3163, 18, 18192, 67, 1985, 67, 24847, 1769, 5411, 276, 18, 542, 1763, 1180, 12, 3163, 18, 8908, 67, 1985, 67, 24847, 16, 8154, 4457, 12, 3163, 18, 8908, 67, 1985, 67, 24847, 10019, 5411, 14213, 4457, 12, 3163, 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, 443, 14895, 1435, 1216, 1185, 288, 3639, 4659, 276, 273, 261, 1750, 13, 8154, 12, 3163, 18, 21200, 1769, 3639, 309, 261, 71, 480, 446, 13, 288, 5411, 276, 18, 542, 1763, 1180, 12, 3163, 18, 4714, 67, 24847, 16, 8154, 4457, 12, 3163, 18, 4714, 67, 24847, 10019, 5411, 14213, 4457, 12, 3163, 18, 4714, 67, 24847, 1769, 5411, 276, 18, 542, 1763, 1180, 12, 3163, 18, 4208, 49, 2124, 2871, 2689, 67, 15055, 12196, 67, 24847, 16, 8154, 4457, 12, 3163, 18, 4208, 49, 2124, 2871, 2689, 67, 15055, 12196, 67, 24847, 10019, 5411, 14213, 4457, 12, 3163, 18, 4208, 49, 2124, 2871, 2689, 67, 15055, 12196, 67, 24847, 1769, 5411, 276, 18, 542, 2 ]
this.isDirty = bool;
this.isDirty = bool;
public void markDirty( boolean bool) { this.isDirty = bool; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/1ea2b4515ba6ace2b3e387f7568e91ce84efdcbe/ReportElementEditPart.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/ReportElementEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2267, 10785, 12, 1250, 1426, 13, 202, 95, 202, 202, 2211, 18, 291, 10785, 273, 1426, 31, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2267, 10785, 12, 1250, 1426, 13, 202, 95, 202, 202, 2211, 18, 291, 10785, 273, 1426, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new ArgumentError(type.getRuntime(), "Argument out of range.");
throw type.getRuntime().newArgumentError("Argument out of range.");
private static RubyTime createTime(IRubyObject type, IRubyObject[] args, boolean gmt) { int len = 6; if (args.length == 10) { args = new IRubyObject[] { args[5], args[4], args[3], args[2], args[1], args[0], }; } else { len = type.checkArgumentCount(args, 1, 7); } int year = RubyNumeric.fix2int(args[0]); int month = 0; if (len > 1) { if (!args[1].isNil()) { if (args[1] instanceof RubyString) { month = -1; for (int i = 0; i < 12; i++) { if (months[i].equalsIgnoreCase(args[1].toString())) { month = i; } } if (month == -1) { try { month = Integer.parseInt(args[1].toString()) - 1; } catch (NumberFormatException nfExcptn) { throw new ArgumentError(type.getRuntime(), "Argument out of range."); } } } else { month = RubyNumeric.fix2int(args[1]) - 1; } } if (0 > month || month > 11) { throw new ArgumentError(type.getRuntime(), "Argument out of range."); } } int[] int_args = { 1, 0, 0, 0, 0 }; for (int i = 0; len > i + 2; i++) { if (!args[i + 2].isNil()) { int_args[i] = RubyNumeric.fix2int(args[i + 2]); if (time_min[i] > int_args[i] || int_args[i] > time_max[i]) { throw new ArgumentError(type.getRuntime(), "Argument out of range."); } } } RubyTime time = new RubyTime(type.getRuntime(), (RubyClass) type); if (gmt) { time.cal = Calendar.getInstance(TimeZone.getTimeZone(UTC)); } else { time.cal = Calendar.getInstance(); } time.cal.set(year, month, int_args[0], int_args[1], int_args[2], int_args[3]); time.cal.set(Calendar.MILLISECOND, int_args[4] / 1000); time.usec = int_args[4] % 1000; time.callInit(args); return time; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyTime.java/clean/src/org/jruby/RubyTime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 19817, 950, 752, 950, 12, 7937, 10340, 921, 618, 16, 15908, 10340, 921, 8526, 833, 16, 1250, 314, 1010, 13, 288, 3639, 509, 562, 273, 1666, 31, 3639, 309, 261, 1968, 18, 2469, 422, 1728, 13, 288, 5411, 833, 273, 394, 15908, 10340, 921, 8526, 288, 7734, 833, 63, 25, 6487, 7734, 833, 63, 24, 6487, 7734, 833, 63, 23, 6487, 7734, 833, 63, 22, 6487, 7734, 833, 63, 21, 6487, 7734, 833, 63, 20, 6487, 5411, 289, 31, 3639, 289, 469, 288, 5411, 562, 273, 618, 18, 1893, 1379, 1380, 12, 1968, 16, 404, 16, 2371, 1769, 3639, 289, 3639, 509, 3286, 273, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 20, 19226, 3639, 509, 3138, 273, 374, 31, 7734, 309, 261, 1897, 405, 404, 13, 288, 5411, 309, 16051, 1968, 63, 21, 8009, 291, 12616, 10756, 288, 7734, 309, 261, 1968, 63, 21, 65, 1276, 19817, 780, 13, 288, 10792, 3138, 273, 300, 21, 31, 10792, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2593, 31, 277, 27245, 288, 13491, 309, 261, 27584, 63, 77, 8009, 14963, 5556, 12, 1968, 63, 21, 8009, 10492, 1435, 3719, 288, 18701, 3138, 273, 277, 31, 13491, 289, 10792, 289, 10792, 309, 261, 7496, 422, 300, 21, 13, 288, 13491, 775, 288, 18701, 3138, 273, 2144, 18, 2670, 1702, 12, 1968, 63, 21, 8009, 10492, 10756, 300, 404, 31, 13491, 289, 1044, 261, 1854, 9291, 13958, 29924, 337, 82, 13, 288, 18701, 604, 618, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 19817, 950, 752, 950, 12, 7937, 10340, 921, 618, 16, 15908, 10340, 921, 8526, 833, 16, 1250, 314, 1010, 13, 288, 3639, 509, 562, 273, 1666, 31, 3639, 309, 261, 1968, 18, 2469, 422, 1728, 13, 288, 5411, 833, 273, 394, 15908, 10340, 921, 8526, 288, 7734, 833, 63, 25, 6487, 7734, 833, 63, 24, 6487, 7734, 833, 63, 23, 6487, 7734, 833, 63, 22, 6487, 7734, 833, 63, 21, 6487, 7734, 833, 63, 20, 6487, 5411, 289, 31, 3639, 289, 469, 288, 5411, 562, 273, 618, 18, 1893, 1379, 1380, 12, 1968, 16, 404, 16, 2371, 1769, 3639, 289, 3639, 509, 3286, 273, 19817, 9902, 18, 904, 22, 474, 12, 1968, 63, 20, 19226, 3639, 2 ]
startTime = System.currentTimeMillis();
public Long lookup(String name) { long startTime = -1; startTime = System.currentTimeMillis(); Long oid = dataSpace.lookup(name); log(new LookupLogEntry(startTime, name, oid)); return oid; }
48631 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48631/33e42b4695e5dd9fc38c898a278c5f42a2e59296/MonitoredDataSpace.java/clean/src/com/sun/gi/objectstore/tso/dataspace/MonitoredDataSpace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3407, 3689, 12, 780, 508, 13, 288, 202, 5748, 8657, 273, 300, 21, 31, 202, 1937, 950, 273, 2332, 18, 2972, 28512, 5621, 202, 3708, 7764, 273, 501, 3819, 18, 8664, 12, 529, 1769, 202, 1330, 12, 2704, 8834, 25548, 12, 1937, 950, 16, 508, 16, 7764, 10019, 202, 2463, 7764, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3407, 3689, 12, 780, 508, 13, 288, 202, 5748, 8657, 273, 300, 21, 31, 202, 1937, 950, 273, 2332, 18, 2972, 28512, 5621, 202, 3708, 7764, 273, 501, 3819, 18, 8664, 12, 529, 1769, 202, 1330, 12, 2704, 8834, 25548, 12, 1937, 950, 16, 508, 16, 7764, 10019, 202, 2463, 7764, 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 ]
private float flushLines() throws DocumentException { // checks if the ArrayList with the lines is not null if (lines == null) { return 0; } //add by Jin-Hsia Yang boolean newline=false; //end add by Jin-Hsia Yang // checks if a new Line has to be made. if (line != null && line.size() > 0) { lines.add(line); line = new PdfLine(indentLeft(), indentRight(), alignment, leading); //add by Jin-Hsia Yang newline=true; //end add by Jin-Hsia Yang } // checks if the ArrayList with the lines is empty if (lines.isEmpty()) { return 0; } // initialisation of some parameters Object currentValues[] = new Object[2]; PdfFont currentFont = null; float displacement = 0; PdfLine l; Float lastBaseFactor = new Float(0); currentValues[1] = lastBaseFactor; // looping over all the lines for (Iterator i = lines.iterator(); i.hasNext(); ) { // this is a line in the loop l = (PdfLine) i.next(); if(isNewpage && newline) { // fix Ken@PDI newline=false; text.moveText(l.indentLeft() - indentLeft() + listIndentLeft + paraIndent,-l.height()); } else { text.moveText(l.indentLeft() - indentLeft() + listIndentLeft, -l.height()); } // is the line preceeded by a symbol? if (l.listSymbol() != null) { ColumnText.showTextAligned(graphics, Element.ALIGN_LEFT, new Phrase(l.listSymbol()), text.getXTLM() - l.listIndent(), text.getYTLM(), 0); } currentValues[0] = currentFont; writeLineToContent(l, text, graphics, currentValues, writer.getSpaceCharRatio()); currentFont = (PdfFont)currentValues[0]; displacement += l.height(); if (indentLeft() - listIndentLeft != l.indentLeft()) { text.moveText(indentLeft() - l.indentLeft() - listIndentLeft, 0); } } lines = new ArrayList(); return displacement; }
6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/1840b3f33950a960bad08f54393a23defcffb9cf/PdfDocument.java/buggy/src/com/lowagie/text/pdf/PdfDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 1431, 3663, 5763, 1435, 1216, 4319, 503, 288, 759, 4271, 309, 326, 2407, 598, 326, 2362, 353, 486, 446, 430, 261, 3548, 422, 446, 13, 288, 2463, 374, 31, 97, 759, 1289, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 6494, 9472, 33, 5743, 31, 759, 409, 527, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 759, 4271, 309, 279, 394, 5377, 711, 358, 506, 7165, 18, 430, 261, 1369, 480, 446, 597, 980, 18, 1467, 1435, 405, 374, 13, 288, 3548, 18, 1289, 12, 1369, 1769, 1369, 273, 394, 9989, 1670, 12, 9355, 3910, 9334, 3504, 4726, 9334, 8710, 16, 7676, 1769, 759, 1289, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 22861, 33, 3767, 31, 759, 409, 527, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 97, 759, 4271, 309, 326, 2407, 598, 326, 2362, 353, 1008, 430, 261, 3548, 18, 291, 1921, 10756, 288, 2463, 374, 31, 97, 759, 2172, 10742, 434, 2690, 1472, 921, 783, 1972, 8526, 273, 394, 1033, 63, 22, 15533, 18562, 5711, 783, 5711, 273, 446, 31, 5659, 1015, 15917, 273, 374, 31, 18562, 1670, 328, 31, 4723, 1142, 2171, 6837, 273, 394, 5450, 12, 20, 1769, 2972, 1972, 63, 21, 65, 273, 1142, 2171, 6837, 31, 759, 25004, 1879, 777, 326, 2362, 1884, 261, 3198, 277, 273, 2362, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 759, 333, 353, 279, 980, 316, 326, 437, 83, 412, 273, 261, 18562, 1670, 13, 277, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 1431, 3663, 5763, 1435, 1216, 4319, 503, 288, 759, 4271, 309, 326, 2407, 598, 326, 2362, 353, 486, 446, 430, 261, 3548, 422, 446, 13, 288, 2463, 374, 31, 97, 759, 1289, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 6494, 9472, 33, 5743, 31, 759, 409, 527, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 759, 4271, 309, 279, 394, 5377, 711, 358, 506, 7165, 18, 430, 261, 1369, 480, 446, 597, 980, 18, 1467, 1435, 405, 374, 13, 288, 3548, 18, 1289, 12, 1369, 1769, 1369, 273, 394, 9989, 1670, 12, 9355, 3910, 9334, 3504, 4726, 9334, 8710, 16, 7676, 1769, 759, 1289, 635, 804, 267, 17, 44, 87, 1155, 1624, 539, 22861, 33, 2 ]
assertEquals(msgHead, "test:test", we.getAttribute("name").getValue());
assertEquals(statusType, "test:test", we.getAttribute("name").getValue());
private void internalTestBuild(boolean mockFailure) { MavenBuilder mb = new MavenBuilder(); String testScriptName = null; String msgHead = mockFailure ? "MockFailure" : "MockSuccess"; try { // Prepare mock files. if (mb.isWindows()) { testScriptName = "_testmaven.bat"; makeTestFile( testScriptName, "@rem This is a fake maven.bat\n" + "@echo java:compile:\n" + "@echo Bla-bla-compile\n" + "@echo test:test:\n" + "@echo " + (mockFailure ? "BUILD FAILED" : "BUILD SUCCESSFUL") + "\n", true); } else { testScriptName = "./_testmaven.sh"; makeTestFile( testScriptName, "#!/bin/sh\n" + "\n" + "# This is a fake maven.sh\n" + "echo java:compile:\n" + "echo Bla-bla-compile\n" + "echo test:test:\n" + "echo " + (mockFailure ? "BUILD FAILED" : "BUILD SUCCESSFUL") + "\n", false); } mb.setMavenScript(testScriptName); mb.setProjectFile("don-t-care.xml"); try { Element we; List goalTags; // some fake goal is still needed to start working (no '|' here!) mb.setGoal("fakegoal"); // this should "succeed" Element logElement = mb.build(new Hashtable()); assertNotNull(msgHead, logElement); goalTags = logElement.getChildren("mavengoal"); assertNotNull(msgHead, goalTags); assertEquals(msgHead, 2, goalTags.size()); we = (Element) goalTags.get(0); assertEquals(msgHead, "java:compile", we.getAttribute("name").getValue()); we = (Element) goalTags.get(1); assertEquals(msgHead, "test:test", we.getAttribute("name").getValue()); if (mockFailure) { assertNotNull(msgHead, logElement.getAttribute("error")); } else { assertNull(msgHead, logElement.getAttribute("error")); } // this time let's test multiple runs mb.setGoal("fakegoal|otherfakegoal"); // this should "double succeed" logElement = mb.build(new Hashtable()); assertNotNull(msgHead, logElement); goalTags = logElement.getChildren("mavengoal"); assertNotNull(msgHead, goalTags); // if we mocked a failure, the second run should never happen assertEquals(msgHead, mockFailure ? 2 : 4, goalTags.size()); we = (Element) goalTags.get(0); assertEquals(msgHead, "java:compile", we.getAttribute("name").getValue()); we = (Element) goalTags.get(1); assertEquals(msgHead, "test:test", we.getAttribute("name").getValue()); if (mockFailure) { assertNotNull(msgHead, logElement.getAttribute("error")); } else { we = (Element) goalTags.get(2); assertEquals(msgHead, "java:compile", we.getAttribute("name").getValue()); we = (Element) goalTags.get(3); assertEquals(msgHead, "test:test", we.getAttribute("name").getValue()); assertNull(logElement.getAttribute("error")); } } catch (CruiseControlException e) { e.printStackTrace(); fail("MavenBuilder should not throw exceptions when build()-ing."); } } finally { if (testScriptName != null) { (new File(testScriptName)).delete(); } } }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/33dd3af7083ed36ea78330dfe9d5499a4d24b093/MavenBuilderTest.java/clean/main/test/net/sourceforge/cruisecontrol/builders/MavenBuilderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2713, 4709, 3116, 12, 6494, 5416, 5247, 13, 288, 3639, 17176, 1263, 4903, 273, 394, 17176, 1263, 5621, 3639, 514, 1842, 3651, 461, 273, 446, 31, 3639, 514, 1234, 1414, 273, 5416, 5247, 692, 315, 9865, 5247, 6, 294, 315, 9865, 4510, 14432, 3639, 775, 288, 5411, 368, 7730, 5416, 1390, 18, 5411, 309, 261, 1627, 18, 291, 10399, 10756, 288, 7734, 1842, 3651, 461, 273, 4192, 3813, 81, 7638, 18, 28260, 14432, 7734, 1221, 4709, 812, 12, 10792, 1842, 3651, 461, 16, 10792, 8787, 2764, 1220, 353, 279, 10517, 20499, 18, 28260, 64, 82, 6, 13491, 397, 8787, 12946, 2252, 30, 11100, 5581, 82, 6, 13491, 397, 8787, 12946, 8069, 69, 17, 3083, 69, 17, 11100, 64, 82, 6, 13491, 397, 8787, 12946, 1842, 30, 3813, 5581, 82, 6, 13491, 397, 8787, 12946, 315, 13491, 397, 261, 22851, 5247, 692, 315, 20215, 18497, 6, 294, 315, 20215, 16561, 42, 1506, 7923, 13491, 397, 1548, 82, 3113, 10792, 638, 1769, 5411, 289, 469, 288, 7734, 1842, 3651, 461, 273, 3552, 18510, 3813, 81, 7638, 18, 674, 14432, 7734, 1221, 4709, 812, 12, 10792, 1842, 3651, 461, 16, 10792, 6619, 5, 19, 4757, 19, 674, 64, 82, 6, 13491, 397, 1548, 82, 6, 13491, 397, 6619, 1220, 353, 279, 10517, 20499, 18, 674, 64, 82, 6, 13491, 397, 315, 12946, 2252, 30, 11100, 5581, 82, 6, 13491, 397, 315, 12946, 8069, 69, 17, 3083, 69, 17, 11100, 64, 82, 6, 13491, 397, 315, 12946, 1842, 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, 2713, 4709, 3116, 12, 6494, 5416, 5247, 13, 288, 3639, 17176, 1263, 4903, 273, 394, 17176, 1263, 5621, 3639, 514, 1842, 3651, 461, 273, 446, 31, 3639, 514, 1234, 1414, 273, 5416, 5247, 692, 315, 9865, 5247, 6, 294, 315, 9865, 4510, 14432, 3639, 775, 288, 5411, 368, 7730, 5416, 1390, 18, 5411, 309, 261, 1627, 18, 291, 10399, 10756, 288, 7734, 1842, 3651, 461, 273, 4192, 3813, 81, 7638, 18, 28260, 14432, 7734, 1221, 4709, 812, 12, 10792, 1842, 3651, 461, 16, 10792, 8787, 2764, 1220, 353, 279, 10517, 20499, 18, 28260, 64, 82, 6, 13491, 397, 8787, 12946, 2252, 30, 11100, 5581, 82, 6, 13491, 397, 8787, 12946, 8069, 69, 17, 3083, 69, 17, 2 ]
int retValue;
int retValue;
public int RSI_Lookback(int optInTimePeriod) { int retValue; retValue = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_RSI.ordinal()]); if ((this.compatibility) == TA_Compatibility.TA_COMPATIBILITY_METASTOCK) retValue--; return retValue; }
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 534, 2320, 67, 9794, 823, 12, 474, 2153, 382, 26540, 13, 288, 202, 202, 474, 21236, 31, 202, 202, 1349, 620, 273, 2153, 382, 26540, 9506, 202, 15, 261, 2211, 18, 318, 15021, 5027, 63, 9833, 67, 2622, 984, 334, 548, 18, 9833, 67, 42, 21163, 67, 2124, 882, 67, 54, 2320, 18, 517, 1490, 1435, 19226, 202, 202, 430, 14015, 2211, 18, 27303, 13, 422, 399, 37, 67, 21633, 18, 9833, 67, 28249, 13450, 14674, 67, 18315, 9053, 51, 3507, 13, 1082, 202, 1349, 620, 413, 31, 202, 202, 2463, 21236, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 534, 2320, 67, 9794, 823, 12, 474, 2153, 382, 26540, 13, 288, 202, 202, 474, 21236, 31, 202, 202, 1349, 620, 273, 2153, 382, 26540, 9506, 202, 15, 261, 2211, 18, 318, 15021, 5027, 63, 9833, 67, 2622, 984, 334, 548, 18, 9833, 67, 42, 21163, 67, 2124, 882, 67, 54, 2320, 18, 517, 1490, 1435, 19226, 202, 202, 430, 14015, 2211, 18, 27303, 13, 422, 399, 37, 67, 21633, 18, 9833, 67, 28249, 13450, 14674, 67, 18315, 9053, 51, 3507, 13, 1082, 202, 1349, 620, 413, 31, 202, 202, 2463, 21236, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return true; }
return true; }
public boolean isTrue() { return true; }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/addcb75d5d86d9b1fd628d84d22b74cfc41f078e/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 21332, 1435, 288, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 21332, 1435, 288, 3639, 327, 638, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]