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
final List paramElements = readCacheInputAsDOM4J (pipelineContext, INPUT_FILTER).getRootElement().elements("param"); if (groupElements.size() != paramElements.size()) throw new OXFException("Number of parameters does not match number of groups in path expression"); for (Iterator paramIterator = paramElements.iterator(), groupIterator = groupElements.iterator(); paramIterator.hasNext();) { final Element paramElement = (Element) paramIterator.next();
final Element inputFilterRootElement = readCacheInputAsDOM4J (pipelineContext, INPUT_FILTER).getRootElement(); final List setValueElements; { final List paramElements = inputFilterRootElement.elements("param"); if (paramElements != null && paramElements.size() > 0) setValueElements = paramElements; else setValueElements = inputFilterRootElement.elements("setvalue"); } if (groupElements.size() != setValueElements.size()) throw new OXFException("Number of <setvalue> or <param> elements does not match number of groups in path regular expression"); for (Iterator setValueIterator = setValueElements.iterator(), groupIterator = groupElements.iterator(); setValueIterator.hasNext();) { final Element paramElement = (Element) setValueIterator.next();
public void updateInstance(XFormsInstance localInstance) { // Update instance from request int[] ids = requestParameters.getIds(); for (int i = 0; i < ids.length; i++) { int id = ids[i]; localInstance.setValueForId(id, requestParameters.getValue(id), requestParameters.getType(id)); } // Update instance from path info { final List groupElements = readCacheInputAsDOM4J (pipelineContext, INPUT_MATCHER_RESULT).getRootElement().elements("group"); final List paramElements = readCacheInputAsDOM4J (pipelineContext, INPUT_FILTER).getRootElement().elements("param"); if (groupElements.size() != paramElements.size()) throw new OXFException("Number of parameters does not match number of groups in path expression"); for (Iterator paramIterator = paramElements.iterator(), groupIterator = groupElements.iterator(); paramIterator.hasNext();) { final Element paramElement = (Element) paramIterator.next(); final Element groupElement = (Element) groupIterator.next(); final String value = groupElement.getStringValue(); if (!"".equals(value)) localInstance.setValueForParam(pipelineContext, paramElement.attributeValue("ref"), Dom4jUtils.getNamespaceContext(paramElement), value); } } if (logger.isDebugEnabled()) logger.debug("1) Instance recontructed from request:\n" + Dom4jUtils.domToString(localInstance.getInstanceDocument())); // Run actions // TODO: this has to be done in Model Action[] actions = requestParameters.getActions(); for (int i = 0; i < actions.length; i++) { Action action = actions[i]; action.run(pipelineContext, new ActionFunctionContext(), requestParameters.getEncryptionKey(), localInstance.getInstanceDocument()); } if (logger.isDebugEnabled()) logger.debug("2) Instance with actions applied:\n" + Dom4jUtils.domToString(localInstance.getInstanceDocument())); }
51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/ebb20d7f04612de8afbdc334b3b35a0c2dfb106a/XFormsInput.java/buggy/src/java/org/orbeon/oxf/processor/xforms/input/XFormsInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 7682, 1071, 918, 1089, 1442, 12, 60, 18529, 1442, 1191, 1442, 13, 288, 18701, 368, 2315, 791, 628, 590, 18701, 509, 8526, 3258, 273, 590, 2402, 18, 588, 2673, 5621, 18701, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3258, 18, 2469, 31, 277, 27245, 288, 27573, 509, 612, 273, 3258, 63, 77, 15533, 27573, 1191, 1442, 18, 542, 620, 1290, 548, 12, 350, 16, 590, 2402, 18, 24805, 12, 350, 3631, 590, 2402, 18, 588, 559, 12, 350, 10019, 18701, 289, 18701, 368, 2315, 791, 628, 589, 1123, 18701, 288, 27573, 727, 987, 1041, 3471, 273, 855, 1649, 1210, 1463, 8168, 24, 46, 4766, 3639, 261, 14511, 1042, 16, 12943, 67, 11793, 654, 67, 12289, 2934, 588, 2375, 1046, 7675, 6274, 2932, 1655, 8863, 27573, 727, 987, 579, 3471, 273, 855, 1649, 1210, 1463, 8168, 24, 46, 4766, 3639, 261, 14511, 1042, 16, 12943, 67, 11126, 2934, 588, 2375, 1046, 7675, 6274, 2932, 891, 8863, 27573, 309, 261, 1655, 3471, 18, 1467, 1435, 480, 579, 3471, 18, 1467, 10756, 4766, 565, 604, 394, 531, 60, 42, 503, 2932, 1854, 434, 1472, 1552, 486, 845, 1300, 434, 3252, 316, 589, 2652, 8863, 27573, 364, 261, 3198, 579, 3198, 273, 579, 3471, 18, 9838, 9334, 4766, 3639, 1041, 3198, 273, 1041, 3471, 18, 9838, 5621, 579, 3198, 18, 5332, 2134, 5621, 13, 288, 4766, 565, 727, 3010, 579, 1046, 273, 261, 1046, 13, 579, 3198, 18, 4285, 5621, 4766, 565, 727, 3010, 1041, 1046, 273, 261, 1046, 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, 7682, 1071, 918, 1089, 1442, 12, 60, 18529, 1442, 1191, 1442, 13, 288, 18701, 368, 2315, 791, 628, 590, 18701, 509, 8526, 3258, 273, 590, 2402, 18, 588, 2673, 5621, 18701, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3258, 18, 2469, 31, 277, 27245, 288, 27573, 509, 612, 273, 3258, 63, 77, 15533, 27573, 1191, 1442, 18, 542, 620, 1290, 548, 12, 350, 16, 590, 2402, 18, 24805, 12, 350, 3631, 590, 2402, 18, 588, 559, 12, 350, 10019, 18701, 289, 18701, 368, 2315, 791, 628, 589, 1123, 18701, 288, 27573, 727, 987, 1041, 3471, 273, 855, 1649, 1210, 1463, 8168, 24, 46, 4766, 3639, 261, 14511, 1042, 16, 12943, 67, 11793, 654, 67, 12289, 2934, 588, 2 ]
if (methods[i].getDeclaringClass() == clazz && methods[i].getName().equals(name)){
if (methods[i].getName().equals(name)) {
public static Method[] findMethods(Class clazz, String name) { Vector v = new Vector(5); Method[] methods = clazz.getMethods(); for (int i=0; i < methods.length; i++) { if (methods[i].getDeclaringClass() == clazz && methods[i].getName().equals(name)){ v.addElement(methods[i]); } } if (v.size() == 0) { return null; } Method[] result = new Method[v.size()]; v.copyInto(result); return result; }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/3a479188da44f3c7dec47edf7224c5be9738dae8/FunctionObject.java/buggy/js/rhino/org/mozilla/javascript/FunctionObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2985, 8526, 1104, 4712, 12, 797, 4003, 16, 514, 508, 13, 288, 3639, 5589, 331, 273, 394, 5589, 12, 25, 1769, 3639, 2985, 8526, 2590, 273, 4003, 18, 588, 4712, 5621, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 2590, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 5163, 63, 77, 8009, 588, 3456, 14682, 1435, 422, 4003, 597, 7734, 2590, 63, 77, 8009, 17994, 7675, 14963, 12, 529, 3719, 95, 7734, 331, 18,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2985, 8526, 1104, 4712, 12, 797, 4003, 16, 514, 508, 13, 288, 3639, 5589, 331, 273, 394, 5589, 12, 25, 1769, 3639, 2985, 8526, 2590, 273, 4003, 18, 588, 4712, 5621, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 2590, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 5163, 63, 77, 8009, 588, 3456, 14682, 1435, 422, 4003, 597, 7734, 2590, 63, 77, 8009, 17994, 7675, 14963, 12, 529, 3719, 95, 7734, 331, 18, 1289, 1046, 12, 5163, 63, 77, 19226, 5411, 289, 3639, 289, 3639, 309, 261, 90, 18, 1467, 1435, 422, 374, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 2985, 8526, 563, 273, 394, 2985, 63, 90, 18, 1467, 2 ]
throw new IllegalArgumentException("Invalid key code");
throw new IllegalArgumentException(Messages.getString("awt.1B"));
private byte translateKeyCode(int keyCode) { int vKey = keyCode; switch (keyCode) { case KeyEvent.VK_ENTER: vKey = WindowsDefs.VK_RETURN; break; case KeyEvent.VK_INSERT: vKey = WindowsDefs.VK_INSERT; break; case KeyEvent.VK_DELETE: vKey = WindowsDefs.VK_DELETE; break; case KeyEvent.VK_SEMICOLON: vKey = WindowsDefs.VK_OEM_1; break; case KeyEvent.VK_SLASH: vKey = WindowsDefs.VK_OEM_2; break; case KeyEvent.VK_OPEN_BRACKET: vKey = WindowsDefs.VK_OEM_4; break; case KeyEvent.VK_BACK_SLASH: vKey = WindowsDefs.VK_OEM_5; break; case KeyEvent.VK_CLOSE_BRACKET: vKey = WindowsDefs.VK_OEM_6; break; case KeyEvent.VK_COMMA: vKey = WindowsDefs.VK_OEM_COMMA; break; case KeyEvent.VK_PERIOD: vKey = WindowsDefs.VK_OEM_PERIOD; break; case KeyEvent.VK_MINUS: vKey = WindowsDefs.VK_OEM_MINUS; break; case KeyEvent.VK_EQUALS: vKey = WindowsDefs.VK_OEM_PLUS; break; } if ((keyCode >= KeyEvent.VK_F13) && (keyCode <= KeyEvent.VK_F24)) { vKey = WindowsDefs.VK_F13 + keyCode - KeyEvent.VK_F13; } if ( (vKey < 3) || (vKey > 254) || (vKey >=4) && (vKey <= 7) || (vKey >= 0xA) && (vKey <= 0xB) || (vKey >= 0xE) && (vKey <= 0xF) || (vKey == 0x16) || (vKey == 0x1A) || (vKey >= 0x3A) && (vKey <= 0x40) || (vKey >= 0x5B) && (vKey <= 0x5F) || (vKey >= 0x88) && (vKey <= 0x8F) || (vKey >= 0x92) && (vKey <= 0x9F) || (vKey >= 0xB8) && (vKey <= 0xB9) || (vKey >= 0xC1) && (vKey <= 0xDA) || (vKey >= 0xE0) && (vKey <= 0xE1) || (vKey >= 0xE3) && (vKey <= 0xE4) || (vKey == 0xE6) || (vKey >= 0xE8) && (vKey <= 0xF5)) { throw new IllegalArgumentException("Invalid key code"); } return (byte) vKey; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/e6ce79da0ad0459deff86829b48b541975a9b721/WinRobot.java/clean/modules/awt/src/main/java/windows/org/apache/harmony/awt/wtk/windows/WinRobot.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1160, 4204, 653, 1085, 12, 474, 16369, 13, 288, 3639, 509, 331, 653, 273, 16369, 31, 3639, 1620, 261, 856, 1085, 13, 288, 3639, 648, 23737, 18, 58, 47, 67, 12278, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 14033, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 11356, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 11356, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 6460, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 6460, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 1090, 22972, 1741, 673, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 51, 3375, 67, 21, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 24079, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 51, 3375, 67, 22, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 11437, 67, 21217, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 51, 3375, 67, 24, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 8720, 67, 24079, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 51, 3375, 67, 25, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 13384, 67, 21217, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 51, 3375, 67, 26, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 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, 1160, 4204, 653, 1085, 12, 474, 16369, 13, 288, 3639, 509, 331, 653, 273, 16369, 31, 3639, 1620, 261, 856, 1085, 13, 288, 3639, 648, 23737, 18, 58, 47, 67, 12278, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 14033, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 11356, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 11356, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 6460, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 6460, 31, 5411, 898, 31, 3639, 648, 23737, 18, 58, 47, 67, 1090, 22972, 1741, 673, 30, 5411, 331, 653, 273, 8202, 14554, 18, 58, 47, 67, 2 ]
if (result != Scriptable.NOT_FOUND && result instanceof Function) {
if (result != Scriptable.NOT_FOUND && result instanceof Function) {
public Object invoke(Object thisArg) throws Exception { org.mozilla.javascript.Context cx = Context.enter(); try { Scriptable thisObj; if (!(thisArg instanceof Scriptable)) { thisObj = Context.toObject(thisArg, scope); } else { thisObj = (Scriptable)thisArg; } Object result = ScriptableObject.getProperty(thisObj, name); if (result == Scriptable.NOT_FOUND) { result = ScriptableObject.getProperty(thisObj, "get" + StringUtils.capitalize(name)); if (result != Scriptable.NOT_FOUND && result instanceof Function) { try { result = ((Function)result).call(cx, ScriptableObject.getTopLevelScope(thisObj), thisObj, new Object[] {}); } catch (JavaScriptException exc) { exc.printStackTrace(); result = null; } } } if (result == Scriptable.NOT_FOUND || result == Undefined.instance) { result = null; } else if (result instanceof Wrapper) { if (!(result instanceof NativeJavaClass)) { result = ((Wrapper)result).unwrap(); } } return result; } finally { Context.exit(); } }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/5825dcbb894fc7e13def0d7cbe9add87b9888009/JXTemplateGenerator.java/clean/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 4356, 12, 921, 20134, 13, 1216, 1185, 288, 7734, 2358, 18, 8683, 15990, 18, 11242, 18, 1042, 9494, 273, 1772, 18, 2328, 5621, 7734, 775, 288, 10792, 22780, 15261, 31, 10792, 309, 16051, 12, 2211, 4117, 1276, 22780, 3719, 288, 13491, 15261, 273, 1772, 18, 869, 921, 12, 2211, 4117, 16, 2146, 1769, 10792, 289, 469, 288, 13491, 15261, 273, 261, 3651, 429, 13, 2211, 4117, 31, 10792, 289, 10792, 1033, 563, 273, 22780, 921, 18, 588, 1396, 12, 2211, 2675, 16, 508, 1769, 10792, 309, 261, 2088, 422, 22780, 18, 4400, 67, 9294, 13, 288, 13491, 563, 273, 22780, 921, 18, 588, 1396, 12, 2211, 2675, 16, 315, 588, 6, 397, 5778, 18, 5909, 7053, 554, 12, 529, 10019, 13491, 309, 261, 2088, 480, 22780, 18, 4400, 67, 9294, 597, 18701, 563, 1276, 4284, 13, 288, 18701, 775, 288, 27573, 563, 273, 14015, 2083, 13, 2088, 2934, 1991, 12, 71, 92, 16, 28524, 22780, 921, 18, 588, 27046, 3876, 12, 2211, 2675, 3631, 15261, 16, 394, 1033, 8526, 2618, 1769, 18701, 289, 1044, 261, 16634, 503, 3533, 13, 288, 27573, 3533, 18, 1188, 6332, 5621, 27573, 563, 273, 446, 31, 18701, 289, 13491, 289, 10792, 289, 10792, 309, 261, 2088, 422, 22780, 18, 4400, 67, 9294, 747, 13491, 563, 422, 22243, 18, 1336, 13, 288, 13491, 563, 273, 446, 31, 10792, 289, 469, 309, 261, 2088, 1276, 18735, 13, 288, 13491, 309, 16051, 12, 2088, 1276, 16717, 5852, 797, 3719, 288, 18701, 563, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 4356, 12, 921, 20134, 13, 1216, 1185, 288, 7734, 2358, 18, 8683, 15990, 18, 11242, 18, 1042, 9494, 273, 1772, 18, 2328, 5621, 7734, 775, 288, 10792, 22780, 15261, 31, 10792, 309, 16051, 12, 2211, 4117, 1276, 22780, 3719, 288, 13491, 15261, 273, 1772, 18, 869, 921, 12, 2211, 4117, 16, 2146, 1769, 10792, 289, 469, 288, 13491, 15261, 273, 261, 3651, 429, 13, 2211, 4117, 31, 10792, 289, 10792, 1033, 563, 273, 22780, 921, 18, 588, 1396, 12, 2211, 2675, 16, 508, 1769, 10792, 309, 261, 2088, 422, 22780, 18, 4400, 67, 9294, 13, 288, 13491, 563, 273, 22780, 921, 18, 588, 1396, 12, 2211, 2675, 16, 315, 588, 6, 397, 5778, 18, 5909, 7053, 2 ]
IModuleNameSpace elementResolver = module
IModuleNameScope elementResolver = module
public void resolve( Module module, PropertyDefn defn, ElementRefValue ref ) { if ( ref.isResolved( ) ) return; ElementDefn targetDefn = (ElementDefn) defn.getTargetElementType( ); // Let the corresponding name scope do the resolve things for the // element reference value. The scope will search the target element not // only in the current root namespace, but also in the included // libraries namespace. IModuleNameSpace elementResolver = module .getModuleNameSpace( targetDefn.getNameSpaceID( ) ); String name = ReferenceValueUtil.needTheNamespacePrefix( ref, module ); // special case for theme property since it can be direcly referred. DesignElement target = null; target = elementResolver.resolve( name, defn ).getElement( ); if ( target != null ) ref.resolve( target ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/b5833a1e367eb18d2954f384e496137a276c1324/ElementRefPropertyType.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/ElementRefPropertyType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2245, 12, 5924, 1605, 16, 4276, 3262, 82, 1652, 82, 16, 3010, 30556, 1278, 262, 202, 95, 202, 202, 430, 261, 1278, 18, 291, 12793, 12, 262, 262, 1082, 202, 2463, 31, 202, 202, 1046, 3262, 82, 1018, 3262, 82, 273, 261, 1046, 3262, 82, 13, 1652, 82, 18, 588, 2326, 17481, 12, 11272, 202, 202, 759, 10559, 326, 4656, 508, 2146, 741, 326, 2245, 9198, 364, 326, 202, 202, 759, 930, 2114, 460, 18, 1021, 2146, 903, 1623, 326, 1018, 930, 486, 202, 202, 759, 1338, 316, 326, 783, 1365, 1981, 16, 1496, 2546, 316, 326, 5849, 202, 202, 759, 14732, 1981, 18, 202, 202, 45, 22542, 3819, 930, 4301, 273, 1605, 9506, 202, 18, 588, 22542, 3819, 12, 1018, 3262, 82, 18, 17994, 3819, 734, 12, 262, 11272, 202, 202, 780, 508, 273, 6268, 620, 1304, 18, 14891, 1986, 3402, 2244, 12, 1278, 16, 1605, 11272, 202, 202, 759, 4582, 648, 364, 5006, 1272, 3241, 518, 848, 506, 302, 577, 71, 715, 29230, 18, 202, 202, 15478, 1046, 1018, 273, 446, 31, 202, 202, 3299, 273, 930, 4301, 18, 10828, 12, 508, 16, 1652, 82, 262, 18, 21336, 12, 11272, 202, 202, 430, 261, 1018, 480, 446, 262, 1082, 202, 1734, 18, 10828, 12, 1018, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2245, 12, 5924, 1605, 16, 4276, 3262, 82, 1652, 82, 16, 3010, 30556, 1278, 262, 202, 95, 202, 202, 430, 261, 1278, 18, 291, 12793, 12, 262, 262, 1082, 202, 2463, 31, 202, 202, 1046, 3262, 82, 1018, 3262, 82, 273, 261, 1046, 3262, 82, 13, 1652, 82, 18, 588, 2326, 17481, 12, 11272, 202, 202, 759, 10559, 326, 4656, 508, 2146, 741, 326, 2245, 9198, 364, 326, 202, 202, 759, 930, 2114, 460, 18, 1021, 2146, 903, 1623, 326, 1018, 930, 486, 202, 202, 759, 1338, 316, 326, 783, 1365, 1981, 16, 1496, 2546, 316, 326, 5849, 202, 202, 759, 14732, 1981, 18, 202, 202, 45, 22542, 3819, 930, 4301, 273, 1605, 9506, 202, 2 ]
mv.removeMouseListener(this);
Main.map.mapView.removeMouseListener(this);
@Override public void exitMode() { super.exitMode(); mv.removeMouseListener(this); }
2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/65d8ba1e1c7192a02b1c996304587a81a85155f1/DeleteAction.java/clean/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 36, 6618, 1071, 918, 2427, 2309, 1435, 288, 202, 202, 9565, 18, 8593, 2309, 5621, 202, 202, 17509, 18, 4479, 9186, 2223, 12, 2211, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 36, 6618, 1071, 918, 2427, 2309, 1435, 288, 202, 202, 9565, 18, 8593, 2309, 5621, 202, 202, 17509, 18, 4479, 9186, 2223, 12, 2211, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (ServiceInfo)keysToServices.get(key);
return (ServiceInfo)keysToServiceInfos.get(key);
public ServiceInfo get(ServiceInfo.Key key) { lock(); try { return (ServiceInfo)keysToServices.get(key); } finally { unlock(); } }
6331 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6331/bd747a5730034ba0e82d588546b90ee21644dd3f/ServiceInfoCache.java/clean/garden/livetribe-slp/trunk/src/main/java/org/livetribe/slp/spi/ServiceInfoCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1956, 966, 336, 12, 1179, 966, 18, 653, 498, 13, 565, 288, 3639, 2176, 5621, 3639, 775, 3639, 288, 5411, 327, 261, 1179, 966, 13, 2452, 774, 1179, 7655, 18, 588, 12, 856, 1769, 3639, 289, 3639, 3095, 3639, 288, 5411, 7186, 5621, 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,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288, 5411, 7186, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case Id_getUTCFullYear: { double t = realThis(thisObj, f).date;
case Id_getUTCFullYear:
public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { if (!f.hasTag(DATE_TAG)) { return super.execIdCall(f, cx, scope, thisObj, args); } int id = f.methodId(); switch (id) { case ConstructorId_now: return wrap_double(now()); case ConstructorId_parse: { String dataStr = ScriptRuntime.toString(args, 0); return wrap_double(date_parseString(dataStr)); } case ConstructorId_UTC: return wrap_double(jsStaticFunction_UTC(args)); case Id_constructor: { // if called as a function, just return a string // representing the current time. if (thisObj != null) return date_format(now(), Id_toString); return jsConstructor(args); } case Id_toString: case Id_toTimeString: case Id_toDateString: return date_format(realThis(thisObj, f).date, id); case Id_toLocaleString: case Id_toLocaleTimeString: case Id_toLocaleDateString: return toLocale_helper(realThis(thisObj, f).date, id); case Id_toUTCString: { double t = realThis(thisObj, f).date; if (t == t) { return js_toUTCString(t); } return js_NaN_date_str; } case Id_toSource: { double t = realThis(thisObj, f).date; return "(new Date("+ScriptRuntime.toString(t)+"))"; } case Id_valueOf: case Id_getTime: return wrap_double(realThis(thisObj, f).date); case Id_getYear: case Id_getFullYear: case Id_getUTCFullYear: { double t = realThis(thisObj, f).date; if (t == t) { if (id != Id_getUTCFullYear) t = LocalTime(t); t = YearFromTime(t); if (id == Id_getYear) { if (cx.hasFeature(Context.FEATURE_NON_ECMA_GET_YEAR)) { if (1900 <= t && t < 2000) { t -= 1900; } } else { t -= 1900; } } } return wrap_double(t); } case Id_getMonth: case Id_getUTCMonth: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getMonth) t = LocalTime(t); t = MonthFromTime(t); } return wrap_double(t); } case Id_getDate: case Id_getUTCDate: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getDate) t = LocalTime(t); t = DateFromTime(t); } return wrap_double(t); } case Id_getDay: case Id_getUTCDay: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getDay) t = LocalTime(t); t = WeekDay(t); } return wrap_double(t); } case Id_getHours: case Id_getUTCHours: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getHours) t = LocalTime(t); t = HourFromTime(t); } return wrap_double(t); } case Id_getMinutes: case Id_getUTCMinutes: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getMinutes) t = LocalTime(t); t = MinFromTime(t); } return wrap_double(t); } case Id_getSeconds: case Id_getUTCSeconds: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getSeconds) t = LocalTime(t); t = SecFromTime(t); } return wrap_double(t); } case Id_getMilliseconds: case Id_getUTCMilliseconds: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getMilliseconds) t = LocalTime(t); t = msFromTime(t); } return wrap_double(t); } case Id_getTimezoneOffset: { double t = realThis(thisObj, f).date; if (t == t) { t = (t - LocalTime(t)) / msPerMinute; } return wrap_double(t); } case Id_setTime: { NativeDate real = realThis(thisObj, f); double t = ScriptRuntime.toNumber(args, 0); real.date = TimeClip(t); return wrap_double(real.date); } case Id_setMilliseconds: case Id_setUTCMilliseconds: case Id_setSeconds: case Id_setUTCSeconds: case Id_setMinutes: case Id_setUTCMinutes: case Id_setHours: case Id_setUTCHours: return wrap_double(realThis(thisObj, f).makeTime(args, id)); case Id_setDate: case Id_setUTCDate: case Id_setMonth: case Id_setUTCMonth: case Id_setFullYear: case Id_setUTCFullYear: return wrap_double(realThis(thisObj, f).makeDate(args, id)); case Id_setYear: { double year = ScriptRuntime.toNumber(args, 0); return wrap_double(realThis(thisObj, f).js_setYear(year)); } default: throw new IllegalArgumentException(String.valueOf(id)); } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/ef2adbe0e46291a57bc6c6eda9ce45275f62985c/NativeDate.java/buggy/js/rhino/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 548, 1477, 12, 548, 2083, 921, 284, 16, 1772, 9494, 16, 22780, 2146, 16, 11794, 22780, 15261, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 16051, 74, 18, 5332, 1805, 12, 4594, 67, 7927, 3719, 288, 5411, 327, 2240, 18, 4177, 548, 1477, 12, 74, 16, 9494, 16, 2146, 16, 15261, 16, 833, 1769, 3639, 289, 3639, 509, 612, 273, 284, 18, 2039, 548, 5621, 3639, 1620, 261, 350, 13, 288, 1850, 648, 11417, 548, 67, 3338, 30, 5411, 327, 2193, 67, 9056, 12, 3338, 10663, 1850, 648, 11417, 548, 67, 2670, 30, 288, 5411, 514, 501, 1585, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 5411, 327, 2193, 67, 9056, 12, 712, 67, 2670, 780, 12, 892, 1585, 10019, 1850, 289, 1850, 648, 11417, 548, 67, 11471, 30, 5411, 327, 2193, 67, 9056, 12, 2924, 5788, 2083, 67, 11471, 12, 1968, 10019, 1850, 648, 3124, 67, 12316, 30, 288, 5411, 368, 309, 2566, 487, 279, 445, 16, 2537, 327, 279, 533, 5411, 368, 5123, 326, 783, 813, 18, 5411, 309, 261, 2211, 2675, 480, 446, 13, 7734, 327, 1509, 67, 2139, 12, 3338, 9334, 3124, 67, 10492, 1769, 5411, 327, 3828, 6293, 12, 1968, 1769, 1850, 289, 1850, 648, 3124, 67, 10492, 30, 1850, 648, 3124, 67, 869, 950, 780, 30, 1850, 648, 3124, 67, 869, 1626, 780, 30, 5411, 327, 1509, 67, 2139, 12, 7688, 2503, 12, 2211, 2675, 16, 284, 2934, 712, 16, 612, 1769, 1850, 648, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 548, 1477, 12, 548, 2083, 921, 284, 16, 1772, 9494, 16, 22780, 2146, 16, 11794, 22780, 15261, 16, 1033, 8526, 833, 13, 565, 288, 3639, 309, 16051, 74, 18, 5332, 1805, 12, 4594, 67, 7927, 3719, 288, 5411, 327, 2240, 18, 4177, 548, 1477, 12, 74, 16, 9494, 16, 2146, 16, 15261, 16, 833, 1769, 3639, 289, 3639, 509, 612, 273, 284, 18, 2039, 548, 5621, 3639, 1620, 261, 350, 13, 288, 1850, 648, 11417, 548, 67, 3338, 30, 5411, 327, 2193, 67, 9056, 12, 3338, 10663, 1850, 648, 11417, 548, 67, 2670, 30, 288, 5411, 514, 501, 1585, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 5411, 327, 2193, 67, 9056, 12, 2 ]
} catch (Throwable t) {
} catch (Throwable t) {
public void run() { try { myConsumer_.push(event_); event_ = null; sent_ = true; } catch (Throwable t) { error_ = true; } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/b2aa91a672be3f8bd14c3402b93d9a1d919f304c/CosEventPushSender.java/clean/test/regression/src/org/jacorb/test/notification/CosEventPushSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 775, 288, 5411, 3399, 5869, 27799, 6206, 12, 2575, 67, 1769, 5411, 871, 67, 273, 446, 31, 5411, 3271, 67, 273, 638, 31, 3639, 289, 1044, 261, 15155, 268, 13, 288, 5411, 555, 67, 273, 638, 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,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 67, 1769, 5411, 871, 67, 273, 446, 31, 5411, 3271, 67, 273, 638, 31, 3639, 289, 1044, 261, 15155, 268, 13, 288, 5411, 555, 67, 273, 638, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private String getFullyQualifiedClassName(String in) { String inLower = in.toLowerCase(); String preamble = "c:\\data\\pmd\\pmd\\src\\"; int preambleend = inLower.indexOf(preamble) + preamble.length(); String classNameWithSlashes = in.substring(preambleend); String className = classNameWithSlashes.replace('\\','.');
private String getFullyQualifiedClassName(String in, SourcePath sourcePath) { String classNameWithSlashes = sourcePath.clipPath(in); String className = classNameWithSlashes.replace(System.getProperty("file.separator").charAt(0),'.');
private String getFullyQualifiedClassName(String in) { String inLower = in.toLowerCase(); String preamble = "c:\\data\\pmd\\pmd\\src\\"; int preambleend = inLower.indexOf(preamble) + preamble.length(); String classNameWithSlashes = in.substring(preambleend); String className = classNameWithSlashes.replace('\\','.'); return className.substring(0, className.indexOf(".java")); }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/658fc4a1fb27408fb690399d0c2d957080d28915/IDEAJRenderer.java/buggy/pmd/src/net/sourceforge/pmd/renderers/IDEAJRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 10208, 93, 8708, 3834, 12, 780, 316, 13, 288, 3639, 514, 316, 4070, 273, 316, 18, 869, 5630, 5621, 3639, 514, 27841, 273, 315, 71, 31027, 892, 1695, 84, 1264, 1695, 84, 1264, 1695, 4816, 1695, 14432, 3639, 509, 27841, 409, 273, 316, 4070, 18, 31806, 12, 84, 793, 7119, 13, 397, 27841, 18, 2469, 5621, 3639, 514, 2658, 1190, 3738, 7690, 273, 316, 18, 28023, 12, 84, 793, 7119, 409, 1769, 3639, 514, 2658, 273, 2658, 1190, 3738, 7690, 18, 2079, 2668, 1695, 17023, 1093, 1769, 3639, 327, 2658, 18, 28023, 12, 20, 16, 2658, 18, 31806, 2932, 18, 6290, 7923, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 514, 10208, 93, 8708, 3834, 12, 780, 316, 13, 288, 3639, 514, 316, 4070, 273, 316, 18, 869, 5630, 5621, 3639, 514, 27841, 273, 315, 71, 31027, 892, 1695, 84, 1264, 1695, 84, 1264, 1695, 4816, 1695, 14432, 3639, 509, 27841, 409, 273, 316, 4070, 18, 31806, 12, 84, 793, 7119, 13, 397, 27841, 18, 2469, 5621, 3639, 514, 2658, 1190, 3738, 7690, 273, 316, 18, 28023, 12, 84, 793, 7119, 409, 1769, 3639, 514, 2658, 273, 2658, 1190, 3738, 7690, 18, 2079, 2668, 1695, 17023, 1093, 1769, 3639, 327, 2658, 18, 28023, 12, 20, 16, 2658, 18, 31806, 2932, 18, 6290, 7923, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.EncodedText getEncodedText() throws FieldNotFound { org.quickfix.field.EncodedText value = new org.quickfix.field.EncodedText();
public quickfix.field.EncodedText getEncodedText() throws FieldNotFound { quickfix.field.EncodedText value = new quickfix.field.EncodedText();
public org.quickfix.field.EncodedText getEncodedText() throws FieldNotFound { org.quickfix.field.EncodedText value = new org.quickfix.field.EncodedText(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/ListCancelRequest.java/clean/src/java/src/quickfix/fix42/ListCancelRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 28799, 1528, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 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, 10397, 1528, 28799, 1528, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1528, 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 ]
public UserLog findLastUserLog(String principal) { return null; }
public UserLog findLastUserLog(String principal) { return lastUserLog; }
public UserLog findLastUserLog(String principal) { return null; }
50379 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50379/55cb1fafb49ddc53b7a6d9c82800eb68705acebe/UserDetailsServiceImplTests.java/buggy/helianto/core/src/test/java/org/helianto/core/security/UserDetailsServiceImplTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 2177, 1343, 1104, 3024, 1299, 1343, 12, 780, 8897, 13, 288, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 2177, 1343, 1104, 3024, 1299, 1343, 12, 780, 8897, 13, 288, 327, 446, 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 ]
if (Workbench.getInstance() != null && !Workbench.getInstance().getDisplay().isDisposed()) { Workbench.getInstance().getDisplay().asyncExec(new Runnable() {
if (PlatformUI.getWorkbench() != null && !PlatformUI.getWorkbench().getDisplay().isDisposed()) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
public void taskChanged(final ITask updateTask) { if (updateTask != null && updateTask.getHandleIdentifier().equals(task.getHandleIdentifier())) { if (Workbench.getInstance() != null && !Workbench.getInstance().getDisplay().isDisposed()) { Workbench.getInstance().getDisplay().asyncExec(new Runnable() { public void run() { if (!description.isDisposed()) { description.setText(updateTask.getDescription()); // TaskInfoEditor.this.setPartName(updateTask.getDescription(true)); parentEditor.changeTitle(); } if (!priorityCombo.isDisposed()) { int selectionIndex = priorityCombo.indexOf(updateTask.getPriority()); priorityCombo.select(selectionIndex); } if (!statusCombo.isDisposed()) { int selectionIndex = statusCombo.indexOf(updateTask.getStatus().toString()); statusCombo.select(selectionIndex); } if (updateTask.isLocal() && !endDate.isDisposed()) { endDate.setText(getTaskDateString(updateTask)); } } }); } } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c2b903e46f237cb0ac028032f82587419787da6d/TaskInfoEditor.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/TaskInfoEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1562, 5033, 12, 6385, 467, 2174, 1089, 2174, 13, 288, 1082, 202, 430, 261, 2725, 2174, 480, 446, 597, 1089, 2174, 18, 588, 3259, 3004, 7675, 14963, 12, 4146, 18, 588, 3259, 3004, 1435, 3719, 288, 9506, 202, 430, 261, 2421, 22144, 18, 588, 1442, 1435, 480, 446, 597, 401, 2421, 22144, 18, 588, 1442, 7675, 588, 4236, 7675, 291, 1669, 7423, 10756, 288, 6862, 202, 2421, 22144, 18, 588, 1442, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 25083, 202, 482, 918, 1086, 1435, 288, 6862, 1082, 202, 430, 16051, 3384, 18, 291, 1669, 7423, 10756, 288, 6862, 9506, 202, 3384, 18, 542, 1528, 12, 2725, 2174, 18, 588, 3291, 10663, 6862, 9506, 202, 759, 3837, 966, 6946, 18, 2211, 18, 542, 1988, 461, 12, 2725, 2174, 18, 588, 3291, 12, 3767, 10019, 6862, 9506, 202, 2938, 6946, 18, 3427, 4247, 5621, 6862, 1082, 202, 97, 6862, 1082, 202, 430, 16051, 8457, 16156, 18, 291, 1669, 7423, 10756, 288, 6862, 9506, 202, 474, 4421, 1016, 273, 4394, 16156, 18, 31806, 12, 2725, 2174, 18, 588, 8183, 10663, 6862, 9506, 202, 8457, 16156, 18, 4025, 12, 10705, 1016, 1769, 6862, 1082, 202, 97, 6862, 1082, 202, 430, 16051, 2327, 16156, 18, 291, 1669, 7423, 10756, 288, 6862, 9506, 202, 474, 4421, 1016, 273, 1267, 16156, 18, 31806, 12, 2725, 2174, 18, 588, 1482, 7675, 10492, 10663, 6862, 9506, 202, 2327, 16156, 18, 4025, 12, 10705, 1016, 1769, 6862, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1562, 5033, 12, 6385, 467, 2174, 1089, 2174, 13, 288, 1082, 202, 430, 261, 2725, 2174, 480, 446, 597, 1089, 2174, 18, 588, 3259, 3004, 7675, 14963, 12, 4146, 18, 588, 3259, 3004, 1435, 3719, 288, 9506, 202, 430, 261, 2421, 22144, 18, 588, 1442, 1435, 480, 446, 597, 401, 2421, 22144, 18, 588, 1442, 7675, 588, 4236, 7675, 291, 1669, 7423, 10756, 288, 6862, 202, 2421, 22144, 18, 588, 1442, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 25083, 202, 482, 918, 1086, 1435, 288, 6862, 1082, 202, 430, 16051, 3384, 18, 291, 1669, 7423, 10756, 288, 6862, 9506, 202, 3384, 18, 542, 1528, 12, 2725, 2174, 18, 588, 3291, 10663, 2 ]
public int numInputCards() { int result = 0; for (int i=0; i<cardTypeLocation.length; i++) if (cardTypeLocation[i]==INPUT_CARD) result++; // check consistency if (nodeType==SMINI && result!=1) warn("C/MRI SMINI node with "+result+" input cards"); if (nodeType==USIC_SUSIC && result>=64) warn("C/MRI USIC/SUSIC node with "+result+" input cards"); return result; }
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/0e88aee0db365025f01e28eeccebf419ffaa4686/SerialNode.java/buggy/jmri/jmrix/cmri/serial/SerialNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 818, 1210, 30492, 1435, 288, 377, 202, 474, 563, 273, 374, 31, 377, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 3327, 559, 2735, 18, 2469, 31, 277, 27245, 1377, 202, 202, 430, 261, 3327, 559, 2735, 63, 77, 65, 631, 15934, 67, 28760, 13, 563, 9904, 31, 377, 1082, 377, 202, 759, 866, 14297, 377, 202, 430, 261, 2159, 559, 631, 55, 6236, 45, 597, 563, 5, 33, 21, 13, 1377, 202, 202, 8935, 2932, 39, 19, 49, 2259, 348, 6236, 45, 756, 598, 13773, 2088, 9078, 810, 18122, 8863, 377, 202, 430, 261, 2159, 559, 631, 57, 18118, 67, 6639, 18118, 597, 563, 34, 33, 1105, 13, 1377, 202, 202, 8935, 2932, 39, 19, 49, 2259, 587, 18118, 19, 6639, 18118, 756, 598, 13773, 2088, 9078, 810, 18122, 8863, 377, 1082, 377, 202, 2463, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 818, 1210, 30492, 1435, 288, 377, 202, 474, 563, 273, 374, 31, 377, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 3327, 559, 2735, 18, 2469, 31, 277, 27245, 1377, 202, 202, 430, 261, 3327, 559, 2735, 63, 77, 65, 631, 15934, 67, 28760, 13, 563, 9904, 31, 377, 1082, 377, 202, 759, 866, 14297, 377, 202, 430, 261, 2159, 559, 631, 55, 6236, 45, 597, 563, 5, 33, 21, 13, 1377, 202, 202, 8935, 2932, 39, 19, 49, 2259, 348, 6236, 45, 756, 598, 13773, 2088, 9078, 810, 18122, 8863, 377, 202, 430, 261, 2159, 559, 631, 57, 18118, 67, 6639, 18118, 597, 563, 34, 33, 1105, 13, 1377, 202, 202, 8935, 2932, 2 ]
generateBindingColumns( );
generateBindingColumns( ); setHihtLightColumn( );
protected Control createDialogArea( Composite parent ) { Composite parentComposite = (Composite) super.createDialogArea( parent ); if ( this.canSelect ) { /** * Label & button */ Composite composite = new Composite( parentComposite, SWT.NONE ); composite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); composite.setLayout( UIUtil.createGridLayoutWithoutMargin( 2, false ) ); CLabel warnLabel = new CLabel( composite, SWT.NONE ); warnLabel.setImage( PlatformUI.getWorkbench( ) .getSharedImages( ) .getImage( ISharedImages.IMG_OBJS_WARN_TSK ) ); warnLabel.setText( WARN_COLUMN_BINDINGS ); GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.horizontalSpan = 2; warnLabel.setLayoutData( gd ); Label label = new Label( composite, SWT.NONE ); label.setText( LABEL_COLUMN_BINDINGS ); label.setLayoutData( new GridData( GridData.BEGINNING ) ); // add data set combo selection. final CCombo combo = new CCombo( composite, SWT.READ_ONLY | SWT.BORDER ); combo.setBackground( PlatformUI.getWorkbench( ) .getDisplay( ) .getSystemColor( SWT.COLOR_LIST_BACKGROUND ) ); String[] dataSets = ChoiceSetFactory.getDataSets( ); String[] newList = new String[dataSets.length + 1]; newList[0] = ALL; System.arraycopy( dataSets, 0, newList, 1, dataSets.length ); combo.setItems( newList ); String dataSetName = getDataSetName( ); combo.deselectAll( ); combo.setText( dataSetName ); combo.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); gd = new GridData( ); gd.widthHint = 250; combo.setLayoutData( gd ); combo.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent event ) { String value = combo.getText( ); if ( value.equals( ALL ) ) { value = null; } int rCode = canChangeDataSet( value ); if ( rCode == 2 ) { combo.setText( getDataSetName( ) ); } else { try { DataSetHandle dataSet = null; if ( value != null ) { dataSet = inputElement.getModuleHandle( ) .findDataSet( value ); } inputElement.setDataSet( dataSet ); getParameterBindingPropertyHandle( ).clearValue( ); if ( rCode == 0 ) { inputElement.getColumnBindings( ).clearValue( ); } generateBindingColumns( ); } catch ( SemanticException e ) { ExceptionHandler.handle( e ); } } } } ); } /** * Binding table */ Table table = new Table( parentComposite, SWT.SINGLE | SWT.FULL_SELECTION | SWT.BORDER | ( canSelect ? SWT.CHECK : 0 ) ); GridData gd = new GridData( GridData.FILL_BOTH ); gd.heightHint = 200; table.setLayoutData( gd ); table.setLinesVisible( true ); table.setHeaderVisible( true ); table.addKeyListener( new KeyAdapter( ) { /** * @see org.eclipse.swt.events.KeyAdapter#keyReleased(org.eclipse.swt.events.KeyEvent) */ public void keyReleased( KeyEvent e ) { // If Delete pressed, delete the selected row if ( e.keyCode == SWT.DEL ) { IStructuredSelection selection = (IStructuredSelection) bindingTable.getSelection( ); if ( selection.getFirstElement( ) instanceof ComputedColumnHandle ) { deleteRow( (ComputedColumnHandle) selection.getFirstElement( ) ); } } } } ); String[] columns = null; int[] columnWidth = null; CellEditor[] cellEditors; expressionCellEditor = new ExpressionCellEditor( table ); columns = new String[]{ null, COLUMN_NAME, COLUMN_DATATYPE, COLUMN_EXPRESSION, COLUMN_AGGREGATEON }; columnWidth = new int[]{ canSelect ? 25 : 20, 150, 70, 150, 150, }; groups = new String[groupList.size( ) + 1]; groups[0] = ALL; for ( int i = 0; i < groupList.size( ); i++ ) { groups[i + 1] = ( (GroupHandle) groupList.get( i ) ).getName( ); } cellEditors = new CellEditor[]{ null, new TextCellEditor( table ), new ComboBoxCellEditor( table, dataTypeDisplayNames ), expressionCellEditor, new ComboBoxCellEditor( table, groups, SWT.READ_ONLY ), }; for ( int i = 0; i < columns.length; i++ ) { TableColumn column = new TableColumn( table, SWT.LEFT ); column.setResizable( columns[i] != null ); if ( columns[i] != null ) { column.setText( columns[i] ); } column.setWidth( columnWidth[i] ); } if ( canSelect ) { bindingTable = new CheckboxTableViewer( table ); ( (CheckboxTableViewer) bindingTable ).addCheckStateListener( new ICheckStateListener( ) { public void checkStateChanged( CheckStateChangedEvent event ) { if ( event.getElement( ) instanceof ComputedColumnHandle ) { ComputedColumnHandle handle = (ComputedColumnHandle) event.getElement( ); if ( handle.getName( ).equals( selectedColumnName ) ) { selectedColumnName = null; } else { selectedColumnName = handle.getName( ); } updateSelection( ); updateButtons( ); } else { ( (CheckboxTableViewer) bindingTable ).setChecked( dummyChoice, false ); } } } ); } else { bindingTable = new TableViewer( table ); } bindingTable.setCellEditors( cellEditors ); bindingTable.setColumnProperties( columns ); bindingTable.setContentProvider( contentProvider ); bindingTable.setLabelProvider( labelProvider ); bindingTable.setCellModifier( cellModifier ); bindingTable.setInput( inputElement ); bindingTable.addSelectionChangedListener( new ISelectionChangedListener( ) { public void selectionChanged( SelectionChangedEvent event ) { // updateTableButtons( ); if ( !bindingTable.getSelection( ).isEmpty( ) ) { Object obj = ( (IStructuredSelection) bindingTable.getSelection( ) ).getFirstElement( ); if ( obj == dummyChoice && !existHighLightColumn( ) ) { bindingTable.refresh( ); setHihtLightColumn( ); } else if ( obj instanceof ComputedColumnHandle ) { ComputedColumnHandle column = (ComputedColumnHandle) obj; BindingExpressionProvider provider = new BindingExpressionProvider( column.getElementHandle( ) ); provider.addFilter( new ComputedColumnExpressionFilter( bindingTable ) ); expressionCellEditor.setExpressionProvider( provider ); } } } } ); // initTableCellColor( ); return parentComposite; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/2f5b4aba876b0356d9b4944bcf336bbd19cefb65/ColumnBindingDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ColumnBindingDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6353, 5484, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 982, 9400, 273, 261, 9400, 13, 2240, 18, 2640, 6353, 5484, 12, 982, 11272, 202, 202, 430, 261, 333, 18, 4169, 3391, 262, 202, 202, 95, 1082, 202, 26873, 9506, 380, 5287, 473, 3568, 9506, 1195, 1082, 202, 9400, 9635, 273, 394, 14728, 12, 982, 9400, 16, 348, 8588, 18, 9826, 11272, 1082, 202, 27676, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 1082, 202, 27676, 18, 542, 3744, 12, 6484, 1304, 18, 2640, 6313, 3744, 8073, 9524, 12, 576, 16, 629, 262, 11272, 1082, 202, 39, 2224, 1894, 2224, 273, 394, 385, 2224, 12, 9635, 16, 348, 8588, 18, 9826, 11272, 1082, 202, 8935, 2224, 18, 542, 2040, 12, 11810, 5370, 18, 588, 2421, 22144, 12, 262, 6862, 202, 18, 588, 7887, 8946, 12, 262, 6862, 202, 18, 588, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 5704, 6479, 67, 27999, 67, 8047, 47, 262, 11272, 1082, 202, 8935, 2224, 18, 542, 1528, 12, 20440, 67, 11009, 67, 2739, 55, 11272, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 11272, 1082, 202, 19016, 18, 18396, 6952, 273, 576, 31, 1082, 202, 8935, 2224, 18, 542, 3744, 751, 12, 15551, 11272, 1082, 202, 2224, 1433, 273, 394, 5287, 12, 9635, 16, 348, 8588, 18, 9826, 11272, 1082, 202, 1925, 18, 542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6353, 5484, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 982, 9400, 273, 261, 9400, 13, 2240, 18, 2640, 6353, 5484, 12, 982, 11272, 202, 202, 430, 261, 333, 18, 4169, 3391, 262, 202, 202, 95, 1082, 202, 26873, 9506, 380, 5287, 473, 3568, 9506, 1195, 1082, 202, 9400, 9635, 273, 394, 14728, 12, 982, 9400, 16, 348, 8588, 18, 9826, 11272, 1082, 202, 27676, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 1082, 202, 27676, 18, 542, 3744, 12, 6484, 1304, 18, 2640, 6313, 3744, 8073, 9524, 12, 576, 16, 629, 262, 11272, 1082, 202, 39, 2224, 1894, 2224, 273, 394, 385, 2 ]
boolean reveal) { TableViewer viewer = getViewer();
boolean reveal) { TableViewer viewer = getViewer();
public void setSelection(IStructuredSelection structuredSelection, boolean reveal) { TableViewer viewer = getViewer(); List newSelection = new ArrayList(structuredSelection.size()); for (Iterator i = structuredSelection.iterator(); i.hasNext();) { Object next = i.next(); if (next instanceof IMarker) { ConcreteMarker marker = currentMarkers .getMarker((IMarker) next); if (marker != null) { newSelection.add(marker); } } } if (viewer != null) viewer.setSelection(new StructuredSelection(newSelection), reveal); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1ceb585b9b16047c6c580984b0c9962c41a22ba6/MarkerView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 6233, 12, 45, 30733, 6233, 19788, 6233, 16, 5411, 1250, 283, 24293, 13, 288, 3639, 3555, 18415, 14157, 273, 8893, 264, 5621, 3639, 987, 394, 6233, 273, 394, 2407, 12, 17233, 6233, 18, 1467, 10663, 3639, 364, 261, 3198, 277, 273, 19788, 6233, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 1033, 1024, 273, 277, 18, 4285, 5621, 5411, 309, 261, 4285, 1276, 467, 7078, 13, 288, 7734, 735, 6883, 7078, 5373, 273, 783, 21644, 13491, 263, 588, 7078, 12443, 3445, 1313, 264, 13, 1024, 1769, 7734, 309, 261, 11145, 480, 446, 13, 288, 10792, 394, 6233, 18, 1289, 12, 11145, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 309, 261, 25256, 480, 446, 13, 5411, 14157, 18, 542, 6233, 12, 2704, 7362, 2862, 6233, 12, 2704, 6233, 3631, 283, 24293, 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, 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, 5411, 1250, 283, 24293, 13, 288, 3639, 3555, 18415, 14157, 273, 8893, 264, 5621, 3639, 987, 394, 6233, 273, 394, 2407, 12, 17233, 6233, 18, 1467, 10663, 3639, 364, 261, 3198, 277, 273, 19788, 6233, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 1033, 1024, 273, 277, 18, 4285, 5621, 5411, 309, 261, 4285, 1276, 467, 7078, 13, 288, 7734, 735, 6883, 7078, 5373, 273, 783, 21644, 13491, 263, 588, 7078, 12443, 3445, 1313, 264, 13, 1024, 1769, 7734, 309, 261, 11145, 480, 446, 13, 288, 10792, 394, 6233, 18, 1289, 12, 11145, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 309, 261, 25256, 2 ]
Root root = Root.getRoot(); pdl.emit(root);
pdl.emit(Root.getRoot());
public static final void main(String[] args) throws Exception { PDL pdl = new PDL(); for (int i = 0; i < args.length; i++) { pdl.load(new FileReader(args[i]), args[i]); } Root root = Root.getRoot(); pdl.emit(root); }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/703319bfd292f40acbfef1124c76ffd5f8e143a3/PDL.java/clean/archive/proto/src/com/arsdigita/persistence/proto/pdl/PDL.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 3639, 453, 8914, 4863, 80, 273, 394, 453, 8914, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 4863, 80, 18, 945, 12, 2704, 23010, 12, 1968, 63, 77, 65, 3631, 833, 63, 77, 19226, 3639, 289, 3639, 7450, 1365, 273, 7450, 18, 588, 2375, 5621, 3639, 4863, 80, 18, 18356, 12, 3085, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 3639, 453, 8914, 4863, 80, 273, 394, 453, 8914, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 4863, 80, 18, 945, 12, 2704, 23010, 12, 1968, 63, 77, 65, 3631, 833, 63, 77, 19226, 3639, 289, 3639, 7450, 1365, 273, 7450, 18, 588, 2375, 5621, 3639, 4863, 80, 18, 18356, 12, 3085, 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 ]
if (previousData.isChangeOrRestore()) {
if (previousData.isChangeOrRestore() || isBinary()) {
public VersionedFile createFile(Date beginOfLogDate) { if (isFilteredFile() || !fileExistsInLogPeriod()) { return null; } if (revisions.size() == 1 && lastAdded.isAddOnSubbranch()) { return null; } VersionedFile file = new VersionedFile(name, builder.getDirectory(name)); if (revisions.isEmpty()) { buildBeginOfLogRevision(file, beginOfLogDate, getFinalLOC(), null); return file; } Iterator it = revisions.iterator(); RevisionData currentData = (RevisionData) it.next(); int currentLOC = getFinalLOC(); RevisionData previousData; int previousLOC; SortedSet symbolicNames; while (it.hasNext()) { previousData = currentData; previousLOC = currentLOC; currentData = (RevisionData) it.next(); currentLOC = previousLOC - getLOCChange(previousData); // symbolic names for previousData symbolicNames = createSymbolicNamesCollection(previousData); if (previousData.isChangeOrRestore()) { if (currentData.isDeletion() || currentData.isAddOnSubbranch()) { buildCreationRevision(file, previousData, previousLOC, symbolicNames); } else { buildChangeRevision(file, previousData, previousLOC, symbolicNames); } } else if (previousData.isDeletion()) { buildDeletionRevision(file, previousData, previousLOC, symbolicNames); } else { logger.warning("illegal state in " + file.getFilenameWithPath() + ":" + previousData.getRevisionNumber()); } } // symbolic names for currentData symbolicNames = createSymbolicNamesCollection(currentData); int nextLinesOfCode = currentLOC - getLOCChange(currentData); if (currentData.isCreation()) { buildCreationRevision(file, currentData, currentLOC, symbolicNames); } else if (currentData.isDeletion()) { buildDeletionRevision(file, currentData, currentLOC, symbolicNames); buildBeginOfLogRevision(file, beginOfLogDate, nextLinesOfCode, symbolicNames); } else if (currentData.isChangeOrRestore()) { buildChangeRevision(file, currentData, currentLOC, symbolicNames); buildBeginOfLogRevision(file, beginOfLogDate, nextLinesOfCode, symbolicNames); } else if (currentData.isAddOnSubbranch()) { // ignore } else { logger.warning("illegal state in " + file.getFilenameWithPath() + ":" + currentData.getRevisionNumber()); } return file; }
49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/c009af5deeb0216e9692ffdf50c8c3760e8268e2/FileBuilder.java/buggy/src/net/sf/statcvs/input/FileBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18607, 812, 21266, 12, 1626, 2376, 951, 1343, 1626, 13, 288, 3639, 309, 261, 291, 14478, 812, 1435, 747, 401, 768, 4002, 382, 1343, 5027, 10756, 288, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 29892, 18, 1467, 1435, 422, 404, 597, 1142, 8602, 18, 291, 22001, 1676, 7500, 10756, 288, 5411, 327, 446, 31, 3639, 289, 3639, 18607, 812, 585, 273, 394, 18607, 812, 12, 529, 16, 2089, 18, 588, 2853, 12, 529, 10019, 3639, 309, 261, 29892, 18, 291, 1921, 10756, 288, 5411, 1361, 8149, 951, 1343, 7939, 12, 768, 16, 2376, 951, 1343, 1626, 16, 2812, 1490, 29450, 9334, 446, 1769, 5411, 327, 585, 31, 3639, 289, 3639, 4498, 518, 273, 18325, 18, 9838, 5621, 3639, 13132, 751, 30685, 273, 261, 7939, 751, 13, 518, 18, 4285, 5621, 3639, 509, 783, 29450, 273, 2812, 1490, 29450, 5621, 3639, 13132, 751, 2416, 751, 31, 3639, 509, 2416, 29450, 31, 3639, 22123, 16754, 1557, 31, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 2416, 751, 273, 30685, 31, 5411, 2416, 29450, 273, 783, 29450, 31, 5411, 30685, 273, 261, 7939, 751, 13, 518, 18, 4285, 5621, 5411, 783, 29450, 273, 2416, 29450, 300, 336, 29450, 3043, 12, 11515, 751, 1769, 5411, 368, 16754, 1257, 364, 2416, 751, 5411, 16754, 1557, 273, 752, 10876, 12164, 1557, 2532, 12, 11515, 751, 1769, 5411, 309, 261, 11515, 751, 18, 291, 3043, 1162, 10874, 1435, 747, 353, 5905, 10756, 288, 7734, 309, 261, 2972, 751, 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, 18607, 812, 21266, 12, 1626, 2376, 951, 1343, 1626, 13, 288, 3639, 309, 261, 291, 14478, 812, 1435, 747, 401, 768, 4002, 382, 1343, 5027, 10756, 288, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 29892, 18, 1467, 1435, 422, 404, 597, 1142, 8602, 18, 291, 22001, 1676, 7500, 10756, 288, 5411, 327, 446, 31, 3639, 289, 3639, 18607, 812, 585, 273, 394, 18607, 812, 12, 529, 16, 2089, 18, 588, 2853, 12, 529, 10019, 3639, 309, 261, 29892, 18, 291, 1921, 10756, 288, 5411, 1361, 8149, 951, 1343, 7939, 12, 768, 16, 2376, 951, 1343, 1626, 16, 2812, 1490, 29450, 9334, 446, 1769, 5411, 327, 585, 31, 3639, 289, 3639, 4498, 518, 273, 18325, 18, 2 ]
Dimension d = super.getPreferredSize(); System.out.println("JFrame.getPrefSize(): " + d + " , comp=" + getComponentCount() + ", layout=" + getLayout()); return d;
return super.getPreferredSize();
public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); System.out.println("JFrame.getPrefSize(): " + d + " , comp=" + getComponentCount() + ", layout=" + getLayout()); return d; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/9e763280cf1369c9681ea91b32ae758840a76dc3/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 1225, 1435, 225, 288, 565, 13037, 302, 273, 2240, 18, 588, 16028, 1225, 5621, 565, 2332, 18, 659, 18, 8222, 2932, 46, 3219, 18, 588, 23218, 1225, 13332, 315, 397, 302, 397, 315, 269, 1161, 1546, 15604, 397, 10322, 1380, 1435, 397, 3104, 3511, 1546, 397, 17670, 10663, 565, 327, 302, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 1225, 1435, 225, 288, 565, 13037, 302, 273, 2240, 18, 588, 16028, 1225, 5621, 565, 2332, 18, 659, 18, 8222, 2932, 46, 3219, 18, 588, 23218, 1225, 13332, 315, 397, 302, 397, 315, 269, 1161, 1546, 15604, 397, 10322, 1380, 1435, 397, 3104, 3511, 1546, 397, 17670, 10663, 565, 327, 302, 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 ]
ExampleTestCase testCase = new ExampleTestCase(); MockVerifiable aVerifiable = new MockVerifiable();
ExampleTestCase testCase = new ExampleTestCase(); MockVerifiable aVerifiable = new MockVerifiable();
public void testAllowsVerifiableObjectsToBeUnregistered() throws Throwable { // setup ExampleTestCase testCase = new ExampleTestCase(); MockVerifiable aVerifiable = new MockVerifiable(); // expect aVerifiable.setExpectedVerifyCalls(0); // execute testCase.registerToVerify(aVerifiable); testCase.unregisterToVerify(aVerifiable); testCase.runBare(); // verify aVerifiable.verifyExpectations(); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/VerifyingTestCaseTest.java/clean/jmock/core/src/test/jmock/core/VerifyingTestCaseTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19132, 3945, 8424, 4710, 15360, 984, 14327, 1435, 1216, 4206, 288, 3639, 368, 3875, 3639, 5090, 4709, 2449, 1842, 2449, 273, 394, 5090, 4709, 2449, 5621, 3639, 7867, 3945, 8424, 279, 3945, 8424, 273, 394, 7867, 3945, 8424, 5621, 3639, 368, 4489, 3639, 279, 3945, 8424, 18, 542, 6861, 8097, 10125, 12, 20, 1769, 3639, 368, 1836, 3639, 1842, 2449, 18, 4861, 774, 8097, 12, 69, 3945, 8424, 1769, 3639, 1842, 2449, 18, 318, 4861, 774, 8097, 12, 69, 3945, 8424, 1769, 3639, 1842, 2449, 18, 2681, 31242, 5621, 3639, 368, 3929, 3639, 279, 3945, 8424, 18, 8705, 11988, 1012, 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, 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 3639, 7867, 3945, 8424, 279, 3945, 8424, 273, 394, 7867, 3945, 8424, 5621, 3639, 368, 4489, 3639, 279, 3945, 8424, 18, 542, 6861, 8097, 10125, 12, 20, 1769, 3639, 368, 1836, 3639, 1842, 2449, 18, 4861, 774, 8097, 12, 69, 3945, 8424, 1769, 3639, 1842, 2449, 18, 318, 4861, 774, 8097, 12, 69, 3945, 8424, 1769, 3639, 1842, 2449, 18, 2681, 31242, 5621, 3639, 368, 3929, 3639, 279, 3945, 8424, 18, 8705, 11988, 1012, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (verbose >= 1) traceContext.pop();
if (verbose >= 2) traceContext.pop();
private static int copyToBootImage(Object jdkObject, boolean allocOnly, int overwriteOffset, Object parentObject) throws IllegalAccessException { // // Return object if it is already copied and not being overwritten // BootImageMap.Entry mapEntry = BootImageMap.findOrCreateEntry(jdkObject); if (mapEntry.imageOffset != OBJECT_NOT_ALLOCATED && overwriteOffset == -1) return mapEntry.imageOffset; if (verbose >= 2) depth++; // // fetch object's type information // Class jdkType = jdkObject.getClass(); VM_Type rvmType = getRvmType(jdkType); if (rvmType == null) { if (verbose >= 2) traverseObject(jdkObject); if (verbose >= 2) depth--; return OBJECT_NOT_PRESENT; // object not part of bootimage } // // copy object to image // if (jdkType.isArray()) { VM_Array rvmArrayType = rvmType.asArray(); // // allocate space in image // int arrayCount = Array.getLength(jdkObject); int arrayImageOffset = (overwriteOffset == -1) ? bootImage.allocateArray(rvmArrayType, arrayCount) : overwriteOffset; mapEntry.imageOffset = arrayImageOffset; if (verbose >= 2) { if (depth == depthCutoff) say(SPACES.substring(0,depth+1), "TOO DEEP: cutting off"); else if (depth < depthCutoff) { String tab = SPACES.substring(0,depth+1); if (depth == 0 && jtocCount >= 0) tab = tab + "jtoc #" + String.valueOf(jtocCount) + ": "; int arraySize = rvmArrayType.getInstanceSize(arrayCount); say(tab, "Copying array ", jdkType.getName(), " length=", String.valueOf(arrayCount), (arraySize >= LARGE_ARRAY_SIZE) ? " large object!!!" : ""); } } VM_Type rvmElementType = rvmArrayType.getElementType(); // Show info on reachability of int arrays // if (false && rvmElementType.equals(VM_Type.IntType)) { if (parentObject != null) { Class parentObjectType = parentObject.getClass(); VM.sysWrite("Copying int array (", 4 * ((int []) jdkObject).length); VM.sysWriteln(" bytes) from parent object of type ", parentObjectType.toString()); } else { VM.sysWriteln("Copying int array from no parent object"); } } // // copy array elements from host jdk address space into image // recurse on values that are references // if (rvmElementType.isPrimitiveType()) { // array element is logical or numeric type if (rvmElementType.equals(VM_Type.BooleanType)) { boolean values[] = (boolean[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setByte(arrayImageOffset + i, values[i] ? 1 : 0); } else if (rvmElementType.equals(VM_Type.ByteType)) { byte values[] = (byte[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setByte(arrayImageOffset + i, values[i]); } else if (rvmElementType.equals(VM_Type.CharType)) { char values[] = (char[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setHalfWord(arrayImageOffset + (i << LOG_BYTES_IN_CHAR), values[i]); } else if (rvmElementType.equals(VM_Type.ShortType)) { short values[] = (short[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setHalfWord(arrayImageOffset + (i << LOG_BYTES_IN_SHORT), values[i]); } else if (rvmElementType.equals(VM_Type.IntType)) { int values[] = (int[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_INT), values[i]); } else if (rvmElementType.equals(VM_Type.LongType)) { long values[] = (long[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_LONG), values[i]); } else if (rvmElementType.equals(VM_Type.FloatType)) { float values[] = (float[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_FLOAT), Float.floatToIntBits(values[i])); } else if (rvmElementType.equals(VM_Type.DoubleType)) { double values[] = (double[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_DOUBLE), Double.doubleToLongBits(values[i])); } else fail("unexpected primitive array type: " + rvmArrayType); } else { // array element is reference type Object values[] = (Object []) jdkObject; Class jdkClass = jdkObject.getClass(); if (!allocOnly) { for (int i = 0; i<arrayCount; ++i) { if (values[i] != null) { if (verbose >= 1) traceContext.push(values[i].getClass().getName(), jdkClass.getName(), i); int imageOffset = copyToBootImage(values[i], allocOnly, -1, jdkObject); if (imageOffset == OBJECT_NOT_PRESENT) { // object not part of bootimage: install null reference if (verbose >= 1) traceContext.traceObjectNotInBootImage(); bootImage.setNullAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS)); } else { bootImage.setAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), bootImageAddress + imageOffset); } if (verbose >= 1) traceContext.pop(); } } } } } else { if (rvmType == VM_Type.AddressArrayType) { if (verbose >= 2) depth--; VM_AddressArray addrArray = (VM_AddressArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.OffsetArrayType) { if (verbose >= 2) depth--; VM_OffsetArray addrArray = (VM_OffsetArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.WordArrayType) { if (verbose >= 2) depth--; VM_WordArray addrArray = (VM_WordArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.ExtentArrayType) { if (verbose >= 2) depth--; VM_ExtentArray addrArray = (VM_ExtentArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.CodeArrayType) { if (verbose >= 2) depth--; VM_CodeArray codeArray = (VM_CodeArray) jdkObject; Object backing = codeArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType.isMagicType()) { VM.sysWriteln("Unhandled copying of magic type: " + rvmType.getDescriptor().toString()); VM.sysFail("incomplete boot image support"); } // // allocate space in image // VM_Class rvmScalarType = rvmType.asClass(); int scalarImageOffset = (overwriteOffset == -1) ? bootImage.allocateScalar(rvmScalarType) : overwriteOffset; mapEntry.imageOffset = scalarImageOffset; if (verbose >= 2) { if (depth == depthCutoff) say(SPACES.substring(0,depth+1), "TOO DEEP: cutting off"); else if (depth < depthCutoff) { String tab = SPACES.substring(0,depth+1); if (depth == 0 && jtocCount >= 0) tab = tab + "jtoc #" + String.valueOf(jtocCount) + " "; int scalarSize = rvmScalarType.getInstanceSize(); say(tab, "Copying object ", jdkType.getName(), " size=", String.valueOf(scalarSize), (scalarSize >= LARGE_SCALAR_SIZE) ? " large object!!!" : ""); } } // // copy object fields from host jdk address space into image // recurse on values that are references // VM_Field[] rvmFields = rvmScalarType.getInstanceFields(); for (int i = 0, n = rvmFields.length; i < n; ++i) { VM_Field rvmField = rvmFields[i]; VM_TypeReference rvmFieldType = rvmField.getType(); int rvmFieldOffset = scalarImageOffset + rvmField.getOffset(); String rvmFieldName = rvmField.getName().toString(); Field jdkFieldAcc = getJdkFieldAccessor(jdkType, i, INSTANCE_FIELD); if (jdkFieldAcc == null) { if (verbose >= 1) traceContext.push(rvmFieldType.toString(), jdkType.getName(), rvmFieldName); if (verbose >= 1) traceContext.traceFieldNotInHostJdk(); if (verbose >= 1) traceContext.pop(); if (rvmFieldType.isPrimitiveType()) switch (rvmField.getType().getSize()) { case 4: bootImage.setFullWord(rvmFieldOffset, 0); break; case 8: bootImage.setDoubleWord(rvmFieldOffset, 0L); break; default:fail("unexpected field type: " + rvmFieldType); break; } else bootImage.setNullAddressWord(rvmFieldOffset); continue; } if (rvmFieldType.isPrimitiveType()) { // field is logical or numeric type if (rvmFieldType.isBooleanType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getBoolean(jdkObject) ? 1 : 0); } else if (rvmFieldType.isByteType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getByte(jdkObject)); } else if (rvmFieldType.isCharType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getChar(jdkObject)); } else if (rvmFieldType.isShortType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getShort(jdkObject)); } else if (rvmFieldType.isIntType()) { try { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getInt(jdkObject)); } catch (IllegalArgumentException ex) { System.err.println( "type " + rvmScalarType + ", field " + rvmField); throw ex; } } else if (rvmFieldType.isLongType()) { bootImage.setDoubleWord(rvmFieldOffset, jdkFieldAcc.getLong(jdkObject)); } else if (rvmFieldType.isFloatType()) { float f = jdkFieldAcc.getFloat(jdkObject); bootImage.setFullWord(rvmFieldOffset, Float.floatToIntBits(f)); } else if (rvmFieldType.isDoubleType()) { double d = jdkFieldAcc.getDouble(jdkObject); bootImage.setDoubleWord(rvmFieldOffset, Double.doubleToLongBits(d)); } else if (rvmFieldType.equals(VM_TypeReference.Address)) { Object o = jdkFieldAcc.get(jdkObject); VM_Address addr = (VM_Address) o; String msg = " instance field " + rvmField.toString(); if (VM.BuildFor32Addr) bootImage.setFullWord(rvmFieldOffset, (int) getAddressValue(addr, msg, rvmField != VM_Entrypoints.vpStatusAddressField)); else if (VM.BuildFor64Addr) bootImage.setDoubleWord(rvmFieldOffset, getAddressValue(addr, msg, rvmField != VM_Entrypoints.vpStatusAddressField)); } else if (rvmFieldType.equals(VM_TypeReference.Word)) { VM_Word w = (VM_Word) jdkFieldAcc.get(jdkObject); VM_Statics.setSlotContents(rvmFieldOffset, w.toInt()); } else if (rvmFieldType.equals(VM_TypeReference.Offset)) { VM_Offset o = (VM_Offset) jdkFieldAcc.get(jdkObject); VM_Statics.setSlotContents(rvmFieldOffset, o.toInt()); } else if (rvmFieldType.equals(VM_TypeReference.Extent)) { VM_Extent e = (VM_Extent) jdkFieldAcc.get(jdkObject); VM_Statics.setSlotContents(rvmFieldOffset, e.toInt()); } else { fail("unexpected primitive field type: " + rvmFieldType); } } else { // field is reference type Object value = jdkFieldAcc.get(jdkObject); if (!allocOnly && value != null) { Class jdkClass = jdkFieldAcc.getDeclaringClass(); if (verbose >= 1) traceContext.push(value.getClass().getName(), jdkClass.getName(), jdkFieldAcc.getName()); int imageOffset = copyToBootImage(value, allocOnly, -1, jdkObject); if (imageOffset == OBJECT_NOT_PRESENT) { // object not part of bootimage: install null reference if (verbose >= 1) traceContext.traceObjectNotInBootImage(); bootImage.setNullAddressWord(rvmFieldOffset); } else bootImage.setAddressWord(rvmFieldOffset, bootImageAddress + imageOffset); if (verbose >= 1) traceContext.pop(); } } } } // // copy object's type information block into image, if it's not there // already // if (!allocOnly) { if (verbose >= 1) traceContext.push("", jdkObject.getClass().getName(), "tib"); int tibImageOffset = copyToBootImage(rvmType.getTypeInformationBlock(), allocOnly, -1, jdkObject); if (verbose >= 1) traceContext.pop(); if (tibImageOffset == OBJECT_NOT_ALLOCATED) fail("can't copy tib for " + jdkObject); int tibAddress = bootImageAddress + tibImageOffset; VM_ObjectModel.setTIB(bootImage, mapEntry.imageOffset, VM_Address.fromInt(tibAddress), rvmType); } if (verbose >= 2) depth--; return mapEntry.imageOffset; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/21ce22c702327e64b0bf62e31e8a5812df71b0a4/BootImageWriter.java/buggy/rvm/src/tools/bootImageWriter/BootImageWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 509, 29817, 15817, 2040, 12, 921, 525, 2883, 921, 16, 4766, 1377, 1250, 4767, 3386, 16, 509, 6156, 2335, 16, 4766, 1377, 1033, 982, 921, 13, 565, 1216, 11900, 565, 288, 1377, 368, 1377, 368, 2000, 733, 309, 518, 353, 1818, 9268, 471, 486, 3832, 15345, 1377, 368, 1377, 26254, 2040, 863, 18, 1622, 852, 1622, 273, 26254, 2040, 863, 18, 4720, 17717, 1622, 12, 78, 2883, 921, 1769, 1377, 309, 261, 1458, 1622, 18, 2730, 2335, 480, 12166, 67, 4400, 67, 1013, 1502, 13890, 597, 6156, 2335, 422, 300, 21, 13, 3639, 327, 852, 1622, 18, 2730, 2335, 31, 1377, 309, 261, 11369, 1545, 576, 13, 3598, 9904, 31, 1377, 368, 1377, 368, 2158, 733, 1807, 618, 1779, 1377, 368, 1377, 1659, 282, 525, 2883, 559, 273, 525, 2883, 921, 18, 588, 797, 5621, 1377, 8251, 67, 559, 436, 3489, 559, 273, 4170, 3489, 559, 12, 78, 2883, 559, 1769, 1377, 309, 261, 86, 3489, 559, 422, 446, 13, 288, 3639, 309, 261, 11369, 1545, 576, 13, 10080, 921, 12, 78, 2883, 921, 1769, 3639, 309, 261, 11369, 1545, 576, 13, 3598, 413, 31, 3639, 327, 12166, 67, 4400, 67, 3670, 17418, 31, 368, 733, 486, 1087, 434, 4835, 2730, 1377, 289, 1377, 368, 1377, 368, 1610, 733, 358, 1316, 1377, 368, 1377, 309, 261, 78, 2883, 559, 18, 291, 1076, 10756, 288, 3639, 8251, 67, 1076, 436, 3489, 27182, 273, 436, 3489, 559, 18, 345, 1076, 5621, 3639, 368, 3639, 368, 10101, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 509, 29817, 15817, 2040, 12, 921, 525, 2883, 921, 16, 4766, 1377, 1250, 4767, 3386, 16, 509, 6156, 2335, 16, 4766, 1377, 1033, 982, 921, 13, 565, 1216, 11900, 565, 288, 1377, 368, 1377, 368, 2000, 733, 309, 518, 353, 1818, 9268, 471, 486, 3832, 15345, 1377, 368, 1377, 26254, 2040, 863, 18, 1622, 852, 1622, 273, 26254, 2040, 863, 18, 4720, 17717, 1622, 12, 78, 2883, 921, 1769, 1377, 309, 261, 1458, 1622, 18, 2730, 2335, 480, 12166, 67, 4400, 67, 1013, 1502, 13890, 597, 6156, 2335, 422, 300, 21, 13, 3639, 327, 852, 1622, 18, 2730, 2335, 31, 1377, 309, 261, 11369, 1545, 576, 13, 3598, 9904, 31, 1377, 368, 1377, 368, 2158, 733, 2 ]
{ }
{ }
public void focusLost(FocusEvent event) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7155, 19024, 12, 9233, 1133, 871, 13, 565, 288, 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 ]
fromString(StringTokenizer st, dnsName name, int ttl, short type, short dclass) throws IOException {
fromString(MyStringTokenizer st, dnsName name, int ttl, short type, short dclass) throws IOException {
fromString(StringTokenizer st, dnsName name, int ttl, short type, short dclass)throws IOException { dnsRecord rec; try { Class rrclass; Constructor m; String s = dns.typeString(type); rrclass = Class.forName("dns" + s + "Record"); m = rrclass.getConstructor(new Class [] { dnsName.class, java.lang.Short.TYPE, java.lang.Integer.TYPE, StringTokenizer.class }); rec = (dnsRecord) m.newInstance(new Object [] { name, new Short(dclass), new Integer(ttl), st }); return rec; } catch (ClassNotFoundException e) { rec = new dnsUNKRecord(name, type, dclass, ttl, st); return rec; } catch (InvocationTargetException e) { System.out.println("from text: " + e); System.out.println(e.getTargetException()); return null; } catch (Exception e) { System.out.println("from text: " + e); return null; }}
4227 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4227/8a9755345c9c34f1168b16166d8283223ef1777e/dnsRecord.java/buggy/DNS/dnsRecord.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 14855, 12, 780, 10524, 384, 16, 6605, 461, 508, 16, 509, 6337, 16, 3025, 618, 16, 3025, 302, 1106, 13, 15069, 1860, 288, 202, 14926, 2115, 1950, 31, 202, 698, 288, 202, 202, 797, 8354, 1106, 31, 202, 202, 6293, 312, 31, 202, 202, 780, 272, 273, 6605, 18, 723, 780, 12, 723, 1769, 202, 202, 523, 1106, 273, 1659, 18, 1884, 461, 2932, 14926, 6, 397, 272, 397, 315, 2115, 8863, 202, 202, 81, 273, 8354, 1106, 18, 588, 6293, 12, 2704, 1659, 5378, 288, 25083, 202, 14926, 461, 18, 1106, 16, 25083, 202, 6290, 18, 4936, 18, 4897, 18, 2399, 16, 25083, 202, 6290, 18, 4936, 18, 4522, 18, 2399, 16, 25083, 202, 780, 10524, 18, 1106, 25083, 282, 15549, 202, 202, 3927, 273, 261, 14926, 2115, 13, 312, 18, 2704, 1442, 12, 2704, 1033, 5378, 288, 6862, 1082, 202, 529, 16, 6862, 1082, 202, 2704, 7925, 12, 72, 1106, 3631, 6862, 1082, 202, 2704, 2144, 12, 12546, 3631, 6862, 1082, 202, 334, 25083, 202, 22938, 202, 202, 2463, 1950, 31, 202, 97, 202, 14683, 261, 797, 3990, 425, 13, 288, 202, 202, 3927, 273, 394, 6605, 16141, 2115, 12, 529, 16, 618, 16, 302, 1106, 16, 6337, 16, 384, 1769, 202, 202, 2463, 1950, 31, 202, 97, 202, 14683, 261, 9267, 14950, 425, 13, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 2080, 977, 30, 315, 397, 425, 1769, 202, 202, 3163, 18, 659, 18, 8222, 12, 73, 18, 588, 14950, 10663, 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, 14855, 12, 780, 10524, 384, 16, 6605, 461, 508, 16, 509, 6337, 16, 3025, 618, 16, 3025, 302, 1106, 13, 15069, 1860, 288, 202, 14926, 2115, 1950, 31, 202, 698, 288, 202, 202, 797, 8354, 1106, 31, 202, 202, 6293, 312, 31, 202, 202, 780, 272, 273, 6605, 18, 723, 780, 12, 723, 1769, 202, 202, 523, 1106, 273, 1659, 18, 1884, 461, 2932, 14926, 6, 397, 272, 397, 315, 2115, 8863, 202, 202, 81, 273, 8354, 1106, 18, 588, 6293, 12, 2704, 1659, 5378, 288, 25083, 202, 14926, 461, 18, 1106, 16, 25083, 202, 6290, 18, 4936, 18, 4897, 18, 2399, 16, 25083, 202, 6290, 18, 4936, 18, 4522, 18, 2399, 16, 25083, 202, 780, 10524, 18, 1106, 2 ]
public final String getTextDirectionAttribute() {
public String getTextDirectionAttribute() {
public final String getTextDirectionAttribute() { return getAttributeValue( "dir" ); }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/87faba487e9757a44ed91514974d1fd63d5fe6b3/HtmlHtml.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlHtml.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6701, 8212, 1499, 1435, 288, 3639, 327, 22777, 12, 315, 1214, 6, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6701, 8212, 1499, 1435, 288, 3639, 327, 22777, 12, 315, 1214, 6, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return false;
return false;
public boolean insertsAreDetected(int type) throws SQLException { return false; }
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/627def55c97b8bb66af3471f8047199de1f4d1c9/FBDatabaseMetaData.java/clean/src/org/firebirdsql/jdbc/FBDatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 15607, 4704, 22614, 12, 474, 618, 13, 1216, 6483, 288, 1082, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 15607, 4704, 22614, 12, 474, 618, 13, 1216, 6483, 288, 1082, 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 ]
FrameworkLogEntry logEntry = new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, startupFailed ? "Startup error" : "Application error", 1, e, null);
FrameworkLogEntry logEntry = new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, startupFailed ? EclipseAdaptorMsg.formatter.getString("ECLIPSE_STARTUP_STARTUP_ERROR") : EclipseAdaptorMsg.formatter.getString("ECLIPSE_STARTUP_APP_ERROR"), 1, e, null);
public static Object run(String[] args, Runnable endSplashHandler) throws Exception { if (debug) System.out.println("Entering EclipseStarter#run() after: " + (System.currentTimeMillis() - Long.parseLong(System.getProperty("eclipse.debug.startupTime")))); //$NON-NLS-1$//$NON-NLS-2$ if (running) throw new IllegalStateException("Platform already running"); boolean startupFailed = true; try { startup(args, endSplashHandler); startupFailed = false; return run(null); } catch (Throwable e) { // ensure the splash screen is down if (endSplashHandler != null) endSplashHandler.run(); // may use startupFailed to understand where the error happened FrameworkLogEntry logEntry = new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, startupFailed ? "Startup error" : "Application error", 1, e, null); //TODO Put the right value here if (log != null) log.log(logEntry); else // TODO desperate measure - ideally, we should write this to disk (a la Main.log) e.printStackTrace(); } finally { try { shutdown(); } catch (Throwable e) { FrameworkLogEntry logEntry = new FrameworkLogEntry(FrameworkAdaptor.FRAMEWORK_SYMBOLICNAME, "Shutdown error", 1, e, null); //TODO Put the right value here if (log != null) log.log(logEntry); else // TODO desperate measure - ideally, we should write this to disk (a la Main.log) e.printStackTrace(); } } // we only get here if an error happened System.getProperties().put(PROP_EXITCODE, "13"); //$NON-NLS-1$ System.getProperties().put(PROP_EXITDATA, EclipseAdaptorMsg.formatter.getString("ECLIPSE_STARTUP_ERROR_CHECK_LOG", log.getFile().getPath())); //$NON-NLS-1$ return null; }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/174dd4c82a5ca0cb9c55b651034ec3820031071c/EclipseStarter.java/buggy/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1033, 1086, 12, 780, 8526, 833, 16, 10254, 679, 16881, 961, 1503, 13, 1216, 1185, 288, 202, 202, 430, 261, 4148, 13, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 10237, 310, 20840, 10472, 510, 14153, 7, 2681, 1435, 1839, 30, 315, 397, 261, 3163, 18, 2972, 28512, 1435, 300, 3407, 18, 2670, 3708, 12, 3163, 18, 588, 1396, 2932, 20416, 18, 4148, 18, 23939, 950, 6, 3719, 10019, 225, 4329, 3993, 17, 5106, 17, 21, 8, 759, 8, 3993, 17, 5106, 17, 22, 8, 202, 202, 430, 261, 8704, 13, 1082, 202, 12849, 394, 5477, 2932, 8201, 1818, 3549, 8863, 202, 202, 6494, 11850, 2925, 273, 638, 31, 202, 202, 698, 288, 1082, 202, 23939, 12, 1968, 16, 679, 16881, 961, 1503, 1769, 1082, 202, 23939, 2925, 273, 629, 31, 1082, 202, 2463, 1086, 12, 2011, 1769, 202, 202, 97, 1044, 261, 15155, 425, 13, 288, 1082, 202, 759, 3387, 326, 6121, 961, 5518, 353, 2588, 1082, 202, 430, 261, 409, 16881, 961, 1503, 480, 446, 13, 9506, 202, 409, 16881, 961, 1503, 18, 2681, 5621, 1082, 202, 759, 2026, 999, 11850, 2925, 358, 22413, 1625, 326, 555, 17497, 1082, 202, 13701, 25548, 613, 1622, 273, 394, 13472, 25548, 12, 13701, 29888, 18, 15072, 10566, 67, 22093, 2871, 1985, 16, 11850, 2925, 692, 20840, 10472, 29888, 3332, 18, 12354, 18, 588, 780, 2932, 7228, 2053, 52, 1090, 67, 7570, 3079, 67, 7570, 3079, 67, 3589, 7923, 294, 20840, 10472, 29888, 3332, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1033, 1086, 12, 780, 8526, 833, 16, 10254, 679, 16881, 961, 1503, 13, 1216, 1185, 288, 202, 202, 430, 261, 4148, 13, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 10237, 310, 20840, 10472, 510, 14153, 7, 2681, 1435, 1839, 30, 315, 397, 261, 3163, 18, 2972, 28512, 1435, 300, 3407, 18, 2670, 3708, 12, 3163, 18, 588, 1396, 2932, 20416, 18, 4148, 18, 23939, 950, 6, 3719, 10019, 225, 4329, 3993, 17, 5106, 17, 21, 8, 759, 8, 3993, 17, 5106, 17, 22, 8, 202, 202, 430, 261, 8704, 13, 1082, 202, 12849, 394, 5477, 2932, 8201, 1818, 3549, 8863, 202, 202, 6494, 11850, 2925, 273, 638, 31, 202, 202, 698, 288, 1082, 202, 2 ]
updateInstallDir(installPath);
public void widgetSelected(SelectionEvent se) { if (installDir != null && isValidLocation()) { Shell shell = installDir.getShell(); MessageBox mb = new MessageBox(shell, SWT.OK | SWT.CANCEL | SWT.ICON_QUESTION); mb.setText(Messages.installTitle); mb.setMessage(Messages.installMessage + "\n" + installDir.getText()); if (mb.open() == SWT.OK) { final IInstallableRuntime installable = tomcat .getSelection() ? gWithTomcat : gWithJetty; final Path installPath = new Path(installDir .getText()); IRunnableWithProgress runnable = new IRunnableWithProgress() { public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { try { installable.install(installPath, monitor); updateInstallDir(installPath); } catch (CoreException e) { Trace.trace(Trace.SEVERE, "Error installing runtime", e); } } }; try { getWizard().run(true, false, runnable); } catch (InterruptedException e) { e.printStackTrace(); } catch (InvocationTargetException e) { e.printStackTrace(); } catch (Exception e) { Trace.trace(Trace.SEVERE, "Error installing runtime", e); } } } }
10123 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10123/62b52020246490bf88675cf476ef185242f75810/GeronimoServerRuntimeWizardFragment.java/buggy/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 695, 13, 288, 6862, 202, 430, 261, 5425, 1621, 480, 446, 597, 4908, 2735, 10756, 288, 25083, 202, 13220, 5972, 273, 3799, 1621, 18, 588, 13220, 5621, 25083, 202, 27647, 4903, 273, 394, 2350, 3514, 12, 10304, 16, 348, 8588, 18, 3141, 6862, 9506, 202, 96, 348, 8588, 18, 25268, 571, 348, 8588, 18, 21745, 67, 4740, 1146, 1769, 25083, 202, 1627, 18, 542, 1528, 12, 5058, 18, 5425, 4247, 1769, 25083, 202, 1627, 18, 542, 1079, 12, 5058, 18, 5425, 1079, 397, 1548, 82, 6, 6862, 9506, 202, 15, 3799, 1621, 18, 588, 1528, 10663, 25083, 202, 430, 261, 1627, 18, 3190, 1435, 422, 348, 8588, 18, 3141, 13, 288, 6862, 1082, 202, 6385, 467, 6410, 429, 5576, 3799, 429, 273, 29998, 2574, 6862, 6862, 202, 18, 588, 6233, 1435, 692, 314, 1190, 56, 362, 2574, 294, 314, 1190, 46, 22084, 31, 6862, 1082, 202, 6385, 2666, 3799, 743, 273, 394, 2666, 12, 5425, 1621, 6862, 6862, 202, 18, 588, 1528, 10663, 6862, 1082, 202, 45, 20013, 1190, 5491, 14685, 273, 394, 467, 20013, 1190, 5491, 1435, 288, 6862, 9506, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 6862, 25083, 202, 15069, 15342, 16, 6862, 25083, 202, 24485, 503, 288, 6862, 6862, 202, 698, 288, 6862, 25083, 202, 5425, 429, 18, 5425, 12, 5425, 743, 16, 6438, 1769, 6862, 25083, 202, 2725, 6410, 1621, 12, 5425, 743, 1769, 6862, 6862, 202, 97, 1044, 261, 25341, 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, 4697, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 695, 13, 288, 6862, 202, 430, 261, 5425, 1621, 480, 446, 597, 4908, 2735, 10756, 288, 25083, 202, 13220, 5972, 273, 3799, 1621, 18, 588, 13220, 5621, 25083, 202, 27647, 4903, 273, 394, 2350, 3514, 12, 10304, 16, 348, 8588, 18, 3141, 6862, 9506, 202, 96, 348, 8588, 18, 25268, 571, 348, 8588, 18, 21745, 67, 4740, 1146, 1769, 25083, 202, 1627, 18, 542, 1528, 12, 5058, 18, 5425, 4247, 1769, 25083, 202, 1627, 18, 542, 1079, 12, 5058, 18, 5425, 1079, 397, 1548, 82, 6, 6862, 9506, 202, 15, 3799, 1621, 18, 588, 1528, 10663, 25083, 202, 430, 261, 1627, 18, 3190, 1435, 422, 348, 8588, 18, 3141, 13, 2 ]
fail("MessageFormatException expected as value doesn't exist.");
fail("Exception Expected.");
private void testLong(JMSMapMessage m) throws JMSException { //Try bad reads try { m.getBoolean("long"); fail("MessageFormatException expected as value doesn't exist."); } catch (MessageFormatException nfe) { //normal execution } try { m.getByte("long"); fail("MessageFormatException expected as value doesn't exist."); } catch (MessageFormatException nfe) { //normal execution } try { m.getShort("long"); fail("MessageFormatException expected as value doesn't exist."); } catch (MessageFormatException nfe) { //normal execution } //Try bad reads try { m.getChar("long"); fail("MessageFormatException expected as value doesn't exist."); } catch (MessageFormatException nfe) { //normal execution } try { m.getInt("long"); fail("MessageFormatException expected as value doesn't exist."); } catch (MessageFormatException nfe) { //normal execution } Assert.assertEquals(Long.MAX_VALUE, m.getLong("long")); //Try bad reads try { m.getFloat("long"); fail("MessageFormatException expected as value doesn't exist."); } catch (MessageFormatException nfe) { //normal execution } //Try bad reads try { m.getDouble("long"); fail("MessageFormatException expected as value doesn't exist."); } catch (MessageFormatException nfe) { //normal execution } //Try bad reads try { m.getBytes("long"); fail("MessageFormatException expected as value doesn't exist."); } catch (MessageFormatException nfe) { //normal execution } Assert.assertEquals("" + Long.MAX_VALUE, m.getString("long")); }
45585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45585/dc3b5d32de80ec74031cc79dc32d982fd43c55ce/MapMessageTest.java/clean/qpid/java/client/src/test/java/org/apache/qpid/test/unit/basic/MapMessageTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1842, 3708, 12, 46, 3537, 863, 1079, 312, 13, 1216, 20343, 565, 288, 3639, 368, 7833, 5570, 6838, 3639, 775, 3639, 288, 5411, 312, 18, 588, 5507, 2932, 5748, 8863, 5411, 2321, 2932, 503, 13219, 1199, 1769, 3639, 289, 3639, 1044, 261, 1079, 9291, 25386, 13, 3639, 288, 5411, 368, 6130, 4588, 3639, 289, 3639, 775, 3639, 288, 5411, 312, 18, 588, 3216, 2932, 5748, 8863, 5411, 2321, 2932, 503, 13219, 1199, 1769, 3639, 289, 3639, 1044, 261, 1079, 9291, 25386, 13, 3639, 288, 5411, 368, 6130, 4588, 3639, 289, 3639, 775, 3639, 288, 5411, 312, 18, 588, 4897, 2932, 5748, 8863, 5411, 2321, 2932, 503, 13219, 1199, 1769, 3639, 289, 3639, 1044, 261, 1079, 9291, 25386, 13, 3639, 288, 5411, 368, 6130, 4588, 3639, 289, 3639, 368, 7833, 5570, 6838, 3639, 775, 3639, 288, 5411, 312, 18, 588, 2156, 2932, 5748, 8863, 5411, 2321, 2932, 503, 13219, 1199, 1769, 3639, 289, 3639, 1044, 261, 1079, 9291, 25386, 13, 3639, 288, 5411, 368, 6130, 4588, 3639, 289, 3639, 775, 3639, 288, 5411, 312, 18, 588, 1702, 2932, 5748, 8863, 5411, 2321, 2932, 503, 13219, 1199, 1769, 3639, 289, 3639, 1044, 261, 1079, 9291, 25386, 13, 3639, 288, 5411, 368, 6130, 4588, 3639, 289, 3639, 5452, 18, 11231, 8867, 12, 3708, 18, 6694, 67, 4051, 16, 312, 18, 588, 3708, 2932, 5748, 7923, 1769, 3639, 368, 7833, 5570, 6838, 3639, 775, 3639, 288, 5411, 312, 18, 588, 4723, 2932, 5748, 8863, 5411, 2321, 2932, 503, 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, 1842, 3708, 12, 46, 3537, 863, 1079, 312, 13, 1216, 20343, 565, 288, 3639, 368, 7833, 5570, 6838, 3639, 775, 3639, 288, 5411, 312, 18, 588, 5507, 2932, 5748, 8863, 5411, 2321, 2932, 503, 13219, 1199, 1769, 3639, 289, 3639, 1044, 261, 1079, 9291, 25386, 13, 3639, 288, 5411, 368, 6130, 4588, 3639, 289, 3639, 775, 3639, 288, 5411, 312, 18, 588, 3216, 2932, 5748, 8863, 5411, 2321, 2932, 503, 13219, 1199, 1769, 3639, 289, 3639, 1044, 261, 1079, 9291, 25386, 13, 3639, 288, 5411, 368, 6130, 4588, 3639, 289, 3639, 775, 3639, 288, 5411, 312, 18, 588, 4897, 2932, 5748, 8863, 5411, 2321, 2932, 503, 13219, 1199, 1769, 3639, 289, 3639, 1044, 261, 1079, 9291, 2 ]
TestCase.assertEquals("0", links[0].getParameterValues(p1.encodeParameterName(TableTagParameters.PARAMETER_SORT))[0]); TestCase.assertEquals("2", links[0].getParameterValues(p1.encodeParameterName(TableTagParameters.PARAMETER_ORDER))[0]);
assertEquals("0", links[0].getParameterValues(p1.encodeParameterName(TableTagParameters.PARAMETER_SORT))[0]); assertEquals("2", links[0].getParameterValues(p1.encodeParameterName(TableTagParameters.PARAMETER_ORDER))[0]);
public void doTest(String jspName) throws Exception { WebRequest request = new GetMethodWebRequest(jspName); ParamEncoder p1 = new ParamEncoder("table"); ParamEncoder p2 = new ParamEncoder("table2"); request.setParameter(p2.encodeParameterName(TableTagParameters.PARAMETER_SORT), "number"); WebResponse response = runner.getResponse(request); if (log.isDebugEnabled()) { log.debug("RESPONSE: " + response.getText()); } WebLink[] links = response.getLinks(); TestCase.assertEquals("0", links[0].getParameterValues(p1.encodeParameterName(TableTagParameters.PARAMETER_SORT))[0]); TestCase.assertEquals("2", links[0].getParameterValues(p1.encodeParameterName(TableTagParameters.PARAMETER_ORDER))[0]); TestCase.assertEquals("buzz", links[1].getParameterValues(p1.encodeParameterName(TableTagParameters.PARAMETER_SORT))[0]); TestCase.assertEquals("2", links[1].getParameterValues(p1.encodeParameterName(TableTagParameters.PARAMETER_ORDER))[0]); // test that the column with sortName buzz was set as sorted and now has a link to sort desc TestCase.assertEquals("number", links[2].getParameterValues(p2.encodeParameterName(TableTagParameters.PARAMETER_SORT))[0]); TestCase.assertEquals("1", links[2].getParameterValues(p2.encodeParameterName(TableTagParameters.PARAMETER_ORDER))[0]); // now ensure that our data has not been sorted at all since we are doing it 'externally' WebTable[] tables = response.getTables(); TestCase.assertEquals("1", tables[1].getCellAsText(1, 0)); TestCase.assertEquals("4", tables[1].getCellAsText(2, 0)); TestCase.assertEquals("2", tables[1].getCellAsText(3, 0)); TestCase.assertEquals("3", tables[1].getCellAsText(4, 0)); }
10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/2ea6ea4e7572a181090eff95efe14d1e7a1f07f8/ExternalSortTest.java/buggy/displaytag/src/test/java/org/displaytag/jsptests/ExternalSortTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 4709, 12, 780, 22535, 461, 13, 1216, 1185, 565, 288, 3639, 2999, 691, 590, 273, 394, 968, 1305, 4079, 691, 12, 24926, 461, 1769, 3639, 3014, 7204, 293, 21, 273, 394, 3014, 7204, 2932, 2121, 8863, 3639, 3014, 7204, 293, 22, 273, 394, 3014, 7204, 2932, 2121, 22, 8863, 3639, 590, 18, 542, 1662, 12, 84, 22, 18, 3015, 24586, 12, 1388, 1805, 2402, 18, 9819, 67, 23988, 3631, 315, 2696, 8863, 3639, 2999, 1064, 766, 273, 8419, 18, 588, 1064, 12, 2293, 1769, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 3639, 288, 5411, 613, 18, 4148, 2932, 14508, 30, 315, 397, 766, 18, 588, 1528, 10663, 3639, 289, 3639, 2999, 2098, 8526, 4716, 273, 766, 18, 588, 7100, 5621, 3639, 7766, 2449, 18, 11231, 8867, 2932, 20, 3113, 4716, 63, 20, 8009, 588, 1662, 1972, 12, 84, 21, 18, 3015, 24586, 12, 1388, 1805, 2402, 18, 9819, 67, 23988, 3719, 63, 20, 19226, 3639, 7766, 2449, 18, 11231, 8867, 2932, 22, 3113, 4716, 63, 20, 8009, 588, 1662, 1972, 12, 84, 21, 18, 3015, 24586, 12, 1388, 1805, 2402, 18, 9819, 67, 7954, 3719, 63, 20, 19226, 3639, 7766, 2449, 18, 11231, 8867, 2932, 70, 9510, 3113, 4716, 63, 21, 8009, 588, 1662, 1972, 12, 84, 21, 18, 3015, 24586, 12, 1388, 1805, 2402, 18, 9819, 67, 23988, 3719, 63, 20, 19226, 3639, 7766, 2449, 18, 11231, 8867, 2932, 22, 3113, 4716, 63, 21, 8009, 588, 1662, 1972, 12, 84, 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, 4709, 12, 780, 22535, 461, 13, 1216, 1185, 565, 288, 3639, 2999, 691, 590, 273, 394, 968, 1305, 4079, 691, 12, 24926, 461, 1769, 3639, 3014, 7204, 293, 21, 273, 394, 3014, 7204, 2932, 2121, 8863, 3639, 3014, 7204, 293, 22, 273, 394, 3014, 7204, 2932, 2121, 22, 8863, 3639, 590, 18, 542, 1662, 12, 84, 22, 18, 3015, 24586, 12, 1388, 1805, 2402, 18, 9819, 67, 23988, 3631, 315, 2696, 8863, 3639, 2999, 1064, 766, 273, 8419, 18, 588, 1064, 12, 2293, 1769, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 3639, 288, 5411, 613, 18, 4148, 2932, 14508, 30, 315, 397, 766, 18, 588, 1528, 10663, 3639, 289, 3639, 2999, 2098, 8526, 2 ]
fDocumentHandler.processingInstruction(target, data, fAugmentations);
fDocumentHandler.processingInstruction(target, data, null);
protected void scanPIData(String target, XMLString data) throws IOException, XNIException { super.scanPIData(target, data); fMarkupDepth--; // call handler if (fDocumentHandler != null) { fDocumentHandler.processingInstruction(target, data, fAugmentations); } } // scanPIData(String)
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/0c89615b0bdfe565e769952ce9d81b62b7cd076a/XMLDocumentFragmentScannerImpl.java/clean/src/org/apache/xerces/impl/XMLDocumentFragmentScannerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4135, 16522, 396, 12, 780, 1018, 16, 3167, 780, 501, 13, 540, 1216, 1860, 16, 1139, 50, 45, 503, 288, 3639, 2240, 18, 9871, 16522, 396, 12, 3299, 16, 501, 1769, 3639, 284, 13111, 6148, 413, 31, 3639, 368, 745, 1838, 3639, 309, 261, 74, 2519, 1503, 480, 446, 13, 288, 5411, 284, 2519, 1503, 18, 10632, 11983, 12, 3299, 16, 501, 16, 446, 1769, 3639, 289, 565, 289, 368, 4135, 16522, 396, 12, 780, 13,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4135, 16522, 396, 12, 780, 1018, 16, 3167, 780, 501, 13, 540, 1216, 1860, 16, 1139, 50, 45, 503, 288, 3639, 2240, 18, 9871, 16522, 396, 12, 3299, 16, 501, 1769, 3639, 284, 13111, 6148, 413, 31, 3639, 368, 745, 1838, 3639, 309, 261, 74, 2519, 1503, 480, 446, 13, 288, 5411, 284, 2519, 1503, 18, 10632, 11983, 12, 3299, 16, 501, 16, 446, 1769, 3639, 289, 565, 289, 368, 4135, 16522, 396, 12, 780, 13, 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 ]
private static boolean domainDnExists(DirContext ctxt, String dn) throws NamingException, ServiceException {
private static boolean domainDnExists(DirContext ctxt, String dn) throws NamingException {
private static boolean domainDnExists(DirContext ctxt, String dn) throws NamingException, ServiceException { try { NamingEnumeration ne = ctxt.search(dn,"objectclass=dcObject", sObjectSC); boolean result = ne.hasMore(); ne.close(); return result; } catch (InvalidNameException e) { return false; } catch (NameNotFoundException nnfe) { return false; } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/c3ae2538baa5b2aaeeb9c98990b663054e0206c4/LdapProvisioning.java/buggy/ZimbraServer/src/java/com/zimbra/cs/account/ldap/LdapProvisioning.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 2461, 19053, 4002, 12, 1621, 1042, 14286, 16, 514, 8800, 13, 1216, 26890, 288, 3639, 775, 288, 5411, 18884, 21847, 1073, 273, 14286, 18, 3072, 12, 5176, 10837, 1612, 1106, 33, 7201, 921, 3113, 272, 921, 2312, 1769, 5411, 1250, 563, 273, 1073, 18, 5332, 7417, 5621, 5411, 1073, 18, 4412, 5621, 5411, 327, 563, 31, 3639, 289, 1044, 261, 1941, 26771, 425, 13, 288, 5411, 327, 629, 31, 27573, 289, 1044, 261, 461, 3990, 7761, 3030, 13, 288, 5411, 327, 629, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 2461, 19053, 4002, 12, 1621, 1042, 14286, 16, 514, 8800, 13, 1216, 26890, 288, 3639, 775, 288, 5411, 18884, 21847, 1073, 273, 14286, 18, 3072, 12, 5176, 10837, 1612, 1106, 33, 7201, 921, 3113, 272, 921, 2312, 1769, 5411, 1250, 563, 273, 1073, 18, 5332, 7417, 5621, 5411, 1073, 18, 4412, 5621, 5411, 327, 563, 31, 3639, 289, 1044, 261, 1941, 26771, 425, 13, 288, 5411, 327, 629, 31, 27573, 289, 1044, 261, 461, 3990, 7761, 3030, 13, 288, 5411, 327, 629, 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 ]
}
} stateChange(CLASS_LOADED);
public synchronized void createApplet() { panel = new KJASAppletPanel( appletSize ); add( "Center", panel ); pack(); setVisible(true); loader.addStatusListener(panel); runThread = new Thread ( new Runnable() { public void run() { //this order is very important and took a long time //to figure out- don't modify it unless there are //real bug fixes // till 2002 09 18 // commented out the synchronized block because // it leads to a deadlock of the JVM with // j2re 1.4.1 //synchronized( me ) { active = true; try { appletClass = loader.loadClass( className ); } catch (Exception e) { Main.kjas_err("Class could not be loaded: " + className, e); } if( appletClass == null ) { Main.info( "Could not load applet class " + className); panel.showFailed(); return; } try { synchronized (appletClass) { Main.debug("Applet " + appletName + " id=" + appletID + " instantiating..."); app = (Applet) appletClass.newInstance(); Main.debug("Applet " + appletName + " id=" + appletID + " instantiated."); } app.setStub( me ); } catch( InstantiationException e ) { Main.kjas_err( "Could not instantiate applet", e ); panel.showFailed(); return; } catch( IllegalAccessException e ) { Main.kjas_err( "Could not instantiate applet", e ); panel.showFailed(); return; } //} // synchronized app.setVisible(false); Main.debug("panel.add( \"Center\", app );"); panel.setApplet( app ); Main.debug("app.setSize(appletSize);"); app.setSize(appletSize); context.showStatus("Initializing Applet " + appletName + " ..."); Main.debug("Applet " + appletName + " id=" + appletID + " initializing..."); try { app.init(); } catch (Error e) { Main.info("Error " + e.toString() + " during applet initialization"); e.printStackTrace(); return; } loader.removeStatusListener(panel); app.setVisible(true); Main.debug("Applet " + appletName + " id=" + appletID + " initialized."); Main.debug("app.setSize(appletSize);"); app.setSize(appletSize); app.validate(); Main.debug("app.setVisible(true);"); app.setVisible(true); Main.debug("panel.setVisible(true);"); panel.setVisible(true); Main.debug("setVisible(true);"); setVisible(true); //repaint(1L); //panel.repaint(1L); //--Main.debug("app.repaint(1L);"); app.repaint(0L); context.showStatus("Starting Applet " + appletName + " ..."); // create a new thread, so we know, when the applet was started Main.debug("Applet " + appletName + " id=" + appletID + " starting..."); Thread appletThread = new KJASAppletThread(app, "KJAS-Applet-" + appletID + "-" + appletName); panel.stopAnimation(); appletThread.start(); Main.debug("Applet " + appletName + " id=" + appletID + " started."); context.showStatus("Applet " + appletName + " started."); //setVisible(true); } } , "KJAS-AppletStub-" + appletID + "-" + appletName); runThread.setContextClassLoader(loader); runThread.start(); }
45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/3ea62068168d1d5e148e98e6c40ca7f4f9a004b0/KJASAppletStub.java/clean/khtml/java/org/kde/kjas/server/KJASAppletStub.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 752, 23696, 1435, 288, 3639, 6594, 273, 394, 1475, 46, 3033, 23696, 5537, 12, 21853, 1225, 11272, 3639, 527, 12, 315, 8449, 3113, 6594, 11272, 3639, 2298, 5621, 3639, 16697, 12, 3767, 1769, 3639, 4088, 18, 1289, 1482, 2223, 12, 13916, 1769, 3639, 1086, 3830, 273, 394, 4884, 3639, 261, 3639, 394, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 368, 2211, 1353, 353, 8572, 10802, 471, 23151, 279, 1525, 813, 7734, 368, 869, 7837, 596, 17, 2727, 1404, 5612, 518, 3308, 1915, 854, 7734, 368, 7688, 7934, 24436, 27573, 368, 21364, 4044, 22, 21058, 6549, 7734, 368, 31813, 596, 326, 3852, 1203, 2724, 7734, 368, 518, 5871, 87, 358, 279, 8363, 739, 434, 326, 14131, 598, 7734, 368, 525, 22, 266, 404, 18, 24, 18, 21, 7734, 368, 22043, 12, 1791, 262, 288, 10792, 2695, 273, 638, 31, 10792, 775, 288, 13491, 21853, 797, 273, 4088, 18, 945, 797, 12, 2658, 11272, 10792, 289, 919, 3043, 12, 5237, 67, 31408, 1769, 1044, 261, 503, 425, 13, 288, 13491, 12740, 18, 79, 78, 345, 67, 370, 2932, 797, 3377, 486, 506, 4203, 30, 315, 397, 2658, 16, 425, 1769, 10792, 289, 919, 3043, 12, 5237, 67, 31408, 1769, 10792, 309, 12, 21853, 797, 422, 446, 262, 288, 13491, 12740, 18, 1376, 12, 315, 4445, 486, 1262, 21853, 667, 315, 397, 2658, 1769, 13491, 6594, 18, 4500, 2925, 5621, 13491, 327, 31, 10792, 289, 919, 3043, 12, 5237, 67, 31408, 1769, 4766, 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, 752, 23696, 1435, 288, 3639, 6594, 273, 394, 1475, 46, 3033, 23696, 5537, 12, 21853, 1225, 11272, 3639, 527, 12, 315, 8449, 3113, 6594, 11272, 3639, 2298, 5621, 3639, 16697, 12, 3767, 1769, 3639, 4088, 18, 1289, 1482, 2223, 12, 13916, 1769, 3639, 1086, 3830, 273, 394, 4884, 3639, 261, 3639, 394, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 368, 2211, 1353, 353, 8572, 10802, 471, 23151, 279, 1525, 813, 7734, 368, 869, 7837, 596, 17, 2727, 1404, 5612, 518, 3308, 1915, 854, 7734, 368, 7688, 7934, 24436, 27573, 368, 21364, 4044, 22, 21058, 6549, 7734, 368, 31813, 596, 326, 3852, 1203, 2724, 7734, 368, 518, 5871, 87, 358, 279, 8363, 739, 2 ]
final Prototyper[] prototyperArray = (Prototyper[]) prototypers.values().toArray(new Prototyper[prototypers.size()]); LOG.debug("Building array[" + prototyperArray.length + "] from list(" + prototypers.size() + ")"); return prototyperArray;
return (Prototyper[]) prototypers.values().toArray(new Prototyper[prototypers.size()]);
protected static synchronized Prototyper[] getPrototypers() { final Prototyper[] prototyperArray = (Prototyper[]) prototypers.values().toArray(new Prototyper[prototypers.size()]); LOG.debug("Building array[" + prototyperArray.length + "] from list(" + prototypers.size() + ")"); return prototyperArray; }
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/076ed95a1c52bae8f68e87478716e1ef4129c673/PrototyperController.java/clean/src/java/org/logicalcobwebs/proxool/PrototyperController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 3852, 1186, 3307, 8300, 8526, 3570, 3307, 879, 414, 1435, 288, 3639, 727, 1186, 3307, 8300, 8526, 450, 3307, 8300, 1076, 273, 261, 626, 3307, 8300, 63, 5717, 450, 3307, 879, 414, 18, 2372, 7675, 31447, 12, 2704, 1186, 3307, 8300, 63, 685, 3307, 879, 414, 18, 1467, 1435, 19226, 3639, 2018, 18, 4148, 2932, 16713, 526, 9614, 397, 450, 3307, 8300, 1076, 18, 2469, 397, 9850, 628, 666, 2932, 397, 450, 3307, 879, 414, 18, 1467, 1435, 397, 7310, 1769, 3639, 327, 450, 3307, 8300,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 3852, 1186, 3307, 8300, 8526, 3570, 3307, 879, 414, 1435, 288, 3639, 727, 1186, 3307, 8300, 8526, 450, 3307, 8300, 1076, 273, 261, 626, 3307, 8300, 63, 5717, 450, 3307, 879, 414, 18, 2372, 7675, 31447, 12, 2704, 1186, 3307, 8300, 63, 685, 3307, 879, 414, 18, 1467, 1435, 19226, 3639, 2018, 18, 4148, 2932, 16713, 526, 9614, 397, 450, 3307, 8300, 1076, 18, 2469, 397, 9850, 628, 666, 2932, 397, 450, 3307, 879, 414, 18, 1467, 1435, 397, 7310, 1769, 3639, 327, 450, 3307, 8300, 1076, 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 ]
if ((index < input.length) && matchChar(state.flags, ren.chr, input[index])) index++; else return -1;
if (index >= input.length) { return state.noMoreInput(); } if (!matchChar(state.flags, ren.chr, input[index])) return -1; index++;
int matchRENodes(MatchState state, RENode ren, RENode stop, int index) { int num; char[] input = state.input; while ((ren != stop) && (ren != null)) { switch (ren.op) { case REOP_EMPTY: break; case REOP_ALT: { if (ren.next.op != REOP_ALT) { ren = (RENode)ren.kid; continue; } else { num = state.parenCount; int kidMatch = matchRENodes(state, (RENode)ren.kid, stop, index); if (kidMatch != -1) return kidMatch; for (int i = num; i < state.parenCount; i++) state.parens[i].length = 0; state.parenCount = num; } } break; case REOP_QUANT: { int lastKid = -1; for (num = 0; num < ren.min; num++) { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; else { lastKid = index; index = kidMatch; } } if (num == ren.max) // Have matched the exact count required, // need to match the rest of the regexp. break; if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, num, index, lastKid); if (kidMatch != -1) index = kidMatch; } else { index = matchNonGreedyKid(state, ren, num, ren.max, index); if (index == -1) return -1; } } break; case REOP_PLUS: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; if ((ren.flags & RENode.MINIMAL) == 0) { index = matchGreedyKid(state, ren, stop, 1, kidMatch, index); if (index == -1) index = kidMatch; } else index = matchNonGreedyKid(state, ren, 1, 0, kidMatch); if (index == -1) return -1; } break; case REOP_STAR: if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, 0, index, -1); if (kidMatch != -1) index = kidMatch; } else { index = matchNonGreedyKid(state, ren, 0, 0, index); if (index == -1) return -1; } break; case REOP_OPT: { int saveNum = state.parenCount; if (((ren.flags & RENode.MINIMAL) != 0)) { int restMatch = matchRENodes(state, ren.next, stop, index); if (restMatch != -1) return restMatch; } int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) { state.parenCount = saveNum; break; } else { int restMatch = matchRENodes(state, ren.next, stop, kidMatch); if (restMatch == -1) { // need to undo the result of running the kid state.parenCount = saveNum; break; } else return restMatch; } } case REOP_LPARENNON: ren = (RENode)ren.kid; continue; case REOP_RPARENNON: break; case REOP_LPAREN: { num = ren.num; ren = (RENode)ren.kid; SubString parsub = state.parens[num]; if (parsub == null) { parsub = state.parens[num] = new SubString(); parsub.charArray = input; } parsub.index = index; parsub.length = 0; if (num >= state.parenCount) state.parenCount = num + 1; continue; } case REOP_RPAREN: { num = ren.num; SubString parsub = state.parens[num]; if (parsub == null) throw new RuntimeException("Paren problem"); parsub.length = index - parsub.index; break; } case REOP_ASSERT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; break; } case REOP_ASSERT_NOT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch != -1) return -1; break; } case REOP_BACKREF: { num = ren.num; if (num >= state.parens.length) { Context.reportError( ScriptRuntime.getMessage( "msg.bad.backref", null)); return -1; } SubString parsub = state.parens[num]; if (parsub == null) parsub = state.parens[num] = new SubString(); int length = parsub.length; if ((input.length - index) < length) return -1; else { for (int i = 0; i < length; i++, index++) { if (!matchChar(state.flags, input[index], parsub.charArray[parsub.index + i])) return -1; } } } break; case REOP_CCLASS: if (index < input.length) { if (ren.bitmap == null) { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); ren.buildBitmap(state, source, ((state.flags & FOLD) != 0)); } char c = input[index]; int b = (c >>> 3); if (b >= ren.bmsize) { if (ren.kid2 == -1) // a ^ class index++; else return -1; } else { int bit = c & 7; bit = 1 << bit; if ((ren.bitmap[b] & bit) != 0) index++; else return -1; } } else return -1; break; case REOP_DOT: if ((index < input.length) && (input[index] != '\n')) index++; else return -1; break; case REOP_DOTSTARMIN: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) return cp3; if (input[cp2] == '\n') return -1; } return -1; } case REOP_DOTSTAR: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) if (input[cp2] == '\n') break; while (cp2 >= index) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) { index = cp2; break; } cp2--; } break; } case REOP_WBDRY: if (((index == 0) || !isWord(input[index-1])) ^ ((index >= input.length) || !isWord(input[index]))) ; // leave index else return -1; break; case REOP_WNONBDRY: if (((index == 0) || !isWord(input[index-1])) ^ ((index < input.length) && isWord(input[index]))) ; // leave index else return -1; break; case REOP_EOLONLY: case REOP_EOL: { if (index == input.length) ; // leave index; else { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if ((reImpl.multiline) || ((state.flags & MULTILINE) != 0)) if (input[index] == '\n') ;// leave index else return -1; else return -1; } } break; case REOP_BOL: { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if (index != 0) { if ((index < input.length) && (reImpl.multiline || ((state.flags & MULTILINE) != 0))) { if (input[index - 1] == '\n') { break; } } return -1; } // leave index } break; case REOP_DIGIT: if ((index < input.length) && isDigit(input[index])) index++; else return -1; break; case REOP_NONDIGIT: if ((index < input.length) && !isDigit(input[index])) index++; else return -1; break; case REOP_ALNUM: if ((index < input.length) && isWord(input[index])) index++; else return -1; break; case REOP_NONALNUM: if ((index < input.length) && !isWord(input[index])) index++; else return -1; break; case REOP_SPACE: if ((index < input.length) && (TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) index++; else return -1; break; case REOP_NONSPACE: if ((index < input.length) && !(TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) index++; else return -1; break; case REOP_FLAT1: if ((index < input.length) && matchChar(state.flags, ren.chr, input[index])) index++; else return -1; break; case REOP_FLAT: { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); int start = ((Integer)ren.kid).intValue(); int length = ren.kid2 - start; if ((input.length - index) < length) return -1; else { for (int i = 0; i < length; i++, index++) { if (!matchChar(state.flags, input[index], source[start + i])) return -1; } } } break; case REOP_JUMP: break; case REOP_END: break; default : throw new RuntimeException("Unsupported by node matcher"); } ren = ren.next; } return index; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/9d8af8e17d97d2f8879112efae076088793bcb6f/NativeRegExp.java/clean/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 845, 862, 3205, 12, 2060, 1119, 919, 16, 2438, 907, 1654, 16, 2438, 907, 2132, 16, 509, 770, 13, 288, 3639, 509, 818, 31, 3639, 1149, 8526, 810, 273, 919, 18, 2630, 31, 3639, 1323, 14015, 1187, 480, 2132, 13, 597, 261, 1187, 480, 446, 3719, 288, 7734, 1620, 261, 1187, 18, 556, 13, 288, 7734, 648, 2438, 3665, 67, 13625, 30, 10792, 898, 31, 7734, 648, 2438, 3665, 67, 18255, 30, 288, 10792, 309, 261, 1187, 18, 4285, 18, 556, 480, 2438, 3665, 67, 18255, 13, 288, 13491, 1654, 273, 261, 862, 907, 13, 1187, 18, 79, 350, 31, 13491, 1324, 31, 10792, 289, 10792, 469, 288, 13491, 818, 273, 919, 18, 13012, 1380, 31, 13491, 509, 17395, 2060, 273, 845, 862, 3205, 12, 2019, 16, 261, 862, 907, 13, 1187, 18, 79, 350, 16, 4766, 10792, 2132, 16, 770, 1769, 13491, 309, 261, 79, 350, 2060, 480, 300, 21, 13, 327, 17395, 2060, 31, 13491, 364, 261, 474, 277, 273, 818, 31, 277, 411, 919, 18, 13012, 1380, 31, 277, 27245, 18701, 919, 18, 1848, 2387, 63, 77, 8009, 2469, 273, 374, 31, 13491, 919, 18, 13012, 1380, 273, 818, 31, 10792, 289, 7734, 289, 10792, 898, 31, 7734, 648, 2438, 3665, 67, 3500, 6856, 30, 288, 10792, 509, 1142, 47, 350, 273, 300, 21, 31, 10792, 364, 261, 2107, 273, 374, 31, 818, 411, 1654, 18, 1154, 31, 818, 27245, 288, 13491, 509, 17395, 2060, 273, 845, 862, 3205, 12, 2019, 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, 377, 509, 845, 862, 3205, 12, 2060, 1119, 919, 16, 2438, 907, 1654, 16, 2438, 907, 2132, 16, 509, 770, 13, 288, 3639, 509, 818, 31, 3639, 1149, 8526, 810, 273, 919, 18, 2630, 31, 3639, 1323, 14015, 1187, 480, 2132, 13, 597, 261, 1187, 480, 446, 3719, 288, 7734, 1620, 261, 1187, 18, 556, 13, 288, 7734, 648, 2438, 3665, 67, 13625, 30, 10792, 898, 31, 7734, 648, 2438, 3665, 67, 18255, 30, 288, 10792, 309, 261, 1187, 18, 4285, 18, 556, 480, 2438, 3665, 67, 18255, 13, 288, 13491, 1654, 273, 261, 862, 907, 13, 1187, 18, 79, 350, 31, 13491, 1324, 31, 10792, 289, 10792, 469, 288, 13491, 818, 273, 919, 18, 13012, 1380, 31, 13491, 2 ]
public void propertyValueAdded(ConfigElementEvent evt) { // XXX: We could also test against mConfigElement == elm ConfigElement elm = (ConfigElement)evt.getSource(); PropertyDefinition prop_def = elm.getDefinition().getPropertyDefinition(evt.getProperty()); if(!prop_def.equals(mPropDef)) { return; } System.out.println("Property value added..."); if(ConfigElement.class == prop_def.getType()) { // Use the PropertySheetFactory to add an additional embedded element. PropertySheetFactory.instance().addEmbeddedElement((PropertySheet)mComponent, mConfigContext, elm, evt.getValue(), prop_def, 2); } else { // Use the PropertySheetFactory to add an aditional normal editor. String label = prop_def.getPropertyValueDefinition(0).getLabel(); PropertySheetFactory.instance().addNormalEditor((PropertySheet)mComponent, mConfigContext, elm, evt.getValue(), prop_def, label, 2, elm.getPropertyValueCount(prop_def.getToken()) - 1); } revalidate(); repaint(); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/88f18f98605d834d92230578f770fc4564084824/VarListPanel.java/clean/modules/jackal/editors/org/vrjuggler/jccl/editors/VarListPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 12337, 8602, 12, 809, 1046, 1133, 6324, 13, 282, 288, 1377, 368, 11329, 30, 1660, 3377, 2546, 1842, 5314, 312, 809, 1046, 422, 12531, 1377, 1903, 1046, 12531, 273, 261, 809, 1046, 13, 73, 11734, 18, 588, 1830, 5621, 1377, 4276, 1852, 2270, 67, 536, 273, 540, 12531, 18, 588, 1852, 7675, 588, 1396, 1852, 12, 73, 11734, 18, 588, 1396, 10663, 5411, 309, 12, 5, 5986, 67, 536, 18, 14963, 12, 81, 4658, 3262, 3719, 1377, 288, 540, 327, 31, 5411, 289, 5411, 2332, 18, 659, 18, 8222, 2932, 1396, 460, 3096, 7070, 1769, 5411, 309, 12, 809, 1046, 18, 1106, 422, 2270, 67, 536, 18, 588, 559, 10756, 1377, 288, 540, 368, 2672, 326, 4276, 8229, 1733, 358, 527, 392, 3312, 7488, 930, 18, 540, 4276, 8229, 1733, 18, 1336, 7675, 1289, 14980, 1046, 12443, 1396, 8229, 13, 81, 1841, 16, 312, 809, 1042, 16, 12531, 16, 6324, 18, 24805, 9334, 2270, 67, 536, 16, 576, 1769, 1377, 289, 1377, 469, 1377, 288, 540, 368, 2672, 326, 4276, 8229, 1733, 358, 527, 392, 1261, 6457, 2212, 4858, 18, 540, 514, 1433, 273, 2270, 67, 536, 18, 588, 16107, 1852, 12, 20, 2934, 588, 2224, 5621, 540, 4276, 8229, 1733, 18, 1336, 7675, 1289, 5506, 6946, 12443, 1396, 8229, 13, 81, 1841, 16, 312, 809, 1042, 16, 4766, 7682, 12531, 16, 6324, 18, 24805, 9334, 2270, 67, 536, 16, 1433, 16, 576, 16, 4766, 7682, 12531, 18, 588, 16107, 1380, 12, 5986, 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, 565, 1071, 918, 12337, 8602, 12, 809, 1046, 1133, 6324, 13, 282, 288, 1377, 368, 11329, 30, 1660, 3377, 2546, 1842, 5314, 312, 809, 1046, 422, 12531, 1377, 1903, 1046, 12531, 273, 261, 809, 1046, 13, 73, 11734, 18, 588, 1830, 5621, 1377, 4276, 1852, 2270, 67, 536, 273, 540, 12531, 18, 588, 1852, 7675, 588, 1396, 1852, 12, 73, 11734, 18, 588, 1396, 10663, 5411, 309, 12, 5, 5986, 67, 536, 18, 14963, 12, 81, 4658, 3262, 3719, 1377, 288, 540, 327, 31, 5411, 289, 5411, 2332, 18, 659, 18, 8222, 2932, 1396, 460, 3096, 7070, 1769, 5411, 309, 12, 809, 1046, 18, 1106, 422, 2270, 67, 536, 18, 588, 559, 10756, 1377, 288, 540, 368, 2672, 326, 2 ]
if( debug ) ex.printStackTrace();
if(log.isDebugEnabled()) log.debug( "", ex);
protected DefinitionsFactoryConfig readFactoryConfig(ActionServlet servlet, ApplicationConfig config) throws ServletException { // Create tiles definitions config object DefinitionsFactoryConfig factoryConfig = new DefinitionsFactoryConfig(); // Get init parameters from web.xml files try { DefinitionsUtil.populateDefinitionsFactoryConfig(factoryConfig, servlet.getServletConfig()); } catch(Exception ex) { if( debug ) ex.printStackTrace(); throw new UnavailableException( "Can't populate DefinitionsFactoryConfig class from 'web.xml': " + ex.getMessage() ); } // Get init parameters from struts-config.xml try { Map strutsProperties = findStrutsPlugInConfigProperties(servlet, config); factoryConfig.populate(strutsProperties); } catch(Exception ex) { if( debug ) ex.printStackTrace(); throw new UnavailableException( "Can't populate DefinitionsFactoryConfig class from '" + config.getPrefix() + "/struts-config.xml':" + ex.getMessage() ); } return factoryConfig; }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/89ea27c6d0cb3c7e33812de64fdf156e7066d4f2/TilesPlugin.java/buggy/src/share/org/apache/struts/tiles/TilesPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 10849, 87, 1733, 809, 855, 1733, 809, 12, 1803, 4745, 8100, 16, 4257, 809, 642, 13, 1377, 1216, 16517, 225, 288, 565, 368, 1788, 12568, 6377, 642, 733, 225, 10849, 87, 1733, 809, 3272, 809, 273, 394, 10849, 87, 1733, 809, 5621, 565, 368, 968, 1208, 1472, 628, 3311, 18, 2902, 1390, 225, 775, 565, 288, 565, 10849, 87, 1304, 18, 19936, 7130, 1733, 809, 12, 6848, 809, 16, 8100, 18, 588, 4745, 809, 10663, 565, 289, 282, 1044, 12, 503, 431, 13, 565, 288, 565, 309, 12, 1198, 262, 1377, 431, 18, 1188, 6332, 5621, 565, 604, 394, 1351, 5699, 503, 12, 315, 2568, 1404, 6490, 10849, 87, 1733, 809, 667, 628, 296, 4875, 18, 2902, 4278, 315, 397, 431, 18, 24906, 1435, 11272, 565, 289, 565, 368, 968, 1208, 1472, 628, 609, 12940, 17, 1425, 18, 2902, 225, 775, 565, 288, 565, 1635, 609, 12940, 2297, 273, 1104, 1585, 12940, 1749, 637, 382, 809, 2297, 12, 23231, 16, 642, 1769, 565, 3272, 809, 18, 19936, 12, 701, 12940, 2297, 1769, 565, 289, 282, 1044, 12, 503, 431, 13, 565, 288, 565, 309, 12, 1198, 262, 1377, 431, 18, 1188, 6332, 5621, 565, 604, 394, 1351, 5699, 503, 12, 315, 2568, 1404, 6490, 10849, 87, 1733, 809, 667, 628, 2119, 4766, 565, 397, 642, 18, 588, 2244, 1435, 397, 2206, 701, 12940, 17, 1425, 18, 2902, 11, 2773, 4766, 565, 397, 431, 18, 24906, 1435, 11272, 565, 289, 225, 327, 3272, 809, 31, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 10849, 87, 1733, 809, 855, 1733, 809, 12, 1803, 4745, 8100, 16, 4257, 809, 642, 13, 1377, 1216, 16517, 225, 288, 565, 368, 1788, 12568, 6377, 642, 733, 225, 10849, 87, 1733, 809, 3272, 809, 273, 394, 10849, 87, 1733, 809, 5621, 565, 368, 968, 1208, 1472, 628, 3311, 18, 2902, 1390, 225, 775, 565, 288, 565, 10849, 87, 1304, 18, 19936, 7130, 1733, 809, 12, 6848, 809, 16, 8100, 18, 588, 4745, 809, 10663, 565, 289, 282, 1044, 12, 503, 431, 13, 565, 288, 565, 309, 12, 1198, 262, 1377, 431, 18, 1188, 6332, 5621, 565, 604, 394, 1351, 5699, 503, 12, 315, 2568, 1404, 6490, 10849, 87, 1733, 809, 667, 628, 296, 4875, 18, 2902, 2 ]
int offset) throws EndOfFileException { IASTProblem p = createProblem(IASTProblem.SYNTAX_ERROR, offset, length); IASTProblemDeclaration pd = createProblemDeclaration(); pd.setProblem(p); ((ASTNode) pd).setOffsetAndLength(((ASTNode) p).getOffset(), ((ASTNode) p).getLength()); p.setParent(pd); p.setPropertyInParent(IASTProblemHolder.PROBLEM);
int offset) throws EndOfFileException { IASTProblem p = createProblem(IASTProblem.SYNTAX_ERROR, offset, length); IASTProblemDeclaration pd = createProblemDeclaration(); pd.setProblem(p); ((ASTNode) pd).setOffsetAndLength(((ASTNode) p).getOffset(), ((ASTNode) p).getLength()); p.setParent(pd); p.setPropertyInParent(IASTProblemHolder.PROBLEM);
private IASTProblemDeclaration createKnRCProblemDeclaration(int length, int offset) throws EndOfFileException { IASTProblem p = createProblem(IASTProblem.SYNTAX_ERROR, offset, length); IASTProblemDeclaration pd = createProblemDeclaration(); pd.setProblem(p); ((ASTNode) pd).setOffsetAndLength(((ASTNode) p).getOffset(), ((ASTNode) p).getLength()); p.setParent(pd); p.setPropertyInParent(IASTProblemHolder.PROBLEM); // consume until LBRACE is found (to leave off at the function body and // continue from there) while (LT(1) != IToken.tLBRACE) consume(); return pd; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/bcedb9a5c16dd4d172f27f0519a31f2ee9b1d68d/GNUCSourceParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/GNUCSourceParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 9053, 13719, 6094, 752, 47, 82, 11529, 13719, 6094, 12, 474, 769, 16, 1082, 202, 474, 1384, 13, 1216, 4403, 951, 812, 503, 288, 202, 202, 45, 9053, 13719, 293, 273, 752, 13719, 12, 45, 9053, 13719, 18, 7474, 28614, 67, 3589, 16, 1384, 16, 769, 1769, 202, 202, 45, 9053, 13719, 6094, 4863, 273, 752, 13719, 6094, 5621, 202, 202, 22353, 18, 542, 13719, 12, 84, 1769, 202, 202, 12443, 9053, 907, 13, 4863, 2934, 542, 2335, 1876, 1782, 12443, 12, 9053, 907, 13, 293, 2934, 588, 2335, 9334, 9506, 202, 12443, 9053, 907, 13, 293, 2934, 588, 1782, 10663, 202, 202, 84, 18, 542, 3054, 12, 22353, 1769, 202, 202, 84, 18, 542, 1396, 382, 3054, 12, 45, 9053, 13719, 6064, 18, 3373, 38, 26817, 1769, 202, 202, 759, 7865, 3180, 511, 26980, 353, 1392, 261, 869, 8851, 3397, 622, 326, 445, 1417, 471, 202, 202, 759, 1324, 628, 1915, 13, 202, 202, 17523, 261, 12050, 12, 21, 13, 480, 467, 1345, 18, 88, 12995, 9254, 13, 1082, 202, 21224, 5621, 202, 202, 2463, 4863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1152, 467, 9053, 13719, 6094, 752, 47, 82, 11529, 13719, 6094, 12, 474, 769, 16, 1082, 202, 474, 1384, 13, 1216, 4403, 951, 812, 503, 288, 202, 202, 45, 9053, 13719, 293, 273, 752, 13719, 12, 45, 9053, 13719, 18, 7474, 28614, 67, 3589, 16, 1384, 16, 769, 1769, 202, 202, 45, 9053, 13719, 6094, 4863, 273, 752, 13719, 6094, 5621, 202, 202, 22353, 18, 542, 13719, 12, 84, 1769, 202, 202, 12443, 9053, 907, 13, 4863, 2934, 542, 2335, 1876, 1782, 12443, 12, 9053, 907, 13, 293, 2934, 588, 2335, 9334, 9506, 202, 12443, 9053, 907, 13, 293, 2934, 588, 1782, 10663, 202, 202, 84, 18, 542, 3054, 12, 22353, 1769, 202, 202, 84, 18, 542, 2 ]
doCompare(fieldValue, compareValue, messages, locale, loader);
doCompare(fieldValue, compareValue, messages, locale, loader, false);
public void exec(Map inMap, Map results, List messages, Locale locale, ClassLoader loader) { Object compareValue = inMap.get(compareName); Object fieldValue = inMap.get(fieldName); doCompare(fieldValue, compareValue, messages, locale, loader); }
55411 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55411/e26b55d54d7a57a8ef76f8d2f993761d0dced9de/CompareField.java/buggy/framework/minilang/src/org/ofbiz/minilang/operation/CompareField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1196, 12, 863, 316, 863, 16, 1635, 1686, 16, 987, 2743, 16, 6458, 2573, 16, 9403, 4088, 13, 288, 3639, 1033, 3400, 620, 273, 316, 863, 18, 588, 12, 9877, 461, 1769, 3639, 1033, 10729, 273, 316, 863, 18, 588, 12, 16163, 1769, 3639, 741, 8583, 12, 1518, 620, 16, 3400, 620, 16, 2743, 16, 2573, 16, 4088, 16, 629, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1196, 12, 863, 316, 863, 16, 1635, 1686, 16, 987, 2743, 16, 6458, 2573, 16, 9403, 4088, 13, 288, 3639, 1033, 3400, 620, 273, 316, 863, 18, 588, 12, 9877, 461, 1769, 3639, 1033, 10729, 273, 316, 863, 18, 588, 12, 16163, 1769, 3639, 741, 8583, 12, 1518, 620, 16, 3400, 620, 16, 2743, 16, 2573, 16, 4088, 16, 629, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("<end-date>"+ts.getFormattedTime()+"</end-date>");
System.out.println("<end-date>" + ts.getFormattedTime() + "</end-date>");
public static void main (String [] args) throws Exception{ String USAGE = "Usage: java JobFlagReport [options] <date (YYYY-MM-DD)> Enter -help for a list of options\n"; String HELP = "Where [options] are:\n"+ " -help Displays help\n"+ " -step <day|month> Specifies size of step (day by default)\n"+ " -n <steps> Specifies number of steps to do\n"; if (args.length == 0){ System.err.println(USAGE); System.exit(1); } else if (args.length == 1 && args[0].equalsIgnoreCase("-help")){ System.err.println(USAGE); System.err.println(HELP); System.exit(1); } int n = 1; String stepStr = "day"; for (int i=0;i<args.length-1;i++){ if (args[i].equals("-n")) { n = Integer.parseInt(args[++i]); } else if (args[i].equals("-step")) { stepStr = args[++i]; } else if (args[i].equalsIgnoreCase("-help")) { System.err.println(USAGE); System.err.println(HELP); System.exit(1); } else { System.err.println("Unknown argument: " + args[i]); System.exit(1); } } String inputDate = args[args.length-1]; DecimalFormat f = (DecimalFormat) NumberFormat.getInstance(Locale.US); f.setMaximumFractionDigits(3); TimeStep ts = new TimeStep (stepStr, n, inputDate); DatabaseRetriever dbr = new DatabaseRetriever(); long byteNumber; long packetNumber; double blocksize; double buffersize; System.out.println("<report>"); while(ts.next()){ byteNumber = 0; packetNumber=0; buffersize = 0; blocksize = 0; Date startD = ts.getTime(); System.out.println("<entry>"); System.out.println("<start-date>"+ts.getFormattedTime()+"</start-date>"); String startS = ts.getFormattedTime(); ts.stepTime(); System.out.println("<end-date>"+ts.getFormattedTime()+"</end-date>"); ResultSet rs = dbr.retrieve("gftp_packets", new String [] {"count(*)","sum(num_bytes)","sum(block_size)","sum(buffer_size)"}, startD, ts.getTime()); rs.next(); packetNumber+=rs.getLong(1); byteNumber+=rs.getLong(2); blocksize+=rs.getDouble(3); buffersize+=rs.getDouble(4); double bytemean= byteNumber/packetNumber; double blockmean = blocksize/packetNumber; double buffermean = buffersize/packetNumber; double bytedeviation = 0; double blockdeviation = 0; double bufferdeviation = 0; rs = dbr.retrieve("gftp_packets", new String[] {"num_bytes","block_size","buffer_size"}, startD, ts.getTime()); while (rs.next()){ bytedeviation = Math.pow(rs.getDouble(1) - bytemean, 2.0); blockdeviation = Math.pow(rs.getDouble(2) - blockmean, 2.0); bufferdeviation = Math.pow(rs.getDouble(3) - buffermean, 2.0); } bytedeviation = Math.pow(bytedeviation/packetNumber,.5); blockdeviation = Math.pow(blockdeviation/packetNumber,.5); bufferdeviation = Math.pow(bufferdeviation/packetNumber,.5); System.out.println("<byte>"); System.out.println("\t<mean>"+f.format(bytemean)+"</mean>"); System.out.println("\t<standard-deviation>"+f.format(bytedeviation)+"</standard-deviation>"); System.out.println("\t<low-CI>"+f.format((bytemean-(1.96*bytedeviation)/Math.pow(packetNumber,.5)))+"</low-CI>"); System.out.println("\t<high-CI>"+f.format((bytemean+(1.96*bytedeviation)/Math.pow(packetNumber,.5)))+"</high-CI>"); System.out.println("</byte>"); System.out.println("<block>"); System.out.println("\t<mean>"+f.format(blockmean)+"</mean>"); System.out.println("\t<standard-deviation>"+f.format(blockdeviation)+"</standard-deviation>"); System.out.println("\t<low-CI>"+f.format((blockmean-(1.96*blockdeviation)/Math.pow(packetNumber,.5)))+"</low-CI>"); System.out.println("\t<high-CI>"+f.format((blockmean+(1.96*blockdeviation)/Math.pow(packetNumber,.5)))+"</high-CI>"); System.out.println("</block>"); System.out.println("<buffer>"); System.out.println("\t<mean>"+f.format(buffermean)+"</mean>"); System.out.println("\t<standard-deviation>"+f.format(bufferdeviation)+"</standard-deviation>"); System.out.println("\t<low-CI>"+f.format((buffermean-(1.96*bufferdeviation)/Math.pow(packetNumber,.5)))+"</low-CI>"); System.out.println("\t<high-CI>"+f.format((buffermean+(1.96*bufferdeviation)/Math.pow(packetNumber,.5)))+"</high-CI>"); System.out.println("</buffer>"); System.out.println("</entry>"); rs.close(); } dbr.close(); System.out.println("</report>"); }
8754 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8754/efb83d08bf3214ba362adb9486345c128a00bae7/Statistics.java/buggy/usage/java/reports/source/src/org/globus/usage/report/gftp/Statistics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 5378, 833, 13, 1216, 1185, 95, 3639, 514, 11836, 2833, 273, 315, 5357, 30, 2252, 3956, 4678, 4820, 306, 2116, 65, 411, 712, 261, 26287, 17, 8206, 17, 5698, 13, 34, 15439, 300, 5201, 364, 279, 666, 434, 702, 64, 82, 14432, 3639, 514, 22557, 52, 273, 315, 5262, 306, 2116, 65, 854, 5581, 82, 6, 15, 5411, 315, 300, 5201, 1171, 9311, 87, 2809, 64, 82, 6, 15, 5411, 315, 300, 4119, 411, 2881, 96, 7496, 34, 377, 4185, 5032, 963, 434, 2235, 261, 2881, 635, 805, 5153, 82, 6, 15, 5411, 315, 300, 82, 411, 8986, 34, 5411, 4185, 5032, 1300, 434, 6075, 358, 741, 64, 82, 14432, 3639, 309, 261, 1968, 18, 2469, 422, 374, 15329, 5411, 2332, 18, 370, 18, 8222, 12, 29550, 1769, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 3639, 469, 309, 261, 1968, 18, 2469, 422, 404, 597, 833, 63, 20, 8009, 14963, 5556, 2932, 17, 5201, 6, 3719, 95, 5411, 2332, 18, 370, 18, 8222, 12, 29550, 1769, 5411, 2332, 18, 370, 18, 8222, 12, 27396, 1769, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 3639, 509, 290, 273, 404, 31, 3639, 514, 2235, 1585, 273, 315, 2881, 14432, 3639, 364, 261, 474, 277, 33, 20, 31, 77, 32, 1968, 18, 2469, 17, 21, 31, 77, 27245, 95, 5411, 309, 261, 1968, 63, 77, 8009, 14963, 2932, 17, 82, 6, 3719, 288, 7734, 290, 273, 2144, 18, 2670, 1702, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 5378, 833, 13, 1216, 1185, 95, 3639, 514, 11836, 2833, 273, 315, 5357, 30, 2252, 3956, 4678, 4820, 306, 2116, 65, 411, 712, 261, 26287, 17, 8206, 17, 5698, 13, 34, 15439, 300, 5201, 364, 279, 666, 434, 702, 64, 82, 14432, 3639, 514, 22557, 52, 273, 315, 5262, 306, 2116, 65, 854, 5581, 82, 6, 15, 5411, 315, 300, 5201, 1171, 9311, 87, 2809, 64, 82, 6, 15, 5411, 315, 300, 4119, 411, 2881, 96, 7496, 34, 377, 4185, 5032, 963, 434, 2235, 261, 2881, 635, 805, 5153, 82, 6, 15, 5411, 315, 300, 82, 411, 8986, 34, 5411, 4185, 5032, 1300, 434, 6075, 358, 741, 64, 82, 14432, 3639, 309, 2 ]
if (fragment) model = new WorkspaceFragmentModel(file); else model = new WorkspacePluginModel(file);
model = new WorkspacePluginModel(file);
private void createBlankManifest( IProject project, IPluginStructureData structureData, IProgressMonitor monitor) throws CoreException { IPath path = project.getFullPath().append( fragment ? "fragment.xml" : "plugin.xml"); IFile file = project.getWorkspace().getRoot().getFile(path); WorkspacePluginModelBase model = null; if (fragment) model = new WorkspaceFragmentModel(file); else model = new WorkspacePluginModel(file); model.load(); if (!file.exists()) { IPluginBase pluginBase = model.getPluginBase(); pluginBase.setId(structureData.getPluginId()); pluginBase.setVersion("1.0.0"); pluginBase.setName(structureData.getPluginId()); pluginBase.setSchemaVersion("3.0"); if (structureData.getRuntimeLibraryName() != null) { IPluginLibrary library = model.getPluginFactory().createLibrary(); library.setName(structureData.getRuntimeLibraryName()); library.setExported(true); model.getPluginBase().add(library); } model.save(); } }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/d94e0917b3438987aacc0312e48a4caafa344df0/ProjectCodeGeneratorsPage.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/project/ProjectCodeGeneratorsPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 7796, 9121, 12, 202, 202, 45, 4109, 1984, 16, 202, 202, 45, 3773, 6999, 751, 3695, 751, 16, 202, 202, 45, 5491, 7187, 6438, 13, 202, 202, 15069, 30015, 288, 202, 202, 45, 743, 589, 273, 1082, 202, 4406, 18, 588, 24173, 7675, 6923, 12, 9506, 202, 11956, 692, 315, 11956, 18, 2902, 6, 294, 315, 4094, 18, 2902, 8863, 202, 202, 45, 812, 585, 273, 1984, 18, 588, 8241, 7675, 588, 2375, 7675, 29925, 12, 803, 1769, 202, 202, 8241, 3773, 1488, 2171, 938, 273, 446, 31, 202, 202, 430, 261, 11956, 13, 1082, 202, 2284, 273, 394, 14396, 7456, 1488, 12, 768, 1769, 202, 202, 12107, 1082, 202, 2284, 273, 394, 14396, 3773, 1488, 12, 768, 1769, 202, 202, 2284, 18, 945, 5621, 202, 202, 430, 16051, 768, 18, 1808, 10756, 288, 1082, 202, 45, 3773, 2171, 1909, 2171, 273, 938, 18, 588, 3773, 2171, 5621, 1082, 202, 4094, 2171, 18, 542, 548, 12, 7627, 751, 18, 588, 3773, 548, 10663, 1082, 202, 4094, 2171, 18, 542, 1444, 2932, 21, 18, 20, 18, 20, 8863, 1082, 202, 4094, 2171, 18, 542, 461, 12, 7627, 751, 18, 588, 3773, 548, 10663, 1082, 202, 4094, 2171, 18, 542, 3078, 1444, 2932, 23, 18, 20, 8863, 1082, 202, 430, 261, 7627, 751, 18, 588, 5576, 9313, 461, 1435, 480, 446, 13, 288, 9506, 202, 45, 3773, 9313, 5313, 273, 938, 18, 588, 3773, 1733, 7675, 2640, 9313, 5621, 9506, 202, 12083, 18, 542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 7796, 9121, 12, 202, 202, 45, 4109, 1984, 16, 202, 202, 45, 3773, 6999, 751, 3695, 751, 16, 202, 202, 45, 5491, 7187, 6438, 13, 202, 202, 15069, 30015, 288, 202, 202, 45, 743, 589, 273, 1082, 202, 4406, 18, 588, 24173, 7675, 6923, 12, 9506, 202, 11956, 692, 315, 11956, 18, 2902, 6, 294, 315, 4094, 18, 2902, 8863, 202, 202, 45, 812, 585, 273, 1984, 18, 588, 8241, 7675, 588, 2375, 7675, 29925, 12, 803, 1769, 202, 202, 8241, 3773, 1488, 2171, 938, 273, 446, 31, 202, 202, 430, 261, 11956, 13, 1082, 202, 2284, 273, 394, 14396, 7456, 1488, 12, 768, 1769, 202, 202, 12107, 1082, 202, 2284, 273, 394, 14396, 2 ]
return debugGui.console.getErr();
return debugGui.getConsole().getErr();
public PrintStream getErr() { return debugGui.console.getErr(); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/e4c74a91b5c4165a9c90cde4d7b2ddd72e81af8d/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21677, 336, 2524, 1435, 288, 3639, 327, 1198, 18070, 18, 588, 10215, 7675, 588, 2524, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 21677, 336, 2524, 1435, 288, 3639, 327, 1198, 18070, 18, 588, 10215, 7675, 588, 2524, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
out.write("</form>\n</span>\n");
out.write("</form>\n</span>\n");
private void writeAddForm(PrintWriter out, HttpServletRequest req) throws IOException { String uri = req.getRequestURI(); String newURL = req.getParameter("newURL"); if ( (newURL == null) || (newURL.trim().length() <= 0) ) newURL = "http://"; String newFile = req.getParameter("newFile"); if ( (newFile == null) || (newFile.trim().length() <= 0) ) newFile = ""; out.write("<span class=\"snarkNewTorrent\">\n"); // *not* enctype="multipart/form-data", so that the input type=file sends the filename, not the file out.write("<form action=\"" + uri + "\" method=\"POST\">\n"); out.write("<input type=\"hidden\" name=\"nonce\" value=\"" + _nonce + "\" />\n"); out.write("From URL&nbsp;: <input type=\"text\" name=\"newURL\" size=\"50\" value=\"" + newURL + "\" /> \n"); // not supporting from file at the moment, since the file name passed isn't always absolute (so it may not resolve) //out.write("From file: <input type=\"file\" name=\"newFile\" size=\"50\" value=\"" + newFile + "\" /><br />\n"); out.write("<input type=\"submit\" value=\"Add torrent\" name=\"action\" /><br />\n"); out.write("<span class=\"snarkAddInfo\">Alternately, you can copy .torrent files to " + _manager.getDataDir().getAbsolutePath() + "<br />\n"); out.write("Removing that .torrent file will cause the torrent to stop.<br /></span>\n"); out.write("</form>\n</span>\n"); }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/3989638f2dc6d1749827facabfb3af21e52a1b2e/I2PSnarkServlet.java/buggy/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 986, 1204, 12, 5108, 2289, 596, 16, 9984, 1111, 13, 1216, 1860, 288, 3639, 514, 2003, 273, 1111, 18, 588, 691, 3098, 5621, 3639, 514, 394, 1785, 273, 1111, 18, 588, 1662, 2932, 2704, 1785, 8863, 3639, 309, 261, 261, 2704, 1785, 422, 446, 13, 747, 261, 2704, 1785, 18, 5290, 7675, 2469, 1435, 1648, 374, 13, 262, 394, 1785, 273, 315, 2505, 14334, 31, 3639, 514, 20592, 273, 1111, 18, 588, 1662, 2932, 2704, 812, 8863, 3639, 309, 261, 261, 2704, 812, 422, 446, 13, 747, 261, 2704, 812, 18, 5290, 7675, 2469, 1435, 1648, 374, 13, 262, 20592, 273, 1408, 31, 7734, 596, 18, 2626, 2932, 32, 3969, 667, 5189, 8134, 1313, 1908, 27266, 547, 28219, 82, 8863, 3639, 368, 380, 902, 14, 570, 12387, 1546, 16404, 19, 687, 17, 892, 3113, 1427, 716, 326, 810, 618, 33, 768, 9573, 326, 1544, 16, 486, 326, 585, 3639, 596, 18, 2626, 2932, 32, 687, 1301, 13186, 397, 2003, 397, 7023, 707, 5189, 3798, 28219, 82, 8863, 3639, 596, 18, 2626, 2932, 32, 2630, 618, 5189, 6345, 2412, 508, 5189, 12824, 2412, 460, 13186, 397, 389, 12824, 397, 7023, 342, 5333, 82, 8863, 3639, 596, 18, 2626, 2932, 1265, 1976, 10, 10600, 31, 30, 411, 2630, 618, 5189, 955, 2412, 508, 5189, 2704, 1785, 2412, 963, 5189, 3361, 2412, 460, 13186, 397, 394, 1785, 397, 7023, 20954, 521, 82, 8863, 3639, 368, 486, 22930, 628, 585, 622, 326, 10382, 16, 3241, 326, 585, 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, 1045, 986, 1204, 12, 5108, 2289, 596, 16, 9984, 1111, 13, 1216, 1860, 288, 3639, 514, 2003, 273, 1111, 18, 588, 691, 3098, 5621, 3639, 514, 394, 1785, 273, 1111, 18, 588, 1662, 2932, 2704, 1785, 8863, 3639, 309, 261, 261, 2704, 1785, 422, 446, 13, 747, 261, 2704, 1785, 18, 5290, 7675, 2469, 1435, 1648, 374, 13, 262, 394, 1785, 273, 315, 2505, 14334, 31, 3639, 514, 20592, 273, 1111, 18, 588, 1662, 2932, 2704, 812, 8863, 3639, 309, 261, 261, 2704, 812, 422, 446, 13, 747, 261, 2704, 812, 18, 5290, 7675, 2469, 1435, 1648, 374, 13, 262, 20592, 273, 1408, 31, 7734, 596, 18, 2626, 2932, 32, 3969, 667, 5189, 8134, 1313, 1908, 2 ]
getMenuCount() { return countMenus (); }
public int getMenuCount() { return countMenus(); }
getMenuCount(){ return countMenus ();}
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/MenuBar.java/buggy/core/src/classpath/java/java/awt/MenuBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 25877, 1380, 1435, 95, 225, 327, 1056, 29755, 261, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 25877, 1380, 1435, 95, 225, 327, 1056, 29755, 261, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 ZimbraMailAdapter(Mailbox mailbox, ParsedMessage pm, String recipient, SharedDeliveryContext sharedDeliveryCtxt) throws MessagingException
private ZimbraMailAdapter()
public ZimbraMailAdapter(Mailbox mailbox, ParsedMessage pm, String recipient, SharedDeliveryContext sharedDeliveryCtxt) throws MessagingException { this(); mMailbox = mailbox; mRecipient = recipient; mSharedDeliveryCtxt = sharedDeliveryCtxt; setParsedMessage(pm); // check spam headers set by system spam detector if (sSpamHeader != null) { String val = pm.getMimeMessage().getHeader(sSpamHeader, null); if (val != null) { if (sSpamHeaderValue != null) { Matcher m = sSpamHeaderValue.matcher(val); mSpam = m.matches(); } else { // no expected header value is configured; // presence of the header (regardless of its value) indicates spam mSpam = true; } } } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/00a796e1de4be5ba9cf5e8b5b9fe8f6a9498dc5e/ZimbraMailAdapter.java/buggy/ZimbraServer/src/java/com/zimbra/cs/filter/ZimbraMailAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2285, 381, 15397, 6759, 4216, 12, 30239, 14187, 16, 19244, 1079, 7430, 16, 11794, 514, 8027, 16, 10314, 8909, 1042, 5116, 8909, 28866, 13, 1216, 23794, 503, 565, 288, 3639, 333, 5621, 3639, 312, 30239, 273, 14187, 31, 3639, 312, 18241, 273, 8027, 31, 3639, 312, 7887, 8909, 28866, 273, 5116, 8909, 28866, 31, 3639, 444, 11257, 1079, 12, 7755, 1769, 7734, 368, 866, 24824, 1607, 444, 635, 2619, 24824, 13826, 3639, 309, 261, 87, 3389, 301, 1864, 480, 446, 13, 288, 5411, 514, 1244, 273, 7430, 18, 588, 13320, 1079, 7675, 588, 1864, 12, 87, 3389, 301, 1864, 16, 446, 1769, 5411, 309, 261, 1125, 480, 446, 13, 288, 7734, 309, 261, 87, 3389, 301, 31229, 480, 446, 13, 288, 10792, 9757, 312, 273, 272, 3389, 301, 31229, 18, 22761, 12, 1125, 1769, 10792, 312, 3389, 301, 273, 312, 18, 8436, 5621, 7734, 289, 469, 288, 10792, 368, 1158, 2665, 1446, 460, 353, 4351, 31, 5397, 368, 9805, 434, 326, 1446, 261, 1574, 1060, 2656, 434, 2097, 460, 13, 8527, 24824, 10792, 312, 3389, 301, 273, 638, 31, 7734, 289, 5411, 289, 3639, 289, 565, 289, 377, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2285, 381, 15397, 6759, 4216, 12, 30239, 14187, 16, 19244, 1079, 7430, 16, 11794, 514, 8027, 16, 10314, 8909, 1042, 5116, 8909, 28866, 13, 1216, 23794, 503, 565, 288, 3639, 333, 5621, 3639, 312, 30239, 273, 14187, 31, 3639, 312, 18241, 273, 8027, 31, 3639, 312, 7887, 8909, 28866, 273, 5116, 8909, 28866, 31, 3639, 444, 11257, 1079, 12, 7755, 1769, 7734, 368, 866, 24824, 1607, 444, 635, 2619, 24824, 13826, 3639, 309, 261, 87, 3389, 301, 1864, 480, 446, 13, 288, 5411, 514, 1244, 273, 7430, 18, 588, 13320, 1079, 7675, 588, 1864, 12, 87, 3389, 301, 1864, 16, 446, 1769, 5411, 309, 261, 1125, 480, 446, 13, 288, 7734, 309, 261, 87, 3389, 301, 31229, 2 ]
public abstract void itemModified (Item item);
public void itemModified (Item item) { categoryModified(item.getCategory()); }
public abstract void itemModified (Item item);
5005 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5005/2d51f1b85ba0b18d4ca3e7b535b816d26648535f/ItemStore.java/buggy/src/java/com/samskivert/jikan/data/ItemStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 918, 761, 4575, 261, 1180, 761, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 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, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 918, 761, 4575, 261, 1180, 761, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
RubyArray arr = RubyArray.newArray(getRuntime(), begin.length);
RubyArray arr = getRuntime().newArray(begin.length);
public RubyArray to_a() { RubyArray arr = RubyArray.newArray(getRuntime(), begin.length); for (long i = 0; i < begin.length; i++) { arr.append(group(i)); } return arr; }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyMatchData.java/clean/src/org/jruby/RubyMatchData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 358, 67, 69, 1435, 288, 3639, 19817, 1076, 2454, 273, 18814, 7675, 2704, 1076, 12, 10086, 18, 2469, 1769, 3639, 364, 261, 5748, 277, 273, 374, 31, 277, 411, 2376, 18, 2469, 31, 277, 27245, 288, 5411, 2454, 18, 6923, 12, 1655, 12, 77, 10019, 3639, 289, 3639, 327, 2454, 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, 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 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 358, 67, 69, 1435, 288, 3639, 19817, 1076, 2454, 273, 18814, 7675, 2704, 1076, 12, 10086, 18, 2469, 1769, 3639, 364, 261, 5748, 277, 273, 374, 31, 277, 411, 2376, 18, 2469, 31, 277, 27245, 288, 5411, 2454, 18, 6923, 12, 1655, 12, 77, 10019, 3639, 289, 3639, 327, 2454, 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 ]
} else {
} else {
private Block getPreviousIncompletedBlock(final LeafBlockWrapper block, final int offset) { if (block == null) { if (myLastTokenBlock.getBlock().isIncomplete()) { return myLastTokenBlock.getBlock(); } else { return null; } } AbstractBlockWrapper current = block; while (current.getParent() != null && current.getParent().getStartOffset() > offset) { current = current.getParent(); } if (current.getParent() == null) return null; final List<Block> subBlocks = current.getParent().getBlock().getSubBlocks(); final int index = subBlocks.indexOf(current.getBlock()); if (index < 0) { LOG.assertTrue(false, current.getParent().getBlock().getClass().getName()); } if (index == 0) return null; Block currentResult = subBlocks.get(index - 1); if (!currentResult.isIncomplete()) return null; Block lastChild = getLastChildOf(currentResult); while (lastChild != null && lastChild.isIncomplete()) { currentResult = lastChild; lastChild = getLastChildOf(currentResult); } return currentResult; }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/ee3f89bfa64cda89f2846e1f417caa549cf5edc9/FormatProcessor.java/buggy/source/com/intellij/formatting/FormatProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 3914, 17225, 382, 13615, 1768, 12, 6385, 23383, 1768, 3611, 1203, 16, 727, 509, 1384, 13, 288, 565, 309, 261, 2629, 422, 446, 13, 288, 1377, 309, 261, 4811, 3024, 1345, 1768, 18, 588, 1768, 7675, 291, 27531, 10756, 288, 3639, 327, 3399, 3024, 1345, 1768, 18, 588, 1768, 5621, 1377, 289, 469, 288, 3639, 327, 446, 31, 1377, 289, 565, 289, 565, 4115, 1768, 3611, 783, 273, 1203, 31, 565, 1323, 261, 2972, 18, 588, 3054, 1435, 480, 446, 597, 783, 18, 588, 3054, 7675, 588, 1685, 2335, 1435, 405, 1384, 13, 288, 1377, 783, 273, 783, 18, 588, 3054, 5621, 565, 289, 565, 309, 261, 2972, 18, 588, 3054, 1435, 422, 446, 13, 327, 446, 31, 565, 727, 987, 32, 1768, 34, 720, 6450, 273, 783, 18, 588, 3054, 7675, 588, 1768, 7675, 588, 1676, 6450, 5621, 565, 727, 509, 770, 273, 720, 6450, 18, 31806, 12, 2972, 18, 588, 1768, 10663, 565, 309, 261, 1615, 411, 374, 13, 288, 1377, 2018, 18, 11231, 5510, 12, 5743, 16, 783, 18, 588, 3054, 7675, 588, 1768, 7675, 588, 797, 7675, 17994, 10663, 565, 289, 565, 309, 261, 1615, 422, 374, 13, 327, 446, 31, 565, 3914, 783, 1253, 273, 720, 6450, 18, 588, 12, 1615, 300, 404, 1769, 565, 309, 16051, 2972, 1253, 18, 291, 27531, 10756, 327, 446, 31, 565, 3914, 30006, 273, 7595, 1763, 951, 12, 2972, 1253, 1769, 565, 1323, 261, 2722, 1763, 480, 446, 597, 30006, 18, 291, 27531, 10756, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 3914, 17225, 382, 13615, 1768, 12, 6385, 23383, 1768, 3611, 1203, 16, 727, 509, 1384, 13, 288, 565, 309, 261, 2629, 422, 446, 13, 288, 1377, 309, 261, 4811, 3024, 1345, 1768, 18, 588, 1768, 7675, 291, 27531, 10756, 288, 3639, 327, 3399, 3024, 1345, 1768, 18, 588, 1768, 5621, 1377, 289, 469, 288, 3639, 327, 446, 31, 1377, 289, 565, 289, 565, 4115, 1768, 3611, 783, 273, 1203, 31, 565, 1323, 261, 2972, 18, 588, 3054, 1435, 480, 446, 597, 783, 18, 588, 3054, 7675, 588, 1685, 2335, 1435, 405, 1384, 13, 288, 1377, 783, 273, 783, 18, 588, 3054, 5621, 565, 289, 565, 309, 261, 2972, 18, 588, 3054, 1435, 422, 446, 13, 327, 446, 2 ]
Statement stmt1 = connection.createStatement(); assertEquals(ResultSet.HOLD_CURSORS_OVER_COMMIT, stmt1.getResultSetHoldability());
AbstractStatement stmt1 = (AbstractStatement)connection.createStatement(); assertEquals(FirebirdResultSet.HOLD_CURSORS_OVER_COMMIT, stmt1.getResultSetHoldability());
public void testDefaultHoldableResultSet() throws Exception { Properties props = getDefaultPropertiesForConnection(); props.put("defaultHoldable", ""); Class.forName(FBDriver.class.getName()); Connection connection = DriverManager.getConnection(getUrl(), props); try { Statement stmt1 = connection.createStatement(); assertEquals(ResultSet.HOLD_CURSORS_OVER_COMMIT, stmt1.getResultSetHoldability()); Statement stmt2 = connection.createStatement(); ResultSet rs1 = stmt1.executeQuery( "SELECT rdb$collation_name, rdb$character_set_id FROM rdb$collations"); while(rs1.next()) { ResultSet rs2 = stmt2.executeQuery( "SELECT rdb$character_set_name FROM rdb$character_sets " + "WHERE rdb$character_set_id = " + rs1.getInt(2)); assertTrue("Should find corresponding charset.", rs2.next()); } } finally { connection.close(); } }
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/ecdd4a31e094dbe33ba0902b16080dd773039107/TestFBConnection.java/clean/src/test/org/firebirdsql/jdbc/TestFBConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1868, 20586, 429, 13198, 1435, 1216, 1185, 288, 3639, 6183, 3458, 273, 4829, 2297, 1290, 1952, 5621, 3639, 3458, 18, 458, 2932, 1886, 20586, 429, 3113, 1408, 1769, 7734, 1659, 18, 1884, 461, 12, 22201, 4668, 18, 1106, 18, 17994, 10663, 3639, 4050, 1459, 273, 9396, 1318, 18, 588, 1952, 12, 588, 1489, 9334, 3458, 1769, 3639, 775, 288, 13491, 8056, 3480, 21, 273, 1459, 18, 2640, 3406, 5621, 5411, 1815, 8867, 12, 13198, 18, 44, 11846, 67, 7509, 55, 14006, 67, 12959, 67, 18658, 16, 3480, 21, 18, 588, 13198, 20586, 2967, 10663, 13491, 8056, 3480, 22, 273, 1459, 18, 2640, 3406, 5621, 13491, 10842, 3597, 21, 273, 3480, 21, 18, 8837, 1138, 12, 7734, 315, 4803, 436, 1966, 8, 29992, 67, 529, 16, 436, 1966, 8, 11560, 67, 542, 67, 350, 4571, 436, 1966, 8, 12910, 1012, 8863, 5411, 1323, 12, 5453, 21, 18, 4285, 10756, 288, 7734, 10842, 3597, 22, 273, 3480, 22, 18, 8837, 1138, 12, 10792, 315, 4803, 436, 1966, 8, 11560, 67, 542, 67, 529, 4571, 436, 1966, 8, 11560, 67, 4424, 315, 397, 10792, 315, 12299, 436, 1966, 8, 11560, 67, 542, 67, 350, 273, 315, 397, 3597, 21, 18, 588, 1702, 12, 22, 10019, 27573, 1815, 5510, 2932, 14309, 1104, 4656, 4856, 1199, 16, 3597, 22, 18, 4285, 10663, 5411, 289, 10792, 289, 3095, 288, 5411, 1459, 18, 4412, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1868, 20586, 429, 13198, 1435, 1216, 1185, 288, 3639, 6183, 3458, 273, 4829, 2297, 1290, 1952, 5621, 3639, 3458, 18, 458, 2932, 1886, 20586, 429, 3113, 1408, 1769, 7734, 1659, 18, 1884, 461, 12, 22201, 4668, 18, 1106, 18, 17994, 10663, 3639, 4050, 1459, 273, 9396, 1318, 18, 588, 1952, 12, 588, 1489, 9334, 3458, 1769, 3639, 775, 288, 13491, 8056, 3480, 21, 273, 1459, 18, 2640, 3406, 5621, 5411, 1815, 8867, 12, 13198, 18, 44, 11846, 67, 7509, 55, 14006, 67, 12959, 67, 18658, 16, 3480, 21, 18, 588, 13198, 20586, 2967, 10663, 13491, 8056, 3480, 22, 273, 1459, 18, 2640, 3406, 5621, 13491, 10842, 3597, 21, 273, 3480, 21, 18, 8837, 1138, 12, 2 ]
try
for (;;)
protected void ctorInitializer(Declarator d ) throws EndOfFileException, BacktrackException { consume(IToken.tCOLON); IASTScope scope = d.getDeclarationWrapper().getScope(); try { for (;;) { if (LT(1) == IToken.tLBRACE) break; ITokenDuple duple = name(scope, CompletionKind.SINGLE_NAME_REFERENCE, KeywordSetKey.EMPTY ); consume(IToken.tLPAREN); IASTExpression expressionList = null; expressionList = expression(d.getDeclarationWrapper().getScope(), CompletionKind.SINGLE_NAME_REFERENCE, KeywordSetKey.EXPRESSION); consume(IToken.tRPAREN); try { d.addConstructorMemberInitializer( astFactory.createConstructorMemberInitializer( d.getDeclarationWrapper().getScope(), duple, expressionList)); } catch (Exception e1) { logException( "ctorInitializer:addConstructorMemberInitializer", e1 ); //$NON-NLS-1$ throw backtrack; } if (LT(1) == IToken.tLBRACE) break; consume(IToken.tCOMMA); } } catch (BacktrackException bt) { throw backtrack; } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/85be18a5f9556c1b23f600ca12f088a1d51d3925/Parser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 15120, 14729, 12, 31419, 302, 262, 3639, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 565, 288, 3639, 7865, 12, 1285, 969, 18, 88, 4935, 673, 1769, 3639, 467, 9053, 3876, 2146, 273, 302, 18, 588, 6094, 3611, 7675, 588, 3876, 5621, 3639, 364, 261, 25708, 13, 3639, 288, 5411, 364, 261, 25708, 13, 5411, 288, 7734, 309, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 12995, 9254, 13, 10792, 898, 31, 27573, 467, 1345, 40, 2268, 302, 2268, 273, 508, 12, 4887, 16, 20735, 5677, 18, 20184, 67, 1985, 67, 14617, 16, 18317, 30267, 18, 13625, 11272, 7734, 7865, 12, 1285, 969, 18, 88, 48, 15111, 1769, 7734, 467, 9053, 2300, 2652, 682, 273, 446, 31, 7734, 2652, 682, 273, 2652, 12, 72, 18, 588, 6094, 3611, 7675, 588, 3876, 9334, 20735, 5677, 18, 20184, 67, 1985, 67, 14617, 16, 18317, 30267, 18, 19111, 1769, 7734, 7865, 12, 1285, 969, 18, 88, 54, 15111, 1769, 7734, 364, 261, 25708, 13, 7734, 288, 10792, 302, 18, 1289, 6293, 4419, 14729, 12, 13491, 3364, 1733, 18, 2640, 6293, 4419, 14729, 12, 18701, 302, 18, 588, 6094, 3611, 7675, 588, 3876, 9334, 18701, 302, 2268, 16, 2652, 682, 10019, 7734, 289, 7734, 1044, 261, 503, 425, 21, 13, 7734, 288, 1171, 202, 1330, 503, 12, 315, 30206, 14729, 30, 1289, 6293, 4419, 14729, 3113, 425, 21, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 10792, 604, 1473, 4101, 31, 7734, 289, 7734, 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, 377, 4750, 918, 15120, 14729, 12, 31419, 302, 262, 3639, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 565, 288, 3639, 7865, 12, 1285, 969, 18, 88, 4935, 673, 1769, 3639, 467, 9053, 3876, 2146, 273, 302, 18, 588, 6094, 3611, 7675, 588, 3876, 5621, 3639, 364, 261, 25708, 13, 3639, 288, 5411, 364, 261, 25708, 13, 5411, 288, 7734, 309, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 12995, 9254, 13, 10792, 898, 31, 27573, 467, 1345, 40, 2268, 302, 2268, 273, 508, 12, 4887, 16, 20735, 5677, 18, 20184, 67, 1985, 67, 14617, 16, 18317, 30267, 18, 13625, 11272, 7734, 7865, 12, 1285, 969, 18, 88, 48, 15111, 1769, 7734, 467, 9053, 2300, 2652, 2 ]
" FROM pg_class bc, pg_class ic, pg_index i, pg_attribute a " +
" FROM pg_class bc, pg_class ic, pg_index i, pg_attribute a, pg_type t " +
public java.sql.ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException { return connection.createStatement().executeQuery("SELECT " + "'' as TABLE_CAT," + "'' AS TABLE_SCHEM," + "bc.relname AS TABLE_NAME," + "ic.relname AS COLUMN_NAME," + "'1' as KEY_SEQ,"+ // -- fake it as a String for now "t.typname as PK_NAME " + " FROM pg_class bc, pg_class ic, pg_index i, pg_attribute a " + " WHERE relkind = 'r' " + // -- not indices " and bc.relname ~ '"+table+"'" + " and i.indrelid = bc.oid" + " and i.indexrelid = ic.oid" + " and i.indkey[0] = a.attnum" + " and i.indproc = '0'::oid" + " and a.attrelid = bc.oid" + " ORDER BY TABLE_NAME, COLUMN_NAME;" ); }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/2b3bb341fe6c9f56154436aa90c9c4ef1e4d645c/DatabaseMetaData.java/buggy/src/interfaces/jdbc/postgresql/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 11398, 2396, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 13, 1216, 6483, 225, 288, 565, 327, 1459, 18, 2640, 3406, 7675, 8837, 1138, 2932, 4803, 315, 397, 6862, 1082, 377, 2491, 11, 487, 7567, 67, 14130, 10837, 397, 6862, 1082, 377, 2491, 11, 5355, 7567, 67, 55, 10390, 10837, 397, 6862, 1082, 377, 315, 13459, 18, 2878, 529, 5355, 7567, 67, 1985, 10837, 397, 6862, 1082, 377, 315, 335, 18, 2878, 529, 5355, 13473, 67, 1985, 10837, 397, 6862, 1082, 377, 2491, 21, 11, 487, 5311, 67, 28114, 10837, 15, 368, 1493, 10517, 518, 487, 279, 514, 364, 2037, 6862, 1082, 377, 315, 88, 18, 12846, 529, 487, 11327, 67, 1985, 315, 397, 6862, 1082, 377, 315, 4571, 7184, 67, 1106, 6533, 16, 7184, 67, 1106, 13579, 16, 7184, 67, 1615, 277, 16, 7184, 67, 4589, 279, 315, 397, 6862, 1082, 377, 315, 4852, 1279, 9224, 273, 296, 86, 11, 315, 397, 368, 565, 1493, 486, 4295, 6862, 1082, 377, 315, 225, 471, 6533, 18, 2878, 529, 4871, 2119, 15, 2121, 9078, 4970, 397, 6862, 1082, 377, 315, 225, 471, 277, 18, 728, 2878, 350, 273, 6533, 18, 839, 6, 397, 6862, 1082, 377, 315, 225, 471, 277, 18, 1615, 2878, 350, 273, 13579, 18, 839, 6, 397, 6862, 1082, 377, 315, 225, 471, 277, 18, 728, 856, 63, 20, 65, 273, 279, 18, 4558, 2107, 6, 397, 6862, 1082, 377, 315, 225, 471, 277, 18, 728, 9381, 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, 2252, 18, 4669, 18, 13198, 11398, 2396, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 13, 1216, 6483, 225, 288, 565, 327, 1459, 18, 2640, 3406, 7675, 8837, 1138, 2932, 4803, 315, 397, 6862, 1082, 377, 2491, 11, 487, 7567, 67, 14130, 10837, 397, 6862, 1082, 377, 2491, 11, 5355, 7567, 67, 55, 10390, 10837, 397, 6862, 1082, 377, 315, 13459, 18, 2878, 529, 5355, 7567, 67, 1985, 10837, 397, 6862, 1082, 377, 315, 335, 18, 2878, 529, 5355, 13473, 67, 1985, 10837, 397, 6862, 1082, 377, 2491, 21, 11, 487, 5311, 67, 28114, 10837, 15, 368, 1493, 10517, 518, 487, 279, 514, 364, 2037, 6862, 1082, 377, 315, 88, 18, 12846, 529, 487, 11327, 67, 2 ]
throws CannotCompileException { if (superclass == null) superclass = "java.lang.Object";
throws CannotCompileException { if (superclass == null) superclass = "java.lang.Object";
public void setSuperclass(String superclass) throws CannotCompileException { if (superclass == null) superclass = "java.lang.Object"; try { superClass = constPool.addClassInfo(superclass); ArrayList list = methods; int n = list.size(); for (int i = 0; i < n; ++i) { MethodInfo minfo = (MethodInfo)list.get(i); minfo.setSuperclass(superclass); } } catch (BadBytecode e) { throw new CannotCompileException(e); } }
56357 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56357/f5d84c890b70def694dbd2904f1e6d2f7f1b70e3/ClassFile.java/buggy/src/main/javassist/bytecode/ClassFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 28471, 12, 780, 12098, 13, 3639, 1216, 14143, 9937, 503, 565, 288, 3639, 309, 261, 9565, 1106, 422, 446, 13, 5411, 12098, 273, 315, 6290, 18, 4936, 18, 921, 14432, 3639, 775, 288, 5411, 18846, 273, 1866, 2864, 18, 1289, 19455, 12, 9565, 1106, 1769, 5411, 2407, 666, 273, 2590, 31, 5411, 509, 290, 273, 666, 18, 1467, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 965, 77, 13, 288, 7734, 2985, 966, 1131, 617, 273, 261, 1305, 966, 13, 1098, 18, 588, 12, 77, 1769, 7734, 1131, 617, 18, 542, 28471, 12, 9565, 1106, 1769, 5411, 289, 3639, 289, 3639, 1044, 261, 6434, 858, 16651, 425, 13, 288, 5411, 604, 394, 14143, 9937, 503, 12, 73, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 444, 28471, 12, 780, 12098, 13, 3639, 1216, 14143, 9937, 503, 565, 288, 3639, 309, 261, 9565, 1106, 422, 446, 13, 5411, 12098, 273, 315, 6290, 18, 4936, 18, 921, 14432, 3639, 775, 288, 5411, 18846, 273, 1866, 2864, 18, 1289, 19455, 12, 9565, 1106, 1769, 5411, 2407, 666, 273, 2590, 31, 5411, 509, 290, 273, 666, 18, 1467, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 965, 77, 13, 288, 7734, 2985, 966, 1131, 617, 273, 261, 1305, 966, 13, 1098, 18, 588, 12, 77, 1769, 7734, 1131, 617, 18, 542, 28471, 12, 9565, 1106, 1769, 5411, 289, 3639, 289, 3639, 1044, 261, 6434, 858, 16651, 425, 13, 288, 5411, 2 ]
return (EReference)labelEClass.getEStructuralFeatures().get(2);
return (EReference) labelEClass.getEStructuralFeatures().get(2);
public EReference getLabel_Outline() { return (EReference)labelEClass.getEStructuralFeatures().get(2); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ComponentPackageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ComponentPackageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 512, 2404, 11237, 67, 21805, 1435, 565, 288, 3639, 327, 261, 41, 2404, 13, 1433, 5720, 18, 588, 41, 14372, 8696, 7675, 588, 12, 22, 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,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377, 1071, 512, 2404, 11237, 67, 21805, 1435, 565, 288, 3639, 327, 261, 41, 2404, 13, 1433, 5720, 18, 588, 41, 14372, 8696, 7675, 588, 12, 22, 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 ]
mockExpressionFactory.expects(once()).method("newVariableReference").with(eq("x")) .will(returnValue(xReference)); mockExpressionFactory.expects(once()).method("newVariableReference").with(eq("y")) .will(returnValue(yReference)); mockExpressionFactory.expects(once()).method("newVariableReference").with(eq("z")) .will(returnValue(zReference)); mockExpressionFactory.expects(once()).method("newAddition").with(same(xReference), same(yReference)) .will(returnValue(addition)); mockExpressionFactory.expects(once()).method("newMultiplication").with(same(addition), same(zReference)) .will(returnValue(multiplication));
mockExpressionFactory.expects(once()).method("newVariableReference").with(eq("x")) .will(returnValue(xReference)); mockExpressionFactory.expects(once()).method("newVariableReference").with(eq("y")) .will(returnValue(yReference)); mockExpressionFactory.expects(once()).method("newVariableReference").with(eq("z")) .will(returnValue(zReference)); mockExpressionFactory.expects(once()).method("newAddition").with(same(xReference), same(yReference)) .will(returnValue(addition)); mockExpressionFactory.expects(once()).method("newMultiplication").with(same(addition), same(zReference)) .will(returnValue(multiplication));
public void testParseParenthesis() throws Exception { Expression xReference = dummyExpression("xReference"); Expression yReference = dummyExpression("yReference"); Expression zReference = dummyExpression("zReference"); Expression addition = dummyExpression("addition"); Expression multiplication = dummyExpression("multiplication"); mockExpressionFactory.expects(once()).method("newVariableReference").with(eq("x")) .will(returnValue(xReference)); mockExpressionFactory.expects(once()).method("newVariableReference").with(eq("y")) .will(returnValue(yReference)); mockExpressionFactory.expects(once()).method("newVariableReference").with(eq("z")) .will(returnValue(zReference)); mockExpressionFactory.expects(once()).method("newAddition").with(same(xReference), same(yReference)) .will(returnValue(addition)); mockExpressionFactory.expects(once()).method("newMultiplication").with(same(addition), same(zReference)) .will(returnValue(multiplication)); assertSame("should be multiplication", multiplication, parser.parse("(x+y)*z")); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/InfixParserTest.java/clean/jmock/examples/calculator/src/test/jmock/examples/calculator/InfixParserTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3201, 25660, 1435, 1216, 1185, 288, 202, 202, 2300, 619, 2404, 273, 9609, 2300, 2932, 92, 2404, 8863, 202, 202, 2300, 677, 2404, 273, 9609, 2300, 2932, 93, 2404, 8863, 202, 202, 2300, 998, 2404, 273, 9609, 2300, 2932, 94, 2404, 8863, 202, 202, 2300, 2719, 273, 9609, 2300, 2932, 1289, 608, 8863, 202, 202, 2300, 23066, 273, 9609, 2300, 2932, 7027, 1254, 8863, 202, 202, 22851, 2300, 1733, 18, 12339, 87, 12, 8243, 1435, 2934, 2039, 2932, 2704, 3092, 2404, 20387, 1918, 12, 11253, 2932, 92, 6, 3719, 1082, 3639, 263, 20194, 12, 2463, 620, 12, 92, 2404, 10019, 202, 202, 22851, 2300, 1733, 18, 12339, 87, 12, 8243, 1435, 2934, 2039, 2932, 2704, 3092, 2404, 20387, 1918, 12, 11253, 2932, 93, 6, 3719, 1082, 3639, 263, 20194, 12, 2463, 620, 12, 93, 2404, 10019, 202, 202, 22851, 2300, 1733, 18, 12339, 87, 12, 8243, 1435, 2934, 2039, 2932, 2704, 3092, 2404, 20387, 1918, 12, 11253, 2932, 94, 6, 3719, 1082, 3639, 263, 20194, 12, 2463, 620, 12, 94, 2404, 10019, 202, 202, 22851, 2300, 1733, 18, 12339, 87, 12, 8243, 1435, 2934, 2039, 2932, 2704, 30296, 20387, 1918, 12, 14307, 12, 92, 2404, 3631, 1967, 12, 93, 2404, 3719, 1082, 3639, 263, 20194, 12, 2463, 620, 12, 1289, 608, 10019, 202, 202, 22851, 2300, 1733, 18, 12339, 87, 12, 8243, 1435, 2934, 2039, 2932, 2704, 5002, 1254, 20387, 1918, 12, 14307, 12, 1289, 608, 3631, 1967, 12, 94, 2404, 3719, 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, 3201, 25660, 1435, 1216, 1185, 288, 202, 202, 2300, 619, 2404, 273, 9609, 2300, 2932, 92, 2404, 8863, 202, 202, 2300, 677, 2404, 273, 9609, 2300, 2932, 93, 2404, 8863, 202, 202, 2300, 998, 2404, 273, 9609, 2300, 2932, 94, 2404, 8863, 202, 202, 2300, 2719, 273, 9609, 2300, 2932, 1289, 608, 8863, 202, 202, 2300, 23066, 273, 9609, 2300, 2932, 7027, 1254, 8863, 202, 202, 22851, 2300, 1733, 18, 12339, 87, 12, 8243, 1435, 2934, 2039, 2932, 2704, 3092, 2404, 20387, 1918, 12, 11253, 2932, 92, 6, 3719, 1082, 3639, 263, 20194, 12, 2463, 620, 12, 92, 2404, 10019, 202, 202, 22851, 2300, 1733, 18, 12339, 87, 12, 8243, 1435, 2934, 2039, 2932, 2 ]
synPredMatched288 = false;
synPredMatched287 = false;
public final void expressionStatement( int prevToken ) throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST expressionStatement_AST = null; AST head_AST = null; boolean zz; /*ignore*/ { boolean synPredMatched288 = false; if (((_tokenSet_18.member(LA(1))) && (_tokenSet_8.member(LA(2))) && (_tokenSet_19.member(LA(3))))) { int _m288 = mark(); synPredMatched288 = true; inputState.guessing++; try { { suspiciousExpressionStatementStart(); } } catch (RecognitionException pe) { synPredMatched288 = false; } rewind(_m288); inputState.guessing--; } if ( synPredMatched288 ) { checkSuspiciousExpressionStatement(prevToken); astFactory.addASTChild(currentAST, returnAST); } else if ((_tokenSet_18.member(LA(1))) && (_tokenSet_8.member(LA(2))) && (_tokenSet_19.member(LA(3)))) { } else { throw new NoViableAltException(LT(1), getFilename()); } } { boolean synPredMatched292 = false; if (((_tokenSet_18.member(LA(1))) && (_tokenSet_8.member(LA(2))) && (_tokenSet_19.member(LA(3))))) { int _m292 = mark(); synPredMatched292 = true; inputState.guessing++; try { { expression(); { switch ( LA(1)) { case SEMI: { match(SEMI); break; } case NLS: { match(NLS); break; } case RCURLY: { match(RCURLY); break; } case EOF: { match(Token.EOF_TYPE); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } } } catch (RecognitionException pe) { synPredMatched292 = false; } rewind(_m292); inputState.guessing--; } if ( synPredMatched292 ) { expression(); astFactory.addASTChild(currentAST, returnAST); } else if ((_tokenSet_93.member(LA(1))) && (_tokenSet_94.member(LA(2))) && (_tokenSet_19.member(LA(3)))) { zz=pathExpression(); head_AST = (AST)returnAST; commandArguments(head_AST); astFactory.addASTChild(currentAST, returnAST); } else { throw new NoViableAltException(LT(1), getFilename()); } } expressionStatement_AST = (AST)currentAST.root; returnAST = expressionStatement_AST; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/27957314a380e54096257a6753ad9d316ee78892/GroovyRecognizer.java/buggy/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2652, 3406, 12, 202, 202, 474, 2807, 1345, 202, 13, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 2652, 3406, 67, 9053, 273, 446, 31, 202, 202, 9053, 910, 67, 9053, 273, 446, 31, 202, 202, 6494, 11273, 31, 1748, 6185, 5549, 9506, 202, 95, 202, 202, 6494, 6194, 10391, 15400, 22, 5482, 273, 629, 31, 202, 202, 430, 261, 12443, 67, 2316, 694, 67, 2643, 18, 5990, 12, 2534, 12, 21, 20349, 597, 261, 67, 2316, 694, 67, 28, 18, 5990, 12, 2534, 12, 22, 20349, 597, 261, 67, 2316, 694, 67, 3657, 18, 5990, 12, 2534, 12, 23, 3719, 20349, 288, 1082, 202, 474, 389, 81, 22, 5482, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 22, 5482, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 87, 407, 84, 28728, 2300, 3406, 1685, 5621, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 5650, 7909, 503, 2804, 13, 288, 9506, 202, 11982, 10391, 15400, 22, 5482, 273, 629, 31, 1082, 202, 97, 1082, 202, 266, 10094, 24899, 81, 22, 5482, 1769, 1082, 202, 2630, 1119, 18, 20885, 310, 413, 31, 202, 202, 97, 202, 202, 430, 261, 6194, 10391, 15400, 22, 5482, 262, 288, 1082, 202, 1893, 55, 407, 84, 28728, 2300, 3406, 12, 10001, 1345, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2652, 3406, 12, 202, 202, 474, 2807, 1345, 202, 13, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 2652, 3406, 67, 9053, 273, 446, 31, 202, 202, 9053, 910, 67, 9053, 273, 446, 31, 202, 202, 6494, 11273, 31, 1748, 6185, 5549, 9506, 202, 95, 202, 202, 6494, 6194, 10391, 15400, 22, 5482, 273, 629, 31, 202, 202, 430, 261, 12443, 67, 2316, 694, 67, 2643, 18, 5990, 12, 2534, 12, 21, 20349, 597, 261, 67, 2316, 694, 67, 28, 18, 5990, 12, 2534, 12, 22, 20349, 597, 261, 67, 2316, 694, 67, 3657, 2 ]
if (getAttachContext()) {
if (attachContext) {
public void run() { if (event.getJob().getResult().isOK()) { if (getAttachContext()) { // TODO should be done as part of job try { connector.attachContext(repository, (AbstractRepositoryTask) task, "", TasksUiPlugin.getDefault().getProxySettings()); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } close(); } else { TracUiPlugin.handleTracException(event.getResult()); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/170af7097297b6686d4b43edc88abce29c1a170b/TracTaskEditor.java/clean/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 1435, 288, 25083, 202, 430, 261, 2575, 18, 588, 2278, 7675, 588, 1253, 7675, 291, 3141, 10756, 288, 6862, 1082, 202, 430, 261, 588, 4761, 1042, 10756, 288, 6862, 9506, 202, 759, 2660, 1410, 506, 2731, 487, 1087, 434, 1719, 6862, 9506, 202, 698, 288, 6862, 6862, 202, 23159, 18, 7331, 1042, 12, 9071, 16, 261, 7469, 3305, 2174, 13, 1562, 16, 23453, 20350, 13943, 3773, 18, 588, 1868, 7675, 588, 3886, 2628, 10663, 6862, 9506, 202, 97, 1044, 261, 503, 425, 13, 288, 6862, 6862, 202, 759, 2660, 8064, 17, 11168, 1044, 1203, 6862, 6862, 202, 73, 18, 1188, 6332, 5621, 6862, 9506, 202, 97, 6862, 1082, 202, 97, 6862, 1082, 202, 4412, 5621, 25083, 202, 97, 469, 288, 6862, 1082, 202, 1609, 71, 13943, 3773, 18, 4110, 1609, 71, 503, 12, 2575, 18, 588, 1253, 10663, 25083, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 1435, 288, 25083, 202, 430, 261, 2575, 18, 588, 2278, 7675, 588, 1253, 7675, 291, 3141, 10756, 288, 6862, 1082, 202, 430, 261, 588, 4761, 1042, 10756, 288, 6862, 9506, 202, 759, 2660, 1410, 506, 2731, 487, 1087, 434, 1719, 6862, 9506, 202, 698, 288, 6862, 6862, 202, 23159, 18, 7331, 1042, 12, 9071, 16, 261, 7469, 3305, 2174, 13, 1562, 16, 23453, 20350, 13943, 3773, 18, 588, 1868, 7675, 588, 3886, 2628, 10663, 6862, 9506, 202, 97, 1044, 261, 503, 425, 13, 288, 6862, 6862, 202, 759, 2660, 8064, 17, 11168, 1044, 1203, 6862, 6862, 202, 73, 18, 1188, 6332, 5621, 6862, 9506, 202, 97, 6862, 1082, 202, 97, 6862, 1082, 202, 4412, 2 ]
return JavaObject.wrap(runtime, result);
return JavaObject.wrap(getRuntime(), result);
private IRubyObject invokeWithExceptionHandling(Object javaInvokee, Object[] arguments) { try { Object result = method.invoke(javaInvokee, arguments); return JavaObject.wrap(runtime, result); } catch (IllegalArgumentException iae) { throw new TypeError(getRuntime(), "expected " + argument_types().inspect()); } catch (IllegalAccessException iae) { throw new TypeError(getRuntime(), "illegal access on '" + method.getName() + "': " + iae.getMessage()); } catch (InvocationTargetException ite) { getRuntime().getJavaSupport().handleNativeException(ite.getTargetException()); // This point is only reached if there was an exception handler installed. return runtime.getNil(); } }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/870e1da9b41bfdbae259e1fc5f18fc8b76686998/JavaMethod.java/buggy/src/org/jruby/javasupport/JavaMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 4356, 1190, 503, 14701, 12, 921, 2252, 11354, 1340, 16, 1033, 8526, 1775, 13, 288, 3639, 775, 288, 5411, 1033, 563, 273, 707, 18, 14407, 12, 6290, 11354, 1340, 16, 1775, 1769, 5411, 327, 5110, 921, 18, 4113, 12, 588, 5576, 9334, 563, 1769, 3639, 289, 1044, 261, 31237, 30905, 13, 288, 5411, 604, 394, 3580, 12, 588, 5576, 9334, 315, 3825, 315, 397, 1237, 67, 2352, 7675, 12009, 10663, 3639, 289, 1044, 261, 12195, 9773, 30905, 13, 288, 5411, 604, 394, 3580, 12, 588, 5576, 9334, 315, 31751, 2006, 603, 2119, 397, 707, 18, 17994, 1435, 397, 2491, 30, 315, 397, 30905, 18, 24906, 10663, 3639, 289, 1044, 261, 9267, 14950, 518, 73, 13, 288, 5411, 18814, 7675, 588, 5852, 6289, 7675, 4110, 9220, 503, 12, 1137, 18, 588, 14950, 10663, 5411, 368, 1220, 1634, 353, 1338, 8675, 309, 1915, 1703, 392, 1520, 1838, 5876, 18, 5411, 327, 3099, 18, 588, 12616, 5621, 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, 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, 5411, 327, 5110, 921, 18, 4113, 12, 588, 5576, 9334, 563, 1769, 3639, 289, 1044, 261, 31237, 30905, 13, 288, 5411, 604, 394, 3580, 12, 588, 5576, 9334, 315, 3825, 315, 397, 1237, 67, 2352, 7675, 12009, 10663, 3639, 289, 1044, 261, 12195, 9773, 30905, 13, 288, 5411, 604, 394, 3580, 12, 588, 5576, 9334, 315, 31751, 2006, 603, 2119, 397, 707, 18, 17994, 1435, 397, 2491, 30, 315, 397, 30905, 18, 24906, 10663, 3639, 289, 1044, 261, 9267, 14950, 518, 73, 2 ]
if (!Character.isDigit(buffer[i])) {
if (!Character.isDigit(buffer[i])) {
public int nextAsciiNumber() { int i = index; for (; i < buffer.length; i++) { if (!Character.isDigit(buffer[i])) { break; } } // An exception will occur if no number is at ptr.... int number = Integer.parseInt(new String(buffer, index, i - index)); // An exception may occur here if an int can't hold this but ... index = i; return number; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/clean/src/org/jruby/util/Pack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 1024, 21363, 1854, 1435, 288, 5411, 509, 277, 273, 770, 31, 5411, 364, 261, 31, 277, 411, 1613, 18, 2469, 31, 277, 27245, 288, 2398, 202, 430, 16051, 7069, 18, 291, 10907, 12, 4106, 63, 77, 22643, 288, 10792, 898, 31, 9506, 202, 97, 1082, 202, 97, 13491, 368, 1922, 1520, 903, 3334, 309, 1158, 1300, 353, 622, 6571, 6265, 5411, 509, 1300, 273, 2144, 18, 2670, 1702, 12, 2704, 514, 12, 4106, 16, 770, 16, 277, 300, 770, 10019, 13491, 368, 1922, 1520, 2026, 3334, 2674, 309, 392, 509, 848, 1404, 6887, 333, 1496, 1372, 5411, 770, 273, 277, 31, 1082, 202, 2463, 1300, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 1024, 21363, 1854, 1435, 288, 5411, 509, 277, 273, 770, 31, 5411, 364, 261, 31, 277, 411, 1613, 18, 2469, 31, 277, 27245, 288, 2398, 202, 430, 16051, 7069, 18, 291, 10907, 12, 4106, 63, 77, 22643, 288, 10792, 898, 31, 9506, 202, 97, 1082, 202, 97, 13491, 368, 1922, 1520, 903, 3334, 309, 1158, 1300, 353, 622, 6571, 6265, 5411, 509, 1300, 273, 2144, 18, 2670, 1702, 12, 2704, 514, 12, 4106, 16, 770, 16, 277, 300, 770, 10019, 13491, 368, 1922, 1520, 2026, 3334, 2674, 309, 392, 509, 848, 1404, 6887, 333, 1496, 1372, 5411, 770, 273, 277, 31, 1082, 202, 2463, 1300, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100 ]
ret.width += d.width;
public Dimension getPreferredSize(JComponent c) { TableColumnModel cmod = header.getColumnModel(); TableCellRenderer defaultRend = header.getDefaultRenderer(); int ncols = cmod.getColumnCount(); Dimension ret = new Dimension(0,0); int spacing = 0; if (header.getTable() != null && header.getTable().getInterCellSpacing() != null) spacing = header.getTable().getInterCellSpacing().width; for (int i = 0; i < ncols; ++i) { TableColumn col = cmod.getColumn(i); TableCellRenderer rend = col.getHeaderRenderer(); if (rend == null) rend = defaultRend; Object val = col.getHeaderValue(); Component comp = rend.getTableCellRendererComponent(header.getTable(), val, false, // isSelected false, // isFocused -1, i); comp.setFont(header.getFont()); comp.setBackground(header.getBackground()); comp.setForeground(header.getForeground()); if (comp instanceof JComponent) ((JComponent)comp).setBorder(cellBorder); Dimension d = comp.getPreferredSize(); ret.width += d.width; ret.width += spacing; ret.height = Math.max(d.height, ret.height); } return ret; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/b55284b1c42a24d7d97bd4f801888b3dbb3e71f8/BasicTableHeaderUI.java/buggy/libraries/javalib/javax/swing/plaf/basic/BasicTableHeaderUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 1225, 12, 46, 1841, 276, 13, 225, 288, 565, 3555, 1494, 1488, 276, 1711, 273, 1446, 18, 588, 1494, 1488, 5621, 565, 3555, 4020, 6747, 805, 54, 409, 273, 1446, 18, 588, 1868, 6747, 5621, 565, 509, 21330, 273, 276, 1711, 18, 588, 1494, 1380, 5621, 3639, 13037, 325, 273, 394, 13037, 12, 20, 16, 20, 1769, 565, 509, 13259, 273, 374, 31, 565, 309, 261, 3374, 18, 588, 1388, 1435, 480, 446, 540, 597, 1446, 18, 588, 1388, 7675, 588, 2465, 4020, 18006, 1435, 480, 446, 13, 1377, 13259, 273, 1446, 18, 588, 1388, 7675, 588, 2465, 4020, 18006, 7675, 2819, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 21330, 31, 965, 77, 13, 5411, 288, 3639, 3555, 1494, 645, 273, 276, 1711, 18, 588, 1494, 12, 77, 1769, 3639, 3555, 4020, 6747, 1654, 72, 273, 645, 18, 588, 1864, 6747, 5621, 3639, 309, 261, 20262, 422, 446, 13, 1850, 1654, 72, 273, 805, 54, 409, 31, 3639, 1033, 1244, 273, 645, 18, 588, 31229, 5621, 3639, 5435, 1161, 273, 1654, 72, 18, 588, 1388, 4020, 6747, 1841, 12, 3374, 18, 588, 1388, 9334, 4766, 18701, 1244, 16, 4766, 18701, 629, 16, 368, 20956, 4766, 18701, 629, 16, 368, 17646, 14569, 4766, 18701, 300, 21, 16, 277, 1769, 3639, 1161, 18, 542, 5711, 12, 3374, 18, 588, 5711, 10663, 3639, 1161, 18, 542, 8199, 12, 3374, 18, 588, 8199, 10663, 3639, 1161, 18, 542, 23206, 12, 3374, 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, 13037, 12822, 4193, 1225, 12, 46, 1841, 276, 13, 225, 288, 565, 3555, 1494, 1488, 276, 1711, 273, 1446, 18, 588, 1494, 1488, 5621, 565, 3555, 4020, 6747, 805, 54, 409, 273, 1446, 18, 588, 1868, 6747, 5621, 565, 509, 21330, 273, 276, 1711, 18, 588, 1494, 1380, 5621, 3639, 13037, 325, 273, 394, 13037, 12, 20, 16, 20, 1769, 565, 509, 13259, 273, 374, 31, 565, 309, 261, 3374, 18, 588, 1388, 1435, 480, 446, 540, 597, 1446, 18, 588, 1388, 7675, 588, 2465, 4020, 18006, 1435, 480, 446, 13, 1377, 13259, 273, 1446, 18, 588, 1388, 7675, 588, 2465, 4020, 18006, 7675, 2819, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 21330, 2 ]
error = new XMLElement(requestedProps.get(name)); addProperty(propstatMap, HttpServletResponse.SC_NOT_FOUND, error);
error.addElement(requestedProps.get(name));
private void addResourceToResponse(DavContext ctxt, DavResource rs, Element top, boolean nameOnly, Map<String,QName> requestedProps, boolean includeChildren) throws DavException { Element resp = top.addElement(DavElements.E_RESPONSE); resp.addElement(DavElements.E_HREF).setText(UrlNamespace.getResourceUrl(rs)); Map<Integer,Element> propstatMap = new HashMap<Integer,Element>(); Set<String> allPropNames = rs.getAllPropertyNames(); Set<String> propNames; if (requestedProps == null) propNames = allPropNames; else propNames = requestedProps.keySet(); if (requestedProps == null || requestedProps.containsKey(DavElements.P_RESOURCETYPE)) addProperty(propstatMap, STATUS_OK, rs.getResourceTypeElement()); for (String name : propNames) { if (name.equals(DavElements.P_RESOURCETYPE)) continue; if (!allPropNames.contains(name)) { Element error; if (requestedProps == null) error = new XMLElement(name); else error = new XMLElement(requestedProps.get(name)); addProperty(propstatMap, HttpServletResponse.SC_NOT_FOUND, error); continue; } Element e; if (requestedProps == null) e = new XMLElement(name); else e = new XMLElement(requestedProps.get(name)); if (!nameOnly) e.setText(rs.getProperty(name)); addProperty(propstatMap, STATUS_OK, e); } for (Entry<Integer, Element> entry : propstatMap.entrySet()) resp.addElement(entry.getValue()); if (includeChildren) { List<DavResource> children = UrlNamespace.getChildren(ctxt, rs); for (DavResource child : children) addResourceToResponse(ctxt, child, top, nameOnly, requestedProps, includeChildren); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/5bffc939ef46ff155239649bcecf834664c154bc/PropFind.java/buggy/ZimbraServer/src/java/com/zimbra/cs/dav/service/method/PropFind.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 23812, 774, 1064, 12, 40, 842, 1042, 14286, 16, 463, 842, 1420, 3597, 16, 3010, 1760, 16, 1250, 508, 3386, 16, 1635, 32, 780, 16, 13688, 34, 3764, 5047, 16, 1250, 2341, 4212, 13, 1216, 463, 842, 503, 288, 202, 202, 1046, 1718, 273, 1760, 18, 1289, 1046, 12, 40, 842, 3471, 18, 41, 67, 14508, 1769, 202, 202, 12243, 18, 1289, 1046, 12, 40, 842, 3471, 18, 41, 67, 44, 10771, 2934, 542, 1528, 12, 1489, 3402, 18, 588, 1420, 1489, 12, 5453, 10019, 202, 202, 863, 32, 4522, 16, 1046, 34, 2270, 5642, 863, 273, 394, 4317, 32, 4522, 16, 1046, 34, 5621, 202, 202, 694, 32, 780, 34, 777, 4658, 1557, 273, 3597, 18, 588, 1595, 29932, 5621, 202, 202, 694, 32, 780, 34, 2270, 1557, 31, 202, 202, 430, 261, 19065, 5047, 422, 446, 13, 1082, 202, 5986, 1557, 273, 777, 4658, 1557, 31, 202, 202, 12107, 1082, 202, 5986, 1557, 273, 3764, 5047, 18, 856, 694, 5621, 202, 202, 430, 261, 19065, 5047, 422, 446, 747, 3764, 5047, 18, 12298, 653, 12, 40, 842, 3471, 18, 52, 67, 11395, 2399, 3719, 1082, 202, 1289, 1396, 12, 5986, 5642, 863, 16, 7136, 67, 3141, 16, 3597, 18, 588, 15631, 1046, 10663, 202, 202, 1884, 261, 780, 508, 294, 2270, 1557, 13, 288, 1082, 202, 430, 261, 529, 18, 14963, 12, 40, 842, 3471, 18, 52, 67, 11395, 2399, 3719, 9506, 202, 17143, 31, 1082, 202, 430, 16051, 454, 4658, 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, 23812, 774, 1064, 12, 40, 842, 1042, 14286, 16, 463, 842, 1420, 3597, 16, 3010, 1760, 16, 1250, 508, 3386, 16, 1635, 32, 780, 16, 13688, 34, 3764, 5047, 16, 1250, 2341, 4212, 13, 1216, 463, 842, 503, 288, 202, 202, 1046, 1718, 273, 1760, 18, 1289, 1046, 12, 40, 842, 3471, 18, 41, 67, 14508, 1769, 202, 202, 12243, 18, 1289, 1046, 12, 40, 842, 3471, 18, 41, 67, 44, 10771, 2934, 542, 1528, 12, 1489, 3402, 18, 588, 1420, 1489, 12, 5453, 10019, 202, 202, 863, 32, 4522, 16, 1046, 34, 2270, 5642, 863, 273, 394, 4317, 32, 4522, 16, 1046, 34, 5621, 202, 202, 694, 32, 780, 34, 777, 4658, 1557, 273, 2 ]
currentString = (ResourceString)currentString.next;
currentString = (ICUResourceWriter.ResourceString)currentString.next;
private Resource parseDisplayTypes(Node root){ StringBuffer xpath = new StringBuffer(); xpath.append("//ldml/localeDisplayNames/types/type[@key='"); int savedLength = xpath.length(); ResourceTable table = new ResourceTable(); table.name = TYPES; ResourceTable current = null; for(int i=0; i<registeredKeys.length; i++){ xpath.append(registeredKeys[i]); xpath.append("']"); NodeList list = LDMLUtilities.getNodeList(root.getOwnerDocument(), xpath.toString()); if(list.getLength()!=0){ ResourceTable subTable = new ResourceTable(); subTable.name = registeredKeys[i]; if(i==0){ table.first = current = subTable; }else{ current.next = subTable; current = (ResourceTable)current.next; } ResourceString currentString = null; for(int j=0; j<list.getLength(); j++){ Node item = list.item(j); String type = LDMLUtilities.getAttributeValue(item, TYPE); String value = LDMLUtilities.getNodeValue(item); String altVal = LDMLUtilities.getAttributeValue(item, ALT); // the alt atrribute is set .. so ignore the resource if(altVal!=null){ continue; } //TODO now check if this string is draft ResourceString string = new ResourceString(); string.name = type; string.val = value; if(j==0){ subTable.first = currentString = string; }else{ currentString.next = string; currentString = (ResourceString)currentString.next; } } } xpath.delete(savedLength, xpath.length()); } if(table.first!=null){ return table; } return null; }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/3500c6ee8e8828730b76872693f4d7deb838af5c/LDML2ICUConverter.java/clean/tools/java/org/unicode/cldr/icu/LDML2ICUConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2591, 1109, 4236, 2016, 12, 907, 1365, 15329, 3639, 6674, 6748, 273, 394, 6674, 5621, 3639, 6748, 18, 6923, 2932, 759, 1236, 781, 19, 6339, 4236, 1557, 19, 2352, 19, 723, 14782, 856, 2218, 8863, 3639, 509, 5198, 1782, 273, 6748, 18, 2469, 5621, 3639, 2591, 1388, 1014, 273, 394, 2591, 1388, 5621, 3639, 1014, 18, 529, 273, 3463, 55, 31, 3639, 2591, 1388, 783, 273, 446, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 277, 32, 14327, 2396, 18, 2469, 31, 277, 27245, 95, 5411, 6748, 18, 6923, 12, 14327, 2396, 63, 77, 19226, 5411, 6748, 18, 6923, 2932, 3546, 8863, 540, 202, 19914, 666, 273, 28083, 1495, 11864, 18, 588, 19914, 12, 3085, 18, 588, 5541, 2519, 9334, 6748, 18, 10492, 10663, 5411, 309, 12, 1098, 18, 588, 1782, 1435, 5, 33, 20, 15329, 7734, 2591, 1388, 720, 1388, 273, 394, 2591, 1388, 5621, 7734, 720, 1388, 18, 529, 273, 4104, 2396, 63, 77, 15533, 7734, 309, 12, 77, 631, 20, 15329, 10792, 1014, 18, 3645, 273, 783, 273, 720, 1388, 31, 7734, 289, 12107, 95, 10792, 783, 18, 4285, 273, 720, 1388, 31, 10792, 783, 273, 261, 1420, 1388, 13, 2972, 18, 4285, 31, 7734, 289, 7734, 2591, 780, 783, 780, 273, 446, 31, 7734, 364, 12, 474, 525, 33, 20, 31, 525, 32, 1098, 18, 588, 1782, 5621, 525, 27245, 95, 10792, 2029, 761, 273, 666, 18, 1726, 12, 78, 1769, 10792, 514, 618, 273, 28083, 1495, 11864, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2591, 1109, 4236, 2016, 12, 907, 1365, 15329, 3639, 6674, 6748, 273, 394, 6674, 5621, 3639, 6748, 18, 6923, 2932, 759, 1236, 781, 19, 6339, 4236, 1557, 19, 2352, 19, 723, 14782, 856, 2218, 8863, 3639, 509, 5198, 1782, 273, 6748, 18, 2469, 5621, 3639, 2591, 1388, 1014, 273, 394, 2591, 1388, 5621, 3639, 1014, 18, 529, 273, 3463, 55, 31, 3639, 2591, 1388, 783, 273, 446, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 277, 32, 14327, 2396, 18, 2469, 31, 277, 27245, 95, 5411, 6748, 18, 6923, 12, 14327, 2396, 63, 77, 19226, 5411, 6748, 18, 6923, 2932, 3546, 8863, 540, 202, 19914, 666, 273, 28083, 1495, 11864, 18, 588, 19914, 12, 3085, 18, 2 ]
writeAll.addActionListener( l2 = new ActionListener() {
writeAllButton.setToolTipText("Write current values to decoder"); writeAllButton.addActionListener( l2 = new ActionListener() {
protected void installComponents() { // configure GUI elements confirmAll.setEnabled(false); confirmAll.setToolTipText("disabled because not yet implemented"); // general GUI config getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS)); readAll.addActionListener( l1 = new ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { readAll(); } }); writeAll.addActionListener( l2 = new ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { writeAll(); } }); // most of the GUI is done from XML in readConfig() function getContentPane().add(tabPane); // add buttons JPanel bottom = new JPanel(); bottom.setLayout(new BoxLayout(bottom, BoxLayout.X_AXIS)); bottom.add(readAll); bottom.add(confirmAll); bottom.add(writeAll); getContentPane().add(bottom); getContentPane().add(progStatus); }
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/9f98f3a8ba0fc81445fcec3404df6f934351025d/PaneProgFrame.java/buggy/jmrit/symbolicprog/tabbedframe/PaneProgFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3799, 7171, 1435, 288, 202, 202, 759, 5068, 10978, 2186, 202, 202, 10927, 1595, 18, 542, 1526, 12, 5743, 1769, 202, 202, 10927, 1595, 18, 542, 29250, 1528, 2932, 9278, 2724, 486, 4671, 8249, 8863, 9506, 202, 759, 7470, 10978, 642, 202, 202, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 8549, 3744, 12, 588, 1350, 8485, 9334, 8549, 3744, 18, 61, 67, 25614, 10019, 202, 202, 896, 1595, 18, 1289, 1803, 2223, 12, 328, 21, 273, 394, 25962, 1435, 288, 1082, 202, 482, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 425, 13, 288, 9506, 202, 896, 1595, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 2626, 1595, 18, 1289, 1803, 2223, 12, 328, 22, 273, 394, 25962, 1435, 288, 1082, 202, 482, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 425, 13, 288, 9506, 202, 2626, 1595, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 759, 4486, 434, 326, 10978, 353, 2731, 628, 3167, 316, 855, 809, 1435, 445, 202, 202, 588, 1350, 8485, 7675, 1289, 12, 7032, 8485, 1769, 9506, 202, 759, 527, 9502, 202, 202, 46, 5537, 5469, 273, 394, 24048, 5621, 202, 202, 9176, 18, 542, 3744, 12, 2704, 8549, 3744, 12, 9176, 16, 8549, 3744, 18, 60, 67, 25614, 10019, 202, 202, 9176, 18, 1289, 12, 896, 1595, 1769, 202, 202, 9176, 18, 1289, 12, 10927, 1595, 1769, 202, 202, 9176, 18, 1289, 12, 2626, 1595, 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, 225, 202, 1117, 918, 3799, 7171, 1435, 288, 202, 202, 759, 5068, 10978, 2186, 202, 202, 10927, 1595, 18, 542, 1526, 12, 5743, 1769, 202, 202, 10927, 1595, 18, 542, 29250, 1528, 2932, 9278, 2724, 486, 4671, 8249, 8863, 9506, 202, 759, 7470, 10978, 642, 202, 202, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 8549, 3744, 12, 588, 1350, 8485, 9334, 8549, 3744, 18, 61, 67, 25614, 10019, 202, 202, 896, 1595, 18, 1289, 1803, 2223, 12, 328, 21, 273, 394, 25962, 1435, 288, 1082, 202, 482, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 425, 13, 288, 9506, 202, 896, 1595, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 2626, 1595, 18, 2 ]
this.derefLocationSetMap = new HashMap<ValueNumber, BitSet>();
this.derefLocationSetMap = new HashMap<ValueNumber, Set<Location>>();
public UnconditionalValueDerefSet(int numValueNumbersInMethod) { this.numValueNumbersInMethod = numValueNumbersInMethod; this.valueNumberSet = new BitSet(); this.derefLocationSetMap = new HashMap<ValueNumber, BitSet>(); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/2ca4fdda698cd5fbde7c3940d2618b8878c41d64/UnconditionalValueDerefSet.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/deref/UnconditionalValueDerefSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1351, 22019, 620, 40, 822, 74, 694, 12, 474, 818, 620, 10072, 382, 1305, 13, 288, 202, 202, 2211, 18, 2107, 620, 10072, 382, 1305, 273, 818, 620, 10072, 382, 1305, 31, 202, 202, 2211, 18, 1132, 1854, 694, 273, 394, 21199, 5621, 202, 202, 2211, 18, 765, 10241, 2735, 694, 863, 273, 394, 4317, 32, 620, 1854, 16, 21199, 34, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1351, 22019, 620, 40, 822, 74, 694, 12, 474, 818, 620, 10072, 382, 1305, 13, 288, 202, 202, 2211, 18, 2107, 620, 10072, 382, 1305, 273, 818, 620, 10072, 382, 1305, 31, 202, 202, 2211, 18, 1132, 1854, 694, 273, 394, 21199, 5621, 202, 202, 2211, 18, 765, 10241, 2735, 694, 863, 273, 394, 4317, 32, 620, 1854, 16, 21199, 34, 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 ]
ClientGetter cg = new ClientGetter(NodeUpdater.this, node.chkFetchScheduler, node.sskFetchScheduler, revocationURI, ctxRevocation, RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS, NodeUpdater.this, null);
ClientGetter cg = new ClientGetter(NodeUpdater.this, node.chkFetchScheduler, node.sskFetchScheduler, revocationURI, ctxRevocation, RequestStarter.MAXIMUM_PRIORITY_CLASS, NodeUpdater.this, null);
public void run() { try { // We've got the data, so speed things up a bit. ClientGetter cg = new ClientGetter(NodeUpdater.this, node.chkFetchScheduler, node.sskFetchScheduler, revocationURI, ctxRevocation, RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS, NodeUpdater.this, null); cg.start(); } catch (FetchException e) { Logger.error(this, "Not able to start the revocation fetcher."); blow("Cannot fetch the auto-update URI"); } }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/d296236f0c3888b3327dcc9ff86ef0475d1d33dd/NodeUpdater.java/buggy/src/freenet/node/updater/NodeUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 759, 1660, 8081, 2363, 326, 501, 16, 1427, 8632, 9198, 731, 279, 2831, 18, 6862, 202, 1227, 8461, 14947, 273, 394, 2445, 8461, 12, 907, 15305, 18, 2211, 16, 756, 18, 27038, 5005, 11870, 16, 756, 18, 1049, 79, 5005, 11870, 16, 24158, 3098, 16, 1103, 28691, 16, 1567, 510, 14153, 18, 3445, 15971, 1777, 67, 17482, 3776, 67, 19804, 67, 5237, 16, 2029, 15305, 18, 2211, 16, 446, 1769, 6862, 202, 26275, 18, 1937, 5621, 9506, 202, 97, 1044, 261, 5005, 503, 425, 13, 288, 6862, 202, 3328, 18, 1636, 12, 2211, 16, 315, 1248, 7752, 358, 787, 326, 24158, 20521, 1199, 1769, 6862, 202, 70, 821, 2932, 4515, 2158, 326, 3656, 17, 2725, 3699, 8863, 9506, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 759, 1660, 8081, 2363, 326, 501, 16, 1427, 8632, 9198, 731, 279, 2831, 18, 6862, 202, 1227, 8461, 14947, 273, 394, 2445, 8461, 12, 907, 15305, 18, 2211, 16, 756, 18, 27038, 5005, 11870, 16, 756, 18, 1049, 79, 5005, 11870, 16, 24158, 3098, 16, 1103, 28691, 16, 1567, 510, 14153, 18, 3445, 15971, 1777, 67, 17482, 3776, 67, 19804, 67, 5237, 16, 2029, 15305, 18, 2211, 16, 446, 1769, 6862, 202, 26275, 18, 1937, 5621, 9506, 202, 97, 1044, 261, 5005, 503, 425, 13, 288, 6862, 202, 3328, 18, 1636, 12, 2211, 16, 315, 1248, 7752, 358, 787, 326, 24158, 20521, 1199, 1769, 6862, 202, 2 ]
if (te.isProne()) {
if ((te != null) && (te.isProne())) {
private void resolveChargeAttack(PhysicalResult pr, int lastEntityId) { final ChargeAttackAction caa = (ChargeAttackAction)pr.aaa; final Entity ae = game.getEntity(caa.getEntityId()); final Targetable target = game.getTarget(caa.getTargetType(), caa.getTargetId()); // get damage, ToHitData and roll from the PhysicalResult int damage = pr.damage; final ToHitData toHit = pr.toHit; int roll = pr.roll; Entity te = null; if (target != null && target.getTargetType() == Targetable.TYPE_ENTITY) { te = (Entity)target; } boolean throughFront = true; if (te!=null) { throughFront = Compute.isThroughFrontHex(game, caa.getEntityId(), te); } final boolean glancing = game.getOptions().booleanOption("maxtech_glancing_blows") && roll == toHit.getValue(); Report r; // Which building takes the damage? Building bldg = game.getBoard().getBuildingAt( caa.getTargetPos() ); // is the attacker dead? because that sure messes up the calculations if (ae == null) { return; } final int direction = ae.getFacing(); // entity isn't charging any more ae.setDisplacementAttack(null); if (lastEntityId != caa.getEntityId()) { //who is making the attack r = new Report(4005); r.subject = ae.getId(); r.addDesc(ae); addReport(r); } // should we even bother? if (target == null || target.getTargetType() == Targetable.TYPE_ENTITY && (te.isDestroyed() || te.isDoomed() || te.crew.isDead())) { r = new Report(4190); r.subject = ae.getId(); r.indent(); addReport(r); // doEntityDisplacement(ae, ae.getPosition(), caa.getTargetPos(), null); // Randall said that if a charge fails because of target destruction, // the attacker stays in the hex he was in at the end of the movement phase // See Bug 912094 return; } // attacker fell down? if (ae.isProne()) { r = new Report(4195); r.subject = ae.getId(); r.indent(); addReport(r); return; } // attacker immobile? if (ae.isImmobile()) { r = new Report(4200); r.subject = ae.getId(); r.indent(); addReport(r); return; } if (te.isProne()) { r = new Report(4205); r.subject = ae.getId(); r.indent(); addReport(r); return; } r = new Report(4210); r.subject = ae.getId(); r.indent(); r.add(target.getDisplayName()); r.newlines = 0; addReport(r); // target still in the same position? if (!target.getPosition().equals(caa.getTargetPos())) { r = new Report(4215); r.subject = ae.getId(); addReport(r); doEntityDisplacement(ae, ae.getPosition(), caa.getTargetPos(), null); return; } // if the attacker's prone, fudge the roll if (toHit.getValue() == ToHitData.IMPOSSIBLE) { roll = -12; r = new Report(4220); r.subject = ae.getId(); r.add(toHit.getDesc()); addReport(r); } else if (toHit.getValue() == ToHitData.AUTOMATIC_SUCCESS) { roll = Integer.MAX_VALUE; r = new Report(4225); r.subject = ae.getId(); r.add(toHit.getDesc()); addReport(r); } else { // report the roll r = new Report(4025); r.subject = ae.getId(); r.add(toHit.getValue()); r.add(roll); r.newlines = 0; addReport(r); if (glancing) { r = new Report(4030); r.subject = ae.getId(); r.newlines = 0; addReport(r); } } // do we hit? if (roll < toHit.getValue()) { Coords src = ae.getPosition(); Coords dest = Compute.getMissedChargeDisplacement(game, ae.getId(), src, direction); // TODO: handle movement into/out of/through a building. Do it here? //miss r = new Report(4035); r.subject = ae.getId(); addReport(r); // move attacker to side hex doEntityDisplacement(ae, src, dest, null); } // Targeting a building. else if ( target.getTargetType() == Targetable.TYPE_BUILDING ) { // The building takes the full brunt of the attack. r = new Report(4040); r.subject = ae.getId(); addReport(r); Report buildingReport = damageBuilding( bldg, damage ); buildingReport.indent(); buildingReport.subject = ae.getId(); addReport(buildingReport); // Damage any infantry in the hex. damageInfantryIn( bldg, damage ); // Apply damage to the attacker. int toAttacker = ChargeAttackAction.getDamageTakenBy( ae, bldg ); HitData hit = ae.rollHitLocation( ToHitData.HIT_NORMAL, ae.sideTable(target.getPosition()) ); addReport( damageEntity( ae, hit, toAttacker, false, 0, false, false, throughFront)); addNewLines(); entityUpdate( ae.getId() ); // TODO: Does the attacker enter the building? // TODO: What if the building collapses? } else { // Resolve the damage. resolveChargeDamage( ae, te, toHit, direction, glancing, throughFront ); } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/67e9902e22a6310dc5593ddc96cdaec9b3e3e2e7/Server.java/buggy/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2245, 17649, 3075, 484, 12, 18136, 1253, 846, 16, 509, 1142, 18029, 13, 288, 3639, 727, 3703, 908, 3075, 484, 1803, 3474, 69, 273, 261, 17649, 3075, 484, 1803, 13, 683, 18, 26676, 31, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 5353, 69, 18, 588, 18029, 10663, 3639, 727, 5916, 429, 1018, 273, 7920, 18, 588, 2326, 12, 5353, 69, 18, 588, 2326, 559, 9334, 3474, 69, 18, 588, 2326, 548, 10663, 3639, 368, 336, 302, 301, 410, 16, 2974, 13616, 751, 471, 5824, 628, 326, 19712, 1253, 3639, 509, 302, 301, 410, 273, 846, 18, 72, 301, 410, 31, 3639, 727, 2974, 13616, 751, 358, 13616, 273, 846, 18, 869, 13616, 31, 3639, 509, 5824, 273, 846, 18, 2693, 31, 3639, 3887, 6489, 273, 446, 31, 3639, 309, 261, 3299, 480, 446, 597, 1018, 18, 588, 2326, 559, 1435, 422, 5916, 429, 18, 2399, 67, 11101, 13, 288, 5411, 6489, 273, 261, 1943, 13, 3299, 31, 3639, 289, 3639, 1250, 3059, 9580, 273, 638, 31, 3639, 309, 261, 736, 5, 33, 2011, 13, 288, 5411, 3059, 9580, 273, 8155, 18, 291, 14287, 9580, 7037, 12, 13957, 16, 3474, 69, 18, 588, 18029, 9334, 6489, 1769, 3639, 289, 3639, 727, 1250, 5118, 304, 2822, 273, 7920, 18, 588, 1320, 7675, 6494, 1895, 2932, 1896, 28012, 67, 75, 6115, 2822, 67, 70, 821, 87, 7923, 597, 5824, 422, 358, 13616, 18, 24805, 5621, 3639, 8706, 436, 31, 3639, 368, 21918, 10504, 5530, 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, 2245, 17649, 3075, 484, 12, 18136, 1253, 846, 16, 509, 1142, 18029, 13, 288, 3639, 727, 3703, 908, 3075, 484, 1803, 3474, 69, 273, 261, 17649, 3075, 484, 1803, 13, 683, 18, 26676, 31, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 5353, 69, 18, 588, 18029, 10663, 3639, 727, 5916, 429, 1018, 273, 7920, 18, 588, 2326, 12, 5353, 69, 18, 588, 2326, 559, 9334, 3474, 69, 18, 588, 2326, 548, 10663, 3639, 368, 336, 302, 301, 410, 16, 2974, 13616, 751, 471, 5824, 628, 326, 19712, 1253, 3639, 509, 302, 301, 410, 273, 846, 18, 72, 301, 410, 31, 3639, 727, 2974, 13616, 751, 358, 13616, 273, 846, 18, 869, 13616, 31, 2 ]
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof GnuRSAPrivateKey)) { throw new IllegalArgumentException("key"); } GnuRSAPrivateKey rsaKey = (GnuRSAPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]); baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[1]); baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[2]); baos.write(Registry.MAGIC_RAW_RSA_PRIVATE_KEY[3]); // version baos.write(0x01); // p byte[] buffer = rsaKey.getPrimeP().toByteArray(); int length = buffer.length; baos.write(length >>> 24); baos.write((length >>> 16) & 0xFF); baos.write((length >>> 8) & 0xFF); baos.write(length & 0xFF); baos.write(buffer, 0, length); // q buffer = rsaKey.getPrimeQ().toByteArray(); length = buffer.length; baos.write(length >>> 24); baos.write((length >>> 16) & 0xFF); baos.write((length >>> 8) & 0xFF); baos.write(length & 0xFF); baos.write(buffer, 0, length); // e buffer = rsaKey.getPublicExponent().toByteArray(); length = buffer.length; baos.write(length >>> 24); baos.write((length >>> 16) & 0xFF); baos.write((length >>> 8) & 0xFF); baos.write(length & 0xFF); baos.write(buffer, 0, length); // d buffer = rsaKey.getPrivateExponent().toByteArray(); length = buffer.length; baos.write(length >>> 24); baos.write((length >>> 16) & 0xFF); baos.write((length >>> 8) & 0xFF); baos.write(length & 0xFF); baos.write(buffer, 0, length); return baos.toByteArray(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyPairRawCodec.java/buggy/core/src/classpath/gnu/gnu/java/security/key/rsa/RSAKeyPairRawCodec.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 7229, 8526, 3015, 10824, 12, 10824, 856, 15329, 430, 12, 5, 12, 856, 1336, 792, 43, 13053, 15248, 10824, 3719, 95, 12849, 2704, 31237, 2932, 856, 8863, 97, 43, 13053, 15248, 10824, 24654, 653, 28657, 43, 13053, 15248, 10824, 13, 856, 31, 8826, 4632, 12124, 538, 33, 2704, 8826, 4632, 5621, 759, 11179, 12124, 538, 18, 2626, 12, 4243, 18, 49, 22247, 67, 10821, 67, 15248, 67, 20055, 67, 3297, 63, 20, 19226, 12124, 538, 18, 2626, 12, 4243, 18, 49, 22247, 67, 10821, 67, 15248, 67, 20055, 67, 3297, 63, 21, 19226, 12124, 538, 18, 2626, 12, 4243, 18, 49, 22247, 67, 10821, 67, 15248, 67, 20055, 67, 3297, 63, 22, 19226, 12124, 538, 18, 2626, 12, 4243, 18, 49, 22247, 67, 10821, 67, 15248, 67, 20055, 67, 3297, 63, 23, 19226, 759, 1589, 12124, 538, 18, 2626, 12, 20, 92, 1611, 1769, 759, 84, 7229, 8526, 4106, 33, 24654, 653, 18, 588, 23327, 52, 7675, 869, 8826, 5621, 474, 2469, 33, 4106, 18, 2469, 31, 12124, 538, 18, 2626, 12, 2469, 23012, 3247, 1769, 12124, 538, 18, 2626, 12443, 2469, 23012, 2313, 13, 10, 20, 6356, 1769, 12124, 538, 18, 2626, 12443, 2469, 23012, 28, 13, 10, 20, 6356, 1769, 12124, 538, 18, 2626, 12, 2469, 10, 20, 6356, 1769, 12124, 538, 18, 2626, 12, 4106, 16, 20, 16, 2469, 1769, 759, 85, 4106, 33, 24654, 653, 18, 588, 23327, 53, 7675, 869, 8826, 5621, 2469, 33, 4106, 18, 2469, 31, 12124, 538, 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, 1071, 7229, 8526, 3015, 10824, 12, 10824, 856, 15329, 430, 12, 5, 12, 856, 1336, 792, 43, 13053, 15248, 10824, 3719, 95, 12849, 2704, 31237, 2932, 856, 8863, 97, 43, 13053, 15248, 10824, 24654, 653, 28657, 43, 13053, 15248, 10824, 13, 856, 31, 8826, 4632, 12124, 538, 33, 2704, 8826, 4632, 5621, 759, 11179, 12124, 538, 18, 2626, 12, 4243, 18, 49, 22247, 67, 10821, 67, 15248, 67, 20055, 67, 3297, 63, 20, 19226, 12124, 538, 18, 2626, 12, 4243, 18, 49, 22247, 67, 10821, 67, 15248, 67, 20055, 67, 3297, 63, 21, 19226, 12124, 538, 18, 2626, 12, 4243, 18, 49, 22247, 67, 10821, 67, 15248, 67, 20055, 67, 3297, 63, 22, 19226, 12124, 538, 18, 2626, 12, 2 ]
public Node replaceChild(Node newChild, Node oldChild) throws DOMException { if(oldChild==null || oldChild.getParentNode()!=this) return null; ElemTemplateElement newChildElem = ((ElemTemplateElement)newChild); ElemTemplateElement oldChildElem = ((ElemTemplateElement)oldChild); // Fix up previous sibling. ElemTemplateElement prev = (ElemTemplateElement)oldChildElem.getPreviousSibling(); if(null != prev) prev.m_nextSibling = newChildElem; // Fix up parent (this) if(m_firstChild == oldChildElem) m_firstChild = newChildElem; newChildElem.m_parentNode = this; oldChildElem.m_parentNode = null; newChildElem.m_nextSibling = oldChildElem.m_nextSibling; oldChildElem.m_nextSibling = null; // newChildElem.m_stylesheet = oldChildElem.m_stylesheet; // oldChildElem.m_stylesheet = null; return newChildElem; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/77ad973f1d6ad8f28fd358f2ba4d4c63da65d953/ElemTemplateElement.java/buggy/src/org/apache/xalan/templates/ElemTemplateElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 50, 369, 822, 964, 1763, 12, 50, 369, 275, 359, 1763, 16, 907, 1673, 1763, 13, 15069, 8168, 503, 95, 202, 430, 12, 1673, 1763, 631, 2011, 20081, 1673, 1763, 18, 588, 3054, 907, 1435, 5, 33, 2211, 13, 202, 202, 2463, 2011, 31, 202, 7498, 2283, 1046, 2704, 1763, 7498, 33, 12443, 7498, 2283, 1046, 13, 2704, 1763, 1769, 7498, 2283, 1046, 1673, 1763, 7498, 33, 12443, 7498, 2283, 1046, 13, 1673, 1763, 1769, 759, 8585, 416, 11515, 22734, 18, 7498, 2283, 1046, 10001, 28657, 7498, 2283, 1046, 13, 1673, 1763, 7498, 18, 588, 8351, 10291, 5621, 430, 12, 2011, 5, 33, 10001, 13, 10001, 18, 81, 67, 4285, 10291, 33, 2704, 1763, 7498, 31, 759, 8585, 416, 2938, 12, 2211, 13, 430, 12, 81, 67, 3645, 1763, 631, 1673, 1763, 7498, 13, 81, 67, 3645, 1763, 33, 2704, 1763, 7498, 31, 2704, 1763, 7498, 18, 81, 67, 2938, 907, 33, 2211, 31, 1673, 1763, 7498, 18, 81, 67, 2938, 907, 33, 2011, 31, 2704, 1763, 7498, 18, 81, 67, 4285, 10291, 33, 1673, 1763, 7498, 18, 81, 67, 4285, 10291, 31, 1673, 1763, 7498, 18, 81, 67, 4285, 10291, 33, 2011, 31, 759, 2704, 1763, 7498, 18, 81, 67, 19403, 33, 1673, 1763, 7498, 18, 81, 67, 19403, 31, 759, 1673, 1763, 7498, 18, 81, 67, 19403, 33, 2011, 31, 2463, 2704, 1763, 7498, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 50, 369, 822, 964, 1763, 12, 50, 369, 275, 359, 1763, 16, 907, 1673, 1763, 13, 15069, 8168, 503, 95, 202, 430, 12, 1673, 1763, 631, 2011, 20081, 1673, 1763, 18, 588, 3054, 907, 1435, 5, 33, 2211, 13, 202, 202, 2463, 2011, 31, 202, 7498, 2283, 1046, 2704, 1763, 7498, 33, 12443, 7498, 2283, 1046, 13, 2704, 1763, 1769, 7498, 2283, 1046, 1673, 1763, 7498, 33, 12443, 7498, 2283, 1046, 13, 1673, 1763, 1769, 759, 8585, 416, 11515, 22734, 18, 7498, 2283, 1046, 10001, 28657, 7498, 2283, 1046, 13, 1673, 1763, 7498, 18, 588, 8351, 10291, 5621, 430, 12, 2011, 5, 33, 10001, 13, 10001, 18, 81, 67, 4285, 10291, 33, 2704, 1763, 7498, 31, 759, 8585, 2 ]
public UpStreamUTRSeqQueryRunner(Query query, FormatSpec format, Connection conn, OutputStream os) { this.query = query; this.format = format; this.conn = conn; this.osr = new OutputStreamWriter(os); this.dna = new DNAAdaptor(conn); switch (format.getFormat()) { case FormatSpec.TABULATED: this.separator = format.getSeparator(); this.seqWriter = tabulatedWriter; break; case FormatSpec.FASTA: this.separator = "|"; this.seqWriter = fastaWriter; break; } //resolve dataset, species, and focus String[] mainTables = query.getStarBases(); for (int i = 0; i < mainTables.length; i++) { if (Pattern.matches("gene", mainTables[i])) dataset = mainTables[i]; } StringTokenizer tokens = new StringTokenizer( dataset, "_", false); species = tokens.nextToken(); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/47e8a48fd57c1301cf94459ce61bcbde06c272f7/UpStreamUTRSeqQueryRunner.java/clean/src/java/org/ensembl/mart/explorer/UpStreamUTRSeqQueryRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1948, 1228, 1693, 54, 6926, 1138, 9709, 12, 1138, 843, 16, 4077, 1990, 740, 16, 4050, 1487, 16, 8962, 1140, 13, 288, 202, 202, 2211, 18, 2271, 273, 843, 31, 202, 202, 2211, 18, 2139, 273, 740, 31, 202, 202, 2211, 18, 4646, 273, 1487, 31, 202, 202, 2211, 18, 538, 86, 273, 394, 24248, 12, 538, 1769, 202, 202, 2211, 18, 5176, 69, 273, 394, 463, 11277, 29888, 12, 4646, 1769, 202, 377, 202, 202, 9610, 261, 2139, 18, 588, 1630, 10756, 288, 1082, 225, 648, 4077, 1990, 18, 28899, 1506, 6344, 30, 9506, 202, 2211, 18, 11287, 273, 740, 18, 588, 6581, 5621, 9506, 225, 333, 18, 5436, 2289, 273, 3246, 11799, 2289, 31, 9506, 225, 898, 31, 202, 377, 202, 377, 1082, 225, 648, 4077, 1990, 18, 2046, 882, 37, 30, 9506, 225, 333, 18, 11287, 273, 11747, 14432, 1082, 565, 333, 18, 5436, 2289, 273, 13104, 2289, 31, 1082, 565, 898, 31, 202, 202, 97, 9506, 202, 759, 10828, 3709, 16, 12891, 16, 471, 7155, 202, 202, 780, 8526, 2774, 6905, 273, 843, 18, 588, 18379, 38, 3304, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2774, 6905, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 3234, 18, 8436, 2932, 11857, 3113, 2774, 6905, 63, 77, 22643, 9506, 202, 8682, 273, 2774, 6905, 63, 77, 15533, 202, 202, 97, 202, 202, 780, 10524, 2430, 273, 394, 16370, 12, 3709, 16, 4192, 3113, 629, 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, 225, 202, 482, 1948, 1228, 1693, 54, 6926, 1138, 9709, 12, 1138, 843, 16, 4077, 1990, 740, 16, 4050, 1487, 16, 8962, 1140, 13, 288, 202, 202, 2211, 18, 2271, 273, 843, 31, 202, 202, 2211, 18, 2139, 273, 740, 31, 202, 202, 2211, 18, 4646, 273, 1487, 31, 202, 202, 2211, 18, 538, 86, 273, 394, 24248, 12, 538, 1769, 202, 202, 2211, 18, 5176, 69, 273, 394, 463, 11277, 29888, 12, 4646, 1769, 202, 377, 202, 202, 9610, 261, 2139, 18, 588, 1630, 10756, 288, 1082, 225, 648, 4077, 1990, 18, 28899, 1506, 6344, 30, 9506, 202, 2211, 18, 11287, 273, 740, 18, 588, 6581, 5621, 9506, 225, 333, 18, 5436, 2289, 273, 3246, 11799, 2289, 31, 2 ]
} else { int res = getUpdateCount();
} else { int res; do { res = getUpdateCount(); if( getMoreResults() ) { skipToEnd(); releaseTds(); throw new SQLException("executeUpdate can't return a result set"); } } while ((getUpdateCount() != -1) && connection.returnLastUpdateCount()); releaseTds();
public synchronized int executeUpdate(String sql) throws SQLException { checkClosed(); if( internalExecute(sql) ) { skipToEnd(); throw new SQLException("executeUpdate can't return a result set"); } else { int res = getUpdateCount(); // We should return 0 (at least that's what the javadoc above says) return res==-1 ? 0 : res; } }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/961a45de8bf5d82c43254ac74e0e90a332e67845/TdsStatement.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 509, 17521, 12, 780, 1847, 13, 1216, 6483, 565, 288, 3639, 866, 7395, 5621, 3639, 309, 12, 2713, 5289, 12, 4669, 13, 262, 3639, 288, 5411, 2488, 774, 1638, 5621, 5411, 604, 394, 6483, 2932, 8837, 1891, 848, 1404, 327, 279, 563, 444, 8863, 3639, 289, 3639, 469, 3639, 288, 5411, 509, 400, 273, 23866, 1380, 5621, 5411, 368, 1660, 1410, 327, 374, 261, 270, 4520, 716, 1807, 4121, 326, 30829, 5721, 20185, 13, 5411, 327, 400, 631, 17, 21, 692, 374, 294, 400, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 509, 17521, 12, 780, 1847, 13, 1216, 6483, 565, 288, 3639, 866, 7395, 5621, 3639, 309, 12, 2713, 5289, 12, 4669, 13, 262, 3639, 288, 5411, 2488, 774, 1638, 5621, 5411, 604, 394, 6483, 2932, 8837, 1891, 848, 1404, 327, 279, 563, 444, 8863, 3639, 289, 3639, 469, 3639, 288, 5411, 509, 400, 273, 23866, 1380, 5621, 5411, 368, 1660, 1410, 327, 374, 261, 270, 4520, 716, 1807, 4121, 326, 30829, 5721, 20185, 13, 5411, 327, 400, 631, 17, 21, 692, 374, 294, 400, 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 ]
if ( ! (bean instanceof PanelBean) ) {
if ( ! (bean instanceof PanelBean) ) {
public void beanInstantiated (BeanInstantiationEvent event) { Object bean = event.getBean(); if ( ! (bean instanceof PanelBean) ) { return; } bean = ((PanelBean)bean).getComponent(); try { if ( Beans.isInstanceOf(bean, Class.forName("org.vrjuggler.tweek.net.CommunicationListener")) ) { addCommunicationListener((CommunicationListener) bean); } if ( Beans.isInstanceOf(bean, Class.forName("org.vrjuggler.tweek.event.UserLevelChangeListener")) ) { addUserLevelChangeListener((UserLevelChangeListener) bean); } if ( Beans.isInstanceOf(bean, Class.forName("org.vrjuggler.tweek.event.TweekFrameListener")) ) { addTweekFrameListener((TweekFrameListener) bean); } } // This better not happen (i.e., org.vrjuggler.tweek.net.* and // org.vrjuggler.tweek.beans.* had better be there) ... catch (ClassNotFoundException e) { e.printStackTrace(); } }
7933 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7933/bb8671bd7d675d0b9b3e07b0a33969a73e1267a4/BeanContainer.java/buggy/modules/tweek/java/org/vrjuggler/tweek/gui/BeanContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 3931, 10675, 10206, 261, 3381, 10675, 7072, 1133, 871, 13, 282, 288, 1377, 1033, 3931, 273, 871, 18, 588, 3381, 5621, 1377, 309, 261, 401, 261, 14496, 1276, 23641, 3381, 13, 262, 288, 540, 327, 31, 1377, 289, 1377, 3931, 273, 14015, 5537, 3381, 13, 14496, 2934, 588, 1841, 5621, 1377, 775, 1377, 288, 540, 309, 261, 4823, 634, 18, 291, 1442, 951, 12, 14496, 16, 1659, 18, 1884, 461, 2932, 3341, 18, 18090, 78, 5696, 749, 18, 88, 10741, 18, 2758, 18, 25219, 2223, 6, 3719, 262, 540, 288, 5411, 527, 25219, 2223, 12443, 25219, 2223, 13, 3931, 1769, 540, 289, 540, 309, 261, 4823, 634, 18, 291, 1442, 951, 12, 14496, 16, 1659, 18, 1884, 461, 2932, 3341, 18, 18090, 78, 5696, 749, 18, 88, 10741, 18, 2575, 18, 1299, 2355, 15744, 6, 3719, 262, 540, 288, 5411, 527, 1299, 2355, 15744, 12443, 1299, 2355, 15744, 13, 3931, 1769, 540, 289, 540, 309, 261, 4823, 634, 18, 291, 1442, 951, 12, 14496, 16, 1659, 18, 1884, 461, 2932, 3341, 18, 18090, 78, 5696, 749, 18, 88, 10741, 18, 2575, 18, 56, 10741, 3219, 2223, 6, 3719, 262, 540, 288, 5411, 527, 56, 10741, 3219, 2223, 12443, 56, 10741, 3219, 2223, 13, 3931, 1769, 540, 289, 1377, 289, 1377, 368, 1220, 7844, 486, 5865, 261, 77, 18, 73, 12990, 2358, 18, 18090, 78, 5696, 749, 18, 88, 10741, 18, 2758, 4509, 471, 1377, 368, 2358, 18, 18090, 78, 5696, 749, 18, 88, 10741, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 3931, 10675, 10206, 261, 3381, 10675, 7072, 1133, 871, 13, 282, 288, 1377, 1033, 3931, 273, 871, 18, 588, 3381, 5621, 1377, 309, 261, 401, 261, 14496, 1276, 23641, 3381, 13, 262, 288, 540, 327, 31, 1377, 289, 1377, 3931, 273, 14015, 5537, 3381, 13, 14496, 2934, 588, 1841, 5621, 1377, 775, 1377, 288, 540, 309, 261, 4823, 634, 18, 291, 1442, 951, 12, 14496, 16, 1659, 18, 1884, 461, 2932, 3341, 18, 18090, 78, 5696, 749, 18, 88, 10741, 18, 2758, 18, 25219, 2223, 6, 3719, 262, 540, 288, 5411, 527, 25219, 2223, 12443, 25219, 2223, 13, 3931, 1769, 540, 289, 540, 309, 261, 4823, 634, 18, 291, 1442, 951, 12, 14496, 16, 1659, 18, 2 ]
GoalDecoratorBindings bindings = new GoalDecoratorBindings();
PreGoal pg = new PreGoal(); pg.setAttain( preGoal ); pg.setName( prereq );
public void testT4_ShouldFind_PreGoal_Prereq_PostGoal_MainGoal() throws Exception { String mainGoal = "t4:main"; String prereq = "t4:prereq"; String preGoal = "t4:prereq-preGoal"; String postGoal = "t4:prereq-postGoal"; GoalDecoratorBindings bindings = new GoalDecoratorBindings(); bindings.addPreGoal( new DefaultGoalDecorator( prereq, preGoal ) ); bindings.addPostGoal( new DefaultGoalDecorator( prereq, postGoal ) ); Map messages = new TreeMap(); messages.put( mainGoal, "Main goal is missing." ); messages.put( prereq, "prereq is missing" ); messages.put( preGoal, "preGoal is missing" ); messages.put( postGoal, "postGoal is missing" ); List order = new ArrayList(); order.add( preGoal ); order.add( prereq ); order.add( postGoal ); order.add( mainGoal ); runTest( mainGoal, bindings, order, messages ); }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/a949eb66dedc63459e4897d50c37374814750c66/GoalResolutionPhaseTest.java/clean/maven-core/src/test/java/org/apache/maven/lifecycle/goal/phase/GoalResolutionPhaseTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 56, 24, 67, 14309, 3125, 67, 1386, 27716, 67, 2050, 822, 85, 67, 3349, 27716, 67, 6376, 27716, 1435, 3639, 1216, 1185, 565, 288, 3639, 514, 2774, 27716, 273, 315, 88, 24, 30, 5254, 14432, 3639, 514, 30328, 85, 273, 315, 88, 24, 30, 683, 822, 85, 14432, 3639, 514, 675, 27716, 273, 315, 88, 24, 30, 683, 822, 85, 17, 1484, 27716, 14432, 3639, 514, 1603, 27716, 273, 315, 88, 24, 30, 683, 822, 85, 17, 2767, 27716, 14432, 3639, 2962, 27716, 7184, 273, 394, 2962, 27716, 5621, 7184, 18, 542, 3075, 530, 12, 675, 27716, 11272, 7184, 18, 542, 461, 12, 30328, 85, 11272, 3639, 7394, 18, 1289, 1386, 27716, 12, 394, 2989, 27716, 10361, 12, 30328, 85, 16, 675, 27716, 262, 11272, 3639, 7394, 18, 1289, 3349, 27716, 12, 394, 2989, 27716, 10361, 12, 30328, 85, 16, 1603, 27716, 262, 11272, 3639, 1635, 2743, 273, 394, 16381, 5621, 3639, 2743, 18, 458, 12, 2774, 27716, 16, 315, 6376, 17683, 353, 3315, 1199, 11272, 3639, 2743, 18, 458, 12, 30328, 85, 16, 315, 683, 822, 85, 353, 3315, 6, 11272, 3639, 2743, 18, 458, 12, 675, 27716, 16, 315, 1484, 27716, 353, 3315, 6, 11272, 3639, 2743, 18, 458, 12, 1603, 27716, 16, 315, 2767, 27716, 353, 3315, 6, 11272, 3639, 987, 1353, 273, 394, 2407, 5621, 3639, 1353, 18, 1289, 12, 675, 27716, 11272, 3639, 1353, 18, 1289, 12, 30328, 85, 11272, 3639, 1353, 18, 1289, 12, 1603, 27716, 11272, 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, 56, 24, 67, 14309, 3125, 67, 1386, 27716, 67, 2050, 822, 85, 67, 3349, 27716, 67, 6376, 27716, 1435, 3639, 1216, 1185, 565, 288, 3639, 514, 2774, 27716, 273, 315, 88, 24, 30, 5254, 14432, 3639, 514, 30328, 85, 273, 315, 88, 24, 30, 683, 822, 85, 14432, 3639, 514, 675, 27716, 273, 315, 88, 24, 30, 683, 822, 85, 17, 1484, 27716, 14432, 3639, 514, 1603, 27716, 273, 315, 88, 24, 30, 683, 822, 85, 17, 2767, 27716, 14432, 3639, 2962, 27716, 7184, 273, 394, 2962, 27716, 5621, 7184, 18, 542, 3075, 530, 12, 675, 27716, 11272, 7184, 18, 542, 461, 12, 30328, 85, 11272, 3639, 7394, 18, 1289, 1386, 27716, 12, 394, 2989, 2 ]
servletContext.setAttribute(TEMPLATE_SOURCE_NAME, templateSource);
servletContext.setAttribute(name, templateSource);
protected void setupForRequest(RequestContext context) { HttpServlet servlet; ServletContext servletContext = null; String name; String servletPath; servlet = context.getServlet(); servletContext = servlet.getServletContext(); if (servletPrefix == null) { servletPath = context.getRequest().getServletPath(); contextPath = servlet.getInitParameter("com.primix.tapestry.context-path"); if (contextPath == null) servletPrefix = servletPath; else servletPrefix = contextPath + servletPath; } // Need to redo a bunch of this because of class loader issues related // to IResourceResolver. Each Tapestry app will need its own template source // and page source. Possibly, there should be chaining, such that templates // and specifications provided by the framework can come from dedicated // sources .. this allows greater sharing. Somewhat academic though, since // typically only a single Tapestry application will be running within // a single servlet container or ServletContext. if (templateSource == null) { templateSource = (ITemplateSource)servletContext.getAttribute(TEMPLATE_SOURCE_NAME); if (templateSource == null) templateSource = new DefaultTemplateSource(getResourceResolver()); servletContext.setAttribute(TEMPLATE_SOURCE_NAME, templateSource); } if (specificationSource == null) { specificationSource = (ISpecificationSource)servletContext.getAttribute(SPECIFICATION_SOURCE_NAME); if (specificationSource == null) specificationSource = new DefaultSpecificationSource(getResourceResolver(), specification); servletContext.setAttribute(SPECIFICATION_SOURCE_NAME, specificationSource); } if (pageSource == null) { name = PAGE_SOURCE_NAME + "." + specification.getName(); pageSource = (PageSource)servletContext.getAttribute(name); if (pageSource == null) pageSource = new PageSource(); servletContext.setAttribute(name, pageSource); } }
4433 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4433/d4a3651ed863531de57db48d14f0c509ed7adf3a/AbstractApplication.java/clean/framework/src/com/primix/tapestry/app/AbstractApplication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3875, 27649, 12, 21426, 819, 13, 202, 95, 202, 202, 2940, 4745, 8100, 31, 202, 202, 4745, 1042, 20474, 273, 446, 31, 202, 202, 780, 508, 31, 202, 202, 780, 8100, 743, 31, 202, 202, 23231, 273, 819, 18, 588, 4745, 5621, 9506, 202, 23231, 1042, 273, 8100, 18, 588, 4745, 1042, 5621, 9506, 202, 430, 261, 23231, 2244, 422, 446, 13, 202, 202, 95, 1082, 202, 23231, 743, 273, 819, 18, 588, 691, 7675, 588, 4745, 743, 5621, 1082, 202, 2472, 743, 273, 8100, 18, 588, 2570, 1662, 2932, 832, 18, 30438, 697, 18, 88, 7315, 698, 18, 2472, 17, 803, 8863, 25083, 202, 430, 261, 2472, 743, 422, 446, 13, 9506, 202, 23231, 2244, 273, 8100, 743, 31, 1082, 202, 12107, 9506, 202, 23231, 2244, 273, 23154, 397, 8100, 743, 31, 202, 202, 97, 1082, 202, 759, 12324, 358, 24524, 279, 25606, 434, 333, 2724, 434, 667, 4088, 8296, 3746, 202, 202, 759, 358, 467, 1420, 4301, 18, 225, 8315, 399, 7315, 698, 595, 903, 1608, 2097, 4953, 1542, 1084, 202, 202, 759, 471, 1363, 1084, 18, 225, 6818, 8781, 16, 1915, 1410, 506, 23381, 16, 4123, 716, 5539, 202, 202, 759, 471, 21950, 2112, 635, 326, 8257, 848, 12404, 628, 24328, 202, 202, 759, 5550, 6116, 333, 5360, 6802, 21001, 18, 225, 348, 362, 359, 11304, 1721, 2486, 27593, 11376, 16, 3241, 202, 202, 759, 14755, 1338, 279, 2202, 399, 7315, 698, 2521, 903, 506, 3549, 3470, 202, 202, 759, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3875, 27649, 12, 21426, 819, 13, 202, 95, 202, 202, 2940, 4745, 8100, 31, 202, 202, 4745, 1042, 20474, 273, 446, 31, 202, 202, 780, 508, 31, 202, 202, 780, 8100, 743, 31, 202, 202, 23231, 273, 819, 18, 588, 4745, 5621, 9506, 202, 23231, 1042, 273, 8100, 18, 588, 4745, 1042, 5621, 9506, 202, 430, 261, 23231, 2244, 422, 446, 13, 202, 202, 95, 1082, 202, 23231, 743, 273, 819, 18, 588, 691, 7675, 588, 4745, 743, 5621, 1082, 202, 2472, 743, 273, 8100, 18, 588, 2570, 1662, 2932, 832, 18, 30438, 697, 18, 88, 7315, 698, 18, 2472, 17, 803, 8863, 25083, 202, 430, 261, 2472, 743, 422, 446, 13, 9506, 202, 23231, 2 ]
m_calleeMethodParameterTypes[i] = TransformationUtil. convertBcelTypeToClass(parameterTypes[i]);
m_calleeMethodParameterTypes[i] = TransformationUtil.convertBcelTypeToClass(parameterTypes[i]);
public Class[] getCalleeMethodParameterTypes() { if (m_calleeMethodParameterTypes == null) { Type[] parameterTypes = Type.getArgumentTypes(m_calleeMethodSignature); m_calleeMethodParameterTypes = new Class[parameterTypes.length]; for (int i = 0; i < parameterTypes.length; i++) { m_calleeMethodParameterTypes[i] = TransformationUtil. convertBcelTypeToClass(parameterTypes[i]); } } return m_calleeMethodParameterTypes; }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/6bb02cfc8027ad80471292b1b8d6015b38a454ff/CallerSideJoinPoint.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/joinpoint/CallerSideJoinPoint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 8526, 22433, 11182, 1305, 1662, 2016, 1435, 288, 3639, 309, 261, 81, 67, 771, 11182, 1305, 1662, 2016, 422, 446, 13, 288, 5411, 1412, 8526, 20173, 273, 1412, 18, 588, 1379, 2016, 12, 81, 67, 771, 11182, 1305, 5374, 1769, 5411, 312, 67, 771, 11182, 1305, 1662, 2016, 273, 394, 1659, 63, 6775, 2016, 18, 2469, 15533, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 20173, 18, 2469, 31, 277, 27245, 288, 7734, 312, 67, 771, 11182, 1305, 1662, 2016, 63, 77, 65, 273, 21274, 1304, 18, 13491, 1765, 38, 2183, 559, 774, 797, 12, 6775, 2016, 63, 77, 19226, 5411, 289, 3639, 289, 3639, 327, 312, 67, 771, 11182, 1305, 1662, 2016, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 8526, 22433, 11182, 1305, 1662, 2016, 1435, 288, 3639, 309, 261, 81, 67, 771, 11182, 1305, 1662, 2016, 422, 446, 13, 288, 5411, 1412, 8526, 20173, 273, 1412, 18, 588, 1379, 2016, 12, 81, 67, 771, 11182, 1305, 5374, 1769, 5411, 312, 67, 771, 11182, 1305, 1662, 2016, 273, 394, 1659, 63, 6775, 2016, 18, 2469, 15533, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 20173, 18, 2469, 31, 277, 27245, 288, 7734, 312, 67, 771, 11182, 1305, 1662, 2016, 63, 77, 65, 273, 21274, 1304, 18, 13491, 1765, 38, 2183, 559, 774, 797, 12, 6775, 2016, 63, 77, 19226, 5411, 289, 3639, 289, 3639, 327, 312, 67, 771, 11182, 1305, 1662, 2016, 31, 2 ]
return imageBuffer; }
return imageBuffer; }
public Image getImageBuffer() { return imageBuffer; }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/1d1e28c0f7853dd16bd3fe819770773ed4e61d20/ImageBufferStyleImpl.java/buggy/org.eclipse.gmf.notation/plugins/org.eclipse.gmf.runtime.notation/src/org/eclipse/gmf/runtime/notation/impl/ImageBufferStyleImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3421, 10567, 1892, 1435, 288, 202, 202, 2463, 1316, 1892, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3421, 10567, 1892, 1435, 288, 202, 202, 2463, 1316, 1892, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setArrowHeads(ml, contents);
setArrowHeads(ml, contents);
protected void modelChanged(MElementEvent e) { MLink ml = (MLink) getOwner(); if (ml == null) return; String mlNameStr = Notation.generate(this, ml.getName()); super.modelChanged(null); Vector contents = getContents(); Collection ends = ml.getConnections(); MLinkEnd le0 = (MLinkEnd) ((Object[])ends.toArray())[0]; MLinkEnd le1 = (MLinkEnd) ((Object[])ends.toArray())[1]; _srcRole.setText(Notation.generate(this, le0.getName())); _destRole.setText(Notation.generate(this, le1.getName()));// if (srcNav && destNav && SUPPRESS_BIDIRECTIONAL_ARROWS)// srcNav = destNav = false; Vector conns = new Vector(ml.getConnections()); if (conns == null || conns.size() != 2) return; MLinkEnd endA = (MLinkEnd) conns.elementAt(0); MLinkEnd endB = (MLinkEnd) conns.elementAt(1); MObject moA = (MObject) endA.getInstance(); MObject moB = (MObject) endB.getInstance(); setArrowHeads(ml, contents); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/FigSeqLink.java/clean/src_new/org/argouml/uml/diagram/sequence/ui/FigSeqLink.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 938, 5033, 12, 12310, 1133, 425, 13, 288, 565, 490, 2098, 12931, 273, 261, 1495, 754, 13, 13782, 5621, 565, 309, 261, 781, 422, 446, 13, 327, 31, 565, 514, 12931, 461, 1585, 273, 2288, 367, 18, 7163, 12, 2211, 16, 12931, 18, 17994, 10663, 565, 2240, 18, 2284, 5033, 12, 2011, 1769, 565, 5589, 2939, 273, 15015, 5621, 565, 2200, 3930, 273, 12931, 18, 588, 9314, 5621, 565, 490, 2098, 1638, 884, 20, 273, 261, 1495, 754, 1638, 13, 14015, 921, 63, 5717, 5839, 18, 31447, 10756, 63, 20, 15533, 565, 490, 2098, 1638, 884, 21, 273, 261, 1495, 754, 1638, 13, 14015, 921, 63, 5717, 5839, 18, 31447, 10756, 63, 21, 15533, 565, 389, 4816, 2996, 18, 542, 1528, 12, 14818, 18, 7163, 12, 2211, 16, 884, 20, 18, 17994, 1435, 10019, 565, 389, 10488, 2996, 18, 542, 1528, 12, 14818, 18, 7163, 12, 2211, 16, 884, 21, 18, 17994, 1435, 10019, 759, 565, 309, 261, 4816, 12599, 597, 1570, 12599, 597, 16459, 22526, 67, 38, 30218, 18934, 1013, 67, 985, 28402, 13, 759, 1377, 1705, 12599, 273, 1570, 12599, 273, 629, 31, 565, 5589, 18976, 273, 394, 5589, 12, 781, 18, 588, 9314, 10663, 565, 309, 261, 591, 2387, 422, 446, 747, 18976, 18, 1467, 1435, 480, 576, 13, 327, 31, 565, 490, 2098, 1638, 679, 37, 273, 261, 1495, 754, 1638, 13, 18976, 18, 2956, 861, 12, 20, 1769, 565, 490, 2098, 1638, 679, 38, 273, 261, 1495, 754, 1638, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 938, 5033, 12, 12310, 1133, 425, 13, 288, 565, 490, 2098, 12931, 273, 261, 1495, 754, 13, 13782, 5621, 565, 309, 261, 781, 422, 446, 13, 327, 31, 565, 514, 12931, 461, 1585, 273, 2288, 367, 18, 7163, 12, 2211, 16, 12931, 18, 17994, 10663, 565, 2240, 18, 2284, 5033, 12, 2011, 1769, 565, 5589, 2939, 273, 15015, 5621, 565, 2200, 3930, 273, 12931, 18, 588, 9314, 5621, 565, 490, 2098, 1638, 884, 20, 273, 261, 1495, 754, 1638, 13, 14015, 921, 63, 5717, 5839, 18, 31447, 10756, 63, 20, 15533, 565, 490, 2098, 1638, 884, 21, 273, 261, 1495, 754, 1638, 13, 14015, 921, 63, 5717, 5839, 18, 31447, 10756, 63, 21, 15533, 565, 389, 2 ]
contextListeners = ListenerArray.add(contextListeners, listener);
contextListeners = Kit.addListener(contextListeners, listener);
public static void addContextListener(ContextListener listener) { synchronized (contextListenersLock) { contextListeners = ListenerArray.add(contextListeners, listener); } }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/f828aace6b66e983e3bcaa3e5041855e9af05e32/Context.java/buggy/js/rhino/src/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 527, 1042, 2223, 12, 1042, 2223, 2991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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 527, 1042, 2223, 12, 1042, 2223, 2991, 13, 288, 3639, 3852, 261, 2472, 5583, 2531, 13, 288, 5411, 819, 5583, 273, 1475, 305, 18, 1289, 2223, 12, 2472, 5583, 16, 2991, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
createChildren(event.item);
if (!(getContentProvider() instanceof ILazyTreeContentProvider)) { createChildren(event.item); }
protected void handleTreeExpand(TreeEvent event) { createChildren(event.item); if (event.item.getData() != null) { fireTreeExpanded(new TreeExpansionEvent(this, event.item.getData())); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/cbb1e8120b7c7f75516a32becc9cfb15ad452ddd/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1640, 2471, 12271, 12, 2471, 1133, 871, 13, 288, 3639, 309, 16051, 12, 588, 1350, 2249, 1435, 1276, 467, 14443, 2471, 1350, 2249, 3719, 288, 752, 4212, 12, 2575, 18, 1726, 1769, 289, 3639, 309, 261, 2575, 18, 1726, 18, 588, 751, 1435, 480, 446, 13, 288, 5411, 4452, 2471, 17957, 12, 2704, 4902, 2966, 12162, 1133, 12, 2211, 16, 871, 18, 1726, 18, 588, 751, 1435, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4750, 918, 1640, 2471, 12271, 12, 2471, 1133, 871, 13, 288, 3639, 309, 16051, 12, 588, 1350, 2249, 1435, 1276, 467, 14443, 2471, 1350, 2249, 3719, 288, 752, 4212, 12, 2575, 18, 1726, 1769, 289, 3639, 309, 261, 2575, 18, 1726, 18, 588, 751, 1435, 480, 446, 13, 288, 5411, 4452, 2471, 17957, 12, 2704, 4902, 2966, 12162, 1133, 12, 2211, 16, 871, 18, 1726, 18, 588, 751, 1435, 10019, 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 ]
return new VM_Compiler(method, cmid).compile();
VM_CompiledMethod cm = VM_CompiledMethods.createCompiledMethod(method, VM_CompilerInfo.BASELINE); if (!VM.runningAsJDPRemoteInterpreter) { new VM_Compiler(cm).compile(); } return cm;
public static synchronized VM_CompiledMethod compile (VM_Method method) { int cmid = VM_CompiledMethods.createCompiledMethodId(); if (method.isNative()) { VM_MachineCode machineCode = VM_JNICompiler.generateGlueCodeForNative(cmid, method); VM_CompilerInfo info = new VM_JNICompilerInfo(method); return new VM_CompiledMethod(cmid, method, machineCode.getInstructions(), info); } else if (VM.runningAsJDPRemoteInterpreter) { return new VM_CompiledMethod(cmid, method, null, null); } else { return new VM_Compiler(method, cmid).compile(); } }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/391f1b893c821a6d98fc2cd6686dac315402ba87/VM_BaselineCompiler.java/buggy/rvm/src/vm/compilers/baseline/VM_BaselineCompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 3852, 8251, 67, 20733, 1305, 4074, 261, 7397, 67, 1305, 707, 13, 288, 565, 509, 5003, 350, 273, 8251, 67, 20733, 4712, 18, 2640, 20733, 30793, 5621, 565, 309, 261, 2039, 18, 291, 9220, 10756, 288, 1377, 8251, 67, 6981, 1085, 5228, 1085, 273, 8251, 67, 46, 50, 45, 9213, 18, 7163, 21308, 344, 1085, 1290, 9220, 12, 7670, 350, 16, 707, 1769, 1377, 8251, 67, 9213, 966, 1123, 273, 394, 8251, 67, 46, 50, 45, 9213, 966, 12, 2039, 1769, 1377, 327, 394, 8251, 67, 20733, 1305, 12, 7670, 350, 16, 707, 16, 5228, 1085, 18, 588, 26712, 9334, 1123, 1769, 565, 289, 469, 309, 261, 7397, 18, 8704, 1463, 46, 8640, 5169, 30010, 13, 288, 1377, 327, 394, 8251, 67, 20733, 1305, 12, 7670, 350, 16, 707, 16, 446, 16, 446, 1769, 565, 289, 469, 288, 1377, 8251, 67, 20733, 1305, 5003, 273, 8251, 67, 20733, 4712, 18, 2640, 20733, 1305, 12, 2039, 16, 8251, 67, 9213, 966, 18, 8369, 5997, 1769, 309, 16051, 7397, 18, 8704, 1463, 46, 8640, 5169, 30010, 13, 288, 394, 8251, 67, 9213, 12, 7670, 2934, 11100, 5621, 289, 327, 5003, 31, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 3852, 8251, 67, 20733, 1305, 4074, 261, 7397, 67, 1305, 707, 13, 288, 565, 509, 5003, 350, 273, 8251, 67, 20733, 4712, 18, 2640, 20733, 30793, 5621, 565, 309, 261, 2039, 18, 291, 9220, 10756, 288, 1377, 8251, 67, 6981, 1085, 5228, 1085, 273, 8251, 67, 46, 50, 45, 9213, 18, 7163, 21308, 344, 1085, 1290, 9220, 12, 7670, 350, 16, 707, 1769, 1377, 8251, 67, 9213, 966, 1123, 273, 394, 8251, 67, 46, 50, 45, 9213, 966, 12, 2039, 1769, 1377, 327, 394, 8251, 67, 20733, 1305, 12, 7670, 350, 16, 707, 16, 5228, 1085, 18, 588, 26712, 9334, 1123, 1769, 565, 289, 469, 309, 261, 7397, 18, 8704, 1463, 46, 8640, 5169, 30010, 13, 2 ]
if (ruby_dyna_vars != null)
if (ruby.getInterpreter().getDynamicVars() != null)
top_local_init() { local_push(); lvtbl.cnt = ruby.rubyScope.getLocalTbl() != null ? ruby.rubyScope.getLocalTbl(0).intValue() : 0; if (lvtbl.cnt > 0) { lvtbl.tbl = new ID[lvtbl.cnt+3]; System.arraycopy(lvtbl.tbl, 0, ruby.rubyScope.getLocalTbl(), 0, lvtbl.cnt+1); } else { lvtbl.tbl = null; } if (ruby_dyna_vars != null) lvtbl.dlev = 1; else lvtbl.dlev = 0; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/8e00ad1c7ae96f50ae0bd521483380788f891b7b/parse.java/buggy/org/jruby/parser/parse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1760, 67, 3729, 67, 2738, 1435, 565, 288, 3639, 1191, 67, 6206, 5621, 3639, 5362, 16187, 18, 13085, 273, 22155, 18, 27768, 3876, 18, 588, 2042, 22592, 1435, 480, 446, 692, 22155, 18, 27768, 3876, 18, 588, 2042, 22592, 12, 20, 2934, 474, 620, 1435, 294, 374, 31, 3639, 309, 261, 3070, 16187, 18, 13085, 405, 374, 13, 288, 5411, 5362, 16187, 18, 16187, 273, 394, 1599, 63, 3070, 16187, 18, 13085, 15, 23, 15533, 202, 565, 2332, 18, 1126, 3530, 12, 3070, 16187, 18, 16187, 16, 374, 16, 22155, 18, 27768, 3876, 18, 588, 2042, 22592, 9334, 374, 16, 5362, 16187, 18, 13085, 15, 21, 1769, 3639, 289, 3639, 469, 288, 5411, 5362, 16187, 18, 16187, 273, 446, 31, 3639, 289, 3639, 309, 261, 27768, 18, 588, 30010, 7675, 588, 9791, 5555, 1435, 480, 446, 13, 5411, 5362, 16187, 18, 72, 298, 90, 273, 404, 31, 3639, 469, 5411, 5362, 16187, 18, 72, 298, 90, 273, 374, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1760, 67, 3729, 67, 2738, 1435, 565, 288, 3639, 1191, 67, 6206, 5621, 3639, 5362, 16187, 18, 13085, 273, 22155, 18, 27768, 3876, 18, 588, 2042, 22592, 1435, 480, 446, 692, 22155, 18, 27768, 3876, 18, 588, 2042, 22592, 12, 20, 2934, 474, 620, 1435, 294, 374, 31, 3639, 309, 261, 3070, 16187, 18, 13085, 405, 374, 13, 288, 5411, 5362, 16187, 18, 16187, 273, 394, 1599, 63, 3070, 16187, 18, 13085, 15, 23, 15533, 202, 565, 2332, 18, 1126, 3530, 12, 3070, 16187, 18, 16187, 16, 374, 16, 22155, 18, 27768, 3876, 18, 588, 2042, 22592, 9334, 374, 16, 5362, 16187, 18, 13085, 15, 21, 1769, 3639, 289, 3639, 469, 288, 5411, 5362, 16187, 18, 16187, 273, 2 ]
public RubyNumeric op_uminus() {
public IRubyObject op_uminus() {
public RubyNumeric op_uminus() { return RubyFloat.newFloat(getRuntime(), -value); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyFloat.java/clean/src/org/jruby/RubyFloat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 1061, 67, 20668, 407, 1435, 288, 3639, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 300, 1132, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 15908, 10340, 921, 1061, 67, 20668, 407, 1435, 288, 3639, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 300, 1132, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if( !EntryUtil.isEntryUpdatable( nexus, name, getCSN() ) )
if ( !EntryUtil.isEntryUpdatable( nexus, name, getCSN() ) )
protected final void execute0( PartitionNexus nexus, ReplicationStore store ) throws NamingException { if( !EntryUtil.isEntryUpdatable( nexus, name, getCSN() ) ) { return; } EntryUtil.createGlueEntries( nexus, name, true ); execute1( nexus ); }
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/cfc1e0db255153cb8ed18cd1e735fa4815ad666b/AttributeOperation.java/clean/mitosis/src/main/java/org/apache/directory/mitosis/operation/AttributeOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 918, 1836, 20, 12, 12598, 50, 21029, 290, 21029, 16, 13414, 2257, 1707, 262, 1216, 26890, 565, 288, 3639, 309, 261, 401, 1622, 1304, 18, 291, 1622, 1211, 3404, 429, 12, 290, 21029, 16, 508, 16, 1927, 13653, 1435, 262, 262, 3639, 288, 5411, 327, 31, 3639, 289, 3639, 3841, 1304, 18, 2640, 21308, 344, 5400, 12, 290, 21029, 16, 508, 16, 638, 11272, 7734, 1836, 21, 12, 290, 21029, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 3639, 309, 261, 401, 1622, 1304, 18, 291, 1622, 1211, 3404, 429, 12, 290, 21029, 16, 508, 16, 1927, 13653, 1435, 262, 262, 3639, 288, 5411, 327, 31, 3639, 289, 3639, 3841, 1304, 18, 2640, 21308, 344, 5400, 12, 290, 21029, 16, 508, 16, 638, 11272, 7734, 1836, 21, 12, 290, 21029, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
addTest(new TestCase("org.freehep.graphicsio.ps.test.PSTestPreviewThumbnail", fmt, dir, ext, compare, null));
addTest(new TestCase( "org.freehep.graphicsio.ps.test.PSTestPreviewThumbnail", fmt, dir, ext, compare, null));
protected void addTests(String fmt, String dir, String ext, boolean compare) { super.addTests(fmt, dir, ext, compare); addTest(new TestCase("org.freehep.graphicsio.ps.test.PSTestPreviewThumbnail", fmt, dir, ext, compare, null)); }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/de061d5977b00047b242b52aea5bc47538b063c5/PSTestSuite.java/clean/freehep-graphicsio-ps/src/test/java/org/freehep/graphicsio/ps/test/PSTestSuite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 14650, 12, 780, 1325, 16, 514, 1577, 16, 514, 1110, 16, 1250, 3400, 13, 288, 3639, 2240, 18, 1289, 14650, 12, 8666, 16, 1577, 16, 1110, 16, 3400, 1769, 3639, 527, 4709, 12, 2704, 7766, 2449, 12, 315, 3341, 18, 9156, 580, 84, 18, 31586, 1594, 18, 1121, 18, 3813, 18, 52, 882, 395, 11124, 16270, 3113, 1325, 16, 1577, 16, 1110, 16, 3400, 16, 446, 10019, 1850, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 14650, 12, 780, 1325, 16, 514, 1577, 16, 514, 1110, 16, 1250, 3400, 13, 288, 3639, 2240, 18, 1289, 14650, 12, 8666, 16, 1577, 16, 1110, 16, 3400, 1769, 3639, 527, 4709, 12, 2704, 7766, 2449, 12, 315, 3341, 18, 9156, 580, 84, 18, 31586, 1594, 18, 1121, 18, 3813, 18, 52, 882, 395, 11124, 16270, 3113, 1325, 16, 1577, 16, 1110, 16, 3400, 16, 446, 10019, 1850, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertEquals(4, configs.length);
assertEquals(5, configs.length);
private void checkSubSubTarget(ITarget target) { final String indyToolName = "Target Independent Tool"; final String indyToolCommand = "RC.EXE"; final String indyToolInputExt = "rc"; final String indyToolOutputExt = "free"; final String indyToolOutFlag = "/fo"; final String indyToolHeader = "h"; final String indyToolHeaderNot = "j"; final String indyCatOne = "Free"; final String indyCatTwo = "Chained"; final String freeOptName = "String in Free"; final String chainedOptName = "Boolean in Chained"; final String freeOptValue = "Live free or die"; final String newCmd = "Let the Wookie win"; // Check the inherited clean command assertEquals("rm -yourworld", target.getCleanCommand()); // Check that the make command is overridden from parent assertEquals("nmake", target.getMakeCommand()); // Make sure we get the proper binary parser assertEquals("org.eclipse.cdt.core.ELF", target.getBinaryParserId()); // Make sure the list is inherited String[] expectedOSList = {"win32","linux","solaris"}; assertTrue(Arrays.equals(expectedOSList, target.getTargetOSList())); // Get the 4 configurations IConfiguration[] configs = target.getConfigurations(); assertEquals(4, configs.length); // Check the tools. We should have 3 (1 from each parent and the one referenced). ITool[] tools = target.getTools(); assertEquals(3, tools.length); ITool toolRef = tools[2]; // Make sure the 3rd tool is a tool reference assertTrue(toolRef instanceof IToolReference); // Make sure we get all the tool settings assertEquals(toolRef.getName(), indyToolName); assertEquals(toolRef.getToolCommand(), indyToolCommand); assertTrue(toolRef.buildsFileType(indyToolInputExt)); assertEquals(toolRef.getOutputExtension(indyToolInputExt), indyToolOutputExt); assertEquals(toolRef.getOutputFlag(), indyToolOutFlag); assertTrue(toolRef.isHeaderFile(indyToolHeader)); assertFalse(toolRef.isHeaderFile(indyToolHeaderNot)); assertEquals(toolRef.getNatureFilter(), ITool.FILTER_BOTH); // Check out the referenced tool and make sure we get all option categories IOptionCategory topCategory = toolRef.getTopOptionCategory(); IOptionCategory[] categories = topCategory.getChildCategories(); assertEquals(1, categories.length); assertEquals(categories[0].getName(), indyCatOne); IOptionCategory[] subCategories = categories[0].getChildCategories(); // Is the chained category a subcategory assertEquals(1, subCategories.length); assertEquals(subCategories[0].getName(), indyCatTwo); // Make sure the option in the top category is correct IOption[] optsInCat = categories[0].getOptions(null); assertEquals(1, optsInCat.length); assertEquals(freeOptName, optsInCat[0].getName()); assertEquals(IOption.STRING, optsInCat[0].getValueType()); try { assertEquals(freeOptValue, optsInCat[0].getStringValue()); } catch (BuildException e1) { fail("Failed getting string value in subsubtarget :" + e1.getLocalizedMessage()); } // Do the same for the options in the child cat IOption[] optsInSubCat = subCategories[0].getOptions(null); assertEquals(1, optsInSubCat.length); assertEquals(chainedOptName, optsInSubCat[0].getName()); assertEquals(IOption.BOOLEAN, optsInSubCat[0].getValueType()); try { assertFalse(optsInSubCat[0].getBooleanValue()); } catch (BuildException e) { fail("Failure getting boolean value in subsubtarget: " + e.getLocalizedMessage()); } // Test that the tool command can be changed through the reference ((IToolReference)toolRef).setToolCommand(newCmd); assertEquals(toolRef.getToolCommand(), newCmd); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/687d76251710a95ddf1a41c3c66ef0c4ad7d1982/ManagedBuildCoreTests.java/clean/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuild/core/tests/ManagedBuildCoreTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 866, 1676, 1676, 2326, 12, 1285, 826, 1018, 13, 288, 202, 202, 6385, 514, 1547, 93, 6364, 461, 273, 315, 2326, 657, 10891, 13288, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 2189, 273, 315, 11529, 18, 2294, 41, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1210, 2482, 273, 315, 1310, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1447, 2482, 273, 315, 9156, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1182, 4678, 273, 2206, 617, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1864, 273, 315, 76, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1864, 1248, 273, 315, 78, 14432, 202, 202, 6385, 514, 1547, 93, 11554, 3335, 273, 315, 9194, 14432, 202, 202, 6385, 514, 1547, 93, 11554, 11710, 273, 315, 3893, 329, 14432, 202, 202, 6385, 514, 4843, 6179, 461, 273, 315, 780, 316, 15217, 14432, 202, 202, 6385, 514, 20269, 6179, 461, 273, 315, 5507, 316, 7824, 329, 14432, 202, 202, 6385, 514, 4843, 6179, 620, 273, 315, 12328, 4843, 578, 10387, 14432, 202, 202, 6385, 514, 394, 5931, 273, 315, 24181, 326, 678, 2538, 5657, 14432, 9506, 202, 759, 2073, 326, 12078, 2721, 1296, 202, 202, 11231, 8867, 2932, 8864, 300, 93, 477, 18179, 3113, 1018, 18, 588, 7605, 2189, 10663, 202, 202, 759, 2073, 716, 326, 1221, 1296, 353, 11000, 628, 982, 202, 202, 11231, 8867, 2932, 82, 6540, 3113, 1018, 18, 588, 6464, 2189, 10663, 202, 202, 759, 4344, 3071, 732, 336, 326, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 866, 1676, 1676, 2326, 12, 1285, 826, 1018, 13, 288, 202, 202, 6385, 514, 1547, 93, 6364, 461, 273, 315, 2326, 657, 10891, 13288, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 2189, 273, 315, 11529, 18, 2294, 41, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1210, 2482, 273, 315, 1310, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1447, 2482, 273, 315, 9156, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1182, 4678, 273, 2206, 617, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1864, 273, 315, 76, 14432, 202, 202, 6385, 514, 1547, 93, 6364, 1864, 1248, 273, 315, 78, 14432, 202, 202, 6385, 514, 1547, 93, 11554, 3335, 273, 315, 9194, 2 ]
String relativePath = RubyString.stringValue(args[0]).getValue();
String relativePath = RubyString.stringValue(args[0]).toString();
public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt in linux ruby)? int userEnd = relativePath.indexOf('/'); if (userEnd == -1) { if (pathLength == 1) { // Single '~' as whole path to expand relativePath = RubyDir.getHomeDirectoryPath(this).getValue(); } else { // No directory delimeter. Rest of string is username userEnd = pathLength; } } if (userEnd == 1) { // '~/...' as path to expand relativePath = RubyDir.getHomeDirectoryPath(this).getValue() + relativePath.substring(1); } else if (userEnd > 1){ // '~user/...' as path to expand String user = relativePath.substring(1, userEnd); IRubyObject dir = RubyDir.getHomeDirectoryPath(this, user); if (dir.isNil()) { throw getRuntime().newArgumentError("user " + user + " does not exist"); } relativePath = "" + dir + (pathLength == userEnd ? "" : relativePath.substring(userEnd)); } } if (new NormalizedFile(relativePath).isAbsolute()) { return getRuntime().newString(relativePath); } String cwd = getRuntime().getCurrentDirectory(); if (args.length == 2 && !args[1].isNil()) { cwd = RubyString.stringValue(args[1]).getValue(); } // Something wrong we don't know the cwd... if (cwd == null) { return getRuntime().getNil(); } NormalizedFile path = new NormalizedFile(cwd, relativePath); String extractedPath; try { extractedPath = path.getCanonicalPath(); } catch (IOException e) { extractedPath = path.getAbsolutePath(); } return getRuntime().newString(extractedPath); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/9f2efc63a858fa0507245b207025eab027840a04/FileMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/FileMetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 4542, 67, 803, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 10788, 1380, 12, 1968, 16, 404, 16, 576, 1769, 3639, 514, 12820, 273, 19817, 780, 18, 1080, 620, 12, 1968, 63, 20, 65, 2934, 24805, 5621, 202, 202, 474, 589, 1782, 273, 12820, 18, 2469, 5621, 9506, 202, 430, 261, 803, 1782, 1545, 404, 597, 12820, 18, 3001, 861, 12, 20, 13, 422, 10091, 6134, 288, 1082, 202, 759, 1374, 73, 1075, 294, 9363, 4871, 74, 303, 75, 693, 1695, 11351, 1440, 261, 305, 31272, 316, 19725, 22155, 9945, 1082, 202, 474, 729, 1638, 273, 12820, 18, 31806, 2668, 2473, 1769, 25083, 202, 430, 261, 1355, 1638, 422, 300, 21, 13, 288, 9506, 202, 430, 261, 803, 1782, 422, 404, 13, 288, 3196, 7734, 368, 10326, 17690, 487, 7339, 589, 358, 4542, 6862, 202, 11626, 743, 273, 19817, 1621, 18, 588, 8684, 31995, 12, 2211, 2934, 24805, 5621, 9506, 202, 97, 469, 288, 6862, 202, 759, 2631, 1867, 10508, 847, 18, 225, 6320, 434, 533, 353, 2718, 6862, 202, 1355, 1638, 273, 589, 1782, 31, 9506, 202, 97, 1082, 202, 97, 25083, 202, 430, 261, 1355, 1638, 422, 404, 13, 288, 9506, 202, 759, 10091, 19, 7821, 487, 589, 358, 4542, 4697, 202, 11626, 743, 273, 19817, 1621, 18, 588, 8684, 31995, 12, 2211, 2934, 24805, 1435, 397, 1171, 202, 565, 12820, 18, 28023, 12, 21, 1769, 1082, 202, 97, 469, 309, 261, 1355, 1638, 405, 404, 15329, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 4542, 67, 803, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 10788, 1380, 12, 1968, 16, 404, 16, 576, 1769, 3639, 514, 12820, 273, 19817, 780, 18, 1080, 620, 12, 1968, 63, 20, 65, 2934, 24805, 5621, 202, 202, 474, 589, 1782, 273, 12820, 18, 2469, 5621, 9506, 202, 430, 261, 803, 1782, 1545, 404, 597, 12820, 18, 3001, 861, 12, 20, 13, 422, 10091, 6134, 288, 1082, 202, 759, 1374, 73, 1075, 294, 9363, 4871, 74, 303, 75, 693, 1695, 11351, 1440, 261, 305, 31272, 316, 19725, 22155, 9945, 1082, 202, 474, 729, 1638, 273, 12820, 18, 31806, 2668, 2473, 1769, 25083, 202, 430, 261, 1355, 1638, 422, 300, 21, 13, 288, 2 ]
if (errorInfo != null && errorInfo.myDescription != null) { statusBar.setInfo(errorInfo.myDescription);
if (errorInfos.length > 0 && errorInfos [0].myDescription != null) { statusBar.setInfo(errorInfos [0].myDescription);
public void valueChanged(final TreeSelectionEvent e) { hideIntentionHint(); updateIntentionHintVisibility(); ErrorInfo errorInfo = getErrorInfo(); final StatusBar statusBar = WindowManager.getInstance().getStatusBar(getEditor().getProject()); if (errorInfo != null && errorInfo.myDescription != null) { statusBar.setInfo(errorInfo.myDescription); } else { statusBar.setInfo(""); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/2b2e6f8cdcc6616fcb7d0493f9b7b3ac2599f184/QuickFixManagerImpl.java/clean/ui-designer/impl/com/intellij/uiDesigner/componentTree/QuickFixManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 460, 5033, 12, 6385, 4902, 6233, 1133, 425, 13, 288, 1377, 6853, 1702, 5054, 7002, 5621, 1377, 1089, 1702, 5054, 7002, 10135, 5621, 1377, 1068, 966, 23280, 273, 7926, 966, 5621, 1377, 727, 2685, 5190, 1267, 5190, 273, 6076, 1318, 18, 588, 1442, 7675, 588, 1482, 5190, 12, 588, 6946, 7675, 588, 4109, 10663, 1377, 309, 261, 1636, 966, 480, 446, 597, 23280, 18, 4811, 3291, 480, 446, 13, 288, 3639, 1267, 5190, 18, 542, 966, 12, 1636, 966, 18, 4811, 3291, 1769, 1377, 289, 1377, 469, 288, 3639, 1267, 5190, 18, 542, 966, 2932, 8863, 1377, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 460, 5033, 12, 6385, 4902, 6233, 1133, 425, 13, 288, 1377, 6853, 1702, 5054, 7002, 5621, 1377, 1089, 1702, 5054, 7002, 10135, 5621, 1377, 1068, 966, 23280, 273, 7926, 966, 5621, 1377, 727, 2685, 5190, 1267, 5190, 273, 6076, 1318, 18, 588, 1442, 7675, 588, 1482, 5190, 12, 588, 6946, 7675, 588, 4109, 10663, 1377, 309, 261, 1636, 966, 480, 446, 597, 23280, 18, 4811, 3291, 480, 446, 13, 288, 3639, 1267, 5190, 18, 542, 966, 12, 1636, 966, 18, 4811, 3291, 1769, 1377, 289, 1377, 469, 288, 3639, 1267, 5190, 18, 542, 966, 2932, 8863, 1377, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
JspWriter out = b.getEnclosingWriter(); try { out.write(b.getString()); } catch (IOException e) { throw new GrailsTagException("I/O error writing body of tag ["+getName()+"]: " + e.getMessage(),e); } b.clearBody();
jspWriter = b.getEnclosingWriter(); invocationBodyContent.add(b.getString()); b.clearBody();
public int doAfterBody() throws JspException { BodyContent b = getBodyContent(); if(invocationCount > 0) { if(b != null) { JspWriter out = b.getEnclosingWriter(); try { out.write(b.getString()); } catch (IOException e) { throw new GrailsTagException("I/O error writing body of tag ["+getName()+"]: " + e.getMessage(),e); } b.clearBody(); } } invocationCount--; setCurrentArgument(); if(invocationCount <= 0) { return SKIP_BODY; } else return EVAL_BODY_BUFFERED; }
50129 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50129/b18b6b0c6359a733b665934c6bf5ac6a960ba356/JspInvokeGrailsTagLibTag.java/clean/src/web/org/codehaus/groovy/grails/web/taglib/jsp/JspInvokeGrailsTagLibTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 4436, 2250, 1435, 1216, 27485, 288, 3639, 5652, 1350, 324, 273, 7587, 1350, 5621, 3639, 309, 12, 5768, 4431, 1380, 405, 374, 13, 288, 5411, 309, 12, 70, 480, 446, 13, 288, 7734, 19300, 2289, 596, 273, 324, 18, 588, 21594, 2289, 5621, 7734, 775, 288, 10792, 596, 18, 2626, 12, 70, 18, 588, 780, 10663, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 604, 394, 10812, 14573, 1805, 503, 2932, 45, 19, 51, 555, 7410, 1417, 434, 1047, 8247, 15, 17994, 1435, 9078, 14542, 315, 397, 425, 18, 24906, 9334, 73, 1769, 7734, 289, 1171, 324, 18, 8507, 2250, 5621, 5411, 289, 3639, 289, 3639, 9495, 1380, 413, 31, 3639, 12589, 1379, 5621, 3639, 309, 12, 5768, 4431, 1380, 1648, 374, 13, 225, 288, 5411, 327, 18420, 67, 16691, 31, 3639, 289, 3639, 469, 5411, 327, 512, 2669, 67, 16691, 67, 11302, 2056, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 4436, 2250, 1435, 1216, 27485, 288, 3639, 5652, 1350, 324, 273, 7587, 1350, 5621, 3639, 309, 12, 5768, 4431, 1380, 405, 374, 13, 288, 5411, 309, 12, 70, 480, 446, 13, 288, 7734, 19300, 2289, 596, 273, 324, 18, 588, 21594, 2289, 5621, 7734, 775, 288, 10792, 596, 18, 2626, 12, 70, 18, 588, 780, 10663, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 604, 394, 10812, 14573, 1805, 503, 2932, 45, 19, 51, 555, 7410, 1417, 434, 1047, 8247, 15, 17994, 1435, 9078, 14542, 315, 397, 425, 18, 24906, 9334, 73, 1769, 7734, 289, 1171, 324, 18, 8507, 2250, 5621, 5411, 289, 3639, 289, 3639, 9495, 1380, 413, 31, 3639, 12589, 1379, 5621, 2 ]
return modified ? this : getRuntime().getNil();
if (removeCount == 0) { return getRuntime().getNil(); } getValue().delete(end - removeCount + 1, getValue().length()); return this;
public IRubyObject chomp_bang(IRubyObject[] args) { if (isEmpty()) { return getRuntime().getNil(); } // Separator (a.k.a. $/) can be overriden by the -0 (zero) command line option String separator = (args.length == 0) ? getRuntime().getGlobalVariables().get("$/").asSymbol() : args[0].asSymbol(); if (separator.equals(DEFAULT_RS)) { // Optimized very common case of str.chomp! on Windows (avoid 2 setValue calls) int lastCharIndex = getValue().length() - 1; char lastChar = getValue().charAt(lastCharIndex); if (lastChar=='\n') { if (lastCharIndex > 0 && getValue().charAt(lastCharIndex - 1) == '\r') { // Remove \r\n setValue(getValue().substring(0, lastCharIndex - 1)); } else { // Remove \n setValue(getValue().substring(0, lastCharIndex)); } } else if (lastChar=='\r') { // Very common case of chomp!(noParam) on Mac => No obvious optimzation setValue(getValue().substring(0, lastCharIndex)); } else { // No modifications made return getRuntime().getNil(); } return this; } // Uncommon case of str.chomp!("") not optimized if (separator.length() == 0) { boolean modified = false; while(getValue().length() > 0 && getValue().charAt(getValue().length() - 1) == '\n') { modified = true; setValue(getValue().substring(0, getValue().length() - 1)); if (getValue().length() > 0 && getValue().charAt(getValue().length() - 1) == '\r') { setValue(getValue().substring(0, getValue().length() - 1)); } } return modified ? this : getRuntime().getNil(); } // Uncommon case of str.chomp!("xxx") if (getValue().endsWith(separator)) { setValue(getValue().substring(0, getValue().length() - separator.length())); return this; } return getRuntime().getNil(); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/clean/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 462, 20667, 67, 70, 539, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 291, 1921, 10756, 288, 5411, 327, 18814, 7675, 588, 12616, 5621, 3639, 289, 3639, 368, 27519, 261, 69, 18, 79, 18, 69, 18, 271, 19, 13, 848, 506, 31736, 635, 326, 300, 20, 261, 7124, 13, 1296, 980, 1456, 3639, 514, 4182, 273, 261, 1968, 18, 2469, 422, 374, 13, 692, 1171, 18814, 7675, 588, 5160, 6158, 7675, 588, 2932, 8, 4898, 2934, 345, 5335, 1435, 294, 833, 63, 20, 8009, 345, 5335, 5621, 7734, 309, 261, 11287, 18, 14963, 12, 5280, 67, 13225, 3719, 288, 5411, 368, 19615, 1235, 8572, 2975, 648, 434, 609, 18, 343, 20667, 5, 603, 8202, 261, 842, 839, 576, 5524, 4097, 13, 5411, 509, 23914, 1016, 273, 2366, 7675, 2469, 1435, 300, 404, 31, 5411, 1149, 23914, 273, 2366, 7675, 3001, 861, 12, 2722, 2156, 1016, 1769, 5411, 309, 261, 2722, 2156, 631, 8314, 82, 6134, 288, 7734, 309, 261, 2722, 2156, 1016, 405, 374, 597, 2366, 7675, 3001, 861, 12, 2722, 2156, 1016, 300, 404, 13, 422, 2337, 86, 6134, 288, 10792, 368, 3581, 521, 86, 64, 82, 10792, 5524, 12, 24805, 7675, 28023, 12, 20, 16, 23914, 1016, 300, 404, 10019, 7734, 289, 469, 288, 10792, 368, 3581, 521, 82, 10792, 5524, 12, 24805, 7675, 28023, 12, 20, 16, 23914, 1016, 10019, 7734, 289, 5411, 289, 469, 309, 261, 2722, 2156, 631, 8314, 86, 6134, 288, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15908, 10340, 921, 462, 20667, 67, 70, 539, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 291, 1921, 10756, 288, 5411, 327, 18814, 7675, 588, 12616, 5621, 3639, 289, 3639, 368, 27519, 261, 69, 18, 79, 18, 69, 18, 271, 19, 13, 848, 506, 31736, 635, 326, 300, 20, 261, 7124, 13, 1296, 980, 1456, 3639, 514, 4182, 273, 261, 1968, 18, 2469, 422, 374, 13, 692, 1171, 18814, 7675, 588, 5160, 6158, 7675, 588, 2932, 8, 4898, 2934, 345, 5335, 1435, 294, 833, 63, 20, 8009, 345, 5335, 5621, 7734, 309, 261, 11287, 18, 14963, 12, 5280, 67, 13225, 3719, 288, 5411, 368, 19615, 1235, 8572, 2975, 648, 434, 609, 18, 343, 2 ]
new AnAction() {
final JRootPane rootPane = getRootPane(); final AnAction toStatementAction = new AnAction() {
public StatementEvaluationDialog(final Project project, TextWithImports text) { super(project, text); setTitle("Code Fragment Evaluation"); myPanel = new JPanel(new BorderLayout()); final Splitter splitter = new Splitter(true); splitter.setHonorComponentsMinimumSize(true); final DebuggerStatementEditor statementEditor = getStatementEditor(); splitter.setFirstComponent(statementEditor); final EvaluationDialog.MyEvaluationPanel evaluationPanel = getEvaluationPanel(); splitter.setSecondComponent(evaluationPanel); final Dimension statementSize = DimensionService.getInstance().getSize(STATEMENT_EDITOR_DIMENSION_KEY); final Dimension evaluationSize = DimensionService.getInstance().getSize(EVALUATION_PANEL_DIMENSION_KEY); if (statementSize != null && evaluationSize != null) { final float proportion = (float)statementSize.height / (float)(statementSize.height + evaluationSize.height); splitter.setProportion(proportion); } myPanel.add(splitter, BorderLayout.CENTER); setDebuggerContext(getDebuggerContext()); KeyStroke codeFragment = KeyStroke.getKeyStroke(KeyEvent.VK_E, KeyEvent.ALT_MASK); KeyStroke resultStroke = KeyStroke.getKeyStroke(KeyEvent.VK_R, KeyEvent.ALT_MASK); KeyStroke altEnter = KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, KeyEvent.CTRL_MASK); new AnAction() { public void actionPerformed(AnActionEvent e) { getStatementEditor().requestFocus(); } }.registerCustomShortcutSet(new CustomShortcutSet(codeFragment), getRootPane()); new AnAction() { public void actionPerformed(AnActionEvent e) { getEvaluationPanel().getWatchTree().requestFocus(); } }.registerCustomShortcutSet(new CustomShortcutSet(resultStroke), getRootPane()); new AnAction() { public void actionPerformed(AnActionEvent e) { doOKAction(); } }.registerCustomShortcutSet(new CustomShortcutSet(altEnter), getRootPane()); getEditor().addDocumentListener(new DocumentAdapter() { public void documentChanged(final DocumentEvent e) { DebuggerInvocationUtil.invokeLater(getProject(), new Runnable() { public void run() { updateSwitchButton(e.getDocument()); } }); } }); this.init(); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/c46454ea2e9a7e14883bbaed22b7732af8678762/StatementEvaluationDialog.java/buggy/source/com/intellij/debugger/ui/StatementEvaluationDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8056, 13468, 6353, 12, 6385, 5420, 1984, 16, 3867, 1190, 13347, 977, 13, 288, 565, 2240, 12, 4406, 16, 977, 1769, 565, 14109, 2932, 1085, 18009, 17340, 8863, 565, 3399, 5537, 273, 394, 24048, 12, 2704, 30814, 10663, 565, 727, 5385, 387, 21553, 273, 394, 5385, 387, 12, 3767, 1769, 565, 21553, 18, 542, 44, 265, 280, 7171, 13042, 1225, 12, 3767, 1769, 565, 727, 28645, 3406, 6946, 3021, 6946, 273, 31523, 6946, 5621, 565, 21553, 18, 542, 3759, 1841, 12, 11516, 6946, 1769, 565, 727, 17340, 6353, 18, 12062, 13468, 5537, 9873, 5537, 273, 4774, 4531, 367, 5537, 5621, 565, 21553, 18, 542, 8211, 1841, 12, 14168, 367, 5537, 1769, 565, 727, 13037, 3021, 1225, 273, 13037, 1179, 18, 588, 1442, 7675, 588, 1225, 12, 28411, 67, 13208, 67, 2565, 958, 3156, 1146, 67, 3297, 1769, 565, 727, 13037, 9873, 1225, 273, 13037, 1179, 18, 588, 1442, 7675, 588, 1225, 12, 41, 2669, 57, 2689, 67, 30819, 2247, 67, 2565, 958, 3156, 1146, 67, 3297, 1769, 565, 309, 261, 11516, 1225, 480, 446, 597, 9873, 1225, 480, 446, 13, 288, 1377, 727, 1431, 23279, 273, 261, 5659, 13, 11516, 1225, 18, 4210, 342, 261, 5659, 21433, 11516, 1225, 18, 4210, 397, 9873, 1225, 18, 4210, 1769, 1377, 21553, 18, 542, 626, 17564, 12, 685, 17564, 1769, 565, 289, 565, 3399, 5537, 18, 1289, 12, 4939, 387, 16, 30814, 18, 19835, 1769, 565, 444, 24113, 1042, 12, 588, 24113, 1042, 10663, 565, 1929, 14602, 981, 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, 8056, 13468, 6353, 12, 6385, 5420, 1984, 16, 3867, 1190, 13347, 977, 13, 288, 565, 2240, 12, 4406, 16, 977, 1769, 565, 14109, 2932, 1085, 18009, 17340, 8863, 565, 3399, 5537, 273, 394, 24048, 12, 2704, 30814, 10663, 565, 727, 5385, 387, 21553, 273, 394, 5385, 387, 12, 3767, 1769, 565, 21553, 18, 542, 44, 265, 280, 7171, 13042, 1225, 12, 3767, 1769, 565, 727, 28645, 3406, 6946, 3021, 6946, 273, 31523, 6946, 5621, 565, 21553, 18, 542, 3759, 1841, 12, 11516, 6946, 1769, 565, 727, 17340, 6353, 18, 12062, 13468, 5537, 9873, 5537, 273, 4774, 4531, 367, 5537, 5621, 565, 21553, 18, 542, 8211, 1841, 12, 14168, 367, 5537, 1769, 565, 727, 13037, 3021, 1225, 273, 2 ]
x.bodyDeclarations().add(ast.newInitializer());
public void testEnumDeclaration() { if (ast.apiLevel() == AST.JLS2) { // node type introduced in 3.0 API try { ast.newEnumDeclaration(); assertTrue(false); } catch (UnsupportedOperationException e) { // pass } return; } long previousCount = ast.modificationCount(); final EnumDeclaration x = ast.newEnumDeclaration(); assertTrue(ast.modificationCount() > previousCount); previousCount = ast.modificationCount(); assertTrue(x.getAST() == ast); assertTrue(x.getParent() == null); assertTrue(x.modifiers().size() == 0); assertTrue(x.getName().getParent() == x); assertTrue(x.getName().isDeclaration() == true); assertTrue(x.getJavadoc() == null); assertTrue(x.superInterfaceTypes().size() == 0); assertTrue(x.bodyDeclarations().size()== 0); assertTrue(x.getNodeType() == ASTNode.ENUM_DECLARATION); assertTrue(x.structuralPropertiesForType() == EnumDeclaration.propertyDescriptors(ast.apiLevel())); // make sure that reading did not change modification count assertTrue(ast.modificationCount() == previousCount); previousCount = ast.modificationCount(); tJavadocComment(x); tModifiers(x); genericPropertyTest(x, new Property("Name", true, SimpleName.class) { //$NON-NLS-1$ public ASTNode sample(AST targetAst, boolean parented) { SimpleName result = targetAst.newSimpleName("foo"); //$NON-NLS-1$ if (parented) { targetAst.newExpressionStatement(result); } return result; } public ASTNode get() { return x.getName(); } public void set(ASTNode value) { x.setName((SimpleName) value); } }); genericPropertyListTest(x, x.superInterfaceTypes(), new Property("SuperInterfaceTypes", true, Type.class) { //$NON-NLS-1$ public ASTNode sample(AST targetAst, boolean parented) { SimpleType result = targetAst.newSimpleType(targetAst.newSimpleName("foo")); //$NON-NLS-1$ if (parented) { targetAst.newArrayType(result); } return result; } }); genericPropertyListTest(x, x.bodyDeclarations(), new Property("BodyDeclarations", true, BodyDeclaration.class) { //$NON-NLS-1$ public ASTNode sample(AST targetAst, boolean parented) { TypeDeclaration result = targetAst.newTypeDeclaration(); if (parented) { CompilationUnit cu = targetAst.newCompilationUnit(); cu.types().add(result); } return result; } public ASTNode wrap() { TypeDeclaration s1 = x.getAST().newTypeDeclaration(); s1.bodyDeclarations().add(x); return s1; } public void unwrap() { TypeDeclaration s1 = (TypeDeclaration) x.getParent(); s1.bodyDeclarations().remove(x); } }); // check special bodyDeclaration methods x.bodyDeclarations().clear(); EnumConstantDeclaration c1 = ast.newEnumConstantDeclaration(); EnumConstantDeclaration c2 = ast.newEnumConstantDeclaration(); FieldDeclaration f1 = ast.newFieldDeclaration(ast.newVariableDeclarationFragment()); FieldDeclaration f2 = ast.newFieldDeclaration(ast.newVariableDeclarationFragment()); MethodDeclaration m1 = ast.newMethodDeclaration(); MethodDeclaration m2 = ast.newMethodDeclaration(); TypeDeclaration t1 = ast.newTypeDeclaration(); TypeDeclaration t2 = ast.newTypeDeclaration(); x.bodyDeclarations().add(c1); x.bodyDeclarations().add(c2); x.bodyDeclarations().add(ast.newInitializer()); x.bodyDeclarations().add(f1); x.bodyDeclarations().add(ast.newInitializer()); x.bodyDeclarations().add(f2); x.bodyDeclarations().add(ast.newInitializer()); x.bodyDeclarations().add(t1); x.bodyDeclarations().add(ast.newInitializer()); x.bodyDeclarations().add(m1); x.bodyDeclarations().add(ast.newInitializer()); x.bodyDeclarations().add(m2); x.bodyDeclarations().add(ast.newInitializer()); x.bodyDeclarations().add(t2); x.bodyDeclarations().add(ast.newInitializer()); List es = Arrays.asList(x.getEnumConstants()); assertTrue(es.size() == 2); assertTrue(es.contains(c1)); assertTrue(es.contains(c2)); // check that TypeDeclarations in body are classified correctly assertTrue(t1.isLocalTypeDeclaration() == false); assertTrue(t1.isMemberTypeDeclaration() == true); assertTrue(t1.isPackageMemberTypeDeclaration() == false); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f7bc2ee5d62baf64b6f044f322b40cdaa75e5dcc/ASTTest.java/clean/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/ASTTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3572, 6094, 1435, 288, 202, 202, 430, 261, 689, 18, 2425, 2355, 1435, 422, 9183, 18, 46, 3045, 22, 13, 288, 1082, 202, 759, 756, 618, 26339, 316, 890, 18, 20, 1491, 1082, 202, 698, 288, 9506, 202, 689, 18, 2704, 3572, 6094, 5621, 9506, 202, 11231, 5510, 12, 5743, 1769, 1082, 202, 97, 1044, 261, 8544, 10602, 425, 13, 288, 9506, 202, 759, 1342, 1082, 202, 97, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 5748, 2416, 1380, 273, 3364, 18, 31064, 1380, 5621, 202, 202, 6385, 6057, 6094, 619, 273, 3364, 18, 2704, 3572, 6094, 5621, 202, 202, 11231, 5510, 12, 689, 18, 31064, 1380, 1435, 405, 2416, 1380, 1769, 202, 202, 11515, 1380, 273, 3364, 18, 31064, 1380, 5621, 202, 202, 11231, 5510, 12, 92, 18, 588, 9053, 1435, 422, 3364, 1769, 202, 202, 11231, 5510, 12, 92, 18, 588, 3054, 1435, 422, 446, 1769, 202, 202, 11231, 5510, 12, 92, 18, 15432, 7675, 1467, 1435, 422, 374, 1769, 202, 202, 11231, 5510, 12, 92, 18, 17994, 7675, 588, 3054, 1435, 422, 619, 1769, 202, 202, 11231, 5510, 12, 92, 18, 17994, 7675, 291, 6094, 1435, 422, 638, 1769, 202, 202, 11231, 5510, 12, 92, 18, 588, 24060, 1435, 422, 446, 1769, 202, 202, 11231, 5510, 12, 92, 18, 9565, 1358, 2016, 7675, 1467, 1435, 422, 374, 1769, 202, 202, 11231, 5510, 12, 92, 18, 3432, 21408, 7675, 1467, 1435, 631, 374, 1769, 202, 202, 11231, 5510, 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, 1842, 3572, 6094, 1435, 288, 202, 202, 430, 261, 689, 18, 2425, 2355, 1435, 422, 9183, 18, 46, 3045, 22, 13, 288, 1082, 202, 759, 756, 618, 26339, 316, 890, 18, 20, 1491, 1082, 202, 698, 288, 9506, 202, 689, 18, 2704, 3572, 6094, 5621, 9506, 202, 11231, 5510, 12, 5743, 1769, 1082, 202, 97, 1044, 261, 8544, 10602, 425, 13, 288, 9506, 202, 759, 1342, 1082, 202, 97, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 5748, 2416, 1380, 273, 3364, 18, 31064, 1380, 5621, 202, 202, 6385, 6057, 6094, 619, 273, 3364, 18, 2704, 3572, 6094, 5621, 202, 202, 11231, 5510, 12, 689, 18, 31064, 1380, 1435, 405, 2416, 1380, 1769, 202, 2 ]
parentMgr.update(force); }
getParentToolBarManager().update(force); }
public void update(boolean force) { // This method is not governed by visibility. The client may // call <code>setVisible</code> and then force an update. At that // point we need to update the parent. parentMgr.update(force);}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/5ddde0e384bac44f41aeb754525f7bdab6a04e11/SubToolBarManager.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/action/SubToolBarManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1089, 12, 6494, 2944, 13, 288, 202, 759, 1220, 707, 353, 486, 314, 1643, 11748, 635, 9478, 18, 225, 1021, 1004, 2026, 202, 759, 745, 411, 710, 34, 542, 6207, 1757, 710, 34, 471, 1508, 2944, 392, 1089, 18, 225, 2380, 716, 202, 759, 1634, 732, 1608, 358, 1089, 326, 982, 18, 202, 2938, 9455, 18, 2725, 12, 5734, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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757, 710, 34, 471, 1508, 2944, 392, 1089, 18, 225, 2380, 716, 202, 759, 1634, 732, 1608, 358, 1089, 326, 982, 18, 202, 2938, 9455, 18, 2725, 12, 5734, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(!isObsoleteCollectionType(type)){
if (!isObsoleteCollectionType(type)){
public void visitNewExpression(@NotNull PsiNewExpression newExpression){ super.visitNewExpression(newExpression); final PsiType type = newExpression.getType(); if(!isObsoleteCollectionType(type)){ return; } final PsiJavaCodeReferenceElement classNameElement = newExpression.getClassReference(); registerError(classNameElement); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/2a073f3b788eda8104f0a8a4881b43a6e54b6a29/ObsoleteCollectionInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/maturity/ObsoleteCollectionInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 1908, 2300, 26964, 5962, 453, 7722, 1908, 2300, 394, 2300, 15329, 5411, 2240, 18, 11658, 1908, 2300, 12, 2704, 2300, 1769, 5411, 727, 453, 7722, 559, 618, 273, 394, 2300, 18, 588, 559, 5621, 5411, 309, 16051, 291, 27637, 19513, 2532, 559, 12, 723, 3719, 95, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 5852, 1085, 2404, 1046, 2658, 1046, 273, 10792, 394, 2300, 18, 588, 797, 2404, 5621, 5411, 1744, 668, 12, 12434, 1046, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 1908, 2300, 26964, 5962, 453, 7722, 1908, 2300, 394, 2300, 15329, 5411, 2240, 18, 11658, 1908, 2300, 12, 2704, 2300, 1769, 5411, 727, 453, 7722, 559, 618, 273, 394, 2300, 18, 588, 559, 5621, 5411, 309, 16051, 291, 27637, 19513, 2532, 559, 12, 723, 3719, 95, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 5852, 1085, 2404, 1046, 2658, 1046, 273, 10792, 394, 2300, 18, 588, 797, 2404, 5621, 5411, 1744, 668, 12, 12434, 1046, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (isSchemaSupported)
if ( isSchemaSupported )
private void getAvailableSchema() { if (isSchemaSupported) { ResultSet schemas = metaDataProvider.getAllSchema(); schemaList = createSchemaList( schemas ); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/8887f296b0d9adc032ae9020f3349938893f43a3/SQLDataSetEditorPage.java/clean/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 15796, 3078, 1435, 202, 95, 202, 202, 430, 261, 291, 3078, 7223, 13, 202, 202, 95, 1082, 202, 13198, 12783, 273, 11651, 2249, 18, 588, 1595, 3078, 5621, 1082, 202, 4821, 682, 273, 752, 3078, 682, 12, 12783, 11272, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 15796, 3078, 1435, 202, 95, 202, 202, 430, 261, 291, 3078, 7223, 13, 202, 202, 95, 1082, 202, 13198, 12783, 273, 11651, 2249, 18, 588, 1595, 3078, 5621, 1082, 202, 4821, 682, 273, 752, 3078, 682, 12, 12783, 11272, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
openEditor(new WelcomeEditorInput(info), Workbench.WELCOME_EDITOR_ID, null);
openEditor(window, new WelcomeEditorInput(info), Workbench.WELCOME_EDITOR_ID, null);
protected void openWelcomeEditors() { AboutInfo info = getAboutInfo(); AboutInfo[] newFeatures = getNewFeaturesInfo(); if (WorkbenchPlugin.getDefault().getPreferenceStore().getBoolean(IPreferenceConstants.WELCOME_DIALOG)) { // Show the quick start wizard the first time the workbench opens. // See if a welcome page is specified URL url = info.getWelcomePageURL(); if (url == null) return; // Don't show it again WorkbenchPlugin.getDefault().getPreferenceStore().setValue(IPreferenceConstants.WELCOME_DIALOG, false); openEditor(new WelcomeEditorInput(info), Workbench.WELCOME_EDITOR_ID, null); } else { // Show the welcome page for any newly installed features // Get the infos with welcome pages ArrayList welcomeFeatures = new ArrayList(); for (int i = 0; i < newFeatures.length; i++) { if (newFeatures[i].getWelcomePageURL() != null) { if (newFeatures[i].getFeatureId() != null && newFeatures[i].getWelcomePerspective() != null) { IPluginDescriptor desc = newFeatures[i].getDescriptor(); //activates the feature plugin so it can run some install code. try { if(desc != null) desc.getPlugin(); } catch (CoreException e) { } } welcomeFeatures.add(newFeatures[i]); } } int wCount = getWorkbench().getWorkbenchWindowCount(); for (int i = 0; i < welcomeFeatures.size(); i++) { AboutInfo newInfo = (AboutInfo) welcomeFeatures.get(i); String id = newInfo.getWelcomePerspective(); if (id == null || i >= wCount) //Other editors were already opened in restoreState(..) openEditor(new WelcomeEditorInput(newInfo), Workbench.WELCOME_EDITOR_ID, id); } }}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/f77cc9aed5752d58e54872ce2891482f244b1b4b/WorkbenchConfigurationInfo.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchConfigurationInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 1696, 59, 16312, 4666, 1383, 1435, 288, 202, 24813, 966, 1123, 273, 4506, 70, 659, 966, 5621, 202, 24813, 966, 8526, 394, 8696, 273, 12654, 8696, 966, 5621, 202, 430, 261, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 588, 5507, 12, 45, 9624, 2918, 18, 59, 2247, 3865, 958, 67, 2565, 18683, 3719, 288, 202, 202, 759, 9674, 326, 9549, 787, 24204, 326, 1122, 813, 326, 1440, 22144, 10400, 18, 202, 202, 759, 2164, 309, 279, 28329, 1363, 353, 1269, 202, 202, 1785, 880, 273, 1123, 18, 588, 59, 16312, 1964, 1785, 5621, 202, 202, 430, 261, 718, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 759, 7615, 1404, 2405, 518, 3382, 202, 202, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 542, 620, 12, 45, 9624, 2918, 18, 59, 2247, 3865, 958, 67, 2565, 18683, 16, 629, 1769, 202, 202, 3190, 6946, 12, 2704, 678, 16312, 6946, 1210, 12, 1376, 3631, 4147, 22144, 18, 59, 2247, 3865, 958, 67, 13208, 67, 734, 16, 446, 1769, 202, 97, 469, 288, 202, 202, 759, 9674, 326, 28329, 1363, 364, 1281, 10894, 5876, 4467, 202, 202, 759, 968, 326, 10626, 598, 28329, 4689, 202, 202, 19558, 28329, 8696, 273, 394, 2407, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 394, 8696, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 2704, 8696, 63, 77, 8009, 588, 59, 16312, 1964, 1785, 1435, 480, 446, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 1696, 59, 16312, 4666, 1383, 1435, 288, 202, 24813, 966, 1123, 273, 4506, 70, 659, 966, 5621, 202, 24813, 966, 8526, 394, 8696, 273, 12654, 8696, 966, 5621, 202, 430, 261, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 588, 5507, 12, 45, 9624, 2918, 18, 59, 2247, 3865, 958, 67, 2565, 18683, 3719, 288, 202, 202, 759, 9674, 326, 9549, 787, 24204, 326, 1122, 813, 326, 1440, 22144, 10400, 18, 202, 202, 759, 2164, 309, 279, 28329, 1363, 353, 1269, 202, 202, 1785, 880, 273, 1123, 18, 588, 59, 16312, 1964, 1785, 5621, 202, 202, 430, 261, 718, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 759, 7615, 1404, 2405, 518, 3382, 2 ]
public int[] getCASystemIDs () { //TODO return new int[0];}
13401 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13401/b1f2dddc68b4ce0181ca8ca1d2e261d450787564/SIServiceImpl.java/clean/trunk/mhp/java/org/dvb/si/SIServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 509, 8526, 1927, 3033, 1108, 5103, 1832, 288, 282, 368, 6241, 282, 327, 394, 509, 63, 20, 15533, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 509, 8526, 1927, 3033, 1108, 5103, 1832, 288, 282, 368, 6241, 282, 327, 394, 509, 63, 20, 15533, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Iterator iter = items.iterator(); while (iter.hasNext()) { FileItem item = (FileItem) iter.next();
Iterator iter = items.iterator(); while (iter.hasNext()) { FileItem item = (FileItem) iter.next();
protected void processUpload(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException { boolean isMultipart = FileUpload.isMultipartContent(req); if (isMultipart) { try { // Create a new file upload handler DiskFileUpload upload = new DiskFileUpload(); List items = upload.parseRequest(req); // Process the uploaded items Iterator iter = items.iterator(); while (iter.hasNext()) { FileItem item = (FileItem) iter.next(); if (!item.isFormField()) { String fileName = item.getName(); String fileExtesion = fileName; fileExtesion = fileExtesion.toLowerCase(); if (!(fileExtesion.endsWith(".jar") || fileExtesion.endsWith(".aar"))) { req.setAttribute("status", "failure"); req.setAttribute("cause", "Unsupported file type " + fileExtesion); } else { String fileNameOnly = ""; if (fileName.indexOf("\\") < 0) { fileNameOnly = fileName.substring(fileName.lastIndexOf("/") + 1, fileName.length()); } else { fileNameOnly = fileName.substring(fileName.lastIndexOf("\\") + 1, fileName.length()); } File uploadedFile = new File(serviceDir, fileNameOnly); item.write(uploadedFile); req.setAttribute("status", "success"); req.setAttribute("filename", fileNameOnly); } } } } catch (Exception e) { req.setAttribute("status", "failure"); req.setAttribute("cause", e.getMessage()); } } renderView("upload.jsp", req, res); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/9cd28cc48911efea6c6eeda6bb202d386774bc29/AdminAgent.java/buggy/modules/core/src/org/apache/axis2/transport/http/AdminAgent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1207, 4777, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 1860, 16, 16517, 288, 565, 1250, 353, 12024, 273, 1387, 4777, 18, 291, 12024, 1350, 12, 3658, 1769, 565, 309, 261, 291, 12024, 13, 288, 1377, 775, 288, 3639, 368, 1788, 279, 394, 585, 3617, 1838, 3639, 12951, 812, 4777, 3617, 273, 394, 12951, 812, 4777, 5621, 3639, 987, 1516, 273, 3617, 18, 2670, 691, 12, 3658, 1769, 3639, 368, 4389, 326, 9140, 1516, 3639, 4498, 1400, 273, 1516, 18, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 1850, 1387, 1180, 761, 273, 261, 812, 1180, 13, 1400, 18, 4285, 5621, 1850, 309, 16051, 1726, 18, 291, 27317, 10756, 288, 5411, 514, 3968, 273, 761, 18, 17994, 5621, 5411, 514, 585, 424, 1078, 285, 273, 3968, 31, 5411, 585, 424, 1078, 285, 273, 585, 424, 1078, 285, 18, 869, 5630, 5621, 5411, 309, 16051, 12, 768, 424, 1078, 285, 18, 5839, 1190, 2932, 18, 11930, 7923, 747, 585, 424, 1078, 285, 18, 5839, 1190, 2932, 18, 69, 297, 6, 20349, 288, 2868, 1111, 18, 542, 1499, 2932, 2327, 3113, 315, 12251, 8863, 2868, 1111, 18, 542, 1499, 2932, 2700, 3113, 315, 8544, 585, 618, 315, 397, 585, 424, 1078, 285, 1769, 5411, 289, 469, 288, 2868, 514, 3968, 3386, 273, 1408, 31, 2868, 309, 261, 17812, 18, 31806, 2932, 1695, 7923, 411, 374, 13, 288, 7734, 3968, 3386, 273, 3968, 18, 28023, 12, 17812, 18, 2722, 31985, 2932, 4898, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1207, 4777, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 1860, 16, 16517, 288, 565, 1250, 353, 12024, 273, 1387, 4777, 18, 291, 12024, 1350, 12, 3658, 1769, 565, 309, 261, 291, 12024, 13, 288, 1377, 775, 288, 3639, 368, 1788, 279, 394, 585, 3617, 1838, 3639, 12951, 812, 4777, 3617, 273, 394, 12951, 812, 4777, 5621, 3639, 987, 1516, 273, 3617, 18, 2670, 691, 12, 3658, 1769, 3639, 368, 4389, 326, 9140, 1516, 3639, 4498, 1400, 273, 1516, 18, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 1850, 1387, 1180, 761, 273, 261, 812, 1180, 13, 1400, 18, 4285, 5621, 1850, 309, 16051, 1726, 18, 291, 27317, 10756, 288, 5411, 514, 2 ]
public GroupKeySetRule( Object container, DataSetItemModel dataSetColumn )
public GroupKeySetRule( Object container, ResultSetColumnHandle dataSetColumn )
public GroupKeySetRule( Object container, DataSetItemModel dataSetColumn ) { this.container = container; this.dataSetColumn = dataSetColumn; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c57e51ddaf9393af1c4b33b6a8cd4cf65950f338/InsertInLayoutUtil.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/InsertInLayoutUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 3756, 653, 694, 2175, 12, 1033, 1478, 16, 14065, 1180, 1488, 14837, 1494, 262, 202, 202, 95, 1082, 202, 2211, 18, 3782, 273, 1478, 31, 1082, 202, 2211, 18, 892, 694, 1494, 273, 14837, 1494, 31, 202, 202, 97, 2,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 3756, 653, 694, 2175, 12, 1033, 1478, 16, 14065, 1180, 1488, 14837, 1494, 262, 202, 202, 95, 1082, 202, 2211, 18, 3782, 273, 1478, 31, 1082, 202, 2211, 18, 892, 694, 1494, 273, 14837, 1494, 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 ]
if (state != RunningState.PAUSED) return;
public void resume() { if (state != RunningState.PAUSED) return; lock.lock(); try { state = RunningState.RUNNING; if (pauseLock.availablePermits() == 0) pauseLock.release(); } finally { lock.unlock(); } }
13024 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13024/e1dfed72da7074e81a7b8b6e6d2c7c2021db00dd/PacketQueue.java/buggy/feridian/branch/ckchris-maven/modules/xmpp/src/main/java/com/echomine/xmpp/impl/PacketQueue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10774, 1435, 288, 3639, 309, 261, 2019, 480, 20480, 1119, 18, 4066, 20093, 13, 5411, 327, 31, 3639, 2176, 18, 739, 5621, 3639, 775, 288, 5411, 919, 273, 20480, 1119, 18, 29358, 31, 5411, 309, 261, 19476, 2531, 18, 5699, 9123, 1282, 1435, 422, 374, 13, 7734, 11722, 2531, 18, 9340, 5621, 3639, 289, 3095, 288, 5411, 2176, 18, 26226, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10774, 1435, 288, 3639, 309, 261, 2019, 480, 20480, 1119, 18, 4066, 20093, 13, 5411, 327, 31, 3639, 2176, 18, 739, 5621, 3639, 775, 288, 5411, 919, 273, 20480, 1119, 18, 29358, 31, 5411, 309, 261, 19476, 2531, 18, 5699, 9123, 1282, 1435, 422, 374, 13, 7734, 11722, 2531, 18, 9340, 5621, 3639, 289, 3095, 288, 5411, 2176, 18, 26226, 5621, 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 ]
workManager.scheduleWork(this, WorkManager.INDEFINITE, null, null);
workManager.scheduleWork(this, WorkManager.INDEFINITE, null, this);
public void doStart() throws UMOException { try { // Need to initialise the pool only after all listerner have // been // registed and initialised so we need to delay until now if (!poolInitialised.get() && enablePooling) { initialisePool(); proxyPool.start(); } else if (!componentPerRequest) { componentProxy = createComponentProxy(); } workManager.start(); workManager.scheduleWork(this, WorkManager.INDEFINITE, null, null); } catch (Exception e) { throw new LifecycleException(new Message(Messages.FAILED_TO_START_X, "Component: " + descriptor.getName()), e, this); } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/a66bf902f38709aee1a3826c3249a37c59a12047/SedaComponent.java/clean/mule/src/java/org/mule/impl/model/seda/SedaComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 1685, 1435, 1216, 587, 5980, 503, 288, 3639, 775, 288, 5411, 368, 12324, 358, 21301, 326, 2845, 1338, 1839, 777, 666, 264, 1224, 1240, 5411, 368, 2118, 5411, 368, 960, 25444, 471, 30372, 1427, 732, 1608, 358, 4624, 3180, 2037, 5411, 309, 16051, 6011, 4435, 5918, 18, 588, 1435, 597, 4237, 2864, 310, 13, 288, 7734, 21301, 2864, 5621, 7734, 2889, 2864, 18, 1937, 5621, 5411, 289, 469, 309, 16051, 4652, 2173, 691, 13, 288, 7734, 1794, 3886, 273, 752, 1841, 3886, 5621, 5411, 289, 5411, 1440, 1318, 18, 1937, 5621, 5411, 1440, 1318, 18, 10676, 2421, 12, 2211, 16, 4147, 1318, 18, 706, 12348, 5398, 16, 446, 16, 333, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 14283, 503, 12, 2704, 2350, 12, 5058, 18, 11965, 67, 4296, 67, 7570, 67, 60, 16, 315, 1841, 30, 315, 10792, 397, 4950, 18, 17994, 1435, 3631, 425, 16, 333, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 775, 288, 5411, 368, 12324, 358, 21301, 326, 2845, 1338, 1839, 777, 666, 264, 1224, 1240, 5411, 368, 2118, 5411, 368, 960, 25444, 471, 30372, 1427, 732, 1608, 358, 4624, 3180, 2037, 5411, 309, 16051, 6011, 4435, 5918, 18, 588, 1435, 597, 4237, 2864, 310, 13, 288, 7734, 21301, 2864, 5621, 7734, 2889, 2864, 18, 1937, 5621, 5411, 289, 469, 309, 16051, 4652, 2173, 691, 13, 288, 7734, 1794, 3886, 273, 752, 1841, 3886, 5621, 5411, 289, 5411, 1440, 1318, 18, 1937, 5621, 5411, 1440, 1318, 18, 10676, 2421, 12, 2211, 16, 4147, 1318, 18, 706, 12348, 5398, 16, 446, 16, 333, 1769, 3639, 289, 1044, 261, 2 ]
return ((SIRFilter)fire.contents).getPeekInt();
return ((SIRFilter)fire.contents).getPopInt();
private int itemsNeededToFire(FlatNode fire, SimulationCounter counters) { if (initSimulation && !counters.hasFired(fire)) { if (fire.contents instanceof SIRTwoStageFilter){ //if the twostage does nothing in its initWork() //then the initWork should not count as an execution //return peek items as the needed items SIRTwoStageFilter two = (SIRTwoStageFilter)fire.contents; if (two.getInitPeek() == 0 && two.getInitPush() == 0 && two.getInitPop() == 0) { return two.getPeekInt(); } return ((SIRTwoStageFilter)fire.contents).getInitPeek(); } else return ((SIRFilter)fire.contents).getPeekInt(); } else return ((SIRFilter)fire.contents).getPopInt(); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/04f4f446bceffbf6f51efb04be58ccbcd8700b64/FineGrainSimulator.java/clean/streams/src/at/dms/kjc/raw/FineGrainSimulator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1516, 11449, 774, 9723, 12, 16384, 907, 4452, 16, 9587, 6234, 4789, 13199, 13, 377, 288, 202, 430, 261, 2738, 18419, 597, 401, 23426, 18, 5332, 42, 2921, 12, 12179, 3719, 288, 202, 565, 309, 261, 12179, 18, 3980, 1276, 5705, 54, 11710, 8755, 1586, 15329, 202, 202, 759, 430, 326, 2339, 669, 410, 1552, 5083, 316, 2097, 1208, 2421, 1435, 202, 202, 759, 15991, 326, 1208, 2421, 1410, 486, 1056, 487, 392, 4588, 202, 202, 759, 2463, 8032, 1516, 487, 326, 3577, 1516, 202, 202, 2320, 54, 11710, 8755, 1586, 2795, 273, 261, 2320, 54, 11710, 8755, 1586, 13, 12179, 18, 3980, 31, 202, 202, 430, 261, 15415, 18, 588, 2570, 30950, 1435, 422, 374, 597, 1082, 565, 2795, 18, 588, 2570, 7621, 1435, 422, 374, 597, 1082, 565, 2795, 18, 588, 2570, 7049, 1435, 422, 374, 13, 288, 1082, 565, 327, 2795, 18, 588, 30950, 1702, 5621, 202, 202, 97, 202, 202, 2463, 14015, 2320, 54, 11710, 8755, 1586, 13, 12179, 18, 3980, 2934, 588, 2570, 30950, 5621, 202, 565, 289, 202, 565, 469, 3196, 202, 2463, 14015, 2320, 54, 1586, 13, 12179, 18, 3980, 2934, 588, 30950, 1702, 5621, 202, 97, 202, 12107, 202, 565, 327, 14015, 2320, 54, 1586, 13, 12179, 18, 3980, 2934, 588, 7049, 1702, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1516, 11449, 774, 9723, 12, 16384, 907, 4452, 16, 9587, 6234, 4789, 13199, 13, 377, 288, 202, 430, 261, 2738, 18419, 597, 401, 23426, 18, 5332, 42, 2921, 12, 12179, 3719, 288, 202, 565, 309, 261, 12179, 18, 3980, 1276, 5705, 54, 11710, 8755, 1586, 15329, 202, 202, 759, 430, 326, 2339, 669, 410, 1552, 5083, 316, 2097, 1208, 2421, 1435, 202, 202, 759, 15991, 326, 1208, 2421, 1410, 486, 1056, 487, 392, 4588, 202, 202, 759, 2463, 8032, 1516, 487, 326, 3577, 1516, 202, 202, 2320, 54, 11710, 8755, 1586, 2795, 273, 261, 2320, 54, 11710, 8755, 1586, 13, 12179, 18, 3980, 31, 202, 202, 430, 261, 15415, 18, 588, 2570, 30950, 1435, 422, 374, 2 ]
private static boolean haveActiveFrames() { final WindowManagerEx wmanager = WindowManagerEx.getInstanceEx(); if (wmanager == null) return false; for (IdeFrame frame : wmanager.getAllFrames()) { if (frame != null && frame.getState() != JFrame.ICONIFIED) return true; } return false; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6015, 270, 395, 2126, 6494, 21516, 3896, 15162, 1435, 95, 6385, 3829, 1318, 424, 91, 4181, 33, 3829, 1318, 424, 18, 588, 1442, 424, 5621, 430, 12, 91, 4181, 631, 2011, 13, 2463, 5743, 31, 1884, 12, 45, 323, 3219, 3789, 30, 91, 4181, 18, 588, 1595, 15162, 10756, 95, 430, 12, 3789, 5, 33, 2011, 10, 10, 3789, 18, 588, 1119, 1435, 5, 33, 46, 3219, 18, 21745, 13519, 13, 2463, 3767, 31, 97, 2463, 5743, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6015, 270, 395, 2126, 6494, 21516, 3896, 15162, 1435, 95, 6385, 3829, 1318, 424, 91, 4181, 33, 3829, 1318, 424, 18, 588, 1442, 424, 5621, 430, 12, 91, 4181, 631, 2011, 13, 2463, 5743, 31, 1884, 12, 45, 323, 3219, 3789, 30, 91, 4181, 18, 588, 1595, 15162, 10756, 95, 430, 12, 3789, 5, 33, 2011, 10, 10, 3789, 18, 588, 1119, 1435, 5, 33, 46, 3219, 18, 21745, 13519, 13, 2463, 3767, 31, 97, 2463, 5743, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
FunctionSource functionSource(DebuggableScript fnOrScript) {
private FunctionSource functionSource(DebuggableScript fnOrScript) {
FunctionSource functionSource(DebuggableScript fnOrScript) { return (FunctionSource)functionToSource.get(fnOrScript); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/2d4fc75b74d717c754829dde488ff0a7456682cc/Dim.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4284, 1830, 445, 1830, 12, 2829, 8455, 3651, 2295, 1162, 3651, 13, 565, 288, 3639, 327, 261, 2083, 1830, 13, 915, 774, 1830, 18, 588, 12, 4293, 1162, 3651, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4284, 1830, 445, 1830, 12, 2829, 8455, 3651, 2295, 1162, 3651, 13, 565, 288, 3639, 327, 261, 2083, 1830, 13, 915, 774, 1830, 18, 588, 12, 4293, 1162, 3651, 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 ]