rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
IEditorPart editor = page.findEditor(new WelcomeEditorInput());
IEditorPart editor = page.findEditor(input);
public void run() { WorkbenchPage page = (WorkbenchPage)workbench.getActiveWorkbenchWindow().getActivePage(); if (page == null) { // Create the initial page. try { IContainer root = WorkbenchPlugin.getPluginWorkspace().getRoot(); page = (WorkbenchPage)workbench.getActiveWorkbenchWindow().openPage( WorkbenchPlugin.getDefault().getPerspectiveRegistry().getDefaultPerspective(), root); } catch (WorkbenchException e) { MessageDialog.openError( workbench.getActiveWorkbenchWindow().getShell(), WorkbenchMessages.getString("Problems_Opening_Page"), //$NON-NLS-1$ e.getMessage()); } } if (page == null) return; page.setEditorAreaVisible(true); // see if we already have a welcome editor IEditorPart editor = page.findEditor(new WelcomeEditorInput()); if(editor != null) { page.bringToTop(editor); return; } try { page.openEditor(new WelcomeEditorInput(), EDITOR_ID); } catch (PartInitException e) { IStatus status = new Status(IStatus.ERROR, WorkbenchPlugin.PI_WORKBENCH, 1, WorkbenchMessages.getString("QuickStartAction.openEditorException"), e); //$NON-NLS-1$ ErrorDialog.openError( workbench.getActiveWorkbenchWindow().getShell(), WorkbenchMessages.getString("QuickStartAction.errorDialogTitle"), //$NON-NLS-1$ WorkbenchMessages.getString("QuickStartAction.errorDialogMessage"), //$NON-NLS-1$ status); }}
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ea54731eb383911fc4c34e3f9e00e33dad9ed4fb/QuickStartAction.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/QuickStartAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1086, 1435, 288, 202, 2421, 22144, 1964, 1363, 273, 261, 2421, 22144, 1964, 13, 1252, 22144, 18, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 202, 430, 261, 2433, 422, 446, 13, 288, 202, 202, 759, 1788, 326, 2172, 1363, 18, 202, 202, 698, 288, 1082, 202, 45, 2170, 1365, 273, 4147, 22144, 3773, 18, 588, 3773, 8241, 7675, 588, 2375, 5621, 1082, 202, 2433, 273, 261, 2421, 22144, 1964, 13, 1252, 22144, 18, 588, 3896, 2421, 22144, 3829, 7675, 3190, 1964, 12, 9506, 202, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 14781, 16772, 4243, 7675, 588, 1868, 14781, 16772, 9334, 1365, 1769, 202, 202, 97, 1044, 261, 2421, 22144, 503, 425, 13, 288, 1082, 202, 1079, 6353, 18, 3190, 668, 12, 9506, 202, 1252, 22144, 18, 588, 3896, 2421, 22144, 3829, 7675, 588, 13220, 9334, 4697, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 626, 19122, 67, 21378, 67, 1964, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 73, 18, 24906, 10663, 202, 202, 97, 202, 97, 202, 430, 261, 2433, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 2433, 18, 542, 6946, 5484, 6207, 12, 3767, 1769, 202, 759, 2621, 309, 732, 1818, 1240, 279, 28329, 4858, 202, 45, 6946, 1988, 4858, 273, 1363, 18, 4720, 6946, 12, 2704, 678, 16312, 6946, 1210, 10663, 202, 430, 12, 9177, 480, 446, 13, 288, 202, 202, 2433, 18, 2848, 310, 774, 3401, 12, 9177, 1769, 202, 202, 2463, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1086, 1435, 288, 202, 2421, 22144, 1964, 1363, 273, 261, 2421, 22144, 1964, 13, 1252, 22144, 18, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 202, 430, 261, 2433, 422, 446, 13, 288, 202, 202, 759, 1788, 326, 2172, 1363, 18, 202, 202, 698, 288, 1082, 202, 45, 2170, 1365, 273, 4147, 22144, 3773, 18, 588, 3773, 8241, 7675, 588, 2375, 5621, 1082, 202, 2433, 273, 261, 2421, 22144, 1964, 13, 1252, 22144, 18, 588, 3896, 2421, 22144, 3829, 7675, 3190, 1964, 12, 9506, 202, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 14781, 16772, 4243, 7675, 588, 1868, 14781, 16772, 9334, 1365, 1769, 202, 202, 97, 1044, 261, 2421, 22144, 503, 425, 13, 288, 2 ]
parse(buffer.toString(), ParserLanguage.CPP, false, true);
parse(buffer.toString(), ParserLanguage.CPP, true, 0);
public void test7_3_3s5() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("class A {\n"); //$NON-NLS-1$ buffer.append("public:\n"); //$NON-NLS-1$ buffer.append("template <class T> void f(T);\n"); //$NON-NLS-1$ buffer.append("template <class T> struct X { };\n"); //$NON-NLS-1$ buffer.append("};\n"); //$NON-NLS-1$ buffer.append("class B : public A {\n"); //$NON-NLS-1$ buffer.append("public:\n"); //$NON-NLS-1$ buffer.append("using A::f<double>; // illformed\n"); //$NON-NLS-1$ buffer.append("using A::X<int>; // illformed\n"); //$NON-NLS-1$ buffer.append("};\n"); //$NON-NLS-1$ parse(buffer.toString(), ParserLanguage.CPP, false, true); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7d7fa374bfd169ce8924a5c15bd01444e6e6e445/AST2CPPSpecTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPSpecTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 27, 67, 23, 67, 23, 87, 25, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 4106, 18, 6923, 2932, 1106, 432, 18890, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 482, 5581, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 3202, 411, 1106, 399, 34, 918, 284, 12, 56, 20472, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 3202, 411, 1106, 399, 34, 1958, 1139, 288, 289, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 97, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 1106, 605, 294, 1071, 432, 18890, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 482, 5581, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 9940, 432, 2866, 74, 32, 9056, 34, 31, 368, 277, 2906, 7312, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 9940, 432, 2866, 60, 32, 474, 34, 31, 368, 277, 2906, 7312, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 97, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2670, 12, 4106, 18, 10492, 9334, 6783, 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, 27, 67, 23, 67, 23, 87, 25, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 4106, 18, 6923, 2932, 1106, 432, 18890, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 482, 5581, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 3202, 411, 1106, 399, 34, 918, 284, 12, 56, 20472, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 3202, 411, 1106, 399, 34, 1958, 1139, 288, 289, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 97, 9747, 82, 2 ]
String name, displayName, url, language, home; HashSet oper, affil; HashMap attrs;
String name, displayName, url, language, home; HashSet oper, affil; HashMap attrs;
AuthorizationClient parseClientElem(Element element) throws IllegalConfigException { String name, displayName, url, language, home; HashSet oper, affil; HashMap attrs; if (element == null) throw new IllegalArgumentException("Element cannot be null"); name = element.getAttributeValue("name"); if (name == null || name.equals("")) throw new IllegalConfigException("Name attribute must be a non empty string."); displayName = getChildContent(element, "DisplayName"); url = getChildContent(element, "URL"); language = getChildContent(element, "Language"); home = getChildContent(element, "Home"); attrs = parseAttributesElem(element.getChild("Attributes")); oper = parseListElem(element.getChild("Operations")); affil = parseListElem(element.getChild("Affiliation")); return new AuthorizationClient(name, displayName, url, language, home, affil, oper, attrs); }
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/aae449b8f0b3690db2dc4c5b5a6e10bd6c5b319c/AuthorizationManager.java/clean/moria2/modules/moria-am/src/java/no/feide/moria/authorization/AuthorizationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6063, 1227, 1109, 1227, 7498, 12, 1046, 930, 13, 1216, 2141, 18625, 288, 202, 202, 780, 508, 16, 16218, 16, 880, 16, 2653, 16, 6382, 31, 202, 202, 13482, 2255, 16, 7103, 330, 31, 202, 202, 8658, 3422, 31, 202, 202, 430, 261, 2956, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 1046, 2780, 506, 446, 8863, 202, 202, 529, 273, 930, 18, 588, 14942, 2932, 529, 8863, 202, 202, 430, 261, 529, 422, 446, 747, 508, 18, 14963, 2932, 6, 3719, 1082, 202, 12849, 394, 2141, 18625, 2932, 461, 1566, 1297, 506, 279, 1661, 1008, 533, 1199, 1769, 202, 202, 5417, 461, 273, 8154, 1350, 12, 2956, 16, 315, 20524, 8863, 202, 202, 718, 273, 8154, 1350, 12, 2956, 16, 315, 1785, 8863, 202, 202, 4923, 273, 8154, 1350, 12, 2956, 16, 315, 3779, 8863, 202, 202, 8712, 273, 8154, 1350, 12, 2956, 16, 315, 8684, 8863, 202, 202, 7039, 273, 1109, 2498, 7498, 12, 2956, 18, 588, 1763, 2932, 2498, 7923, 1769, 202, 202, 4063, 273, 1109, 682, 7498, 12, 2956, 18, 588, 1763, 2932, 9343, 7923, 1769, 202, 202, 7329, 330, 273, 1109, 682, 7498, 12, 2956, 18, 588, 1763, 2932, 13785, 16278, 7923, 1769, 202, 202, 2463, 394, 10234, 1227, 12, 529, 16, 16218, 16, 880, 16, 2653, 16, 6382, 16, 7103, 330, 16, 2255, 16, 3422, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6063, 1227, 1109, 1227, 7498, 12, 1046, 930, 13, 1216, 2141, 18625, 288, 202, 202, 780, 508, 16, 16218, 16, 880, 16, 2653, 16, 6382, 31, 202, 202, 13482, 2255, 16, 7103, 330, 31, 202, 202, 8658, 3422, 31, 202, 202, 430, 261, 2956, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 1046, 2780, 506, 446, 8863, 202, 202, 529, 273, 930, 18, 588, 14942, 2932, 529, 8863, 202, 202, 430, 261, 529, 422, 446, 747, 508, 18, 14963, 2932, 6, 3719, 1082, 202, 12849, 394, 2141, 18625, 2932, 461, 1566, 1297, 506, 279, 1661, 1008, 533, 1199, 1769, 202, 202, 5417, 461, 273, 8154, 1350, 12, 2956, 16, 315, 20524, 8863, 202, 202, 718, 273, 2 ]
throw new RangeError(runtime, inspect().toString() + " out of range.");
throw new RangeError(getRuntime(), inspect().toString() + " out of range.");
public long[] getBeginLength(long limit, boolean truncate, boolean isStrict) { long beginLong = RubyNumeric.num2long(begin); long endLong = RubyNumeric.num2long(end); if (! isExclusive) { endLong++; } if (beginLong < 0) { beginLong += limit; if (beginLong < 0) { if (isStrict) { throw new RangeError(runtime, inspect().toString() + " out of range."); } return null; } } if (truncate && beginLong > limit) { if (isStrict) { throw new RangeError(runtime, inspect().toString() + " out of range."); } return null; } if (truncate && endLong > limit) { endLong = limit; } if (endLong < 0 || (!isExclusive && endLong == 0)) { endLong += limit; if (endLong < 0) { if (isStrict) { throw new RangeError(runtime, inspect().toString() + " out of range."); } return null; } } if (beginLong > endLong) { if (isStrict) { throw new RangeError(runtime, inspect().toString() + " out of range."); } return null; } return new long[] { beginLong, endLong - beginLong }; }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyRange.java/clean/src/org/jruby/RubyRange.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 8526, 25282, 1782, 12, 5748, 1800, 16, 1250, 10310, 16, 1250, 353, 14809, 13, 288, 3639, 1525, 2376, 3708, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 10086, 1769, 3639, 1525, 679, 3708, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 409, 1769, 3639, 309, 16051, 353, 17075, 13, 288, 5411, 679, 3708, 9904, 31, 3639, 289, 3639, 309, 261, 10086, 3708, 411, 374, 13, 288, 5411, 2376, 3708, 1011, 1800, 31, 5411, 309, 261, 10086, 3708, 411, 374, 13, 288, 7734, 309, 261, 291, 14809, 13, 288, 10792, 604, 394, 8086, 668, 12, 588, 5576, 9334, 5334, 7675, 10492, 1435, 397, 315, 596, 434, 1048, 1199, 1769, 7734, 289, 7734, 327, 446, 31, 5411, 289, 3639, 289, 3639, 309, 261, 27201, 597, 2376, 3708, 405, 1800, 13, 288, 5411, 309, 261, 291, 14809, 13, 288, 7734, 604, 394, 8086, 668, 12, 588, 5576, 9334, 5334, 7675, 10492, 1435, 397, 315, 596, 434, 1048, 1199, 1769, 5411, 289, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 27201, 597, 679, 3708, 405, 1800, 13, 288, 5411, 679, 3708, 273, 1800, 31, 3639, 289, 202, 202, 430, 261, 409, 3708, 411, 374, 225, 747, 16051, 291, 17075, 597, 679, 3708, 422, 374, 3719, 288, 1082, 202, 409, 3708, 1011, 1800, 31, 1082, 202, 430, 261, 409, 3708, 411, 374, 13, 288, 9506, 202, 430, 261, 291, 14809, 13, 288, 6862, 202, 12849, 394, 8086, 668, 12, 9448, 16, 5334, 7675, 10492, 1435, 397, 315, 596, 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, 1525, 8526, 25282, 1782, 12, 5748, 1800, 16, 1250, 10310, 16, 1250, 353, 14809, 13, 288, 3639, 1525, 2376, 3708, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 10086, 1769, 3639, 1525, 679, 3708, 273, 19817, 9902, 18, 2107, 22, 5748, 12, 409, 1769, 3639, 309, 16051, 353, 17075, 13, 288, 5411, 679, 3708, 9904, 31, 3639, 289, 3639, 309, 261, 10086, 3708, 411, 374, 13, 288, 5411, 2376, 3708, 1011, 1800, 31, 5411, 309, 261, 10086, 3708, 411, 374, 13, 288, 7734, 309, 261, 291, 14809, 13, 288, 10792, 604, 394, 8086, 668, 12, 588, 5576, 9334, 5334, 7675, 10492, 1435, 397, 315, 596, 434, 1048, 1199, 1769, 7734, 289, 7734, 327, 446, 31, 5411, 289, 2 ]
name = " (Artillery)";
name = Messages.getString("HexTarget.Artillery");
public String getDisplayName() { String name = ""; switch (m_type) { case (Targetable.TYPE_MINEFIELD_DELIVER) : name = " (Deliver minefield)"; break; case (Targetable.TYPE_HEX_CLEAR) : name = " (Clear)"; break; case (Targetable.TYPE_HEX_IGNITE) : name = " (Ignite)"; break; case (Targetable.TYPE_HEX_ARTILLERY) : name = " (Artillery)"; break; case (Targetable.TYPE_HEX_FASCAM) : name = " (FASCAM)"; break; case (Targetable.TYPE_HEX_INFERNO_IV) : name = " (Inferno IV)"; break; case (Targetable.TYPE_HEX_VIBRABOMB_IV) : name = " (Vibrabomb IV)"; } return "Hex: " + m_coords.getBoardNum() + name; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/da0fd28b35690a37ed28474ff664daaf8f2834f2/HexTarget.java/clean/megamek/src/megamek/common/HexTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 22055, 1435, 288, 3639, 514, 508, 273, 1408, 31, 3639, 1620, 261, 81, 67, 723, 13, 288, 3639, 648, 261, 2326, 429, 18, 2399, 67, 49, 3740, 6776, 67, 20643, 2204, 13, 294, 5411, 508, 273, 315, 261, 20813, 312, 558, 1518, 2225, 31, 5411, 898, 31, 3639, 648, 261, 2326, 429, 18, 2399, 67, 20661, 67, 23181, 985, 13, 294, 5411, 508, 273, 315, 261, 9094, 2225, 31, 5411, 898, 31, 3639, 648, 261, 2326, 429, 18, 2399, 67, 20661, 67, 10452, 5398, 13, 294, 5411, 508, 273, 315, 261, 45, 1600, 1137, 2225, 31, 5411, 898, 31, 3639, 648, 261, 2326, 429, 18, 2399, 67, 20661, 67, 4928, 15125, 8404, 13, 294, 5411, 508, 273, 4838, 18, 588, 780, 2932, 7037, 2326, 18, 4411, 737, 627, 8863, 5411, 898, 31, 3639, 648, 261, 2326, 429, 18, 2399, 67, 20661, 67, 2046, 2312, 2192, 13, 294, 5411, 508, 273, 315, 261, 2046, 2312, 2192, 2225, 31, 5411, 898, 31, 3639, 648, 261, 2326, 429, 18, 2399, 67, 20661, 67, 706, 6553, 3417, 67, 8188, 13, 294, 5411, 508, 273, 315, 261, 382, 586, 2135, 21602, 2225, 31, 5411, 898, 31, 3639, 648, 261, 2326, 429, 18, 2399, 67, 20661, 67, 4136, 7192, 2090, 1872, 38, 67, 8188, 13, 294, 5411, 508, 273, 315, 261, 58, 495, 20727, 16659, 21602, 2225, 31, 3639, 289, 3639, 327, 315, 7037, 30, 315, 397, 312, 67, 9076, 18, 588, 22233, 2578, 1435, 397, 508, 31, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 22055, 1435, 288, 3639, 514, 508, 273, 1408, 31, 3639, 1620, 261, 81, 67, 723, 13, 288, 3639, 648, 261, 2326, 429, 18, 2399, 67, 49, 3740, 6776, 67, 20643, 2204, 13, 294, 5411, 508, 273, 315, 261, 20813, 312, 558, 1518, 2225, 31, 5411, 898, 31, 3639, 648, 261, 2326, 429, 18, 2399, 67, 20661, 67, 23181, 985, 13, 294, 5411, 508, 273, 315, 261, 9094, 2225, 31, 5411, 898, 31, 3639, 648, 261, 2326, 429, 18, 2399, 67, 20661, 67, 10452, 5398, 13, 294, 5411, 508, 273, 315, 261, 45, 1600, 1137, 2225, 31, 5411, 898, 31, 3639, 648, 261, 2326, 429, 18, 2399, 67, 20661, 67, 4928, 15125, 8404, 13, 294, 5411, 508, 2 ]
} else if( (doc != null) ) doc.print(new PrintWriter(out));
} else if( (doc != null) ) { XMLSerializer serializer = new XMLSerializer(new PrintWriter(out), new OutputFormat()); serializer.serialize(doc); }
private void processContainerXSL(XMLObjectProvider myObjectProvider, XSLTInputSource myXSL, OutputStream out, final String collectionType ) { TXDocument doc = null; try{ synchronized( myObjectProvider) { Object odoc= getDocument(myObjectProvider); if( odoc instanceof TXDocument) doc = (TXDocument)odoc; if( doc != null) { //Element ce = doc.createElement("Container"); //ce.setAttribute("Event", "ADD"); //doc.getFirstChild().appendChild(ce); NodeList children = doc.getFirstChild().getChildNodes(); for(int i=0; i<children.getLength(); i++) { Node n= (Node)children.item(i); Element elem = doc.createElement("Subscription"); if( collectionType.equals(GenericLogic.collectionType_ADD)) { elem.setAttribute("Event","ADD"); } else if( collectionType.equals(GenericLogic.collectionType_CHANGE)){ elem.setAttribute("Event","CHANGE"); } else if( collectionType.equals(GenericLogic.collectionType_REMOVE)){ elem.setAttribute("Event","REMOVE"); } else elem.setAttribute("Event","UNKNOWN"); n.appendChild(elem); } } } // // This is BAD. // TODO: FIX THIS // converting TO STRING TO APPLY XSL is v. inefficient. // When COUGAAR XML parser version is updated, will go away. // if( (myXSL != null) && ( doc != null) ) { StringWriter sw = new StringWriter(); doc.print(sw); StringBuffer sb = sw.getBuffer(); //System.err.println("returnVal, sb.toSTring()=" + sb.toString().substring(0,120)); //System.err.println("returnVal, sbuf.toString()=" + sbuf.toString()); StringReader sr = new StringReader(sb.toString() ); applyXSL(sr,myXSL, out); // DEBUG //doc.print(new PrintWriter(System.out)); // } else if( (doc != null) ) doc.print(new PrintWriter(out)); } catch (Exception ex ) { ex.printStackTrace(); } }
10685 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10685/862a9f1603c7ac73651303202b20d87608b51ed5/GenericQueryXML.java/buggy/aggagent/src/org/cougaar/lib/aggagent/dictionary/glquery/GenericQueryXML.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1207, 2170, 60, 4559, 12, 4201, 921, 2249, 3399, 921, 2249, 16, 4766, 282, 20751, 1210, 1830, 225, 3399, 60, 4559, 16, 8962, 596, 16, 4766, 282, 727, 514, 1849, 559, 262, 225, 288, 4202, 23211, 2519, 997, 273, 446, 31, 4202, 775, 95, 2398, 3852, 12, 3399, 921, 2249, 13, 2398, 288, 5397, 1033, 320, 2434, 33, 9956, 12, 4811, 921, 2249, 1769, 5397, 309, 12, 320, 2434, 1276, 23211, 2519, 13, 997, 273, 261, 16556, 2519, 13, 369, 504, 31, 5397, 309, 12, 997, 480, 446, 13, 5397, 288, 7682, 368, 1046, 5898, 273, 997, 18, 2640, 1046, 2932, 2170, 8863, 7682, 368, 311, 18, 542, 1499, 2932, 1133, 3113, 315, 8355, 8863, 7682, 368, 2434, 18, 588, 3759, 1763, 7675, 6923, 1763, 12, 311, 1769, 7682, 16781, 2325, 273, 997, 18, 588, 3759, 1763, 7675, 588, 22460, 5621, 7682, 364, 12, 474, 277, 33, 20, 31, 277, 32, 5906, 18, 588, 1782, 5621, 277, 27245, 7682, 288, 11794, 2029, 290, 33, 261, 907, 13, 5906, 18, 1726, 12, 77, 1769, 11794, 3010, 3659, 273, 997, 18, 2640, 1046, 2932, 6663, 8863, 11794, 309, 12, 1849, 559, 18, 14963, 12, 7014, 20556, 18, 5548, 559, 67, 8355, 3719, 288, 4766, 3659, 18, 542, 1499, 2932, 1133, 15937, 8355, 8863, 11794, 289, 11794, 469, 309, 12, 1849, 559, 18, 14963, 12, 7014, 20556, 18, 5548, 559, 67, 14473, 3719, 95, 4766, 3659, 18, 542, 1499, 2932, 1133, 15937, 14473, 8863, 11794, 289, 11794, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1207, 2170, 60, 4559, 12, 4201, 921, 2249, 3399, 921, 2249, 16, 4766, 282, 20751, 1210, 1830, 225, 3399, 60, 4559, 16, 8962, 596, 16, 4766, 282, 727, 514, 1849, 559, 262, 225, 288, 4202, 23211, 2519, 997, 273, 446, 31, 4202, 775, 95, 2398, 3852, 12, 3399, 921, 2249, 13, 2398, 288, 5397, 1033, 320, 2434, 33, 9956, 12, 4811, 921, 2249, 1769, 5397, 309, 12, 320, 2434, 1276, 23211, 2519, 13, 997, 273, 261, 16556, 2519, 13, 369, 504, 31, 5397, 309, 12, 997, 480, 446, 13, 5397, 288, 7682, 368, 1046, 5898, 273, 997, 18, 2640, 1046, 2932, 2170, 8863, 7682, 368, 311, 18, 542, 1499, 2932, 1133, 3113, 315, 8355, 8863, 7682, 2 ]
{ zoomLevel = ImageInspector.ZOOM_DEFAULT; control.setZoomLevel(zoomLevel); }
{ zoomLevel = ImageInspector.ZOOM_DEFAULT; control.setZoomLevel(zoomLevel); }
private void zoomFit() { zoomLevel = ImageInspector.ZOOM_DEFAULT; control.setZoomLevel(zoomLevel); }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/c61e383c3ea1df4e7b870a5e40d70e12c9ce01f4/ZoomBarManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/zooming/ZoomBarManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 7182, 14219, 1435, 202, 95, 202, 202, 14932, 2355, 273, 3421, 19443, 18, 62, 51, 1872, 67, 5280, 31, 202, 202, 7098, 18, 542, 11497, 2355, 12, 14932, 2355, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 7182, 14219, 1435, 202, 95, 202, 202, 14932, 2355, 273, 3421, 19443, 18, 62, 51, 1872, 67, 5280, 31, 202, 202, 7098, 18, 542, 11497, 2355, 12, 14932, 2355, 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 ]
row = new HashMap<String, Object>();
row = new TreeMap<String, Object>(String.CASE_INSENSITIVE_ORDER);
public final void set(String name, Object value) { if (row == null) { row = new HashMap<String, Object>(); } row.put(name, value); }
55401 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55401/f15cc109d1e02d62528b4b0e722ab3cb12d2b7bd/JaninoQuery.java/clean/drivers/src/java/scriptella/drivers/janino/JaninoQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 12, 780, 508, 16, 1033, 460, 13, 288, 3639, 309, 261, 492, 422, 446, 13, 288, 5411, 1027, 273, 394, 16381, 32, 780, 16, 1033, 34, 12, 780, 18, 13415, 67, 706, 26753, 16325, 67, 7954, 1769, 3639, 289, 3639, 1027, 18, 458, 12, 529, 16, 460, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 12, 780, 508, 16, 1033, 460, 13, 288, 3639, 309, 261, 492, 422, 446, 13, 288, 5411, 1027, 273, 394, 16381, 32, 780, 16, 1033, 34, 12, 780, 18, 13415, 67, 706, 26753, 16325, 67, 7954, 1769, 3639, 289, 3639, 1027, 18, 458, 12, 529, 16, 460, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 ((userRole.getName()) == role.getName()) {
if (userRole.getName().equals(role.getName())) {
public int doStartTag() throws JspException { PortletRequest req = (PortletRequest) pageContext.getAttribute("portletRequest"); PortletRole userRole = req.getRole(); if (userRole != null) { if (exclusive) { if ((userRole.getName()) == role.getName()) { return EVAL_BODY_INCLUDE; } } else { if ((userRole.getID()) >= role.getID()) { return EVAL_BODY_INCLUDE; } } } return SKIP_BODY; }
49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/216ed8c4615d600e7450012661807bef24deed7b/HasRoleTag.java/clean/src/org/gridlab/gridsphere/provider/portletui/tags/HasRoleTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 21305, 691, 1111, 273, 261, 18566, 691, 13, 21442, 18, 588, 1499, 2932, 655, 1810, 691, 8863, 3639, 21305, 2996, 729, 2996, 273, 1111, 18, 588, 2996, 5621, 3639, 309, 261, 1355, 2996, 480, 446, 13, 288, 5411, 309, 261, 23792, 13, 288, 7734, 309, 261, 1355, 2996, 18, 17994, 7675, 14963, 12, 4615, 18, 17994, 1435, 3719, 288, 10792, 327, 512, 2669, 67, 16691, 67, 26003, 31, 7734, 289, 5411, 289, 469, 288, 7734, 309, 14015, 1355, 2996, 18, 588, 734, 10756, 1545, 2478, 18, 588, 734, 10756, 288, 10792, 327, 512, 2669, 67, 16691, 67, 26003, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 18420, 67, 16691, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 21305, 691, 1111, 273, 261, 18566, 691, 13, 21442, 18, 588, 1499, 2932, 655, 1810, 691, 8863, 3639, 21305, 2996, 729, 2996, 273, 1111, 18, 588, 2996, 5621, 3639, 309, 261, 1355, 2996, 480, 446, 13, 288, 5411, 309, 261, 23792, 13, 288, 7734, 309, 261, 1355, 2996, 18, 17994, 7675, 14963, 12, 4615, 18, 17994, 1435, 3719, 288, 10792, 327, 512, 2669, 67, 16691, 67, 26003, 31, 7734, 289, 5411, 289, 469, 288, 7734, 309, 14015, 1355, 2996, 18, 588, 734, 10756, 1545, 2478, 18, 588, 734, 10756, 288, 10792, 327, 512, 2669, 67, 16691, 67, 26003, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 18420, 67, 2 ]
classFile.startMethod(getSourceMethodStr, mainImplSig, (short)flags); push(encodedSource); addByteCode(ByteCode.ILOAD_0); addByteCode(ByteCode.ILOAD_1); classFile.addInvoke(ByteCode.INVOKEVIRTUAL, "java/lang/String", "substring", "(II)Ljava/lang/String;"); addByteCode(ByteCode.ARETURN); classFile.stopMethod((short)2, null);
cfw.startMethod(getSourceMethodStr, mainImplSig, (short)flags); cfw.addPush(encodedSource); cfw.add(ByteCode.ILOAD_0); cfw.add(ByteCode.ILOAD_1); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, "java/lang/String", "substring", "(II)Ljava/lang/String;"); cfw.add(ByteCode.ARETURN); cfw.stopMethod((short)2, null);
private void generateInit(Context cx, String superClassName) { String methodName = (inFunction) ? "<init>" : "initScript"; classFile.startMethod(methodName, "(Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;)V", ClassFileWriter.ACC_PUBLIC); final byte ALOAD_SCOPE = ByteCode.ALOAD_1; final byte ALOAD_CONTEXT = ByteCode.ALOAD_2; if (inFunction) { addByteCode(ByteCode.ALOAD_0); addSpecialInvoke(superClassName, "<init>", "()V"); addByteCode(ByteCode.ALOAD_0); addByteCode(ALOAD_SCOPE); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/ScriptableObject", "parent", "Lorg/mozilla/javascript/Scriptable;"); /* * Generate code to initialize functionName field with the name * of the function. */ String name = fnCurrent.getFunctionName(); if (name.length() != 0) { addByteCode(ByteCode.ALOAD_0); classFile.addLoadConstant(name); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "functionName", "Ljava/lang/String;"); } } /* * Generate code to initialize argNames string array with the names * of the parameters and the vars. Initialize argCount * to the number of formal parameters. */ int N = scriptOrFn.getParamAndVarCount(); if (N != 0) { push(N); addByteCode(ByteCode.ANEWARRAY, "java/lang/String"); for (int i = 0; i != N; i++) { addByteCode(ByteCode.DUP); push(i); push(scriptOrFn.getParamOrVarName(i)); addByteCode(ByteCode.AASTORE); } addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.SWAP); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "argNames", "[Ljava/lang/String;"); } int parmCount = scriptOrFn.getParamCount(); if (parmCount != 0) { if (!inFunction) Context.codeBug(); addByteCode(ByteCode.ALOAD_0); push(parmCount); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "argCount", "S"); } // Initialize NativeFunction.version with Context's version. if (cx.getLanguageVersion() != 0) { addByteCode(ByteCode.ALOAD_0); push(cx.getLanguageVersion()); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "version", "S"); } // precompile all regexp literals int regexpCount = scriptOrFn.getRegexpCount(); if (regexpCount != 0) { for (int i = 0; i != regexpCount; ++i) { String fieldName = getRegexpFieldName(i); short flags = ClassFileWriter.ACC_PRIVATE; if (inFunction) { flags |= ClassFileWriter.ACC_FINAL; } classFile.addField( fieldName, "Lorg/mozilla/javascript/regexp/NativeRegExp;", flags); addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ByteCode.NEW, "org/mozilla/javascript/regexp/NativeRegExp"); addByteCode(ByteCode.DUP); addByteCode(ALOAD_CONTEXT); addByteCode(ALOAD_SCOPE); push(scriptOrFn.getRegexpString(i)); String regexpFlags = scriptOrFn.getRegexpFlags(i); if (regexpFlags == null) { addByteCode(ByteCode.ACONST_NULL); } else { push(regexpFlags); } push(0); addSpecialInvoke("org/mozilla/javascript/regexp/NativeRegExp", "<init>", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/String;Ljava/lang/String;" +"Z" +")V"); classFile.add(ByteCode.PUTFIELD, generatedClassName, fieldName, "Lorg/mozilla/javascript/regexp/NativeRegExp;"); } } classFile.addField(MAIN_SCRIPT_FIELD, mainCodegen.generatedClassSignature, (short)0); // For top level script or function init scriptMaster to self if (isMainCodegen) { addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.DUP); classFile.add(ByteCode.PUTFIELD, generatedClassName, MAIN_SCRIPT_FIELD, mainCodegen.generatedClassSignature); } addByteCode(ByteCode.RETURN); // 3 = this + scope + context classFile.stopMethod((short)3, null); // Add static method to return encoded source tree for decompilation // which will be called from OptFunction/OptScrript.getSourcesTree // via reflection. See NativeFunction.getSourcesTree for documentation. // Note that nested function decompilation currently depends on the // elements of the fns array being defined in source order. // (per function/script, starting from 0.) // Change Parser if changing ordering. if (mainCodegen.encodedSource != null) { // Override NativeFunction.getEncodedSourceg() with // public String getEncodedSource() // { // return main_class.getEncodedSourceImpl(START, END); // } short flags = ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_STATIC; String getSourceMethodStr = "getEncodedSourceImpl"; String mainImplSig = "(II)Ljava/lang/String;"; classFile.startMethod("getEncodedSource", "()Ljava/lang/Object;", ClassFileWriter.ACC_PUBLIC); push(scriptOrFn.getEncodedSourceStart()); push(scriptOrFn.getEncodedSourceEnd()); classFile.addInvoke(ByteCode.INVOKESTATIC, mainCodegen.generatedClassName, getSourceMethodStr, mainImplSig); addByteCode(ByteCode.ARETURN); // 1: this and no argument or locals classFile.stopMethod((short)1, null); if (isMainCodegen) { // generate // public static String getEncodedSourceImpl(int start, int end) // { // return ENCODED.substring(start, end); // } classFile.startMethod(getSourceMethodStr, mainImplSig, (short)flags); push(encodedSource); addByteCode(ByteCode.ILOAD_0); addByteCode(ByteCode.ILOAD_1); classFile.addInvoke(ByteCode.INVOKEVIRTUAL, "java/lang/String", "substring", "(II)Ljava/lang/String;"); addByteCode(ByteCode.ARETURN); classFile.stopMethod((short)2, null); } } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2570, 12, 1042, 9494, 16, 514, 2240, 3834, 13, 565, 288, 3639, 514, 4918, 273, 261, 267, 2083, 13, 692, 3532, 2738, 2984, 294, 225, 315, 2738, 3651, 14432, 3639, 29728, 18, 1937, 1305, 12, 2039, 461, 16, 17311, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 17311, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 30943, 58, 3113, 17311, 30614, 2289, 18, 31414, 67, 14939, 1769, 3639, 727, 1160, 432, 7783, 67, 19444, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 21, 31, 3639, 727, 1160, 432, 7783, 67, 13181, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 22, 31, 3639, 309, 261, 267, 2083, 13, 288, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 5411, 527, 12193, 10969, 12, 9565, 3834, 16, 3532, 2738, 2984, 16, 25605, 58, 8863, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 5411, 527, 3216, 1085, 12, 1013, 51, 1880, 67, 19444, 1769, 5411, 29728, 18, 1289, 12, 3216, 1085, 18, 4762, 6776, 16, 12900, 315, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 921, 3113, 12900, 315, 2938, 3113, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 1769, 5411, 1748, 2398, 380, 6654, 981, 358, 4046, 14117, 652, 598, 326, 508, 2398, 380, 434, 326, 445, 18, 2398, 1195, 5411, 514, 508, 273, 2295, 3935, 18, 588, 25258, 5621, 5411, 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, 3238, 918, 2103, 2570, 12, 1042, 9494, 16, 514, 2240, 3834, 13, 565, 288, 3639, 514, 4918, 273, 261, 267, 2083, 13, 692, 3532, 2738, 2984, 294, 225, 315, 2738, 3651, 14432, 3639, 29728, 18, 1937, 1305, 12, 2039, 461, 16, 17311, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 17311, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 30943, 58, 3113, 17311, 30614, 2289, 18, 31414, 67, 14939, 1769, 3639, 727, 1160, 432, 7783, 67, 19444, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 21, 31, 3639, 727, 1160, 432, 7783, 67, 13181, 273, 3506, 1085, 18, 1013, 51, 1880, 67, 22, 31, 3639, 309, 261, 267, 2083, 13, 288, 2 ]
Extent blockSize = Extent.fromInt(BlockAllocator.blockSize(blockSizeClass[sizeClass]));
Extent blockSize = Extent.fromIntSignExtend(BlockAllocator.blockSize(blockSizeClass[sizeClass]));
protected final Address makeFreeListFromLiveBits(Address block, int sizeClass) throws InlinePragma { Extent cellBytes = Extent.fromInt(cellSize[sizeClass]); Address cellCursor = block.add(blockHeaderSize[sizeClass]); Extent blockSize = Extent.fromInt(BlockAllocator.blockSize(blockSizeClass[sizeClass])); Address end = block.add(blockSize); Address nextFree = Address.zero(); Address nextCellCursor = cellCursor.add(cellBytes); Address liveCursor = alignToLiveStride(cellCursor); Address liveWordCursor = getLiveWordAddress(liveCursor); boolean isLive = false; while (liveCursor.LT(end)) { Word live = liveWordCursor.loadWord(); if (!live.isZero()) { for (int i=0; i < BITS_IN_WORD; i++) { if (!(live.and(Word.one().lsh(i)).isZero())) isLive = true; liveCursor = liveCursor.add(BYTES_PER_LIVE_BIT); if (liveCursor.GE(nextCellCursor)) { if (!isLive) { free(cellCursor, block, sizeClass, nextFree); nextFree = cellCursor; } cellCursor = nextCellCursor; nextCellCursor = nextCellCursor.add(cellBytes); isLive = false; } } } else { liveCursor = liveCursor.add(BYTES_PER_LIVE_WORD); while (liveCursor.GE(nextCellCursor)) { // while (nextCellCursor.LT(liveCursor)) { if (!isLive) { free(cellCursor, block, sizeClass, nextFree); nextFree = cellCursor; } cellCursor = nextCellCursor; nextCellCursor = nextCellCursor.add(cellBytes); isLive = false; } } liveWordCursor = liveWordCursor.add(BYTES_IN_WORD); } return nextFree; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/8dfe8cd586b96d63fa7fc0e721eee0627995e5e3/SegregatedFreeList.java/buggy/MMTk/src/org/mmtk/utility/alloc/SegregatedFreeList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 5267, 1221, 9194, 682, 1265, 12328, 6495, 12, 1887, 1203, 16, 4766, 15604, 509, 963, 797, 13, 565, 1216, 16355, 2050, 9454, 288, 565, 6419, 319, 2484, 2160, 273, 6419, 319, 18, 2080, 1702, 12, 3855, 1225, 63, 1467, 797, 19226, 565, 5267, 2484, 6688, 273, 1203, 18, 1289, 12, 2629, 1864, 1225, 63, 1467, 797, 19226, 565, 6419, 319, 13766, 273, 6419, 319, 18, 2080, 1702, 2766, 16675, 12, 1768, 21156, 18, 2629, 1225, 12, 2629, 1225, 797, 63, 1467, 797, 5717, 1769, 565, 5267, 679, 273, 1203, 18, 1289, 12, 2629, 1225, 1769, 565, 5267, 1024, 9194, 273, 5267, 18, 7124, 5621, 565, 5267, 1024, 4020, 6688, 273, 2484, 6688, 18, 1289, 12, 3855, 2160, 1769, 565, 5267, 8429, 6688, 273, 5689, 30583, 1585, 831, 12, 3855, 6688, 1769, 565, 5267, 8429, 3944, 6688, 273, 9014, 688, 3944, 1887, 12, 16472, 6688, 1769, 565, 1250, 353, 12328, 273, 629, 31, 565, 1323, 261, 16472, 6688, 18, 12050, 12, 409, 3719, 288, 1377, 9926, 8429, 273, 8429, 3944, 6688, 18, 945, 3944, 5621, 1377, 309, 16051, 16472, 18, 291, 7170, 10756, 288, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 411, 605, 10158, 67, 706, 67, 7952, 31, 277, 27245, 288, 1850, 309, 16051, 12, 16472, 18, 464, 12, 3944, 18, 476, 7675, 80, 674, 12, 77, 13, 2934, 291, 7170, 1435, 3719, 5411, 353, 12328, 273, 638, 31, 1850, 8429, 6688, 273, 8429, 6688, 18, 1289, 12, 13718, 67, 3194, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 5267, 1221, 9194, 682, 1265, 12328, 6495, 12, 1887, 1203, 16, 4766, 15604, 509, 963, 797, 13, 565, 1216, 16355, 2050, 9454, 288, 565, 6419, 319, 2484, 2160, 273, 6419, 319, 18, 2080, 1702, 12, 3855, 1225, 63, 1467, 797, 19226, 565, 5267, 2484, 6688, 273, 1203, 18, 1289, 12, 2629, 1864, 1225, 63, 1467, 797, 19226, 565, 6419, 319, 13766, 273, 6419, 319, 18, 2080, 1702, 2766, 16675, 12, 1768, 21156, 18, 2629, 1225, 12, 2629, 1225, 797, 63, 1467, 797, 5717, 1769, 565, 5267, 679, 273, 1203, 18, 1289, 12, 2629, 1225, 1769, 565, 5267, 1024, 9194, 273, 5267, 18, 7124, 5621, 565, 5267, 1024, 4020, 6688, 273, 2484, 6688, 18, 1289, 12, 3855, 2 ]
CellConstraints cc = (CellConstraints) component.getCustomLayoutConstraints(); if (cc != null) {
if (component.getCustomLayoutConstraints() instanceof CellConstraints) { CellConstraints cc = (CellConstraints) component.getCustomLayoutConstraints();
private static CellConstraints gridToCellConstraints(final RadComponent component) { GridConstraints gc = component.getConstraints(); CellConstraints.Alignment hAlign = ((gc.getHSizePolicy() & GridConstraints.SIZEPOLICY_WANT_GROW) != 0) ? CellConstraints.FILL : CellConstraints.DEFAULT; CellConstraints.Alignment vAlign = ((gc.getVSizePolicy() & GridConstraints.SIZEPOLICY_WANT_GROW) != 0) ? CellConstraints.FILL : CellConstraints.DEFAULT; CellConstraints cc = (CellConstraints) component.getCustomLayoutConstraints(); if (cc != null) { hAlign = cc.hAlign; vAlign = cc.vAlign; } return new CellConstraints(gc.getColumn()+1, gc.getRow()+1, gc.getColSpan(), gc.getRowSpan(), hAlign, vAlign); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/0a5ed8d54314b70b25b2e2021d87ef324041160b/RadFormLayoutManager.java/clean/ui-designer/impl/com/intellij/uiDesigner/radComponents/RadFormLayoutManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 8614, 4878, 3068, 774, 4020, 4878, 12, 6385, 16378, 1841, 1794, 13, 288, 565, 7145, 4878, 8859, 273, 1794, 18, 588, 4878, 5621, 565, 8614, 4878, 18, 11535, 366, 10044, 273, 14015, 13241, 18, 588, 44, 1225, 2582, 1435, 473, 7145, 4878, 18, 4574, 26366, 67, 59, 6856, 67, 43, 11226, 13, 480, 374, 13, 4766, 4202, 692, 8614, 4878, 18, 29818, 4766, 4202, 294, 8614, 4878, 18, 5280, 31, 565, 8614, 4878, 18, 11535, 331, 10044, 273, 14015, 13241, 18, 588, 58, 1225, 2582, 1435, 473, 7145, 4878, 18, 4574, 26366, 67, 59, 6856, 67, 43, 11226, 13, 480, 374, 13, 4766, 4202, 692, 8614, 4878, 18, 29818, 4766, 4202, 294, 8614, 4878, 18, 5280, 31, 565, 8614, 4878, 4946, 273, 261, 4020, 4878, 13, 1794, 18, 588, 3802, 3744, 4878, 5621, 565, 309, 261, 952, 480, 446, 13, 288, 1377, 366, 10044, 273, 4946, 18, 76, 10044, 31, 1377, 331, 10044, 273, 4946, 18, 90, 10044, 31, 565, 289, 565, 327, 394, 8614, 4878, 12, 13241, 18, 588, 1494, 1435, 15, 21, 16, 8859, 18, 588, 1999, 1435, 15, 21, 16, 8859, 18, 588, 914, 6952, 9334, 8859, 18, 588, 1999, 6952, 9334, 366, 10044, 16, 331, 10044, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 8614, 4878, 3068, 774, 4020, 4878, 12, 6385, 16378, 1841, 1794, 13, 288, 565, 7145, 4878, 8859, 273, 1794, 18, 588, 4878, 5621, 565, 8614, 4878, 18, 11535, 366, 10044, 273, 14015, 13241, 18, 588, 44, 1225, 2582, 1435, 473, 7145, 4878, 18, 4574, 26366, 67, 59, 6856, 67, 43, 11226, 13, 480, 374, 13, 4766, 4202, 692, 8614, 4878, 18, 29818, 4766, 4202, 294, 8614, 4878, 18, 5280, 31, 565, 8614, 4878, 18, 11535, 331, 10044, 273, 14015, 13241, 18, 588, 58, 1225, 2582, 1435, 473, 7145, 4878, 18, 4574, 26366, 67, 59, 6856, 67, 43, 11226, 13, 480, 374, 13, 4766, 4202, 692, 8614, 4878, 18, 29818, 4766, 4202, 294, 8614, 4878, 18, 5280, 2 ]
if (soot.options.Options.v().xml_attributes()) { Printer.v().setOption(Printer.ADD_JIMPLE_LN); }
Printer.v().clearOption(Printer.ADD_JIMPLE_LN);
private void writeClass(SootClass c) { final int format = soot.options.Options.v().output_format(); if( format == soot.options.Options.output_format_none ) return; if( format == soot.options.Options.output_format_dava ) return; FileOutputStream streamOut = null; PrintWriter writerOut = null; boolean noOutputFile = false; String fileName = SourceLocator.v().getFileNameFor(c, format); if (format != soot.options.Options.output_format_class) { try { streamOut = new FileOutputStream(fileName); writerOut = new PrintWriter(new OutputStreamWriter(streamOut)); G.v().out.println( "Writing to "+fileName ); } catch (IOException e) { G.v().out.println("Cannot output file " + fileName); } } if (soot.options.Options.v().xml_attributes()) { Printer.v().setOption(Printer.ADD_JIMPLE_LN); } switch (format) { case soot.options.Options.output_format_jasmin : if (c.containsBafBody()) new soot.baf.JasminClass(c).print(writerOut); else new soot.jimple.JasminClass(c).print(writerOut); break; case soot.options.Options.output_format_jimp : case soot.options.Options.output_format_shimp : case soot.options.Options.output_format_b : case soot.options.Options.output_format_grimp : Printer.v().setOption(Printer.USE_ABBREVIATIONS); Printer.v().printTo(c, writerOut); break; case soot.options.Options.output_format_baf : case soot.options.Options.output_format_jimple : case soot.options.Options.output_format_shimple : case soot.options.Options.output_format_grimple : writerOut = new PrintWriter( new EscapedWriter(new OutputStreamWriter(streamOut))); Printer.v().printTo(c, writerOut); break; case soot.options.Options.output_format_class : Printer.v().write(c, SourceLocator.v().getOutputDir()); break; case soot.options.Options.output_format_xml : writerOut = new PrintWriter( new EscapedWriter(new OutputStreamWriter(streamOut))); XMLPrinter.v().printJimpleStyleTo(c, writerOut); break; default : throw new RuntimeException(); } if (format != soot.options.Options.output_format_class) { try { writerOut.flush(); streamOut.close(); } catch (IOException e) { G.v().out.println("Cannot close output file " + fileName); } } }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/ec32d4608be2f4c5a7765f9a47ab2e43ef0666eb/Main.java/clean/aop/abc/src/abc/main/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 797, 12, 55, 1632, 797, 276, 13, 288, 3639, 727, 509, 740, 273, 1427, 352, 18, 2116, 18, 1320, 18, 90, 7675, 2844, 67, 2139, 5621, 3639, 309, 12, 740, 422, 1427, 352, 18, 2116, 18, 1320, 18, 2844, 67, 2139, 67, 6102, 262, 327, 31, 3639, 309, 12, 740, 422, 1427, 352, 18, 2116, 18, 1320, 18, 2844, 67, 2139, 67, 72, 1629, 262, 327, 31, 3639, 12942, 1407, 1182, 273, 446, 31, 3639, 14071, 2633, 1182, 273, 446, 31, 3639, 1250, 1158, 1447, 812, 273, 629, 31, 3639, 514, 3968, 273, 4998, 5786, 18, 90, 7675, 588, 4771, 1290, 12, 71, 16, 740, 1769, 3639, 309, 261, 2139, 480, 1427, 352, 18, 2116, 18, 1320, 18, 2844, 67, 2139, 67, 1106, 13, 288, 5411, 775, 288, 7734, 1407, 1182, 273, 394, 12942, 12, 17812, 1769, 7734, 2633, 1182, 273, 394, 14071, 12, 2704, 24248, 12, 3256, 1182, 10019, 7734, 611, 18, 90, 7675, 659, 18, 8222, 12, 315, 18835, 358, 13773, 17812, 11272, 5411, 289, 1044, 261, 14106, 425, 13, 288, 7734, 611, 18, 90, 7675, 659, 18, 8222, 2932, 4515, 876, 585, 315, 397, 3968, 1769, 5411, 289, 3639, 289, 3639, 309, 261, 87, 1632, 18, 2116, 18, 1320, 18, 90, 7675, 2902, 67, 4350, 10756, 288, 5411, 2301, 2761, 18, 90, 7675, 542, 1895, 12, 12149, 18, 8355, 67, 46, 9883, 900, 67, 48, 50, 1769, 3639, 289, 3639, 1620, 261, 2139, 13, 288, 5411, 648, 1427, 352, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 797, 12, 55, 1632, 797, 276, 13, 288, 3639, 727, 509, 740, 273, 1427, 352, 18, 2116, 18, 1320, 18, 90, 7675, 2844, 67, 2139, 5621, 3639, 309, 12, 740, 422, 1427, 352, 18, 2116, 18, 1320, 18, 2844, 67, 2139, 67, 6102, 262, 327, 31, 3639, 309, 12, 740, 422, 1427, 352, 18, 2116, 18, 1320, 18, 2844, 67, 2139, 67, 72, 1629, 262, 327, 31, 3639, 12942, 1407, 1182, 273, 446, 31, 3639, 14071, 2633, 1182, 273, 446, 31, 3639, 1250, 1158, 1447, 812, 273, 629, 31, 3639, 514, 3968, 273, 4998, 5786, 18, 90, 7675, 588, 4771, 1290, 12, 71, 16, 740, 1769, 3639, 309, 261, 2139, 480, 1427, 352, 18, 2116, 2 ]
public org.quickfix.field.LegIssuer getLegIssuer() throws FieldNotFound { org.quickfix.field.LegIssuer value = new org.quickfix.field.LegIssuer();
public quickfix.field.LegIssuer getLegIssuer() throws FieldNotFound { quickfix.field.LegIssuer value = new quickfix.field.LegIssuer();
public org.quickfix.field.LegIssuer getLegIssuer() throws FieldNotFound { org.quickfix.field.LegIssuer value = new org.quickfix.field.LegIssuer(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralRequest.java/buggy/src/java/src/quickfix/fix44/CollateralRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 336, 8329, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 336, 8329, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 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 ]
ExtendedElementUIPoint point = (ExtendedElementUIPoint) iter.next( ); action = getAction( point.getExtensionName( ) ); if ( action != null )
if ( point.getExtensionName( ).equalsIgnoreCase( "Chart" ) )
private void createInsertElementMenu( IMenuManager menuManager, String group_name ) { MenuManager subMenu = new MenuManager( ELEMENT_MENU_ITEM_TEXT ); IAction action = getAction( GeneralInsertMenuAction.INSERT_TEXT_ID ); action.setText( GeneralInsertMenuAction.INSERT_TEXT_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_LABEL_ID ); action.setText( GeneralInsertMenuAction.INSERT_LABEL_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_DATA_ID ); action.setText( GeneralInsertMenuAction.INSERT_DATA_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_IMAGE_ID ); action.setText( GeneralInsertMenuAction.INSERT_IMAGE_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_GRID_ID ); action.setText( GeneralInsertMenuAction.INSERT_GRID_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_LIST_ID ); action.setText( GeneralInsertMenuAction.INSERT_LIST_DISPLAY_TEXT ); subMenu.add( action ); action = getAction( GeneralInsertMenuAction.INSERT_TABLE_ID ); action.setText( GeneralInsertMenuAction.INSERT_TABLE_DISPLAY_TEXT ); subMenu.add( action ); /* * Extended Items insert actions */ List points = ExtensionPointManager.getInstance( ) .getExtendedElementPoints( ); for ( Iterator iter = points.iterator( ); iter.hasNext( ); ) { ExtendedElementUIPoint point = (ExtendedElementUIPoint) iter.next( ); action = getAction( point.getExtensionName( ) ); if ( action != null ) { if(point.getExtensionName( ).equalsIgnoreCase("Chart")) //$NON-NLS-1$ { action.setText( "&" + point.getExtensionName( ) ); //$NON-NLS-1$ } else { action.setText( point.getExtensionName( ) ); } subMenu.add( action ); } } menuManager.appendToGroup( group_name, subMenu ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/ea128f9408add45fe88b59d7638b704e09fe9949/SchematicContextMenuProvider.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/providers/SchematicContextMenuProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 4600, 1046, 4599, 12, 467, 4599, 1318, 3824, 1318, 16, 1082, 202, 780, 1041, 67, 529, 262, 202, 95, 202, 202, 4599, 1318, 720, 4599, 273, 394, 9809, 1318, 12, 13424, 67, 29227, 67, 12674, 67, 5151, 11272, 202, 202, 45, 1803, 1301, 273, 12473, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 5151, 67, 734, 11272, 202, 202, 1128, 18, 542, 1528, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 5151, 67, 17463, 67, 5151, 11272, 202, 202, 1717, 4599, 18, 1289, 12, 1301, 11272, 202, 202, 1128, 273, 12473, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 13545, 67, 734, 11272, 202, 202, 1128, 18, 542, 1528, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 13545, 67, 17463, 67, 5151, 11272, 202, 202, 1717, 4599, 18, 1289, 12, 1301, 11272, 202, 202, 1128, 273, 12473, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 4883, 67, 734, 11272, 202, 202, 1128, 18, 542, 1528, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 4883, 67, 17463, 67, 5151, 11272, 202, 202, 1717, 4599, 18, 1289, 12, 1301, 11272, 202, 202, 1128, 273, 12473, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 13603, 67, 734, 11272, 202, 202, 1128, 18, 542, 1528, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 13603, 67, 17463, 67, 5151, 11272, 202, 202, 1717, 4599, 18, 1289, 12, 1301, 11272, 202, 202, 1128, 273, 12473, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 6997, 734, 67, 734, 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, 225, 202, 1152, 918, 752, 4600, 1046, 4599, 12, 467, 4599, 1318, 3824, 1318, 16, 1082, 202, 780, 1041, 67, 529, 262, 202, 95, 202, 202, 4599, 1318, 720, 4599, 273, 394, 9809, 1318, 12, 13424, 67, 29227, 67, 12674, 67, 5151, 11272, 202, 202, 45, 1803, 1301, 273, 12473, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 5151, 67, 734, 11272, 202, 202, 1128, 18, 542, 1528, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 5151, 67, 17463, 67, 5151, 11272, 202, 202, 1717, 4599, 18, 1289, 12, 1301, 11272, 202, 202, 1128, 273, 12473, 12, 9544, 4600, 4599, 1803, 18, 11356, 67, 13545, 67, 734, 11272, 202, 202, 1128, 18, 542, 1528, 12, 9544, 4600, 4599, 1803, 2 ]
if (len == 0) return ScriptRuntime.NaNobj;
int start = 0; char c; for (;;) { if (start == len) { return ScriptRuntime.NaNobj; } c = s.charAt(start); if (!TokenStream.isJSSpace(c)) { break; } ++start; }
private Object js_parseFloat(Context cx, Object[] args) { if (args.length < 1) return ScriptRuntime.NaNobj; String s = ScriptRuntime.toString(args[0]); int len = s.length(); if (len == 0) return ScriptRuntime.NaNobj; int i; char c; // Scan forward to the first digit or . for (i=0; TokenStream.isJSSpace(c = s.charAt(i)) && i+1 < len; i++) /* empty */ ; int start = i; if (c == '+' || c == '-') c = s.charAt(++i); if (c == 'I') { // check for "Infinity" double d; if (i+8 <= len && s.substring(i, i+8).equals("Infinity")) d = s.charAt(start) == '-' ? Double.NEGATIVE_INFINITY : Double.POSITIVE_INFINITY; else return ScriptRuntime.NaNobj; return new Double(d); } // Find the end of the legal bit int decimal = -1; int exponent = -1; for (; i < len; i++) { switch (s.charAt(i)) { case '.': if (decimal != -1) // Only allow a single decimal point. break; decimal = i; continue; case 'e': case 'E': if (exponent != -1) break; exponent = i; continue; case '+': case '-': // Only allow '+' or '-' after 'e' or 'E' if (exponent != i-1) break; continue; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': continue; default: break; } break; } s = s.substring(start, i); try { return Double.valueOf(s); } catch (NumberFormatException ex) { return ScriptRuntime.NaNobj; } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/4ad826a35e76cb27011d7ce32f9515c2d80a93c0/NativeGlobal.java/clean/js/rhino/src/org/mozilla/javascript/NativeGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3828, 67, 2670, 4723, 12, 1042, 9494, 16, 1033, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 5411, 327, 7739, 5576, 18, 24101, 2279, 441, 31, 3639, 514, 272, 273, 7739, 5576, 18, 10492, 12, 1968, 63, 20, 19226, 3639, 509, 562, 273, 272, 18, 2469, 5621, 3639, 309, 261, 1897, 422, 374, 13, 5411, 327, 7739, 5576, 18, 24101, 2279, 441, 31, 3639, 509, 277, 31, 3639, 1149, 276, 31, 3639, 368, 8361, 5104, 358, 326, 1122, 8035, 578, 263, 3639, 364, 261, 77, 33, 20, 31, 3155, 1228, 18, 291, 46, 1260, 909, 12, 71, 273, 272, 18, 3001, 861, 12, 77, 3719, 597, 277, 15, 21, 411, 562, 31, 277, 27245, 5411, 1748, 1008, 1195, 5411, 274, 3639, 509, 787, 273, 277, 31, 3639, 309, 261, 71, 422, 10058, 747, 276, 422, 4014, 13, 5411, 276, 273, 272, 18, 3001, 861, 12, 9904, 77, 1769, 3639, 309, 261, 71, 422, 296, 45, 6134, 288, 5411, 368, 866, 364, 315, 382, 7850, 6, 5411, 1645, 302, 31, 5411, 309, 261, 77, 15, 28, 1648, 562, 597, 272, 18, 28023, 12, 77, 16, 277, 15, 28, 2934, 14963, 2932, 382, 7850, 6, 3719, 7734, 302, 273, 272, 18, 3001, 861, 12, 1937, 13, 422, 4014, 692, 3698, 18, 5407, 22421, 67, 17716, 4766, 6647, 294, 3698, 18, 7057, 16325, 67, 17716, 31, 5411, 469, 7734, 327, 7739, 5576, 18, 24101, 2279, 441, 31, 5411, 327, 394, 3698, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3828, 67, 2670, 4723, 12, 1042, 9494, 16, 1033, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 5411, 327, 7739, 5576, 18, 24101, 2279, 441, 31, 3639, 514, 272, 273, 7739, 5576, 18, 10492, 12, 1968, 63, 20, 19226, 3639, 509, 562, 273, 272, 18, 2469, 5621, 3639, 309, 261, 1897, 422, 374, 13, 5411, 327, 7739, 5576, 18, 24101, 2279, 441, 31, 3639, 509, 277, 31, 3639, 1149, 276, 31, 3639, 368, 8361, 5104, 358, 326, 1122, 8035, 578, 263, 3639, 364, 261, 77, 33, 20, 31, 3155, 1228, 18, 291, 46, 1260, 909, 12, 71, 273, 272, 18, 3001, 861, 12, 77, 3719, 597, 277, 15, 21, 411, 562, 2 ]
if (shortCut == null) return result;
if (shortCut == null) { return result; }
private MenuManager createFileMenu() { MenuManager menu = new MenuManager(IDEWorkbenchMessages.Workbench_file, IWorkbenchActionConstants.M_FILE); menu.add(new GroupMarker(IWorkbenchActionConstants.FILE_START)); { // create the New submenu, using the same id for it as the New action String newText = IDEWorkbenchMessages.Workbench_new; String newId = ActionFactory.NEW.getId(); MenuManager newMenu = new MenuManager(newText, newId) { public String getMenuText() { String result = super.getMenuText(); if (newQuickMenu == null) return result; String shortCut = newQuickMenu.getShortCutString(); if (shortCut == null) return result; return result + "\t" + shortCut; //$NON-NLS-1$ } }; newMenu.add(new Separator(newId)); this.newWizardMenu = new NewWizardMenu(getWindow()); newMenu.add(this.newWizardMenu); newMenu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); menu.add(newMenu); } menu.add(new GroupMarker(IWorkbenchActionConstants.NEW_EXT)); menu.add(new Separator()); menu.add(closeAction); menu.add(closeAllAction); // menu.add(closeAllSavedAction); menu.add(new GroupMarker(IWorkbenchActionConstants.CLOSE_EXT)); menu.add(new Separator()); menu.add(saveAction); menu.add(saveAsAction); menu.add(saveAllAction); menu.add(revertAction); menu.add(new Separator()); menu.add(moveAction); menu.add(renameAction); menu.add(refreshAction); menu.add(new GroupMarker(IWorkbenchActionConstants.SAVE_EXT)); menu.add(new Separator()); menu.add(printAction); menu.add(new GroupMarker(IWorkbenchActionConstants.PRINT_EXT)); menu.add(new Separator()); menu.add(openWorkspaceAction); menu.add(new GroupMarker(IWorkbenchActionConstants.OPEN_EXT)); menu.add(new Separator()); menu.add(importResourcesAction); menu.add(exportResourcesAction); menu.add(new GroupMarker(IWorkbenchActionConstants.IMPORT_EXT)); menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); menu.add(new Separator()); menu.add(propertiesAction); menu.add(ContributionItemFactory.REOPEN_EDITORS.create(getWindow())); menu.add(new GroupMarker(IWorkbenchActionConstants.MRU)); menu.add(new Separator()); menu.add(quitAction); menu.add(new GroupMarker(IWorkbenchActionConstants.FILE_END)); return menu; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WorkbenchActionBuilder.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9809, 1318, 21266, 4599, 1435, 288, 3639, 9809, 1318, 3824, 273, 394, 9809, 1318, 12, 10385, 2421, 22144, 5058, 18, 2421, 22144, 67, 768, 16, 467, 2421, 22144, 1803, 2918, 18, 49, 67, 3776, 1769, 3639, 3824, 18, 1289, 12, 2704, 3756, 7078, 12, 45, 2421, 22144, 1803, 2918, 18, 3776, 67, 7570, 10019, 3639, 288, 5411, 368, 752, 326, 1166, 27539, 16, 1450, 326, 1967, 612, 364, 518, 487, 326, 1166, 1301, 5411, 514, 394, 1528, 273, 1599, 41, 2421, 22144, 5058, 18, 2421, 22144, 67, 2704, 31, 5411, 514, 27598, 273, 4382, 1733, 18, 12917, 18, 26321, 5621, 5411, 9809, 1318, 394, 4599, 273, 394, 9809, 1318, 12, 2704, 1528, 16, 27598, 13, 288, 7734, 1071, 514, 25877, 1528, 1435, 288, 10792, 514, 563, 273, 2240, 18, 588, 4599, 1528, 5621, 10792, 309, 261, 2704, 13663, 4599, 422, 446, 13, 13491, 327, 563, 31, 10792, 514, 3025, 15812, 273, 394, 13663, 4599, 18, 588, 4897, 15812, 780, 5621, 10792, 309, 261, 6620, 15812, 422, 446, 13, 13491, 327, 563, 31, 10792, 327, 563, 397, 1548, 88, 6, 397, 3025, 15812, 31, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 289, 5411, 289, 31, 5411, 394, 4599, 18, 1289, 12, 2704, 27519, 12, 2704, 548, 10019, 5411, 333, 18, 2704, 27130, 4599, 273, 394, 1166, 27130, 4599, 12, 588, 3829, 10663, 5411, 394, 4599, 18, 1289, 12, 2211, 18, 2704, 27130, 4599, 1769, 5411, 394, 4599, 18, 1289, 12, 2704, 27519, 12, 45, 2421, 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, 9809, 1318, 21266, 4599, 1435, 288, 3639, 9809, 1318, 3824, 273, 394, 9809, 1318, 12, 10385, 2421, 22144, 5058, 18, 2421, 22144, 67, 768, 16, 467, 2421, 22144, 1803, 2918, 18, 49, 67, 3776, 1769, 3639, 3824, 18, 1289, 12, 2704, 3756, 7078, 12, 45, 2421, 22144, 1803, 2918, 18, 3776, 67, 7570, 10019, 3639, 288, 5411, 368, 752, 326, 1166, 27539, 16, 1450, 326, 1967, 612, 364, 518, 487, 326, 1166, 1301, 5411, 514, 394, 1528, 273, 1599, 41, 2421, 22144, 5058, 18, 2421, 22144, 67, 2704, 31, 5411, 514, 27598, 273, 4382, 1733, 18, 12917, 18, 26321, 5621, 5411, 9809, 1318, 394, 4599, 273, 394, 9809, 1318, 12, 2704, 1528, 16, 27598, 13, 288, 7734, 2 ]
_t = __t371;
_t = __t376;
public final void definebrowsestate(AST _t) throws RecognitionException { AST definebrowsestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST def = null; AST id = null; AST fi1 = null; AST fi2 = null; AST __t340 = _t; def = _t==ASTNULL ? null :(AST)_t; match(_t,DEFINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: case SHARED: { def_shared(_t); _t = _retTree; break; } case BROWSE: case PRIVATE: case PUBLIC: case PROTECTED: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVATE: case PUBLIC: case PROTECTED: { def_visib(_t); _t = _retTree; break; } case BROWSE: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp957_AST_in = (AST)_t; match(_t,BROWSE); _t = _t.getNextSibling(); id = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { push(action.defineBrowse(def, id)); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QUERY: { AST __t344 = _t; AST tmp958_AST_in = (AST)_t; match(_t,QUERY); _t = _t.getFirstChild(); AST tmp959_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); _t = __t344; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case CONTEXTHELPID: case DISPLAY: case EXCLUSIVELOCK: case NOLOCK: case NOWAIT: case SHARELOCK: case TOOLTIP: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { _loop346: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCLUSIVELOCK: case NOLOCK: case SHARELOCK: { lockhow(_t); _t = _retTree; break; } case NOWAIT: { AST tmp960_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } default: { break _loop346; } } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DISPLAY: { AST __t348 = _t; AST tmp961_AST_in = (AST)_t; match(_t,DISPLAY); _t = _t.getFirstChild(); { _loop355: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { AST __t350 = _t; fi1 = _t==ASTNULL ? null :(AST)_t; match(_t,Form_item); _t = _t.getFirstChild(); { boolean synPredMatched353 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==RECORD_NAME))) { AST __t353 = _t; synPredMatched353 = true; inputState.guessing++; try { { tbl(_t,CQ.INIT); _t = _retTree; } } catch (RecognitionException pe) { synPredMatched353 = false; } _t = __t353;inputState.guessing--; } if ( synPredMatched353 ) { tbl(_t,CQ.INIT); _t = _retTree; } else if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { columnformat(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } } else if ((_t.getType()==SPACE)) { spacephrase(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } if ( inputState.guessing==0 ) { action.formItem(fi1); } _t = __t350; _t = _t.getNextSibling(); } else { break _loop355; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t357 = _t; AST tmp962_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop359: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { fld1(_t,CQ.SYMBOL); _t = _retTree; } else { break _loop359; } } while (true); } _t = __t357; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t348; _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ENABLE: { AST __t361 = _t; AST tmp963_AST_in = (AST)_t; match(_t,ENABLE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALL: { AST __t363 = _t; AST tmp964_AST_in = (AST)_t; match(_t,ALL); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t365 = _t; AST tmp965_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop367: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { fld(_t,CQ.SYMBOL); _t = _retTree; } else { break _loop367; } } while (true); } _t = __t365; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t363; _t = _t.getNextSibling(); break; } case 3: case Form_item: { { _loop374: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { AST __t369 = _t; fi2 = _t==ASTNULL ? null :(AST)_t; match(_t,Form_item); _t = _t.getFirstChild(); fld(_t,CQ.SYMBOL); _t = _retTree; if ( inputState.guessing==0 ) { action.formItem(fi2); } { _loop373: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case HELP: { AST __t371 = _t; AST tmp966_AST_in = (AST)_t; match(_t,HELP); _t = _t.getFirstChild(); constant(_t); _t = _retTree; _t = __t371; _t = _t.getNextSibling(); break; } case VALIDATE: { AST __t372 = _t; AST tmp967_AST_in = (AST)_t; match(_t,VALIDATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t372; _t = _t.getNextSibling(); break; } case AUTORETURN: { AST tmp968_AST_in = (AST)_t; match(_t,AUTORETURN); _t = _t.getNextSibling(); break; } case DISABLEAUTOZAP: { AST tmp969_AST_in = (AST)_t; match(_t,DISABLEAUTOZAP); _t = _t.getNextSibling(); break; } default: { break _loop373; } } } while (true); } _t = __t369; _t = _t.getNextSibling(); } else { break _loop374; } } while (true); } break; } default: { throw new NoViableAltException(_t); } } } _t = __t361; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case CONTEXTHELPID: case TOOLTIP: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } break; } case EOF: case PERIOD: case CONTEXTHELPID: case TOOLTIP: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { _loop376: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==WITH)) { display_with(_t); _t = _retTree; } else { break _loop376; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TOOLTIP: { tooltip_expr(_t); _t = _retTree; break; } case EOF: case PERIOD: case CONTEXTHELPID: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CONTEXTHELPID: { AST __t379 = _t; AST tmp970_AST_in = (AST)_t; match(_t,CONTEXTHELPID); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t379; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; if ( inputState.guessing==0 ) { action.addToSymbolScope(pop()); } _t = __t340; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4426, 70, 3870, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 70, 3870, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 202, 202, 9053, 7314, 21, 273, 446, 31, 202, 202, 9053, 7314, 22, 273, 446, 31, 9506, 202, 9053, 1001, 88, 5026, 20, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 12887, 30, 202, 202, 3593, 9777, 5879, 30, 202, 202, 95, 1082, 202, 536, 67, 11574, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 605, 11226, 1090, 30, 202, 202, 3593, 23685, 30, 202, 202, 3593, 17187, 30, 202, 202, 3593, 4629, 26729, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 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, 4426, 70, 3870, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 70, 3870, 395, 340, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 1652, 273, 446, 31, 202, 202, 9053, 612, 273, 446, 31, 202, 202, 9053, 7314, 21, 273, 446, 31, 202, 202, 9053, 7314, 22, 273, 446, 31, 9506, 202, 9053, 1001, 88, 5026, 20, 273, 389, 88, 31, 202, 202, 536, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 12, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 1769, 202, 202, 67, 88, 2 ]
switch ( eDerivedStructuralFeatureID( eFeature ) )
switch ( featureID )
public void eUnset( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case ComponentPackage.CHART_PREFERENCES__LABELS : getLabels( ).clear( ); return; case ComponentPackage.CHART_PREFERENCES__BLOCKS : getBlocks( ).clear( ); return; } eDynamicUnset( eFeature ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/ChartPreferencesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ChartPreferencesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19698, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 5435, 2261, 18, 1792, 4928, 67, 3670, 10830, 55, 972, 13545, 55, 294, 9506, 202, 588, 5888, 12, 262, 18, 8507, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 5435, 2261, 18, 1792, 4928, 67, 3670, 10830, 55, 972, 11403, 55, 294, 9506, 202, 588, 6450, 12, 262, 18, 8507, 12, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 13250, 12, 425, 4595, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19698, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 5435, 2261, 18, 1792, 4928, 67, 3670, 10830, 55, 972, 13545, 55, 294, 9506, 202, 588, 5888, 12, 262, 18, 8507, 12, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 5435, 2261, 18, 1792, 4928, 67, 3670, 10830, 55, 972, 11403, 55, 294, 9506, 202, 588, 6450, 12, 262, 18, 8507, 12, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 13250, 12, 425, 4595, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_setThreadDependentDebugMenuItems(true);
_model.setActiveDocument(bp.getDocument()); _currentDefPane.getHighlightManager().addHighlight(bp.getStartOffset(), bp.getEndOffset(), DefinitionsPane.BREAKPOINT_PAINTER);
public void run() { //DrJava.consoleOut().println("showing resume, etc"); _setThreadDependentDebugMenuItems(true); //DrJava.consoleOut().println("done with MF.currThreadSuspended..."); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/ddcbad2909e9c9411b7283368e21d7790422a21d/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 368, 8956, 5852, 18, 8698, 1182, 7675, 8222, 2932, 4500, 310, 10774, 16, 5527, 8863, 540, 389, 2284, 18, 542, 3896, 2519, 12, 17152, 18, 588, 2519, 10663, 389, 2972, 3262, 8485, 18, 588, 16205, 1318, 7675, 1289, 16205, 12, 17152, 18, 588, 1685, 2335, 9334, 9107, 18, 588, 1638, 2335, 9334, 10849, 87, 8485, 18, 27960, 8941, 67, 4066, 9125, 1769, 540, 368, 8956, 5852, 18, 8698, 1182, 7675, 8222, 2932, 8734, 598, 490, 42, 18, 17016, 3830, 55, 22942, 7070, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 368, 8956, 5852, 18, 8698, 1182, 7675, 8222, 2932, 4500, 310, 10774, 16, 5527, 8863, 540, 389, 2284, 18, 542, 3896, 2519, 12, 17152, 18, 588, 2519, 10663, 389, 2972, 3262, 8485, 18, 588, 16205, 1318, 7675, 1289, 16205, 12, 17152, 18, 588, 1685, 2335, 9334, 9107, 18, 588, 1638, 2335, 9334, 10849, 87, 8485, 18, 27960, 8941, 67, 4066, 9125, 1769, 540, 368, 8956, 5852, 18, 8698, 1182, 7675, 8222, 2932, 8734, 598, 490, 42, 18, 17016, 3830, 55, 22942, 7070, 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 ]
throw new RuntimeException(sae);
throw new RuntimeException("Unable to load component configuration");
private ComponentConfiguration loadConfiguration() { ComponentConfiguration config = new ComponentConfiguration(); InputStream configXml = Thread.currentThread().getContextClassLoader().getResourceAsStream("components.xml"); if (configXml == null) { final String message = "Unable to find the file components.xml in the classpath."; log.error(message); throw new RuntimeException(message); } try { config.loadFromXml(configXml); } catch (IOException ioe) { log.error(ioe); throw new RuntimeException(ioe); } catch (SAXException sae) { log.error(sae); throw new RuntimeException(sae); } return config; }
22725 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22725/1325b57f4faf71200a1800a003f28ef2f7cd9309/ApplicationLifecycleListener.java/clean/src/java/com/opensymphony/webwork/lifecycle/ApplicationLifecycleListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5435, 1750, 1262, 1750, 1435, 288, 3639, 5435, 1750, 642, 273, 394, 5435, 1750, 5621, 3639, 5037, 642, 4432, 273, 4884, 18, 2972, 3830, 7675, 29120, 7805, 7675, 588, 1420, 17052, 2932, 8119, 18, 2902, 8863, 3639, 309, 261, 1425, 4432, 422, 446, 13, 288, 5411, 727, 514, 883, 273, 315, 3370, 358, 1104, 326, 585, 4085, 18, 2902, 316, 326, 10006, 1199, 31, 5411, 613, 18, 1636, 12, 2150, 1769, 5411, 604, 394, 3235, 12, 2150, 1769, 3639, 289, 3639, 775, 288, 5411, 642, 18, 945, 1265, 4432, 12, 1425, 4432, 1769, 3639, 289, 1044, 261, 14106, 10847, 13, 288, 5411, 613, 18, 1636, 12, 1594, 73, 1769, 5411, 604, 394, 3235, 12, 1594, 73, 1769, 3639, 289, 1044, 261, 55, 2501, 503, 7864, 73, 13, 288, 5411, 613, 18, 1636, 12, 87, 8906, 1769, 5411, 604, 394, 3235, 2932, 3370, 358, 1262, 1794, 1664, 8863, 3639, 289, 3639, 327, 642, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5435, 1750, 1262, 1750, 1435, 288, 3639, 5435, 1750, 642, 273, 394, 5435, 1750, 5621, 3639, 5037, 642, 4432, 273, 4884, 18, 2972, 3830, 7675, 29120, 7805, 7675, 588, 1420, 17052, 2932, 8119, 18, 2902, 8863, 3639, 309, 261, 1425, 4432, 422, 446, 13, 288, 5411, 727, 514, 883, 273, 315, 3370, 358, 1104, 326, 585, 4085, 18, 2902, 316, 326, 10006, 1199, 31, 5411, 613, 18, 1636, 12, 2150, 1769, 5411, 604, 394, 3235, 12, 2150, 1769, 3639, 289, 3639, 775, 288, 5411, 642, 18, 945, 1265, 4432, 12, 1425, 4432, 1769, 3639, 289, 1044, 261, 14106, 10847, 13, 288, 5411, 613, 18, 1636, 12, 1594, 73, 1769, 5411, 604, 394, 3235, 12, 1594, 73, 1769, 2 ]
buf.append( eachParam.getText() ); if ( paramIter.hasNext() )
if (paramIter.hasNext())
public String getText() { StringBuffer buf = new StringBuffer(); String prefix = getPrefix(); if ( prefix != null && ! prefix.equals("") ) { buf.append( prefix ); buf.append( ":" ); } buf.append( getFunctionName() ); buf.append( "(" ); Iterator paramIter = getParameters().iterator(); Expr eachParam = null; while ( paramIter.hasNext() ) { eachParam = (Expr) paramIter.next(); buf.append( eachParam.getText() ); if ( paramIter.hasNext() ) { buf.append( ", " ); } } buf.append( ")" ); return buf.toString(); }
12974 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12974/e3c53ba7f2b7ddbce78a2f9beb9abd31c56e86d9/DefaultFunctionCallExpr.java/buggy/src/java/main/org/jaxen/expr/DefaultFunctionCallExpr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6701, 1435, 565, 288, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 514, 1633, 273, 16182, 5621, 3639, 309, 261, 1633, 480, 446, 2398, 597, 2398, 401, 1633, 18, 14963, 2932, 7923, 262, 3639, 288, 5411, 1681, 18, 6923, 12, 1633, 11272, 5411, 1681, 18, 6923, 12, 6153, 11272, 3639, 289, 3639, 1681, 18, 6923, 12, 18697, 461, 1435, 11272, 3639, 1681, 18, 6923, 12, 12452, 11272, 3639, 4498, 579, 2360, 273, 10028, 7675, 9838, 5621, 3639, 8074, 377, 1517, 786, 273, 446, 31, 3639, 1323, 261, 579, 2360, 18, 5332, 2134, 1435, 262, 3639, 288, 5411, 1517, 786, 273, 261, 4742, 13, 579, 2360, 18, 4285, 5621, 5411, 1681, 18, 6923, 12, 1517, 786, 18, 588, 1528, 1435, 11272, 5411, 309, 261, 579, 2360, 18, 5332, 2134, 1435, 262, 5411, 288, 7734, 1681, 18, 6923, 12, 3104, 315, 11272, 5411, 289, 3639, 289, 3639, 1681, 18, 6923, 12, 7310, 11272, 7734, 327, 1681, 18, 10492, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6701, 1435, 565, 288, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 514, 1633, 273, 16182, 5621, 3639, 309, 261, 1633, 480, 446, 2398, 597, 2398, 401, 1633, 18, 14963, 2932, 7923, 262, 3639, 288, 5411, 1681, 18, 6923, 12, 1633, 11272, 5411, 1681, 18, 6923, 12, 6153, 11272, 3639, 289, 3639, 1681, 18, 6923, 12, 18697, 461, 1435, 11272, 3639, 1681, 18, 6923, 12, 12452, 11272, 3639, 4498, 579, 2360, 273, 10028, 7675, 9838, 5621, 3639, 8074, 377, 1517, 786, 273, 446, 31, 3639, 1323, 261, 579, 2360, 18, 5332, 2134, 1435, 262, 3639, 288, 5411, 1517, 786, 273, 261, 4742, 13, 579, 2360, 18, 4285, 5621, 5411, 1681, 18, 6923, 12, 1517, 786, 18, 2 ]
out.writeObject(channel_name);
out.writeObject(channel_name);
public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(channel_name); }
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/462c7e2ed6980678c603a434a8eb5bc2e6749ac2/TunnelHeader.java/buggy/src/org/jgroups/protocols/TunnelHeader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 6841, 12, 921, 1447, 596, 13, 1216, 1860, 288, 202, 659, 18, 2626, 921, 12, 4327, 67, 529, 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, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 6841, 12, 921, 1447, 596, 13, 1216, 1860, 288, 202, 659, 18, 2626, 921, 12, 4327, 67, 529, 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, -100, -100 ]
private void initContextMenu() { MenuManager menuMgr = new MenuManager("#PopupMenu"); //$NON-NLS-1$ Menu menu = menuMgr.createContextMenu(viewer.getTree()); createCancelAction(); menuMgr.add(cancelAction); menuMgr.addMenuListener(new IMenuListener() { public void menuAboutToShow(IMenuManager manager) { JobInfo info = getSelectedInfo(); if (info == null) return; } }); menuMgr.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); getSite().registerContextMenu(menuMgr, viewer); viewer.getTree().setMenu(menu); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/3f652291cb5ee0b7cdf9df17b164b86372991f82/ProgressView.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 6459, 2738, 27315, 1435, 95, 202, 202, 4599, 49, 940, 1035, 2104, 9455, 33, 2704, 4599, 1318, 2932, 7, 13770, 4599, 8863, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 49, 7924, 2104, 33, 5414, 9455, 18, 2640, 27315, 12, 25256, 18, 588, 2471, 10663, 202, 202, 2640, 6691, 1803, 5621, 202, 202, 5414, 9455, 18, 1289, 12, 10996, 1803, 1769, 202, 202, 5414, 9455, 18, 1289, 4599, 2223, 12, 2704, 3445, 2104, 2223, 1435, 95, 1082, 202, 482, 6459, 5414, 24813, 774, 5706, 12, 3445, 2104, 49, 940, 1035, 1063, 15329, 9506, 202, 2278, 966, 1376, 33, 588, 7416, 966, 5621, 9506, 202, 430, 12, 1376, 631, 2011, 13, 6862, 202, 2463, 31, 1082, 202, 97, 202, 202, 22938, 202, 202, 5414, 9455, 18, 1289, 12, 2704, 6581, 12, 45, 2421, 22144, 1803, 2918, 18, 7969, 67, 8355, 7022, 55, 10019, 202, 202, 588, 4956, 7675, 4861, 27315, 12, 5414, 9455, 16, 25256, 1769, 202, 202, 25256, 18, 588, 2471, 7675, 542, 4599, 12, 5414, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 6459, 2738, 27315, 1435, 95, 202, 202, 4599, 49, 940, 1035, 2104, 9455, 33, 2704, 4599, 1318, 2932, 7, 13770, 4599, 8863, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 49, 7924, 2104, 33, 5414, 9455, 18, 2640, 27315, 12, 25256, 18, 588, 2471, 10663, 202, 202, 2640, 6691, 1803, 5621, 202, 202, 5414, 9455, 18, 1289, 12, 10996, 1803, 1769, 202, 202, 5414, 9455, 18, 1289, 4599, 2223, 12, 2704, 3445, 2104, 2223, 1435, 95, 1082, 202, 482, 6459, 5414, 24813, 774, 5706, 12, 3445, 2104, 49, 940, 1035, 1063, 15329, 9506, 202, 2278, 966, 1376, 33, 588, 7416, 966, 5621, 9506, 202, 430, 12, 1376, 631, 2011, 13, 6862, 202, 2463, 31, 2 ]
markFilterSource.mark(); support.readLine();
int bufferLine = source.getLine(); int bufferColumn = source.getColumn(); String buffer = support.readLine() + '\n';
private int parseHereDocument(int term, boolean indent) { int c; Node list = null; int linesave = ruby.getSourceLine(); newtok(); switch (term) { case '\'' : case '"' : case '`' : while ((c = nextc()) != term) { tokadd(c); } if (term == '\'') { term = 0; } break; default : c = term; term = '"'; if (!isIdentifierChar(c)) { ph.rb_warn("use of bare << to mean <<\"\" is deprecated"); break; } while (isIdentifierChar(c)) { tokadd(c); c = nextc(); } pushback(c); break; } markFilterSource.mark(); support.readLine(); String eos = tok(); StringBuffer sb = new StringBuffer(); while (true) { // test if the end of file or end of string is reached. String line = support.readLine(); if (line == null) { // error: ruby.setSourceLine(linesave); ph.rb_compile_error("can't find string \"" + eos + "\" anywhere before EOF"); return 0; } else if ((indent && line.trim().startsWith(eos)) || line.startsWith(eos)) { if (line.trim().length() == eos.length()) { source.addCurrentLine(); break; } } source.unread(line.length() + 1); while (true) { switch (parse_string(term, '\n', '\n')) { case Token.tSTRING : case Token.tXSTRING : ((RubyString) yyVal).cat("\n"); if (list == null) { sb.append(yyVal.toString()); } else { ph.list_append(list, nf.newStr((RubyObject) yyVal)); } break; case Token.tDSTRING : if (list == null) { list = nf.newDStr(RubyString.newString(ruby, sb.toString())); } /* fall through */ case Token.tDXSTRING : if (list == null) { list = nf.newDXStr(RubyString.newString(ruby, sb.toString())); } ph.list_append((Node) yyVal, nf.newStr(RubyString.newString(ruby, "\n"))); ((StrNodeConvertable) yyVal).convertToStrNode(); yyVal = nf.newList((Node) yyVal); ((Node) yyVal).setNextNode(((Node) yyVal).getHeadNode().getNextNode()); ph.list_concat(list, (Node) yyVal); break; case 0 : // goto error; ruby.setSourceLine(linesave); ph.rb_compile_error("can't find string \"" + eos + "\" anywhere before EOF"); return 0; } if (source.isEOL()) { source.addCurrentLine(); break; } } } ph.setLexState(LexState.EXPR_END); ph.setHeredocEnd(ruby.getSourceLine()); ruby.setSourceLine(linesave); markFilterSource.reset(); if (list != null) { list.setLine(linesave + 1); yyVal = list; } switch (term) { case '\0' : case '\'' : case '"' : if (list != null) { return Token.tDSTRING; } yyVal = RubyString.newString(ruby, sb.toString()); return Token.tSTRING; case '`' : if (list != null) { return Token.tDXSTRING; } yyVal = RubyString.newString(ruby, sb.toString()); return Token.tXSTRING; } return 0; }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/4e4bb40b2eb2d38881d15ca8ef7cda4c34323793/DefaultRubyScanner.java/clean/org/jruby/parser/DefaultRubyScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1109, 26715, 2519, 12, 474, 2481, 16, 1250, 3504, 13, 288, 3639, 509, 276, 31, 3639, 2029, 666, 273, 446, 31, 3639, 509, 2362, 836, 273, 22155, 18, 588, 1830, 1670, 5621, 3639, 394, 17692, 5621, 3639, 1620, 261, 6408, 13, 288, 5411, 648, 15053, 294, 5411, 648, 4754, 294, 5411, 648, 14793, 294, 7734, 1323, 14015, 71, 273, 1024, 71, 10756, 480, 2481, 13, 288, 10792, 946, 1289, 12, 71, 1769, 7734, 289, 7734, 309, 261, 6408, 422, 14118, 6134, 288, 10792, 2481, 273, 374, 31, 7734, 289, 7734, 898, 31, 5411, 805, 294, 7734, 276, 273, 2481, 31, 7734, 2481, 273, 4754, 31, 7734, 309, 16051, 291, 3004, 2156, 12, 71, 3719, 288, 10792, 1844, 18, 6731, 67, 8935, 2932, 1202, 434, 18208, 2296, 358, 3722, 2296, 2412, 2412, 353, 6849, 8863, 10792, 898, 31, 7734, 289, 7734, 1323, 261, 291, 3004, 2156, 12, 71, 3719, 288, 10792, 946, 1289, 12, 71, 1769, 10792, 276, 273, 1024, 71, 5621, 7734, 289, 7734, 1817, 823, 12, 71, 1769, 7734, 898, 31, 3639, 289, 7734, 2267, 1586, 1830, 18, 3355, 5621, 3639, 2865, 18, 896, 1670, 5621, 3639, 514, 425, 538, 273, 946, 5621, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 1323, 261, 3767, 13, 288, 5411, 368, 1842, 309, 326, 679, 434, 585, 578, 679, 434, 533, 353, 8675, 18, 5411, 514, 980, 273, 2865, 18, 896, 1670, 5621, 5411, 309, 261, 1369, 422, 446, 13, 288, 7734, 368, 555, 30, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1109, 26715, 2519, 12, 474, 2481, 16, 1250, 3504, 13, 288, 3639, 509, 276, 31, 3639, 2029, 666, 273, 446, 31, 3639, 509, 2362, 836, 273, 22155, 18, 588, 1830, 1670, 5621, 3639, 394, 17692, 5621, 3639, 1620, 261, 6408, 13, 288, 5411, 648, 15053, 294, 5411, 648, 4754, 294, 5411, 648, 14793, 294, 7734, 1323, 14015, 71, 273, 1024, 71, 10756, 480, 2481, 13, 288, 10792, 946, 1289, 12, 71, 1769, 7734, 289, 7734, 309, 261, 6408, 422, 14118, 6134, 288, 10792, 2481, 273, 374, 31, 7734, 289, 7734, 898, 31, 5411, 805, 294, 7734, 276, 273, 2481, 31, 7734, 2481, 273, 4754, 31, 7734, 309, 16051, 291, 3004, 2156, 12, 71, 3719, 288, 10792, 2 ]
d.syncExec(new Runnable() {
final int id = swtKey; display.syncExec(new Runnable() {
public Image get(String key) { // can be null if (key == null){ return null; } /** * NOTE, for backwards compatibility the following images are supported * here, they should never be disposed, hence we explicitly return them * rather then registering images that SWT will dispose. * * Applications should go direclty to SWT for these icons. * * @see Display.getSystemIcon(int ID) */ int swtKey = -1; if (key.equals(Dialog.DLG_IMG_INFO)) { swtKey = SWT.ICON_INFORMATION; } if (key.equals(Dialog.DLG_IMG_QUESTION)) { swtKey = SWT.ICON_QUESTION; } if (key.equals(Dialog.DLG_IMG_WARNING)) { swtKey = SWT.ICON_WARNING; } if (key.equals(Dialog.DLG_IMG_ERROR)) { swtKey = SWT.ICON_ERROR; } // if we actually just want to return an SWT image do so without // looking in the registry if (swtKey != -1){ final Display d = (display == null) ? Display.getCurrent() : display; final Image[] image = new Image[1]; d.syncExec(new Runnable() { public void run() { image[0] = d.getSystemImage(SWT.ICON_INFORMATION); } }); return image[0]; } Entry entry = getEntry(key); if (entry == null) { return null; } if (entry.image == null && entry.descriptor != null) { entry.image = entry.descriptor.createImage(); } return entry.image; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a4b0a7865ffbdbaf514fc25c42275e897d4565d0/ImageRegistry.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/resource/ImageRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3421, 336, 12, 780, 498, 13, 288, 9506, 202, 759, 848, 506, 446, 202, 202, 430, 261, 856, 422, 446, 15329, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 26873, 1082, 380, 5219, 16, 364, 12727, 8926, 326, 3751, 4602, 854, 3260, 1082, 380, 2674, 16, 2898, 1410, 5903, 506, 1015, 7423, 16, 20356, 732, 8122, 327, 2182, 1875, 380, 9178, 1508, 22845, 4602, 716, 348, 8588, 903, 15825, 18, 26924, 380, 1875, 380, 4257, 87, 1410, 1960, 302, 577, 830, 4098, 358, 348, 8588, 364, 4259, 17455, 18, 1082, 380, 1875, 380, 632, 5946, 9311, 18, 588, 3163, 5554, 12, 474, 1599, 13, 1082, 1195, 202, 202, 474, 1352, 88, 653, 273, 300, 21, 31, 202, 202, 430, 261, 856, 18, 14963, 12, 6353, 18, 8914, 43, 67, 3445, 43, 67, 5923, 3719, 288, 1082, 202, 5328, 88, 653, 273, 348, 8588, 18, 21745, 67, 706, 23805, 31, 6862, 202, 97, 202, 202, 430, 261, 856, 18, 14963, 12, 6353, 18, 8914, 43, 67, 3445, 43, 67, 4740, 1146, 3719, 288, 1082, 202, 5328, 88, 653, 273, 348, 8588, 18, 21745, 67, 4740, 1146, 31, 202, 202, 97, 202, 202, 430, 261, 856, 18, 14963, 12, 6353, 18, 8914, 43, 67, 3445, 43, 67, 9511, 3719, 288, 1082, 202, 5328, 88, 653, 273, 348, 8588, 18, 21745, 67, 9511, 31, 202, 202, 97, 202, 202, 430, 261, 856, 18, 14963, 12, 6353, 18, 8914, 43, 67, 3445, 43, 67, 3589, 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, 3421, 336, 12, 780, 498, 13, 288, 9506, 202, 759, 848, 506, 446, 202, 202, 430, 261, 856, 422, 446, 15329, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 26873, 1082, 380, 5219, 16, 364, 12727, 8926, 326, 3751, 4602, 854, 3260, 1082, 380, 2674, 16, 2898, 1410, 5903, 506, 1015, 7423, 16, 20356, 732, 8122, 327, 2182, 1875, 380, 9178, 1508, 22845, 4602, 716, 348, 8588, 903, 15825, 18, 26924, 380, 1875, 380, 4257, 87, 1410, 1960, 302, 577, 830, 4098, 358, 348, 8588, 364, 4259, 17455, 18, 1082, 380, 1875, 380, 632, 5946, 9311, 18, 588, 3163, 5554, 12, 474, 1599, 13, 1082, 1195, 202, 202, 474, 1352, 88, 653, 273, 300, 2 ]
cache.createContributionItems(ciList);
cache.createContributionItems(this, ciList);
private boolean processAdditions(ContributionManager mgr, MenuCacheEntry cache) { int insertionIndex = getInsertionIndex(mgr, cache.getUri()); if (insertionIndex == -1) return false; // can't process (yet) // Get the additions List ciList = new ArrayList(); cache.createContributionItems(ciList); // If we have any then add them at the correct location if (ciList.size() > 0) { for (Iterator ciIter = ciList.iterator(); ciIter.hasNext();) { IContributionItem ici = (IContributionItem) ciIter.next(); mgr.insert(insertionIndex++, ici); } } return true; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/f7118bacdde0037a8b2ce9ab7a0a133d473eead0/WorkbenchMenuService.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1207, 986, 5029, 12, 442, 4027, 1318, 13333, 16, 1082, 202, 4599, 27630, 1247, 13, 288, 202, 202, 474, 12626, 1016, 273, 336, 29739, 1016, 12, 13552, 16, 1247, 18, 588, 3006, 10663, 202, 202, 430, 261, 6387, 285, 1016, 422, 300, 21, 13, 1082, 202, 2463, 629, 31, 368, 848, 1404, 1207, 261, 24404, 13, 202, 202, 759, 968, 326, 26260, 202, 202, 682, 9039, 682, 273, 394, 2407, 5621, 202, 202, 2493, 18, 2640, 442, 4027, 3126, 12, 8450, 682, 1769, 202, 202, 759, 971, 732, 1240, 1281, 1508, 527, 2182, 622, 326, 3434, 2117, 202, 202, 430, 261, 8450, 682, 18, 1467, 1435, 405, 374, 13, 288, 1082, 202, 1884, 261, 3198, 9039, 2360, 273, 9039, 682, 18, 9838, 5621, 9039, 2360, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 45, 442, 4027, 1180, 277, 8450, 273, 261, 45, 442, 4027, 1180, 13, 9039, 2360, 18, 4285, 5621, 9506, 202, 13552, 18, 6387, 12, 6387, 285, 1016, 9904, 16, 277, 8450, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1207, 986, 5029, 12, 442, 4027, 1318, 13333, 16, 1082, 202, 4599, 27630, 1247, 13, 288, 202, 202, 474, 12626, 1016, 273, 336, 29739, 1016, 12, 13552, 16, 1247, 18, 588, 3006, 10663, 202, 202, 430, 261, 6387, 285, 1016, 422, 300, 21, 13, 1082, 202, 2463, 629, 31, 368, 848, 1404, 1207, 261, 24404, 13, 202, 202, 759, 968, 326, 26260, 202, 202, 682, 9039, 682, 273, 394, 2407, 5621, 202, 202, 2493, 18, 2640, 442, 4027, 3126, 12, 8450, 682, 1769, 202, 202, 759, 971, 732, 1240, 1281, 1508, 527, 2182, 622, 326, 3434, 2117, 202, 202, 430, 261, 8450, 682, 18, 1467, 1435, 405, 374, 13, 288, 1082, 202, 1884, 261, 3198, 2 ]
public TA_RetCode HT_DCPHASE( int startIdx, int endIdx, double inReal[], MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ int outIdx, i; int lookbackTotal, today; double tempReal, tempReal2; double adjustedPrevPeriod, period; int trailingWMAIdx; double periodWMASum, periodWMASub, trailingWMAValue; double smoothedValue; final double a = 0.0962; final double b = 0.5769; double hilbertTempReal; int hilbertIdx; double []detrender_Odd = new double[3]; ; double []detrender_Even = new double[3]; ; double detrender; double prev_detrender_Odd ; double prev_detrender_Even ; double prev_detrender_input_Odd ; double prev_detrender_input_Even ; double []Q1_Odd = new double[3]; ; double []Q1_Even = new double[3]; ; double Q1; double prev_Q1_Odd ; double prev_Q1_Even ; double prev_Q1_input_Odd ; double prev_Q1_input_Even ; double []jI_Odd = new double[3]; ; double []jI_Even = new double[3]; ; double jI; double prev_jI_Odd ; double prev_jI_Even ; double prev_jI_input_Odd ; double prev_jI_input_Even ; double []jQ_Odd = new double[3]; ; double []jQ_Even = new double[3]; ; double jQ; double prev_jQ_Odd ; double prev_jQ_Even ; double prev_jQ_input_Odd ; double prev_jQ_input_Even ; double Q2, I2, prevQ2, prevI2, Re, Im; double I1ForOddPrev2, I1ForOddPrev3; double I1ForEvenPrev2, I1ForEvenPrev3; double rad2Deg, constDeg2RadBy360; double todayValue, smoothPeriod; int smoothPrice_Idx = 0; double []smoothPrice; int maxIdx_smoothPrice = ( 50 -1) ; int idx; int DCPeriodInt; double DCPhase, DCPeriod, imagPart, realPart; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; { smoothPrice = new double[maxIdx_smoothPrice +1]; } ; tempReal = Math.atan (1); rad2Deg = 45.0/tempReal; constDeg2RadBy360 = tempReal*8.0; lookbackTotal = 63 + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_HT_DCPHASE.ordinal()]) ; if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } outBegIdx.value = startIdx; trailingWMAIdx = startIdx - lookbackTotal; today = trailingWMAIdx; tempReal = inReal[today++]; periodWMASub = tempReal; periodWMASum = tempReal; tempReal = inReal[today++]; periodWMASub += tempReal; periodWMASum += tempReal*2.0; tempReal = inReal[today++]; periodWMASub += tempReal; periodWMASum += tempReal*3.0; trailingWMAValue = 0.0; i = 34; do { tempReal = inReal[today++]; { periodWMASub += tempReal; periodWMASub -= trailingWMAValue; periodWMASum += tempReal*4.0; trailingWMAValue = inReal[trailingWMAIdx++]; smoothedValue = periodWMASum*0.1; periodWMASum -= periodWMASub; } ; } while( --i != 0); hilbertIdx = 0; { detrender_Odd [0] = 0.0; detrender_Odd [1] = 0.0; detrender_Odd [2] = 0.0; detrender_Even [0] = 0.0; detrender_Even [1] = 0.0; detrender_Even [2] = 0.0; detrender = 0.0; prev_detrender_Odd = 0.0; prev_detrender_Even = 0.0; prev_detrender_input_Odd = 0.0; prev_detrender_input_Even = 0.0; } ; { Q1_Odd [0] = 0.0; Q1_Odd [1] = 0.0; Q1_Odd [2] = 0.0; Q1_Even [0] = 0.0; Q1_Even [1] = 0.0; Q1_Even [2] = 0.0; Q1 = 0.0; prev_Q1_Odd = 0.0; prev_Q1_Even = 0.0; prev_Q1_input_Odd = 0.0; prev_Q1_input_Even = 0.0; } ; { jI_Odd [0] = 0.0; jI_Odd [1] = 0.0; jI_Odd [2] = 0.0; jI_Even [0] = 0.0; jI_Even [1] = 0.0; jI_Even [2] = 0.0; jI = 0.0; prev_jI_Odd = 0.0; prev_jI_Even = 0.0; prev_jI_input_Odd = 0.0; prev_jI_input_Even = 0.0; } ; { jQ_Odd [0] = 0.0; jQ_Odd [1] = 0.0; jQ_Odd [2] = 0.0; jQ_Even [0] = 0.0; jQ_Even [1] = 0.0; jQ_Even [2] = 0.0; jQ = 0.0; prev_jQ_Odd = 0.0; prev_jQ_Even = 0.0; prev_jQ_input_Odd = 0.0; prev_jQ_input_Even = 0.0; } ; period = 0.0; outIdx = 0; prevI2 = prevQ2 = 0.0; Re = Im = 0.0; I1ForOddPrev3 = I1ForEvenPrev3 = 0.0; I1ForOddPrev2 = I1ForEvenPrev2 = 0.0; smoothPeriod = 0.0; for( i=0; i < 50 ; i++ ) smoothPrice[i] = 0.0; DCPhase = 0.0; while( today <= endIdx ) { adjustedPrevPeriod = (0.075*period)+0.54; todayValue = inReal[today]; { periodWMASub += todayValue; periodWMASub -= trailingWMAValue; periodWMASum += todayValue*4.0; trailingWMAValue = inReal[trailingWMAIdx++]; smoothedValue = periodWMASum*0.1; periodWMASum -= periodWMASub; } ; smoothPrice[smoothPrice_Idx] = smoothedValue; if( (today%2) == 0 ) { { hilbertTempReal = a * smoothedValue; detrender = -detrender_Even [hilbertIdx]; detrender_Even [hilbertIdx] = hilbertTempReal; detrender += hilbertTempReal; detrender -= prev_detrender_Even ; prev_detrender_Even = b * prev_detrender_input_Even ; detrender += prev_detrender_Even ; prev_detrender_input_Even = smoothedValue; detrender *= adjustedPrevPeriod; } ; { hilbertTempReal = a * detrender; Q1 = -Q1_Even [hilbertIdx]; Q1_Even [hilbertIdx] = hilbertTempReal; Q1 += hilbertTempReal; Q1 -= prev_Q1_Even ; prev_Q1_Even = b * prev_Q1_input_Even ; Q1 += prev_Q1_Even ; prev_Q1_input_Even = detrender; Q1 *= adjustedPrevPeriod; } ; { hilbertTempReal = a * I1ForEvenPrev3; jI = -jI_Even [hilbertIdx]; jI_Even [hilbertIdx] = hilbertTempReal; jI += hilbertTempReal; jI -= prev_jI_Even ; prev_jI_Even = b * prev_jI_input_Even ; jI += prev_jI_Even ; prev_jI_input_Even = I1ForEvenPrev3; jI *= adjustedPrevPeriod; } ; { hilbertTempReal = a * Q1; jQ = -jQ_Even [hilbertIdx]; jQ_Even [hilbertIdx] = hilbertTempReal; jQ += hilbertTempReal; jQ -= prev_jQ_Even ; prev_jQ_Even = b * prev_jQ_input_Even ; jQ += prev_jQ_Even ; prev_jQ_input_Even = Q1; jQ *= adjustedPrevPeriod; } ; if( ++hilbertIdx == 3 ) hilbertIdx = 0; Q2 = (0.2*(Q1 + jI)) + (0.8*prevQ2); I2 = (0.2*(I1ForEvenPrev3 - jQ)) + (0.8*prevI2); I1ForOddPrev3 = I1ForOddPrev2; I1ForOddPrev2 = detrender; } else { { hilbertTempReal = a * smoothedValue; detrender = -detrender_Odd [hilbertIdx]; detrender_Odd [hilbertIdx] = hilbertTempReal; detrender += hilbertTempReal; detrender -= prev_detrender_Odd ; prev_detrender_Odd = b * prev_detrender_input_Odd ; detrender += prev_detrender_Odd ; prev_detrender_input_Odd = smoothedValue; detrender *= adjustedPrevPeriod; } ; { hilbertTempReal = a * detrender; Q1 = -Q1_Odd [hilbertIdx]; Q1_Odd [hilbertIdx] = hilbertTempReal; Q1 += hilbertTempReal; Q1 -= prev_Q1_Odd ; prev_Q1_Odd = b * prev_Q1_input_Odd ; Q1 += prev_Q1_Odd ; prev_Q1_input_Odd = detrender; Q1 *= adjustedPrevPeriod; } ; { hilbertTempReal = a * I1ForOddPrev3; jI = -jI_Odd [hilbertIdx]; jI_Odd [hilbertIdx] = hilbertTempReal; jI += hilbertTempReal; jI -= prev_jI_Odd ; prev_jI_Odd = b * prev_jI_input_Odd ; jI += prev_jI_Odd ; prev_jI_input_Odd = I1ForOddPrev3; jI *= adjustedPrevPeriod; } ; { hilbertTempReal = a * Q1; jQ = -jQ_Odd [hilbertIdx]; jQ_Odd [hilbertIdx] = hilbertTempReal; jQ += hilbertTempReal; jQ -= prev_jQ_Odd ; prev_jQ_Odd = b * prev_jQ_input_Odd ; jQ += prev_jQ_Odd ; prev_jQ_input_Odd = Q1; jQ *= adjustedPrevPeriod; } ; Q2 = (0.2*(Q1 + jI)) + (0.8*prevQ2); I2 = (0.2*(I1ForOddPrev3 - jQ)) + (0.8*prevI2); I1ForEvenPrev3 = I1ForEvenPrev2; I1ForEvenPrev2 = detrender; } Re = (0.2*((I2*prevI2)+(Q2*prevQ2)))+(0.8*Re); Im = (0.2*((I2*prevQ2)-(Q2*prevI2)))+(0.8*Im); prevQ2 = Q2; prevI2 = I2; tempReal = period; if( (Im != 0.0) && (Re != 0.0) ) period = 360.0 / ( Math.atan (Im/Re)*rad2Deg); tempReal2 = 1.5*tempReal; if( period > tempReal2) period = tempReal2; tempReal2 = 0.67*tempReal; if( period < tempReal2 ) period = tempReal2; if( period < 6 ) period = 6; else if( period > 50 ) period = 50; period = (0.2*period) + (0.8 * tempReal); smoothPeriod = (0.33*period)+(0.67*smoothPeriod); DCPeriod = smoothPeriod+0.5; DCPeriodInt = (int)DCPeriod; realPart = 0.0; imagPart = 0.0; idx = smoothPrice_Idx; for( i=0; i < DCPeriodInt; i++ ) { tempReal = ((double)i*constDeg2RadBy360)/(double)DCPeriodInt; tempReal2 = smoothPrice[idx]; realPart += Math.sin (tempReal)*tempReal2; imagPart += Math.cos (tempReal)*tempReal2; if( idx == 0 ) idx = 50 -1; else idx--; } tempReal = Math.abs (imagPart); if( tempReal > 0.0 ) DCPhase = Math.atan (realPart/imagPart)*rad2Deg; else if( tempReal <= 0.01 ) { if( realPart < 0.0 ) DCPhase -= 90.0; else if( realPart > 0.0 ) DCPhase += 90.0; } DCPhase += 90.0; DCPhase += 360.0 / smoothPeriod; if( imagPart < 0.0 ) DCPhase += 180.0; if( DCPhase > 315.0 ) DCPhase -= 360.0; if( today >= startIdx ) { outReal[outIdx++] = DCPhase; } { smoothPrice_Idx ++; if( smoothPrice_Idx > maxIdx_smoothPrice ) smoothPrice_Idx = 0; } ; today++; } outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS;}
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 5062, 67, 40, 4258, 44, 4429, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 6955, 63, 6487, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 659, 4223, 16, 77, 31, 474, 7330, 823, 5269, 16, 30064, 31, 2896, 440, 278, 30752, 6955, 16, 5814, 6955, 22, 31, 9056, 13362, 329, 9958, 5027, 16, 6908, 31, 474, 26453, 59, 5535, 4223, 31, 9056, 6908, 25173, 3033, 379, 16, 6908, 59, 5535, 1676, 16, 26453, 59, 5535, 620, 31, 2896, 19314, 81, 8595, 329, 620, 31, 6385, 9056, 69, 33, 20, 18, 5908, 8898, 31, 6385, 9056, 70, 33, 20, 18, 25, 6669, 29, 31, 9056, 76, 330, 25925, 7185, 6955, 31, 267, 451, 330, 25925, 4223, 31, 9056, 8526, 8238, 5902, 67, 51, 449, 33, 2704, 9056, 63, 23, 15533, 31, 9056, 8526, 8238, 5902, 67, 8321, 33, 2704, 9056, 63, 23, 15533, 31, 9056, 8238, 5902, 31, 9056, 10001, 67, 8238, 5902, 67, 51, 449, 31, 9056, 10001, 67, 8238, 5902, 67, 8321, 31, 9056, 10001, 67, 8238, 5902, 67, 2630, 67, 51, 449, 31, 9056, 10001, 67, 8238, 5902, 67, 2630, 67, 8321, 31, 9056, 8526, 53, 21, 67, 51, 449, 33, 2704, 9056, 63, 23, 15533, 31, 9056, 8526, 53, 21, 67, 8321, 33, 2704, 9056, 63, 23, 15533, 31, 9056, 53, 21, 31, 9056, 10001, 67, 53, 21, 67, 51, 449, 31, 9056, 10001, 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, 1071, 9833, 67, 7055, 1085, 5062, 67, 40, 4258, 44, 4429, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 6955, 63, 6487, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 659, 4223, 16, 77, 31, 474, 7330, 823, 5269, 16, 30064, 31, 2896, 440, 278, 30752, 6955, 16, 5814, 6955, 22, 31, 9056, 13362, 329, 9958, 5027, 16, 6908, 31, 474, 26453, 59, 5535, 4223, 31, 9056, 6908, 25173, 3033, 379, 16, 6908, 59, 5535, 1676, 16, 26453, 59, 5535, 620, 31, 2896, 19314, 81, 8595, 329, 620, 31, 6385, 9056, 69, 33, 20, 18, 5908, 8898, 31, 6385, 9056, 70, 33, 20, 18, 25, 2 ]
setScope((String) evalAttr("scope", getScope(), String.class));
setScope((String) evalAttr("scope", getScopeExpr(), String.class));
private void evaluateExpressions() throws JspException { try { setCookie((String) evalAttr("cookie", getCookie(), String.class)); } catch (NullAttributeException ex) { setCookie(null); } try { setExpr((String) evalAttr("expr", getExpr(), String.class)); } catch (NullAttributeException ex) { setExpr(null); } try { setHeader((String) evalAttr("header", getHeader(), String.class)); } catch (NullAttributeException ex) { setHeader(null); } try { setLocation((String) evalAttr("location", getLocation(), String.class)); } catch (NullAttributeException ex) { setLocation(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setParameter((String) evalAttr("parameter", getParameter(), String.class)); } catch (NullAttributeException ex) { setParameter(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setScope((String) evalAttr("scope", getScope(), String.class)); } catch (NullAttributeException ex) { setScope(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELNotMatchTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/logic/ELNotMatchTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 26793, 12443, 780, 13, 5302, 3843, 2932, 8417, 3113, 24643, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 26793, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 4742, 12443, 780, 13, 5302, 3843, 2932, 8638, 3113, 336, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 4742, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 10859, 12443, 780, 13, 5302, 3843, 2932, 3374, 3113, 7911, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 10859, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 21751, 12443, 780, 13, 5302, 3843, 2932, 3562, 3113, 13312, 9334, 4766, 1850, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 21751, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 2932, 529, 3113, 1723, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 6788, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 6690, 12443, 780, 13, 5302, 3843, 2932, 6775, 3113, 5575, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 6690, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 7486, 12443, 780, 13, 5302, 3843, 2932, 4468, 3113, 3911, 9334, 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, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 26793, 12443, 780, 13, 5302, 3843, 2932, 8417, 3113, 24643, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 26793, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 4742, 12443, 780, 13, 5302, 3843, 2932, 8638, 3113, 336, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 4742, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 10859, 12443, 780, 13, 5302, 3843, 2932, 3374, 3113, 7911, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 10859, 12, 2011, 1769, 3639, 2 ]
java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat( "yyyy-MM-dd HH:mm:ss" );
SimpleDateFormat formatter = new java.text.SimpleDateFormat( "yyyy-MM-dd HH:mm:ss" );
private boolean compareDates( String date1, String date2 ) { // Lets fix the date // java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat() ; java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat( "yyyy-MM-dd HH:mm:ss" ); GregorianCalendar firstDate = new GregorianCalendar(); GregorianCalendar secDate = new GregorianCalendar(); try { // Create a calendar, by parse to a date and then create calendar firstDate.setTime( formatter.parse( date1 ) ); secDate.setTime( formatter.parse( date2 ) ); // Get the seconds from the datestring, firstDate.set( Calendar.SECOND, this.getDateItem( date1, ":", 3 ) ); secDate.set( Calendar.SECOND, this.getDateItem( date2, ":", 3 ) ); //secDate = formatter.parse(date2) ; //log("firstDate: " + firstDate.toString() ) ; //log("secDate: " + firstDate.toString() ) ; } catch ( java.text.ParseException e ) { log( e.getMessage() ); log( "Invalid date1: " + date1 ); log( "Invalid date2: " + date2 ); return true; } // if ( firstDate.before( secDate ) ) { //log( date1 + " innan " + date2) ; return true; } return false; // return firstDate.before(secDate) ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/384aa6673a2d85962105b70af94204908f253f18/ConfDisc.java/clean/server/src/com/imcode/imcms/servlet/conference/ConfDisc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3400, 15578, 12, 514, 1509, 21, 16, 514, 1509, 22, 262, 288, 3639, 368, 511, 2413, 2917, 326, 1509, 3639, 368, 2252, 18, 955, 18, 5784, 11878, 4453, 273, 394, 2252, 18, 955, 18, 5784, 11878, 1435, 274, 4202, 17005, 4453, 273, 394, 2252, 18, 955, 18, 5784, 11878, 12, 315, 17722, 17, 8206, 17, 449, 20842, 30, 7020, 30, 1049, 6, 11272, 3639, 28033, 1122, 1626, 273, 394, 28033, 5621, 3639, 28033, 1428, 1626, 273, 394, 28033, 5621, 3639, 775, 288, 5411, 368, 1788, 279, 5686, 16, 635, 1109, 358, 279, 1509, 471, 1508, 752, 5686, 5411, 1122, 1626, 18, 542, 950, 12, 4453, 18, 2670, 12, 1509, 21, 262, 11272, 5411, 1428, 1626, 18, 542, 950, 12, 4453, 18, 2670, 12, 1509, 22, 262, 11272, 5411, 368, 968, 326, 3974, 628, 326, 7811, 371, 16, 5411, 1122, 1626, 18, 542, 12, 5542, 18, 16328, 16, 333, 18, 588, 1626, 1180, 12, 1509, 21, 16, 6153, 16, 890, 262, 11272, 5411, 1428, 1626, 18, 542, 12, 5542, 18, 16328, 16, 333, 18, 588, 1626, 1180, 12, 1509, 22, 16, 6153, 16, 890, 262, 11272, 5411, 368, 3321, 1626, 273, 4453, 18, 2670, 12, 712, 22, 13, 274, 5411, 368, 1330, 2932, 3645, 1626, 30, 315, 397, 1122, 1626, 18, 10492, 1435, 262, 274, 5411, 368, 1330, 2932, 3321, 1626, 30, 315, 397, 1122, 1626, 18, 10492, 1435, 262, 274, 3639, 289, 1044, 261, 2252, 18, 955, 18, 13047, 425, 262, 288, 5411, 613, 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, 1250, 3400, 15578, 12, 514, 1509, 21, 16, 514, 1509, 22, 262, 288, 3639, 368, 511, 2413, 2917, 326, 1509, 3639, 368, 2252, 18, 955, 18, 5784, 11878, 4453, 273, 394, 2252, 18, 955, 18, 5784, 11878, 1435, 274, 4202, 17005, 4453, 273, 394, 2252, 18, 955, 18, 5784, 11878, 12, 315, 17722, 17, 8206, 17, 449, 20842, 30, 7020, 30, 1049, 6, 11272, 3639, 28033, 1122, 1626, 273, 394, 28033, 5621, 3639, 28033, 1428, 1626, 273, 394, 28033, 5621, 3639, 775, 288, 5411, 368, 1788, 279, 5686, 16, 635, 1109, 358, 279, 1509, 471, 1508, 752, 5686, 5411, 1122, 1626, 18, 542, 950, 12, 4453, 18, 2670, 12, 1509, 21, 262, 11272, 5411, 1428, 1626, 18, 2 ]
out.println("looseMarshalByteArray(wireFormat, " + getter + ", dataOut);");
out.println(" looseMarshalByteArray(wireFormat, " + getter + ", dataOut);");
protected void generateLooseMarshalBody(PrintWriter out) { List properties = getProperties(); for (Iterator iter = properties.iterator(); iter.hasNext();) { JProperty property = (JProperty) iter.next(); JAnnotation annotation = property.getAnnotation("openwire:property"); JAnnotationValue size = annotation.getValue("size"); JClass propertyType = property.getType(); String type = propertyType.getSimpleName(); String getter = "info." + property.getGetter().getSimpleName() + "()"; out.print(indent); if (type.equals("boolean")) { out.println("dataOut.writeBoolean("+ getter + ");"); } else if (type.equals("byte")) { out.println("dataOut.writeByte(" + getter + ");"); } else if (type.equals("char")) { out.println("dataOut.writeChar(" + getter + ");"); } else if (type.equals("short")) { out.println("dataOut.writeShort(" + getter + ");"); } else if (type.equals("int")) { out.println("dataOut.writeInt(" + getter + ");"); } else if (type.equals("long")) { out.println("looseMarshalLong(wireFormat, " + getter + ", dataOut);"); } else if (type.equals("String")) { out.println("looseMarshalString(" + getter + ", dataOut);"); } else if (type.equals("byte[]")) { if (size != null) { out.println("looseMarshalConstByteArray(wireFormat, " + getter + ", dataOut, " + size.asInt() + ");"); } else { out.println("looseMarshalByteArray(wireFormat, " + getter + ", dataOut);"); } } else if (type.equals("ByteSequence")) { out.println("looseMarshalByteSequence(wireFormat, " + getter + ", dataOut);"); } else if (propertyType.isArrayType()) { if (size != null) { out.println("looseMarshalObjectArrayConstSize(wireFormat, " + getter + ", dataOut, " + size.asInt() + ");"); } else { out.println("looseMarshalObjectArray(wireFormat, " + getter + ", dataOut);"); } } else if (isThrowable(propertyType)) { out.println("looseMarshalThrowable(wireFormat, " + getter + ", dataOut);"); } else { if (isCachedProperty(property)) { out.println("looseMarshalCachedObject(wireFormat, (DataStructure)" + getter + ", dataOut);"); } else { out.println("looseMarshalNestedObject(wireFormat, (DataStructure)" + getter + ", dataOut);"); } } } }
11783 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11783/cd0fb615deb6accf8dfdc07fbe58b53cf6b972a2/OpenWireJavaMarshallingScript.java/buggy/activemq-core/src/gram/java/org/apache/activemq/openwire/tool/OpenWireJavaMarshallingScript.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2103, 1504, 2584, 8105, 2250, 12, 5108, 2289, 596, 13, 288, 3639, 987, 1790, 273, 9392, 5621, 3639, 364, 261, 3198, 1400, 273, 1790, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 804, 1396, 1272, 273, 261, 46, 1396, 13, 1400, 18, 4285, 5621, 5411, 804, 3257, 3204, 273, 1272, 18, 588, 3257, 2932, 3190, 14538, 30, 4468, 8863, 5411, 804, 3257, 620, 963, 273, 3204, 18, 24805, 2932, 1467, 8863, 5411, 804, 797, 21076, 273, 1272, 18, 588, 559, 5621, 5411, 514, 618, 273, 21076, 18, 588, 5784, 461, 5621, 5411, 514, 7060, 273, 315, 1376, 1199, 397, 1272, 18, 588, 8461, 7675, 588, 5784, 461, 1435, 397, 315, 10031, 31, 5411, 596, 18, 1188, 12, 9355, 1769, 5411, 309, 261, 723, 18, 14963, 2932, 6494, 6, 3719, 288, 7734, 596, 18, 8222, 2932, 892, 1182, 18, 2626, 5507, 2932, 15, 7060, 397, 315, 1769, 8863, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 7229, 6, 3719, 288, 7734, 596, 18, 8222, 2932, 892, 1182, 18, 2626, 3216, 2932, 397, 7060, 397, 315, 1769, 8863, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 3001, 6, 3719, 288, 7734, 596, 18, 8222, 2932, 892, 1182, 18, 2626, 2156, 2932, 397, 7060, 397, 315, 1769, 8863, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 6620, 6, 3719, 288, 7734, 596, 18, 8222, 2932, 892, 1182, 18, 2626, 4897, 2932, 397, 7060, 397, 315, 1769, 8863, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2103, 1504, 2584, 8105, 2250, 12, 5108, 2289, 596, 13, 288, 3639, 987, 1790, 273, 9392, 5621, 3639, 364, 261, 3198, 1400, 273, 1790, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 804, 1396, 1272, 273, 261, 46, 1396, 13, 1400, 18, 4285, 5621, 5411, 804, 3257, 3204, 273, 1272, 18, 588, 3257, 2932, 3190, 14538, 30, 4468, 8863, 5411, 804, 3257, 620, 963, 273, 3204, 18, 24805, 2932, 1467, 8863, 5411, 804, 797, 21076, 273, 1272, 18, 588, 559, 5621, 5411, 514, 618, 273, 21076, 18, 588, 5784, 461, 5621, 5411, 514, 7060, 273, 315, 1376, 1199, 397, 1272, 18, 588, 8461, 7675, 588, 5784, 461, 1435, 397, 315, 10031, 31, 5411, 2 ]
errors.add(property, error);
errors.add(property, message);
protected void storeException(HttpServletRequest request, String property, ActionError error, ActionForward forward, String scope) { ActionErrors errors = null; if ("request".equals(scope)) { errors = (ActionErrors) request.getAttribute(Globals.ERROR_KEY); } else { request.getSession().getAttribute(Globals.ERROR_KEY); } if (errors == null) { errors = new ActionErrors(); } errors.add(property, error); if ("request".equals(scope)) { request.setAttribute(Globals.ERROR_KEY, errors); } else { request.getSession().setAttribute(Globals.ERROR_KEY, errors); } }
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/51d6c55876b2dab867b26e35de85c0ba981a5ca6/InterMineExceptionHandler.java/clean/intermine/src/java/org/intermine/web/InterMineExceptionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1707, 503, 12, 2940, 18572, 590, 16, 13491, 514, 1272, 16, 13491, 4382, 668, 555, 16, 13491, 4382, 8514, 5104, 16, 13491, 514, 2146, 13, 288, 3639, 4382, 4229, 1334, 273, 446, 31, 3639, 309, 7566, 2293, 9654, 14963, 12, 4887, 3719, 288, 5411, 1334, 273, 261, 1803, 4229, 13, 590, 18, 588, 1499, 12, 19834, 18, 3589, 67, 3297, 1769, 3639, 289, 469, 288, 5411, 590, 18, 588, 2157, 7675, 588, 1499, 12, 19834, 18, 3589, 67, 3297, 1769, 3639, 289, 3639, 309, 261, 4324, 422, 446, 13, 288, 5411, 1334, 273, 394, 4382, 4229, 5621, 3639, 289, 3639, 1334, 18, 1289, 12, 4468, 16, 883, 1769, 3639, 309, 7566, 2293, 9654, 14963, 12, 4887, 3719, 288, 5411, 590, 18, 542, 1499, 12, 19834, 18, 3589, 67, 3297, 16, 1334, 1769, 3639, 289, 469, 288, 5411, 590, 18, 588, 2157, 7675, 542, 1499, 12, 19834, 18, 3589, 67, 3297, 16, 1334, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1707, 503, 12, 2940, 18572, 590, 16, 13491, 514, 1272, 16, 13491, 4382, 668, 555, 16, 13491, 4382, 8514, 5104, 16, 13491, 514, 2146, 13, 288, 3639, 4382, 4229, 1334, 273, 446, 31, 3639, 309, 7566, 2293, 9654, 14963, 12, 4887, 3719, 288, 5411, 1334, 273, 261, 1803, 4229, 13, 590, 18, 588, 1499, 12, 19834, 18, 3589, 67, 3297, 1769, 3639, 289, 469, 288, 5411, 590, 18, 588, 2157, 7675, 588, 1499, 12, 19834, 18, 3589, 67, 3297, 1769, 3639, 289, 3639, 309, 261, 4324, 422, 446, 13, 288, 5411, 1334, 273, 394, 4382, 4229, 5621, 3639, 289, 3639, 1334, 18, 1289, 12, 4468, 16, 883, 1769, 3639, 309, 7566, 2293, 9654, 14963, 12, 4887, 2 ]
return urls.contains(url);
return url.startsWith((String)spec.getPrefixList().get(0));
public boolean containsUrl(String url) { return urls.contains(url); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/28720b461a544af18af58dee4e33782a7cce6517/MockCachedUrlSet.java/clean/test/src/org/lockss/test/MockCachedUrlSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1914, 1489, 12, 780, 880, 13, 288, 565, 327, 880, 18, 17514, 1190, 12443, 780, 13, 2793, 18, 588, 2244, 682, 7675, 588, 12, 20, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1914, 1489, 12, 780, 880, 13, 288, 565, 327, 880, 18, 17514, 1190, 12443, 780, 13, 2793, 18, 588, 2244, 682, 7675, 588, 12, 20, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
model1.insertQuote(); model1.insertQuote();
model1.insertChar('\"'); model1.insertChar('\"');
public void testQuotesSimple() { model1.insertQuote(); model1.insertQuote(); model1.move(-2); assertEquals("#0.0", "\"", model1.currentToken().getType()); assertEquals("#0.3", ReducedToken.FREE, model1.currentToken().getState()); model1.move(1); assertEquals("#0.1", "\"", model1.currentToken().getType()); assertEquals("#0.2", ReducedToken.FREE, model1.currentToken().getState()); assertEquals("#0.4", ReducedToken.INSIDE_QUOTE, model1.getStateAtCurrent()); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/6f064a351cf6f32ca81eb7bd4e1d9f192f6a46c6/ReducedModelTest.java/buggy/drjava/src/edu/rice/cs/drjava/model/definitions/reducedmodel/ReducedModelTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 14292, 5784, 1435, 202, 202, 95, 1082, 202, 2284, 21, 18, 6387, 10257, 5621, 1082, 202, 2284, 21, 18, 6387, 10257, 5621, 1082, 202, 2284, 21, 18, 8501, 19236, 22, 1769, 1082, 202, 11231, 8867, 2932, 7, 20, 18, 20, 3113, 7023, 3113, 938, 21, 18, 2972, 1345, 7675, 588, 559, 10663, 1082, 202, 11231, 8867, 2932, 7, 20, 18, 23, 3113, 4621, 26372, 1345, 18, 28104, 16, 6862, 25083, 938, 21, 18, 2972, 1345, 7675, 588, 1119, 10663, 1082, 202, 2284, 21, 18, 8501, 12, 21, 1769, 1082, 202, 11231, 8867, 2932, 7, 20, 18, 21, 3113, 7023, 3113, 938, 21, 18, 2972, 1345, 7675, 588, 559, 10663, 1082, 202, 11231, 8867, 2932, 7, 20, 18, 22, 3113, 4621, 26372, 1345, 18, 28104, 16, 6862, 25083, 938, 21, 18, 2972, 1345, 7675, 588, 1119, 10663, 1082, 202, 11231, 8867, 2932, 7, 20, 18, 24, 3113, 4621, 26372, 1345, 18, 706, 26498, 67, 18980, 16, 6862, 25083, 938, 21, 18, 588, 1119, 861, 3935, 10663, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 14292, 5784, 1435, 202, 202, 95, 1082, 202, 2284, 21, 18, 6387, 10257, 5621, 1082, 202, 2284, 21, 18, 6387, 10257, 5621, 1082, 202, 2284, 21, 18, 8501, 19236, 22, 1769, 1082, 202, 11231, 8867, 2932, 7, 20, 18, 20, 3113, 7023, 3113, 938, 21, 18, 2972, 1345, 7675, 588, 559, 10663, 1082, 202, 11231, 8867, 2932, 7, 20, 18, 23, 3113, 4621, 26372, 1345, 18, 28104, 16, 6862, 25083, 938, 21, 18, 2972, 1345, 7675, 588, 1119, 10663, 1082, 202, 2284, 21, 18, 8501, 12, 21, 1769, 1082, 202, 11231, 8867, 2932, 7, 20, 18, 21, 3113, 7023, 3113, 938, 21, 18, 2972, 1345, 7675, 588, 559, 10663, 1082, 202, 11231, 8867, 2932, 2 ]
BugzillaReportSubmitForm form = BugzillaReportSubmitForm.makeNewBugPost(repository, model);
Proxy proxySettings = MylarTaskListPlugin.getDefault().getProxySettings(); BugzillaReportSubmitForm form = BugzillaReportSubmitForm.makeNewBugPost(repository, proxySettings, model);
protected void execute(final IProgressMonitor monitor) throws CoreException { PlatformUI.getWorkbench().getDisplay().syncExec(new Runnable() { public void run() { BugzillaReportSubmitForm form = BugzillaReportSubmitForm.makeNewBugPost(repository, model); try { id = form.submitReportToRepository(); if (id != null) { sentSuccessfully = true; } } catch (BugzillaException e) { MessageDialog.openError(null, "I/O Error", "Bugzilla could not post your bug."); BugzillaPlugin.log(e); } catch (PossibleBugzillaFailureException e) { WebBrowserDialog.openAcceptAgreement(null, "Possible Bugzilla Client Failure", "Bugzilla may not have posted your bug.\n" + e.getMessage(), form.getError()); BugzillaPlugin.log(e); } catch (LoginException e) { MessageDialog.openError(null, "Posting Error", "Bugzilla could not post your bug since your login name or password is incorrect." + "\nPlease check your settings in the bugzilla preferences. "); sentSuccessfully = false; } } }); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/558d58605a0fbb2adb69fc938209c46cfe02bf81/AbstractBugWizard.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/AbstractBugWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 918, 1836, 12, 6385, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 9506, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 8389, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 19865, 15990, 4820, 11620, 1204, 646, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 1908, 19865, 3349, 12, 9071, 16, 938, 1769, 25083, 202, 698, 288, 6862, 1082, 202, 350, 273, 646, 18, 9297, 4820, 774, 3305, 5621, 6862, 1082, 202, 430, 261, 350, 480, 446, 13, 288, 6862, 9506, 202, 7569, 18303, 273, 638, 31, 6862, 1082, 202, 97, 25083, 202, 97, 1044, 261, 19865, 15990, 503, 425, 13, 288, 6862, 1082, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 45, 19, 51, 1068, 3113, 315, 19865, 15990, 3377, 486, 1603, 3433, 7934, 1199, 1769, 6862, 1082, 202, 19865, 15990, 3773, 18, 1330, 12, 73, 1769, 25083, 202, 97, 1044, 261, 13576, 19865, 15990, 14389, 425, 13, 288, 6862, 1082, 202, 4079, 9132, 6353, 18, 3190, 5933, 17420, 12, 2011, 16, 315, 13576, 16907, 15990, 2445, 13436, 3113, 6862, 6862, 202, 6, 19865, 15990, 2026, 486, 1240, 23082, 3433, 7934, 8403, 82, 6, 397, 425, 18, 24906, 9334, 646, 18, 588, 668, 10663, 6862, 1082, 202, 19865, 15990, 3773, 18, 1330, 12, 73, 1769, 25083, 202, 97, 1044, 261, 5358, 503, 425, 13, 288, 6862, 1082, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 3349, 310, 1068, 3113, 6862, 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, 1875, 202, 1117, 918, 1836, 12, 6385, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 9506, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 8389, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 19865, 15990, 4820, 11620, 1204, 646, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 1908, 19865, 3349, 12, 9071, 16, 938, 1769, 25083, 202, 698, 288, 6862, 1082, 202, 350, 273, 646, 18, 9297, 4820, 774, 3305, 5621, 6862, 1082, 202, 430, 261, 350, 480, 446, 13, 288, 6862, 9506, 202, 7569, 18303, 273, 638, 31, 6862, 1082, 202, 97, 25083, 202, 97, 1044, 261, 19865, 15990, 503, 425, 13, 288, 6862, 1082, 202, 1079, 6353, 2 ]
Properties params = this.getParameters(req) ; if (super.checkParameters(req, res, params) == false) { /* String header = "ConfLogin servlet. " ; String msg = params.toString() ; ChatError err = new ChatError(req,res,header,1) ; */ return ; }
Properties params = this.getParameters(req) ; if (super.checkParameters(req, res, params) == false) { return ; }
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { // Lets validate the session, e.g has the user logged in to Janus? if (super.checkSession(req,res) == false) return ; // Lets get all parameters for this servlet Properties params = this.getParameters(req) ; if (super.checkParameters(req, res, params) == false) { /* String header = "ConfLogin servlet. " ; String msg = params.toString() ; ChatError err = new ChatError(req,res,header,1) ; */ return ; } //log("tyest"); // Lets get the user object imcode.server.User user = super.getUserObj(req,res) ; if(user == null) return ; if ( isUserAuthorized( req, res, user ) ) { // Lets get serverinformation String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("userserver",host) ; // Lets detect which helparea the user wants //String helpArea = params.getProperty("HELP_AREA") ; // Lets get a VariableManager VariableManager vm = new VariableManager() ; String file = ""; // Lets create the path to our html page if ( params.getProperty("HELP_MODE").equalsIgnoreCase("USER") ) { file = USER_TEMPLATE ; } else if ( params.getProperty("HELP_MODE").equalsIgnoreCase("ADMIN") ) { //lets se if user has adminrights String metaId = getMetaId( req ); if ( metaId != null && userHasAdminRights( imcServer, Integer.parseInt( metaId ), user ) ) { file = ADMIN_TEMPLATE ; if( params.getProperty("HELP_AREA").equalsIgnoreCase("TEMPLATESPEC") ) { file = ADMIN_TEMPLATE2; } } else { String header = "ConfHelp servlet. " ; String msg = params.toString() ; ChatError err = new ChatError( req, res, header, 6 ); return ; } } //if( params.getProperty("HELP_SPEC").equalsIgnoreCase("SPEC") ) file = ADMIN_TEMPLATE2 ;// this.sendHtml(req,res,vm, file) ; this.sendHtml(req,res,new Vector(), file, null) ; return ; } else { return; } } //DoPost
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/ChatHelp.java/clean/servlets/chat/ChatHelp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 202, 759, 511, 2413, 336, 777, 1472, 364, 333, 8100, 202, 202, 2297, 859, 273, 333, 18, 588, 2402, 12, 3658, 13, 274, 202, 202, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 202, 202, 95, 1082, 202, 20308, 1082, 202, 780, 1446, 273, 315, 3976, 5358, 8100, 18, 315, 274, 1082, 202, 780, 1234, 273, 859, 18, 10492, 1435, 274, 1082, 202, 14163, 668, 393, 273, 394, 16903, 668, 12, 3658, 16, 455, 16, 3374, 16, 21, 13, 274, 1082, 202, 5549, 1082, 202, 2463, 274, 202, 202, 97, 3196, 202, 759, 1330, 2932, 4098, 395, 8863, 202, 202, 759, 511, 2413, 336, 326, 729, 733, 1875, 202, 381, 710, 18, 3567, 18, 1299, 729, 273, 2240, 18, 588, 1299, 2675, 12, 3658, 16, 455, 13, 274, 202, 202, 430, 12, 1355, 422, 446, 13, 327, 274, 202, 202, 430, 261, 29302, 15341, 12, 1111, 16, 400, 16, 729, 262, 262, 202, 202, 95, 1082, 202, 759, 511, 2413, 336, 1438, 13117, 1082, 202, 780, 1479, 273, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 202, 759, 511, 2413, 336, 777, 1472, 364, 333, 8100, 202, 202, 2297, 859, 273, 333, 18, 588, 2402, 12, 3658, 13, 274, 202, 202, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 202, 202, 95, 1082, 202, 20308, 1082, 202, 780, 1446, 273, 315, 3976, 5358, 8100, 18, 2 ]
weapon.flags |= F_DIRECT_FIRE | F_NO_FIRES;
weapon.flags |= F_DIRECT_FIRE | F_NO_FIRES | F_BALLISTIC;
public static WeaponType createISHeavyGaussRifle() { WeaponType weapon = new WeaponType(); weapon.name = "Heavy Gauss Rifle"; weapon.setInternalName("ISHeavyGaussRifle"); weapon.addLookupName("IS Heavy Gauss Rifle"); weapon.heat = 2; weapon.damage = DAMAGE_VARIABLE; weapon.ammoType = AmmoType.T_GAUSS_HEAVY; weapon.minimumRange = 4; weapon.shortRange = 6; weapon.mediumRange = 13; weapon.longRange = 20; weapon.extremeRange = 26; weapon.tonnage = 18.0f; weapon.criticals = 11; weapon.flags |= F_DIRECT_FIRE | F_NO_FIRES; weapon.explosive = true; weapon.bv = 346; return weapon; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/df0eddd0ba47368cf64b7512cbd59cc9224d546a/WeaponType.java/clean/megamek/src/megamek/common/WeaponType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 20424, 73, 23935, 43, 10325, 54, 430, 298, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 5256, 23935, 611, 10325, 534, 430, 298, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 2932, 20424, 73, 23935, 43, 10325, 54, 430, 298, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 8264, 23935, 611, 10325, 534, 430, 298, 8863, 3639, 732, 28629, 18, 580, 270, 273, 576, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 463, 2192, 2833, 67, 16444, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 43, 14237, 1260, 67, 3900, 5856, 61, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 1059, 31, 3639, 732, 28629, 18, 6620, 2655, 273, 1666, 31, 3639, 732, 28629, 18, 19011, 2655, 273, 5958, 31, 3639, 732, 28629, 18, 5748, 2655, 273, 4200, 31, 3639, 732, 28629, 18, 408, 2764, 73, 2655, 273, 10659, 31, 3639, 732, 28629, 18, 1917, 82, 410, 273, 6549, 18, 20, 74, 31, 3639, 732, 28629, 18, 27826, 335, 1031, 273, 4648, 31, 3639, 732, 28629, 18, 7133, 5626, 478, 67, 17541, 67, 1653, 862, 571, 478, 67, 3417, 67, 1653, 7031, 571, 478, 67, 38, 1013, 7085, 2871, 31, 3639, 732, 28629, 18, 2749, 383, 18376, 273, 638, 31, 3639, 732, 28629, 18, 70, 90, 273, 890, 8749, 31, 3639, 327, 732, 28629, 31, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 20424, 73, 23935, 43, 10325, 54, 430, 298, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 5256, 23935, 611, 10325, 534, 430, 298, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 2932, 20424, 73, 23935, 43, 10325, 54, 430, 298, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 8264, 23935, 611, 10325, 534, 430, 298, 8863, 3639, 732, 28629, 18, 580, 270, 273, 576, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 463, 2192, 2833, 67, 16444, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 43, 14237, 1260, 67, 2 ]
if(m_dataSet.m_userName == null || "".equals(m_dataSet.m_userName.trim())) {
if ((m_dataSet.m_userName == null || "".equals(m_dataSet.m_userName.trim())) && !CmsUUID.getNullUUID().equals(m_dataSet.m_userId)) {
public String getOwnerName() { String retValue = m_dataSet.m_userId + ""; if(m_dataSet.m_userName == null || "".equals(m_dataSet.m_userName.trim())) { try { // to read the real name of this user retValue = m_cms.readUser(m_dataSet.m_userId).getName(); } catch(CmsException exc) { // ignore the exception - it was not possible to read the group // instead return the groupid } } else { // this is a history value - return it retValue = m_dataSet.m_userName; } return retValue; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/4fb506476e4d372c8e57ccb60b7d51e7032a0944/CmsMasterContent.java/buggy/src/com/opencms/defaults/master/CmsMasterContent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 13782, 461, 1435, 288, 3639, 514, 21236, 273, 312, 67, 892, 694, 18, 81, 67, 18991, 397, 1408, 31, 3639, 309, 14015, 81, 67, 892, 694, 18, 81, 67, 1355, 461, 422, 446, 747, 1408, 18, 14963, 12, 81, 67, 892, 694, 18, 81, 67, 1355, 461, 18, 5290, 1435, 3719, 597, 401, 4747, 5562, 18, 588, 2041, 5562, 7675, 14963, 12, 81, 67, 892, 694, 18, 81, 67, 18991, 3719, 288, 5411, 775, 288, 368, 358, 855, 326, 2863, 508, 434, 333, 729, 7734, 21236, 273, 312, 67, 6851, 18, 896, 1299, 12, 81, 67, 892, 694, 18, 81, 67, 18991, 2934, 17994, 5621, 5411, 289, 1044, 12, 4747, 503, 3533, 13, 288, 7734, 368, 2305, 326, 1520, 300, 518, 1703, 486, 3323, 358, 855, 326, 1041, 7734, 368, 3560, 327, 326, 22895, 5411, 289, 3639, 289, 469, 288, 5411, 368, 333, 353, 279, 4927, 460, 300, 327, 518, 5411, 21236, 273, 312, 67, 892, 694, 18, 81, 67, 1355, 461, 31, 3639, 289, 3639, 327, 21236, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 13782, 461, 1435, 288, 3639, 514, 21236, 273, 312, 67, 892, 694, 18, 81, 67, 18991, 397, 1408, 31, 3639, 309, 14015, 81, 67, 892, 694, 18, 81, 67, 1355, 461, 422, 446, 747, 1408, 18, 14963, 12, 81, 67, 892, 694, 18, 81, 67, 1355, 461, 18, 5290, 1435, 3719, 597, 401, 4747, 5562, 18, 588, 2041, 5562, 7675, 14963, 12, 81, 67, 892, 694, 18, 81, 67, 18991, 3719, 288, 5411, 775, 288, 368, 358, 855, 326, 2863, 508, 434, 333, 729, 7734, 21236, 273, 312, 67, 6851, 18, 896, 1299, 12, 81, 67, 892, 694, 18, 81, 67, 18991, 2934, 17994, 5621, 5411, 289, 1044, 12, 4747, 503, 3533, 13, 288, 7734, 368, 2 ]
private static void resetChannelBindings(RenderingDef def, Pixels pixels, IPixels iPixels) { // The actual channel bindings we are returning List<ChannelBinding> channelBindings = def.getWaveRendering(); List<Channel> channels = pixels.getChannels(); int i = 0; for (Channel channel : channels) { StatsInfo stats = channel.getStatsInfo(); Family family = QuantumFactory.getFamily(iPixels, QuantumFactory.LINEAR); ChannelBinding channelBinding = channelBindings.get(i); channelBinding.setFamily(family); channelBinding.setCoefficient(new Double(1)); // FIXME: Lost of precision, downcast from Double to Float channelBinding.setInputStart(new Float(stats.getGlobalMin())); channelBinding.setInputEnd(new Float(stats.getGlobalMax())); // If we have more than one channel set each of the first three // active, otherwise only activate the first. if (i < 3) channelBinding.setActive(true); channelBinding.setColor(ColorsFactory.getColor(i, channel)); channelBinding.setNoiseReduction(false); i++; } }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/725d5581a5805696002bff1ec2ecb359495503f5/Renderer.java/buggy/components/rendering/src/omeis/providers/re/Renderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6015, 270, 395, 2126, 6459, 6208, 2909, 10497, 12, 14261, 3262, 536, 16, 9037, 1752, 3556, 87, 16, 2579, 3556, 7722, 18079, 15329, 759, 1986, 18672, 4327, 15863, 1814, 14500, 851, 310, 682, 32, 2909, 5250, 34, 4327, 10497, 33, 536, 18, 588, 22368, 14261, 5621, 682, 32, 2909, 34, 9114, 33, 21084, 18, 588, 10585, 5621, 474, 77, 33, 20, 31, 1884, 12, 2909, 4327, 30, 9114, 15329, 4195, 966, 5296, 33, 4327, 18, 588, 4195, 966, 5621, 9203, 9309, 33, 202, 19471, 379, 1733, 18, 588, 9203, 12, 77, 18079, 16, 19471, 379, 1733, 18, 5997, 985, 1769, 2909, 5250, 4327, 5250, 33, 4327, 10497, 18, 588, 12, 77, 1769, 4327, 5250, 18, 542, 9203, 12, 9309, 1769, 4327, 5250, 18, 542, 4249, 25403, 12, 2704, 5265, 12, 21, 10019, 759, 25810, 30, 19024, 792, 14548, 16, 2378, 4155, 2080, 3244, 440, 11453, 42, 383, 505, 1238, 5250, 18, 542, 1210, 1685, 12, 2704, 4723, 12, 5296, 18, 588, 5160, 2930, 1435, 10019, 4327, 5250, 18, 542, 1210, 1638, 12, 2704, 4723, 12, 5296, 18, 588, 5160, 2747, 1435, 10019, 759, 2047, 1814, 76, 842, 351, 479, 23483, 476, 4327, 542, 13798, 792, 5787, 3645, 451, 992, 759, 3535, 16, 29778, 3700, 11422, 270, 546, 73, 3645, 18, 430, 12, 77, 32, 23, 13, 202, 4327, 5250, 18, 542, 3896, 12, 3767, 1769, 4327, 5250, 18, 542, 2957, 12, 12570, 1733, 18, 588, 2957, 12, 77, 16, 4327, 10019, 202, 4327, 5250, 18, 542, 2279, 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, 6015, 270, 395, 2126, 6459, 6208, 2909, 10497, 12, 14261, 3262, 536, 16, 9037, 1752, 3556, 87, 16, 2579, 3556, 7722, 18079, 15329, 759, 1986, 18672, 4327, 15863, 1814, 14500, 851, 310, 682, 32, 2909, 5250, 34, 4327, 10497, 33, 536, 18, 588, 22368, 14261, 5621, 682, 32, 2909, 34, 9114, 33, 21084, 18, 588, 10585, 5621, 474, 77, 33, 20, 31, 1884, 12, 2909, 4327, 30, 9114, 15329, 4195, 966, 5296, 33, 4327, 18, 588, 4195, 966, 5621, 9203, 9309, 33, 202, 19471, 379, 1733, 18, 588, 9203, 12, 77, 18079, 16, 19471, 379, 1733, 18, 5997, 985, 1769, 2909, 5250, 4327, 5250, 33, 4327, 10497, 18, 588, 12, 77, 1769, 4327, 5250, 18, 542, 9203, 12, 9309, 2 ]
if (name instanceof Pair && (p = (Pair) name).car == "quote")
if (name instanceof Pair && tr.matches((p = (Pair) name).car, Scheme.quote_sym))
public boolean scanForDefinitions (Pair st, Vector forms, ScopeExp defs, Translator tr) { Object name = ((Pair) st.cdr).car; // Type type = Scheme.expType(tr.rewrite(name)); Type type = null; Pair p; if (name instanceof Pair && (p = (Pair) name).car == "quote") { name = p.cdr; if (! (name instanceof Pair) || (p = (Pair) name).cdr != LList.Empty || ! (p.car instanceof String)) { tr.error('e', "invalid quoted symbol for 'require'"); return false; } name = mapFeature((String) p.car); if (name == null) { tr.error('e', "unknown feature name '"+p.car+"' for 'require'"); return false; } type = ClassType.make((String) name); } else { if (name instanceof String) { String str = (String) name; int len = str.length(); if (len > 2 && str.charAt(0) == '<' && str.charAt(len-1) == '>') { str = str.substring(1, len-1); if (str.indexOf('.') < 0 && kawa.repl.compilationPrefix != null) str = kawa.repl.compilationPrefix + str; type = Scheme.string2Type(str); } } } if (type == null) { tr.error('e', "invalid specifier for 'require'"); return false; } return importDefinitions(type, null, forms, defs, tr); }
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/f525ea41b4380e2b2e69fbe8acaaeac1d8735f65/require.java/buggy/kawa/standard/require.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 4135, 1290, 7130, 261, 4154, 384, 16, 5589, 10138, 16, 19694, 5468, 2966, 17588, 16, 18669, 433, 13, 225, 288, 565, 1033, 508, 273, 14015, 4154, 13, 384, 18, 71, 3069, 2934, 9815, 31, 565, 368, 1412, 618, 273, 10714, 18, 2749, 559, 12, 313, 18, 21489, 12, 529, 10019, 565, 1412, 618, 273, 446, 31, 565, 8599, 293, 31, 565, 309, 261, 529, 1276, 8599, 597, 433, 18, 8436, 12443, 84, 273, 261, 4154, 13, 508, 2934, 9815, 16, 10714, 18, 6889, 67, 8117, 3719, 1377, 288, 202, 529, 273, 293, 18, 71, 3069, 31, 202, 430, 16051, 261, 529, 1276, 8599, 13, 202, 565, 747, 261, 84, 273, 261, 4154, 13, 508, 2934, 71, 3069, 480, 511, 682, 18, 1921, 202, 565, 747, 401, 261, 84, 18, 9815, 1276, 514, 3719, 202, 225, 288, 202, 565, 433, 18, 1636, 2668, 73, 2187, 315, 5387, 9298, 3273, 364, 296, 6528, 4970, 1769, 202, 565, 327, 629, 31, 202, 225, 289, 202, 529, 273, 852, 4595, 12443, 780, 13, 293, 18, 9815, 1769, 202, 430, 261, 529, 422, 446, 13, 202, 225, 288, 202, 565, 433, 18, 1636, 2668, 73, 2187, 315, 8172, 2572, 508, 2119, 15, 84, 18, 9815, 15, 5187, 364, 296, 6528, 4970, 1769, 202, 565, 327, 629, 31, 202, 225, 289, 202, 723, 273, 1659, 559, 18, 6540, 12443, 780, 13, 508, 1769, 1377, 289, 565, 469, 1377, 288, 202, 430, 261, 529, 1276, 514, 13, 202, 225, 288, 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, 282, 1071, 1250, 4135, 1290, 7130, 261, 4154, 384, 16, 5589, 10138, 16, 19694, 5468, 2966, 17588, 16, 18669, 433, 13, 225, 288, 565, 1033, 508, 273, 14015, 4154, 13, 384, 18, 71, 3069, 2934, 9815, 31, 565, 368, 1412, 618, 273, 10714, 18, 2749, 559, 12, 313, 18, 21489, 12, 529, 10019, 565, 1412, 618, 273, 446, 31, 565, 8599, 293, 31, 565, 309, 261, 529, 1276, 8599, 597, 433, 18, 8436, 12443, 84, 273, 261, 4154, 13, 508, 2934, 9815, 16, 10714, 18, 6889, 67, 8117, 3719, 1377, 288, 202, 529, 273, 293, 18, 71, 3069, 31, 202, 430, 16051, 261, 529, 1276, 8599, 13, 202, 565, 747, 261, 84, 273, 261, 4154, 13, 508, 2934, 71, 2 ]
public boolean isSet(org.quickfix.field.UnderlyingSecurityAltID field)
public boolean isSet(quickfix.field.UnderlyingSecurityAltID field)
public boolean isSet(org.quickfix.field.UnderlyingSecurityAltID field) { return isSetField(field); }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MarketDataIncrementalRefresh.java/clean/src/java/src/quickfix/fix44/MarketDataIncrementalRefresh.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
buffer.append('?');
buffer.append('?');
private void appendPageMapName(final StringBuffer buffer) { final PageMap pageMap = getPageMap(); if (!pageMap.isDefault()) { buffer.append("?pagemap="); buffer.append(pageMap.getName()); buffer.append('&'); } else { buffer.append('?'); } }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/3d4afb199e69615b17f4c3740a25e35722597751/WebPage.java/clean/wicket/src/java/wicket/markup/html/WebPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 714, 1964, 863, 461, 12, 6385, 6674, 1613, 13, 202, 95, 202, 202, 6385, 3460, 863, 1363, 863, 273, 8957, 863, 5621, 202, 202, 430, 16051, 2433, 863, 18, 291, 1868, 10756, 202, 202, 95, 1082, 202, 4106, 18, 6923, 2932, 35, 9095, 25248, 1546, 1769, 1082, 202, 4106, 18, 6923, 12, 2433, 863, 18, 17994, 10663, 1082, 202, 4106, 18, 6923, 2668, 10, 8284, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 565, 1613, 18, 6923, 2668, 4899, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 714, 1964, 863, 461, 12, 6385, 6674, 1613, 13, 202, 95, 202, 202, 6385, 3460, 863, 1363, 863, 273, 8957, 863, 5621, 202, 202, 430, 16051, 2433, 863, 18, 291, 1868, 10756, 202, 202, 95, 1082, 202, 4106, 18, 6923, 2932, 35, 9095, 25248, 1546, 1769, 1082, 202, 4106, 18, 6923, 12, 2433, 863, 18, 17994, 10663, 1082, 202, 4106, 18, 6923, 2668, 10, 8284, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 565, 1613, 18, 6923, 2668, 4899, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
switch (area.scalingMethod()) {
switch (area.scalingMethod()) {
public void renderForeignObjectArea(ForeignObjectArea area) { // if necessary need to scale and align the content this.currentXPosition = this.currentXPosition + area.getXOffset(); this.currentYPosition = this.currentYPosition; switch (area.getAlign()) { case TextAlign.START: break; case TextAlign.END: break; case TextAlign.CENTER: case TextAlign.JUSTIFY: break; } switch (area.getVerticalAlign()) { case VerticalAlign.BASELINE: break; case VerticalAlign.MIDDLE: break; case VerticalAlign.SUB: break; case VerticalAlign.SUPER: break; case VerticalAlign.TEXT_TOP: break; case VerticalAlign.TEXT_BOTTOM: break; case VerticalAlign.TOP: break; case VerticalAlign.BOTTOM: break; } // in general the content will not be text // align and scale switch (area.scalingMethod()) { case Scaling.UNIFORM: break; case Scaling.NON_UNIFORM: break; } // if the overflow is auto (default), scroll or visible // then the contents should not be clipped, since this // is considered a printing medium. switch (area.getOverflow()) { case Overflow.VISIBLE: case Overflow.SCROLL: case Overflow.AUTO: break; case Overflow.HIDDEN: break; } area.getObject().render(this); this.currentXPosition += area.getEffectiveWidth(); // this.currentYPosition -= area.getEffectiveHeight(); }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/cd264ba6a67a155375a4ba85cdb6dc35503ef593/PCLRenderer.java/buggy/src/org/apache/fop/render/pcl/PCLRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1743, 7816, 921, 5484, 12, 7816, 921, 5484, 5091, 13, 565, 288, 3639, 368, 309, 4573, 1608, 358, 3159, 471, 5689, 326, 913, 3639, 333, 18, 2972, 60, 2555, 273, 333, 18, 2972, 60, 2555, 397, 5091, 18, 588, 60, 2335, 5621, 3639, 333, 18, 2972, 61, 2555, 273, 333, 18, 2972, 61, 2555, 31, 3639, 1620, 261, 5036, 18, 588, 10044, 10756, 3639, 288, 5411, 648, 3867, 10044, 18, 7570, 30, 7734, 898, 31, 5411, 648, 3867, 10044, 18, 4415, 30, 7734, 898, 31, 5411, 648, 3867, 10044, 18, 19835, 30, 5411, 648, 3867, 10044, 18, 46, 5996, 12096, 30, 7734, 898, 31, 3639, 289, 3639, 1620, 261, 5036, 18, 588, 15704, 10044, 10756, 3639, 288, 5411, 648, 27394, 10044, 18, 8369, 5997, 30, 7734, 898, 31, 5411, 648, 27394, 10044, 18, 49, 25578, 30, 7734, 898, 31, 5411, 648, 27394, 10044, 18, 8362, 30, 7734, 898, 31, 5411, 648, 27394, 10044, 18, 13272, 654, 30, 7734, 898, 31, 5411, 648, 27394, 10044, 18, 5151, 67, 10462, 30, 7734, 898, 31, 5411, 648, 27394, 10044, 18, 5151, 67, 28891, 30, 7734, 898, 31, 5411, 648, 27394, 10044, 18, 10462, 30, 7734, 898, 31, 5411, 648, 27394, 10044, 18, 28891, 30, 7734, 898, 31, 3639, 289, 3639, 368, 316, 7470, 326, 913, 903, 486, 506, 977, 3639, 368, 5689, 471, 3159, 3639, 1620, 261, 5036, 18, 24576, 1305, 10756, 3639, 288, 5411, 648, 17536, 18, 19404, 30, 7734, 898, 31, 5411, 648, 17536, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1743, 7816, 921, 5484, 12, 7816, 921, 5484, 5091, 13, 565, 288, 3639, 368, 309, 4573, 1608, 358, 3159, 471, 5689, 326, 913, 3639, 333, 18, 2972, 60, 2555, 273, 333, 18, 2972, 60, 2555, 397, 5091, 18, 588, 60, 2335, 5621, 3639, 333, 18, 2972, 61, 2555, 273, 333, 18, 2972, 61, 2555, 31, 3639, 1620, 261, 5036, 18, 588, 10044, 10756, 3639, 288, 5411, 648, 3867, 10044, 18, 7570, 30, 7734, 898, 31, 5411, 648, 3867, 10044, 18, 4415, 30, 7734, 898, 31, 5411, 648, 3867, 10044, 18, 19835, 30, 5411, 648, 3867, 10044, 18, 46, 5996, 12096, 30, 7734, 898, 31, 3639, 289, 3639, 1620, 261, 5036, 18, 588, 15704, 10044, 10756, 3639, 2 ]
result = getNextFile(endpointUri.getAddress());
result = getNextFile(endpointUri.getAddress(), filenameFilter);
public UMOMessage receive(UMOEndpointURI endpointUri, long timeout) throws Exception { File file = new File(endpointUri.getAddress()); File result = null; if (file.exists()) { if (file.isFile()) { result = file; } else if (file.isDirectory()) { result = getNextFile(endpointUri.getAddress()); } if (result != null) { MuleMessage message = new MuleMessage(connector.getMessageAdapter(result)); if (connector.getMoveToDirectory() != null) { { File destinationFile = new File(connector.getMoveToDirectory(), result.getName()); if (!result.renameTo(destinationFile)) { logger.error("Failed to move file: " + result.getAbsolutePath() + " to " + destinationFile.getAbsolutePath()); } } } result.delete(); return message; } } return null; }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/96614fbd9f8f5688387f0109b3f66283aae399c9/FileMessageDispatcher.java/buggy/providers/file/src/java/org/mule/providers/file/FileMessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 5980, 1079, 6798, 12, 2799, 51, 3293, 3098, 2494, 3006, 16, 1525, 2021, 13, 1216, 1185, 565, 288, 3639, 1387, 585, 273, 394, 1387, 12, 8003, 3006, 18, 588, 1887, 10663, 3639, 1387, 563, 273, 446, 31, 3639, 309, 261, 768, 18, 1808, 10756, 288, 5411, 309, 261, 768, 18, 291, 812, 10756, 288, 7734, 563, 273, 585, 31, 5411, 289, 469, 309, 261, 768, 18, 291, 2853, 10756, 288, 7734, 563, 273, 6927, 812, 12, 8003, 3006, 18, 588, 1887, 9334, 1544, 1586, 1769, 5411, 289, 5411, 309, 261, 2088, 480, 446, 13, 288, 7734, 490, 725, 1079, 883, 273, 394, 490, 725, 1079, 12, 23159, 18, 24906, 4216, 12, 2088, 10019, 7734, 309, 261, 23159, 18, 588, 7607, 774, 2853, 1435, 480, 446, 13, 288, 10792, 288, 13491, 1387, 2929, 812, 273, 394, 1387, 12, 23159, 18, 588, 7607, 774, 2853, 9334, 563, 18, 17994, 10663, 13491, 309, 16051, 2088, 18, 18539, 774, 12, 10590, 812, 3719, 288, 18701, 1194, 18, 1636, 2932, 2925, 358, 3635, 585, 30, 315, 397, 563, 18, 588, 10368, 743, 1435, 397, 315, 358, 315, 4766, 565, 397, 2929, 812, 18, 588, 10368, 743, 10663, 13491, 289, 10792, 289, 7734, 289, 7734, 563, 18, 3733, 5621, 7734, 327, 883, 31, 5411, 289, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 5980, 1079, 6798, 12, 2799, 51, 3293, 3098, 2494, 3006, 16, 1525, 2021, 13, 1216, 1185, 565, 288, 3639, 1387, 585, 273, 394, 1387, 12, 8003, 3006, 18, 588, 1887, 10663, 3639, 1387, 563, 273, 446, 31, 3639, 309, 261, 768, 18, 1808, 10756, 288, 5411, 309, 261, 768, 18, 291, 812, 10756, 288, 7734, 563, 273, 585, 31, 5411, 289, 469, 309, 261, 768, 18, 291, 2853, 10756, 288, 7734, 563, 273, 6927, 812, 12, 8003, 3006, 18, 588, 1887, 9334, 1544, 1586, 1769, 5411, 289, 5411, 309, 261, 2088, 480, 446, 13, 288, 7734, 490, 725, 1079, 883, 273, 394, 490, 725, 1079, 12, 23159, 18, 24906, 4216, 12, 2088, 10019, 7734, 309, 261, 2 ]
"src", "href", "action", "background", "width", "height", "type", "bgcolor", "color", "vlink", "link", "alink", "text"
"src", "href", "action", "background", "width", "height", "type", "bgcolor", "color", "vlink", "link", "alink", "text", "name"
private ReferenceProvidersRegistry() { // Temp scopes declarations myTempScopes.add(PsiIdentifier.class); // Manipulators mapping registerManipulator(XmlAttributeValue.class, new XmlAttributeValueManipulator()); registerManipulator(PsiPlainTextFile.class, new PlainFileManipulator()); registerManipulator(XmlToken.class, new XmlTokenManipulator()); registerManipulator(PsiLiteralExpression.class, new StringLiteralManipulator()); registerManipulator(XmlTag.class, new XmlTagValueManipulator()); // Binding declarations myReferenceTypeToProviderMap.put(CLASS_REFERENCE_PROVIDER, new JavaClassReferenceProvider()); myReferenceTypeToProviderMap.put(PATH_REFERENCES_PROVIDER, new JspxIncludePathReferenceProvider()); myReferenceTypeToProviderMap.put(DYNAMIC_PATH_REFERENCES_PROVIDER, new JspxDynamicPathReferenceProvider()); myReferenceTypeToProviderMap.put(PROPERTIES_FILE_KEY_PROVIDER, new PropertiesReferenceProvider()); registerXmlAttributeValueReferenceProvider( new String[]{"class", "type"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new TextFilter("useBean"), new NamespaceFilter(XmlUtil.JSP_URI) ), 2 ) ), getProviderByType(CLASS_REFERENCE_PROVIDER) ); RegisterInPsi.referenceProviders(this); registerXmlAttributeValueReferenceProvider( new String[]{"extends"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new OrFilter( new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("directive.page") ), new AndFilter( new ClassFilter(JspDirective.class), new TextFilter("page") ) ), new NamespaceFilter(XmlUtil.JSP_URI) ), 2 ) ), getProviderByType(CLASS_REFERENCE_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"type"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new OrFilter( new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("directive.attribute") ), new AndFilter( new ClassFilter(JspDirective.class), new TextFilter("attribute") ) ), new NamespaceFilter(XmlUtil.JSP_URI) ), 2 ) ), getProviderByType(CLASS_REFERENCE_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"variable-class"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new OrFilter( new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("directive.variable") ), new AndFilter( new ClassFilter(JspDirective.class), new TextFilter("variable") ) ), new NamespaceFilter(XmlUtil.JSP_URI) ), 2 ) ), getProviderByType(CLASS_REFERENCE_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[] { "import" }, new ScopeFilter( new ParentElementFilter( new AndFilter( new OrFilter( new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("directive.page") ), new AndFilter( new ClassFilter(JspDirective.class), new TextFilter("page") ) ), new NamespaceFilter(XmlUtil.JSP_URI) ), 2 ) ), new JspImportListReferenceProvider() ); registerXmlAttributeValueReferenceProvider( new String[]{"errorPage"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new NamespaceFilter(XmlUtil.JSP_URI), new OrFilter( new AndFilter( new ClassFilter(JspDirective.class), new TextFilter("page") ), new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("directive.page") )) ), 2 ) ), getProviderByType(PATH_REFERENCES_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"file"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new NamespaceFilter(XmlUtil.JSP_URI), new OrFilter( new AndFilter( new ClassFilter(JspDirective.class), new TextFilter("include") ), new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("directive.include") )) ), 2 ) ), getProviderByType(PATH_REFERENCES_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"value"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new NamespaceFilter(XmlUtil.JSTL_CORE_URIS), new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("url") ) ), 2 ) ), getProviderByType(DYNAMIC_PATH_REFERENCES_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"url"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new NamespaceFilter(XmlUtil.JSTL_CORE_URIS), new AndFilter( new ClassFilter(XmlTag.class), new OrFilter( new TextFilter("import"), new TextFilter("redirect") ) ) ), 2 ) ), getProviderByType(DYNAMIC_PATH_REFERENCES_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"key"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new OrFilter( new NamespaceFilter(XmlUtil.JSTL_FORMAT_URIS), new NamespaceFilter(XmlUtil.STRUTS_BEAN_URI) ), new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("message") ) ), 2 ) ), getProviderByType(PROPERTIES_FILE_KEY_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"altKey","titleKey","pageKey","srcKey"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new NamespaceFilter(XmlUtil.STRUTS_HTML_URI), new ClassFilter(XmlTag.class) ), 2 ) ), getProviderByType(PROPERTIES_FILE_KEY_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"code"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new NamespaceFilter(XmlUtil.SPRING_URI), new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("message", "theme") ) ), 2 ) ), getProviderByType(PROPERTIES_FILE_KEY_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"page"}, new ScopeFilter( new ParentElementFilter( new OrFilter( new AndFilter( new NamespaceFilter(XmlUtil.JSP_URI), new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("include","forward") ) ), new AndFilter( new NamespaceFilter(XmlUtil.STRUTS_HTML_URI), new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("rewrite") ) ) ), 2 ) ), getProviderByType(DYNAMIC_PATH_REFERENCES_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[]{"tagdir"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new NamespaceFilter(XmlUtil.JSP_URI), new AndFilter( new ClassFilter(JspDirective.class), new TextFilter("taglib") ) ), 2 ) ), getProviderByType(PATH_REFERENCES_PROVIDER) ); registerXmlAttributeValueReferenceProvider( new String[] { "uri" }, new ScopeFilter( new ParentElementFilter( new AndFilter( new NamespaceFilter(XmlUtil.JSP_URI), new AndFilter( new ClassFilter(JspDirective.class), new TextFilter("taglib") ) ), 2 ) ), new JspUriReferenceProvider() ); final JavaClassListReferenceProvider classListProvider = new JavaClassListReferenceProvider(); registerXmlAttributeValueReferenceProvider( null, new NotFilter(new ParentElementFilter(new NamespaceFilter(XmlUtil.ANT_URI), 2)), classListProvider ); registerReferenceProvider(new TokenTypeFilter(XmlTokenType.XML_DATA_CHARACTERS), XmlToken.class, classListProvider); registerXmlTagReferenceProvider( new String[] { "function-class", "tag-class", "tei-class", "variable-class", "type", "path", "function-signature", "name", "name-given" }, new NamespaceFilter(MetaRegistry.TAGLIB_URIS), true, new TaglibReferenceProvider( getProviderByType(CLASS_REFERENCE_PROVIDER) ) ); final NamespaceFilter jsfNsFilter = new NamespaceFilter(XmlUtil.JSF_URIS); registerXmlTagReferenceProvider( new String[] { "render-kit-class","renderer-class","managed-bean-class","attribute-class","component-class", "converter-for-class", "converter-class", "key-class", "value-class", "referenced-bean-class", "validator-class", "application-factory", "faces-context-factory", "render-kit-factory", "lifecycle-factory", "view-handler", "variable-resolver", "phase-listener", "property-resolver", "state-manager", "action-listener", "navigation-handler" }, jsfNsFilter, true, getProviderByType(CLASS_REFERENCE_PROVIDER) ); final JSFReferencesProvider jsfProvider = new JSFReferencesProvider(); registerXmlTagReferenceProvider( new String[] { "property-name", "property-class" }, jsfNsFilter, true, jsfProvider ); final DtdReferencesProvider dtdReferencesProvider = new DtdReferencesProvider(); //registerReferenceProvider(null, XmlEntityDecl.class,dtdReferencesProvider); registerReferenceProvider(null, XmlEntityRef.class,dtdReferencesProvider); registerReferenceProvider(null, XmlDoctype.class,dtdReferencesProvider); registerReferenceProvider(null, XmlElementDecl.class,dtdReferencesProvider); registerReferenceProvider(null, XmlAttlistDecl.class,dtdReferencesProvider); registerReferenceProvider(null, XmlElementContentSpec.class,dtdReferencesProvider); URIReferenceProvider uriProvider = new URIReferenceProvider(); registerTypeWithProvider(URI_PROVIDER,uriProvider); registerXmlAttributeValueReferenceProvider( null, dtdReferencesProvider.getSystemReferenceFilter(), uriProvider ); //registerReferenceProvider(PsiPlainTextFile.class, new JavaClassListReferenceProvider()); HtmlReferenceProvider provider = new HtmlReferenceProvider(); registerXmlAttributeValueReferenceProvider( new String[] { "src", "href", "action", "background", "width", "height", "type", "bgcolor", "color", "vlink", "link", "alink", "text" }, provider.getFilter(), false, provider ); final PsiReferenceProvider filePathReferenceProvider = new FilePathReferenceProvider(); registerReferenceProvider(PsiLiteralExpression.class, filePathReferenceProvider); final SchemaReferencesProvider schemaReferencesProvider = new SchemaReferencesProvider(); registerXmlAttributeValueReferenceProvider( new String[] {"ref","type","base","name","substitutionGroup","memberTypes"}, new ScopeFilter( new ParentElementFilter( new NamespaceFilter(MetaRegistry.SCHEMA_URIS), 2 ) ), schemaReferencesProvider ); registerXmlAttributeValueReferenceProvider( new String[] {"xsi:type"}, null, schemaReferencesProvider ); registerXmlAttributeValueReferenceProvider( new String[] {"xsi:noNamespaceSchemaLocation"}, null, uriProvider ); registerXmlAttributeValueReferenceProvider( new String[] {"schemaLocation"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new NamespaceFilter(MetaRegistry.SCHEMA_URIS), new AndFilter( new ClassFilter(XmlTag.class), new TextFilter("import","include") ) ), 2 ) ), uriProvider ); registerXmlAttributeValueReferenceProvider( null, uriProvider.getNamespaceAttributeFilter(), uriProvider ); final JspReferencesProvider jspReferencesProvider = new JspReferencesProvider(); registerXmlAttributeValueReferenceProvider( new String[] {"fragment","name","property","id","name-given","dynamic-attributes"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new ClassFilter(XmlTag.class), new NamespaceFilter( new String[] { XmlUtil.JSP_URI, XmlUtil.STRUTS_BEAN_URI, XmlUtil.STRUTS_LOGIC_URI } ) ), 2 ) ), jspReferencesProvider ); registerXmlAttributeValueReferenceProvider( new String[] {"var"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new ClassFilter(XmlTag.class), new NamespaceFilter(XmlUtil.JSTL_CORE_URIS) ), 2 ) ), jspReferencesProvider ); registerXmlAttributeValueReferenceProvider( new String[] {"scope"}, null, jspReferencesProvider ); registerXmlAttributeValueReferenceProvider( new String[] {"name"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new ClassFilter(XmlTag.class), new AndFilter( new TextFilter("property"), new NamespaceFilter(XmlUtil.SPRING_CORE_URI) ) ), 2 ) ), new SpringReferencesProvider() ); registerXmlAttributeValueReferenceProvider( new String[] {"name"}, new ScopeFilter( new ParentElementFilter( new AndFilter( new ClassFilter(XmlTag.class), new AndFilter( new NamespaceFilter(XmlUtil.HIBERNATE_URIS), new TextFilter(new String[] { "property","list","map","set", "array", "bag", "idbag", "primitive-array", "many-to-one", "one-to-one"} ) ) ), 2 ) ), new HibernateReferencesProvider() ); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/1949b48cbfd269b88332b9a0664ec79467414339/ReferenceProvidersRegistry.java/buggy/source/com/intellij/psi/impl/source/resolve/reference/ReferenceProvidersRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 6268, 10672, 4243, 1435, 288, 565, 368, 16380, 8124, 12312, 565, 3399, 7185, 12668, 18, 1289, 12, 52, 7722, 3004, 18, 1106, 1769, 565, 368, 8660, 625, 332, 3062, 2874, 565, 1744, 27587, 12, 4432, 14942, 18, 1106, 16, 394, 5714, 14942, 27587, 10663, 565, 1744, 27587, 12, 52, 7722, 13360, 1528, 812, 18, 1106, 16, 394, 17367, 812, 27587, 10663, 565, 1744, 27587, 12, 4432, 1345, 18, 1106, 16, 394, 5714, 1345, 27587, 10663, 565, 1744, 27587, 12, 52, 7722, 6177, 2300, 18, 1106, 16, 394, 514, 6177, 27587, 10663, 565, 1744, 27587, 12, 4432, 1805, 18, 1106, 16, 394, 5714, 1805, 620, 27587, 10663, 565, 368, 15689, 12312, 565, 3399, 2404, 559, 774, 2249, 863, 18, 458, 12, 5237, 67, 14617, 67, 26413, 16, 394, 29491, 2404, 2249, 10663, 565, 3399, 2404, 559, 774, 2249, 863, 18, 458, 12, 4211, 67, 14617, 55, 67, 26413, 16, 394, 19300, 92, 8752, 743, 2404, 2249, 10663, 565, 3399, 2404, 559, 774, 2249, 863, 18, 458, 12, 40, 25145, 67, 4211, 67, 14617, 55, 67, 26413, 16, 394, 19300, 92, 9791, 743, 2404, 2249, 10663, 565, 3399, 2404, 559, 774, 2249, 863, 18, 458, 12, 17421, 67, 3776, 67, 3297, 67, 26413, 16, 394, 6183, 2404, 2249, 10663, 565, 1744, 4432, 14942, 2404, 2249, 12, 1377, 394, 514, 63, 7073, 6, 1106, 3113, 315, 723, 6, 5779, 1377, 394, 5468, 1586, 12, 3639, 394, 9520, 1046, 1586, 12, 1850, 394, 7835, 1586, 12, 5411, 394, 3867, 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, 6268, 10672, 4243, 1435, 288, 565, 368, 16380, 8124, 12312, 565, 3399, 7185, 12668, 18, 1289, 12, 52, 7722, 3004, 18, 1106, 1769, 565, 368, 8660, 625, 332, 3062, 2874, 565, 1744, 27587, 12, 4432, 14942, 18, 1106, 16, 394, 5714, 14942, 27587, 10663, 565, 1744, 27587, 12, 52, 7722, 13360, 1528, 812, 18, 1106, 16, 394, 17367, 812, 27587, 10663, 565, 1744, 27587, 12, 4432, 1345, 18, 1106, 16, 394, 5714, 1345, 27587, 10663, 565, 1744, 27587, 12, 52, 7722, 6177, 2300, 18, 1106, 16, 394, 514, 6177, 27587, 10663, 565, 1744, 27587, 12, 4432, 1805, 18, 1106, 16, 394, 5714, 1805, 620, 27587, 10663, 565, 368, 15689, 12312, 565, 3399, 2404, 559, 774, 2249, 863, 2 ]
retry: while (true) {
retry: while (true) {
private IRubyObject getConstantInner(String name, boolean exclude) { IRubyObject objectClass = getRuntime().getObject(); boolean retryForModule = false; RubyModule p = this; retry: while (true) { while (p != null) { IRubyObject constant = p.getConstantAt(name); if (constant == null) { if (getRuntime().getLoadService().autoload(name) != null) { continue; } } if (constant != null) { if (exclude && p == objectClass && this != objectClass) { getRuntime().getWarnings().warn("toplevel constant " + name + " referenced by " + getName() + "::" + name); } return constant; } p = p.getSuperClass(); } if (!exclude && !retryForModule && getClass().equals(RubyModule.class)) { retryForModule = true; p = getRuntime().getObject(); continue retry; } break; } return callMethod(getRuntime().getCurrentContext(), "const_missing", RubySymbol.newSymbol(getRuntime(), name)); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/buggy/src/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 24337, 2857, 12, 780, 508, 16, 1250, 4433, 13, 288, 3639, 15908, 10340, 921, 23992, 273, 18814, 7675, 588, 921, 5621, 3639, 1250, 3300, 1290, 3120, 273, 629, 31, 3639, 19817, 3120, 293, 273, 333, 31, 3639, 3300, 30, 1323, 261, 3767, 13, 288, 2398, 1323, 261, 84, 480, 446, 13, 288, 7734, 15908, 10340, 921, 5381, 273, 293, 18, 588, 6902, 861, 12, 529, 1769, 18701, 309, 261, 14384, 422, 446, 13, 288, 10792, 309, 261, 588, 5576, 7675, 588, 2563, 1179, 7675, 19832, 12, 529, 13, 480, 446, 13, 288, 13491, 1324, 31, 10792, 289, 7734, 289, 7734, 309, 261, 14384, 480, 446, 13, 288, 10792, 309, 261, 10157, 597, 293, 422, 23992, 597, 333, 480, 23992, 13, 288, 13491, 18814, 7675, 588, 4312, 7675, 8935, 2932, 3669, 2815, 5381, 315, 397, 508, 397, 4766, 315, 8042, 635, 315, 397, 1723, 1435, 397, 31120, 397, 508, 1769, 10792, 289, 27573, 327, 5381, 31, 7734, 289, 7734, 293, 273, 293, 18, 588, 8051, 797, 5621, 5411, 289, 13491, 309, 16051, 10157, 597, 401, 9620, 1290, 3120, 597, 2900, 7675, 14963, 12, 54, 10340, 3120, 18, 1106, 3719, 288, 7734, 3300, 1290, 3120, 273, 638, 31, 7734, 293, 273, 18814, 7675, 588, 921, 5621, 7734, 1324, 3300, 31, 5411, 289, 13491, 898, 31, 3639, 289, 7734, 327, 745, 1305, 12, 588, 5576, 7675, 588, 3935, 1042, 9334, 315, 10248, 67, 7337, 3113, 19817, 5335, 18, 2704, 5335, 12, 588, 5576, 9334, 508, 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, 15908, 10340, 921, 24337, 2857, 12, 780, 508, 16, 1250, 4433, 13, 288, 3639, 15908, 10340, 921, 23992, 273, 18814, 7675, 588, 921, 5621, 3639, 1250, 3300, 1290, 3120, 273, 629, 31, 3639, 19817, 3120, 293, 273, 333, 31, 3639, 3300, 30, 1323, 261, 3767, 13, 288, 2398, 1323, 261, 84, 480, 446, 13, 288, 7734, 15908, 10340, 921, 5381, 273, 293, 18, 588, 6902, 861, 12, 529, 1769, 18701, 309, 261, 14384, 422, 446, 13, 288, 10792, 309, 261, 588, 5576, 7675, 588, 2563, 1179, 7675, 19832, 12, 529, 13, 480, 446, 13, 288, 13491, 1324, 31, 10792, 289, 7734, 289, 7734, 309, 261, 14384, 480, 446, 13, 288, 10792, 309, 261, 10157, 597, 293, 422, 2 ]
if (viewerApp != null) {
if (viewerApp != null && viewerApp.isAttachNavigator()) {
public JMenuBar getMenuBar() { final JMenuBar menuBar = new JMenuBar(); //create general actions final JMenu fileMenu = new JMenu("File"); fileMenu.setMnemonic(KeyEvent.VK_F); fileMenu.add(new JMenuItem(new Quit(QUIT))); menuBar.add(fileMenu); if (sm == null) return menuBar; //create actions which require a SelectionManager final JMenu compMenu = new JMenu("Component"); compMenu.setMnemonic(KeyEvent.VK_C); menuBar.add(compMenu); fileMenu.insert(new JMenuItem(new LoadFile(LOAD_FILE, sm, frame)), 0); fileMenu.insert(new JMenuItem(new LoadFileMerged(LOAD_FILE_MERGED, sm, frame)), 1); compMenu.add(new JMenuItem(new Remove(REMOVE, sm))); compMenu.add(new JMenuItem(new AddTool(ADD_TOOL, sm, frame))); final JMenu appMenu = new JMenu("Appearance"); appMenu.setMnemonic(KeyEvent.VK_A); menuBar.add(appMenu); appMenu.add(new JMenuItem(new ToggleAppearance(TOGGLE_VERTEX_DRAWING, CommonAttributes.VERTEX_DRAW, sm))); appMenu.add(new JMenuItem(new ToggleAppearance(TOGGLE_EDGE_DRAWING, CommonAttributes.EDGE_DRAW, sm))); appMenu.add(new JMenuItem(new ToggleAppearance(TOGGLE_FACE_DRAWING, CommonAttributes.FACE_DRAW, sm))); final JMenu viewerMenu = new JMenu("Viewer"); viewerMenu.setMnemonic(KeyEvent.VK_V); menuBar.add(viewerMenu); if (viewerApp != null) viewerMenu.add(new JMenuItem(ToggleViewerFullScreen.sharedInstance(TOGGLE_FULL_VIEWER, viewerApp))); viewerMenu.add(new JMenuItem(ToggleFullScreen.sharedInstance(TOGGLE_FULL_SCREEN, frame))); //create actions which require a Viewer if (viewerSwitch != null) { viewerMenu.addSeparator(); String[] viewerNames = viewerSwitch.getViewerNames(); ButtonGroup bg = new ButtonGroup(); for (int i=0; i<viewerSwitch.getNumViewers(); i++) { final int index = i; final JRadioButtonMenuItem item = new JRadioButtonMenuItem( new javax.swing.AbstractAction(viewerNames[index]){ private static final long serialVersionUID = 1L; public void actionPerformed(ActionEvent e) { viewerSwitch.selectViewer(index); viewerSwitch.getCurrentViewer().renderAsync(); } }); item.setSelected(index==0); item.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1 + index, 0)); bg.add(item); viewerMenu.add(item); } viewerMenu.addSeparator(); JMenuItem mi = new JMenuItem(new Render(RENDER, viewerSwitch)); mi.setAccelerator(KeyStroke.getKeyStroke("R")); viewerMenu.add(mi); //camera actions final JMenu cameraMenu = new JMenu("Camera"); cameraMenu.setMnemonic(KeyEvent.VK_M); menuBar.add(cameraMenu, 3); cameraMenu.add(new JMenuItem(new ShiftFieldOfView(DECREASE_FIELD_OF_VIEW, viewerSwitch, true))); cameraMenu.add(new JMenuItem(new ShiftFieldOfView(INCREASE_FIELD_OF_VIEW, viewerSwitch, false))); cameraMenu.add(new JMenuItem(new ShiftFocus(DECREASE_FOCUS, viewerSwitch, true))); cameraMenu.add(new JMenuItem(new ShiftFocus(INCREASE_FOCUS, viewerSwitch, false))); cameraMenu.add(new JMenuItem(new ShiftEyeSeparation(DECREASE_EYE_SEPARATION, viewerSwitch, true))); cameraMenu.add(new JMenuItem(new ShiftEyeSeparation(INCREASE_EYE_SEPARATION, viewerSwitch, false))); cameraMenu.add(new JMenuItem(new TogglePerspective(TOGGLE_PERSPECTIVE, viewerSwitch))); } //enable or disable menus depending on navigator selection if (viewerApp != null) { Navigator navigator = (Navigator) viewerApp.getNavigator(); if (navigator != null) { navigator.getTreeSelectionModel().addTreeSelectionListener( new Navigator.SelectionListener() { @Override public void selectionChanged(SelectionEvent e) { compMenu.setEnabled(false); appMenu.setEnabled(false); if (e.selectionIsSGNode()) { e.selectionAsSGNode().accept(new SceneGraphVisitor(){ @Override public void visit(SceneGraphComponent c) { compMenu.setEnabled(true); appMenu.setEnabled(true); } @Override public void visit(Appearance a) { appMenu.setEnabled(true); } }); } } }); } } return menuBar; }
25476 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25476/9e8f55eeed1368bf1cb4b4473cffff6c43ea7b7e/MenuFactory.java/buggy/src-ui/de/jreality/ui/viewerapp/MenuFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 804, 4599, 5190, 25877, 5190, 1435, 288, 3639, 727, 804, 4599, 5190, 3824, 5190, 273, 394, 804, 4599, 5190, 5621, 565, 368, 2640, 7470, 4209, 565, 727, 804, 4599, 585, 4599, 273, 394, 804, 4599, 2932, 812, 8863, 565, 585, 4599, 18, 542, 29668, 20918, 12, 653, 1133, 18, 58, 47, 67, 42, 1769, 565, 585, 4599, 18, 1289, 12, 2704, 804, 12958, 12, 2704, 4783, 305, 12, 3500, 1285, 3719, 1769, 565, 3824, 5190, 18, 1289, 12, 768, 4599, 1769, 565, 309, 261, 4808, 422, 446, 13, 327, 3824, 5190, 31, 3639, 368, 2640, 4209, 1492, 2583, 279, 12977, 1318, 565, 727, 804, 4599, 1161, 4599, 273, 394, 804, 4599, 2932, 1841, 8863, 565, 1161, 4599, 18, 542, 29668, 20918, 12, 653, 1133, 18, 58, 47, 67, 39, 1769, 565, 3824, 5190, 18, 1289, 12, 2919, 4599, 1769, 3639, 585, 4599, 18, 6387, 12, 2704, 804, 12958, 12, 2704, 4444, 812, 12, 7783, 67, 3776, 16, 3029, 16, 2623, 13, 3631, 374, 1769, 565, 585, 4599, 18, 6387, 12, 2704, 804, 12958, 12, 2704, 4444, 812, 19043, 12, 7783, 67, 3776, 67, 20969, 31602, 16, 3029, 16, 2623, 13, 3631, 404, 1769, 565, 1161, 4599, 18, 1289, 12, 2704, 804, 12958, 12, 2704, 3581, 12, 22122, 16, 3029, 3719, 1769, 565, 1161, 4599, 18, 1289, 12, 2704, 804, 12958, 12, 2704, 1436, 6364, 12, 8355, 67, 26263, 16, 3029, 16, 2623, 3719, 1769, 3639, 727, 804, 4599, 595, 4599, 273, 394, 804, 4599, 2932, 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, 804, 4599, 5190, 25877, 5190, 1435, 288, 3639, 727, 804, 4599, 5190, 3824, 5190, 273, 394, 804, 4599, 5190, 5621, 565, 368, 2640, 7470, 4209, 565, 727, 804, 4599, 585, 4599, 273, 394, 804, 4599, 2932, 812, 8863, 565, 585, 4599, 18, 542, 29668, 20918, 12, 653, 1133, 18, 58, 47, 67, 42, 1769, 565, 585, 4599, 18, 1289, 12, 2704, 804, 12958, 12, 2704, 4783, 305, 12, 3500, 1285, 3719, 1769, 565, 3824, 5190, 18, 1289, 12, 768, 4599, 1769, 565, 309, 261, 4808, 422, 446, 13, 327, 3824, 5190, 31, 3639, 368, 2640, 4209, 1492, 2583, 279, 12977, 1318, 565, 727, 804, 4599, 1161, 4599, 273, 394, 804, 4599, 2932, 1841, 8863, 565, 1161, 4599, 2 ]
public Hashtable sqlProcedureHash(String procedure) { DBConnect dbc = new DBConnect(m_conPool) ; dbc.getConnection() ; dbc.setProcedure(procedure) ; Vector data = (Vector)dbc.executeProcedure() ; String[] meta = (String[])dbc.getMetaData() ; int columns = dbc.getColumnCount() ; Hashtable result = new Hashtable(columns,0.5f) ; dbc.clearResultSet() ; dbc.closeConnection() ; if ( data.size() > 0 ) { for ( int i = 0 ; i < columns ; i++ ) { String temp_str[] = new String[data.size() / columns] ; int counter = 0 ; for ( int j = i ; j < data.size() ; j+=columns ) temp_str[counter++] = data.elementAt(j).toString() ; result.put(meta[i],temp_str) ; } return result ; } else { return new Hashtable(1,0.5f) ; } }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/2b0064103818c3deb3752d0149625b30e3f12b52/IMCService.java/clean/server/src/imcode/server/IMCService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 18559, 1847, 17213, 2310, 12, 780, 12131, 13, 288, 202, 2290, 5215, 9881, 273, 394, 2383, 5215, 12, 81, 67, 591, 2864, 13, 274, 202, 9137, 18, 588, 1952, 1435, 274, 202, 9137, 18, 542, 17213, 12, 685, 8153, 13, 274, 202, 5018, 501, 273, 261, 5018, 13, 9137, 18, 8837, 17213, 1435, 274, 202, 780, 8526, 2191, 273, 261, 780, 63, 5717, 9137, 18, 588, 6998, 1435, 274, 202, 474, 2168, 273, 9881, 18, 588, 1494, 1380, 1435, 274, 202, 5582, 14544, 563, 273, 394, 18559, 12, 5112, 16, 20, 18, 25, 74, 13, 274, 202, 9137, 18, 8507, 13198, 1435, 274, 202, 9137, 18, 4412, 1952, 1435, 274, 202, 430, 261, 501, 18, 1467, 1435, 405, 374, 262, 288, 202, 1884, 261, 509, 277, 273, 374, 274, 277, 411, 2168, 274, 277, 9904, 262, 288, 202, 202, 780, 1906, 67, 701, 8526, 273, 394, 514, 63, 892, 18, 1467, 1435, 342, 2168, 65, 274, 202, 202, 474, 3895, 273, 374, 274, 202, 202, 1884, 261, 509, 525, 273, 77, 274, 525, 411, 501, 18, 1467, 5621, 525, 15, 33, 5112, 262, 202, 202, 5814, 67, 701, 63, 7476, 9904, 65, 273, 501, 18, 2956, 861, 12, 78, 2934, 10492, 1435, 274, 202, 202, 2088, 18, 458, 12, 3901, 63, 77, 6487, 5814, 67, 701, 13, 274, 202, 97, 202, 2463, 563, 274, 202, 97, 469, 288, 202, 2463, 394, 18559, 12, 21, 16, 20, 18, 25, 74, 13, 274, 202, 9090, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 18559, 1847, 17213, 2310, 12, 780, 12131, 13, 288, 202, 2290, 5215, 9881, 273, 394, 2383, 5215, 12, 81, 67, 591, 2864, 13, 274, 202, 9137, 18, 588, 1952, 1435, 274, 202, 9137, 18, 542, 17213, 12, 685, 8153, 13, 274, 202, 5018, 501, 273, 261, 5018, 13, 9137, 18, 8837, 17213, 1435, 274, 202, 780, 8526, 2191, 273, 261, 780, 63, 5717, 9137, 18, 588, 6998, 1435, 274, 202, 474, 2168, 273, 9881, 18, 588, 1494, 1380, 1435, 274, 202, 5582, 14544, 563, 273, 394, 18559, 12, 5112, 16, 20, 18, 25, 74, 13, 274, 202, 9137, 18, 8507, 13198, 1435, 274, 202, 9137, 18, 4412, 1952, 1435, 274, 202, 430, 261, 501, 18, 1467, 1435, 405, 2 ]
Job bootDb = new BootNetworkDbJob(_context);
Job bootDb = new BootNetworkDbJob(getContext());
public void runJob() { // start up the network comm system _context.commSystem().startup(); _context.tunnelManager().startup(); _context.peerManager().startup(); Job bootDb = new BootNetworkDbJob(_context); boolean useTrusted = false; String useTrustedStr = _context.router().getConfigSetting(PROP_USE_TRUSTED_LINKS); if (useTrustedStr != null) { useTrusted = Boolean.TRUE.toString().equalsIgnoreCase(useTrustedStr); } if (useTrusted) { _log.debug("Using trusted links..."); _context.jobQueue().addJob(new BuildTrustedLinksJob(_context, bootDb)); return; } else { _log.debug("Not using trusted links - boot db"); _context.jobQueue().addJob(bootDb); } }
27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/e737e5c9507ed0d463dc9e45a8f63657f466b177/BootCommSystemJob.java/buggy/router/java/src/net/i2p/router/startup/BootCommSystemJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 2278, 1435, 288, 3639, 368, 787, 731, 326, 2483, 1543, 2619, 7734, 389, 2472, 18, 5702, 3163, 7675, 23939, 5621, 3639, 389, 2472, 18, 19878, 1318, 7675, 23939, 5621, 3639, 389, 2472, 18, 12210, 1318, 7675, 23939, 5621, 7734, 3956, 4835, 4331, 273, 394, 26254, 3906, 4331, 2278, 12, 29120, 10663, 3639, 1250, 999, 16950, 273, 629, 31, 3639, 514, 999, 16950, 1585, 273, 389, 2472, 18, 10717, 7675, 588, 809, 5568, 12, 15811, 67, 8001, 67, 4349, 5996, 2056, 67, 10554, 55, 1769, 3639, 309, 261, 1202, 16950, 1585, 480, 446, 13, 288, 5411, 999, 16950, 273, 3411, 18, 18724, 18, 10492, 7675, 14963, 5556, 12, 1202, 16950, 1585, 1769, 3639, 289, 3639, 309, 261, 1202, 16950, 13, 288, 5411, 389, 1330, 18, 4148, 2932, 7736, 13179, 4716, 7070, 1769, 5411, 389, 2472, 18, 4688, 3183, 7675, 1289, 2278, 12, 2704, 3998, 16950, 7100, 2278, 24899, 2472, 16, 4835, 4331, 10019, 5411, 327, 31, 3639, 289, 469, 288, 5411, 389, 1330, 18, 4148, 2932, 1248, 1450, 13179, 4716, 300, 4835, 1319, 8863, 5411, 389, 2472, 18, 4688, 3183, 7675, 1289, 2278, 12, 7137, 4331, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 2278, 1435, 288, 3639, 368, 787, 731, 326, 2483, 1543, 2619, 7734, 389, 2472, 18, 5702, 3163, 7675, 23939, 5621, 3639, 389, 2472, 18, 19878, 1318, 7675, 23939, 5621, 3639, 389, 2472, 18, 12210, 1318, 7675, 23939, 5621, 7734, 3956, 4835, 4331, 273, 394, 26254, 3906, 4331, 2278, 12, 29120, 10663, 3639, 1250, 999, 16950, 273, 629, 31, 3639, 514, 999, 16950, 1585, 273, 389, 2472, 18, 10717, 7675, 588, 809, 5568, 12, 15811, 67, 8001, 67, 4349, 5996, 2056, 67, 10554, 55, 1769, 3639, 309, 261, 1202, 16950, 1585, 480, 446, 13, 288, 5411, 999, 16950, 273, 3411, 18, 18724, 18, 10492, 7675, 14963, 5556, 12, 1202, 16950, 1585, 1769, 3639, 289, 3639, 309, 2 ]
for (StringTokenizer tokenizer = new StringTokenizer(s, ";"); tokenizer.hasMoreTokens();) {
for (StringTokenizer tokenizer = new StringTokenizer(s, ":"); tokenizer.hasMoreTokens();) {
private void initParams(List params) throws ClassNotFoundException { NamedParameter param; for (Iterator iterator = params.iterator(); iterator.hasNext();) { String s = (String) iterator.next(); for (StringTokenizer tokenizer = new StringTokenizer(s, ";"); tokenizer.hasMoreTokens();) { String name = tokenizer.nextToken(); String type = tokenizer.nextToken(); if(name.equalsIgnoreCase("return")) { returnType = NamedParameter.createQName(type); } else if(name.equalsIgnoreCase("returnClass")) { returnClass = ClassHelper.loadClass(type, getClass()); } else { String mode = tokenizer.nextToken(); QName paramName = (QName)converter.convert(QName.class, name); QName qtype = null; if(type.startsWith("qname{")) { qtype = (QName)converter.convert(QName.class, type); } else { qtype = NamedParameter.createQName(type); } param = new NamedParameter(paramName, qtype, mode); addNamedParameter(param); } } } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/fb0f7f84e84bd7437bc5e3cc737d8b661adb97e6/SoapMethod.java/buggy/providers/soap/src/java/org/mule/providers/soap/SoapMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1370, 12, 682, 859, 13, 1216, 10403, 288, 3639, 9796, 1662, 579, 31, 3639, 364, 261, 3198, 2775, 273, 859, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 5411, 514, 272, 273, 261, 780, 13, 2775, 18, 4285, 5621, 5411, 364, 261, 780, 10524, 10123, 273, 394, 16370, 12, 87, 16, 6153, 1769, 10123, 18, 5332, 7417, 5157, 5621, 13, 288, 7734, 514, 508, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 618, 273, 10123, 18, 4285, 1345, 5621, 7734, 309, 12, 529, 18, 14963, 5556, 2932, 2463, 6, 3719, 288, 10792, 9424, 273, 9796, 1662, 18, 2640, 13688, 12, 723, 1769, 7734, 289, 469, 309, 12, 529, 18, 14963, 5556, 2932, 2463, 797, 6, 3719, 288, 10792, 327, 797, 273, 1659, 2276, 18, 945, 797, 12, 723, 16, 2900, 10663, 7734, 289, 469, 288, 10792, 514, 1965, 273, 10123, 18, 4285, 1345, 5621, 10792, 16723, 11466, 273, 261, 13688, 13, 15747, 18, 6283, 12, 13688, 18, 1106, 16, 508, 1769, 10792, 16723, 28056, 273, 446, 31, 10792, 309, 12, 723, 18, 17514, 1190, 2932, 85, 529, 16711, 3719, 288, 13491, 28056, 273, 261, 13688, 13, 15747, 18, 6283, 12, 13688, 18, 1106, 16, 618, 1769, 10792, 289, 469, 288, 13491, 28056, 273, 9796, 1662, 18, 2640, 13688, 12, 723, 1769, 10792, 289, 10792, 579, 273, 394, 9796, 1662, 12, 891, 461, 16, 28056, 16, 1965, 1769, 10792, 527, 7604, 1662, 12, 891, 1769, 7734, 289, 5411, 289, 3639, 289, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1370, 12, 682, 859, 13, 1216, 10403, 288, 3639, 9796, 1662, 579, 31, 3639, 364, 261, 3198, 2775, 273, 859, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 5411, 514, 272, 273, 261, 780, 13, 2775, 18, 4285, 5621, 5411, 364, 261, 780, 10524, 10123, 273, 394, 16370, 12, 87, 16, 6153, 1769, 10123, 18, 5332, 7417, 5157, 5621, 13, 288, 7734, 514, 508, 273, 10123, 18, 4285, 1345, 5621, 7734, 514, 618, 273, 10123, 18, 4285, 1345, 5621, 7734, 309, 12, 529, 18, 14963, 5556, 2932, 2463, 6, 3719, 288, 10792, 9424, 273, 9796, 1662, 18, 2640, 13688, 12, 723, 1769, 7734, 289, 469, 309, 12, 529, 18, 14963, 5556, 2932, 2463, 2 ]
public OnmsAlarm() {
public OnmsAlarm(Integer alarmid, String eventuei, OnmsDistPoller distPoller, OnmsNode node, String ipaddr, OnmsServiceType serviceType, String reductionkey, Integer alarmtype, Integer counter, Integer severity, Date firsteventtime, String description, String logmsg, String operinstruct, String tticketid, Integer tticketstate, String mouseovertext, Date suppresseduntil, String suppresseduser, Date suppressedtime, String alarmackuser, Date alarmacktime, String clearuei, String managedObjectInstance, String managedObjectType, org.opennms.netmgt.model.OnmsEvent event) { this.m_id = alarmid; this.m_uei = eventuei; this.m_distPoller = distPoller; this.m_node = node; this.m_ipAddr = ipaddr; this.m_serviceType = serviceType; this.m_reductionKey = reductionkey; this.m_alarmType = alarmtype; this.m_counter = counter; this.m_severity = severity; this.m_firstEventTime = firsteventtime; this.m_description = description; this.m_logMsg = logmsg; this.m_operInstruct = operinstruct; this.m_tTicketId = tticketid; this.m_tTicketState = tticketstate; this.m_mouseOverText = mouseovertext; this.m_suppressedUntil = suppresseduntil; this.m_suppressedUser = suppresseduser; this.m_suppressedTime = suppressedtime; this.m_alarmAckUser = alarmackuser; this.m_alarmAckTime = alarmacktime; this.m_clearUei = clearuei; this.m_lastEvent = event; this.m_managedObjectInstance = managedObjectInstance;
public OnmsAlarm() { }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/07a7ec47618ec810bdaa9401e9c589fe61f84e0f/OnmsAlarm.java/buggy/opennms-model/src/main/java/org/opennms/netmgt/model/OnmsAlarm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2755, 959, 16779, 12, 4522, 13721, 350, 16, 514, 871, 344, 77, 16, 2755, 959, 5133, 5850, 749, 2411, 5850, 749, 16, 2755, 959, 907, 756, 16, 514, 2359, 4793, 16, 2755, 959, 1179, 559, 29548, 16, 514, 20176, 856, 16, 2144, 13721, 723, 16, 2144, 3895, 16, 2144, 11426, 16, 2167, 1122, 2575, 957, 16, 514, 2477, 16, 514, 613, 3576, 16, 514, 2255, 267, 1697, 16, 514, 3574, 29378, 350, 16, 2144, 3574, 29378, 2019, 16, 514, 7644, 1643, 955, 16, 2167, 24448, 12198, 16, 514, 24448, 1355, 16, 2167, 24448, 957, 16, 514, 13721, 484, 1355, 16, 2167, 13721, 484, 957, 16, 514, 2424, 344, 77, 16, 514, 30566, 1442, 16, 514, 7016, 17610, 16, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 2284, 18, 1398, 959, 1133, 871, 13, 288, 333, 18, 81, 67, 350, 273, 13721, 350, 31, 333, 18, 81, 67, 344, 77, 273, 871, 344, 77, 31, 333, 18, 81, 67, 4413, 5850, 749, 273, 2411, 5850, 749, 31, 333, 18, 81, 67, 2159, 273, 756, 31, 333, 18, 81, 67, 625, 3178, 273, 2359, 4793, 31, 333, 18, 81, 67, 3278, 559, 273, 29548, 31, 333, 18, 81, 67, 1118, 4062, 653, 273, 20176, 856, 31, 333, 18, 81, 67, 20681, 559, 273, 13721, 723, 31, 333, 18, 81, 67, 7476, 273, 3895, 31, 333, 18, 81, 67, 27341, 273, 11426, 31, 333, 18, 81, 67, 3645, 1133, 950, 273, 1122, 2575, 957, 31, 333, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2755, 959, 16779, 12, 4522, 13721, 350, 16, 514, 871, 344, 77, 16, 2755, 959, 5133, 5850, 749, 2411, 5850, 749, 16, 2755, 959, 907, 756, 16, 514, 2359, 4793, 16, 2755, 959, 1179, 559, 29548, 16, 514, 20176, 856, 16, 2144, 13721, 723, 16, 2144, 3895, 16, 2144, 11426, 16, 2167, 1122, 2575, 957, 16, 514, 2477, 16, 514, 613, 3576, 16, 514, 2255, 267, 1697, 16, 514, 3574, 29378, 350, 16, 2144, 3574, 29378, 2019, 16, 514, 7644, 1643, 955, 16, 2167, 24448, 12198, 16, 514, 24448, 1355, 16, 2167, 24448, 957, 16, 514, 13721, 484, 1355, 16, 2167, 13721, 484, 957, 16, 514, 2424, 344, 77, 16, 514, 30566, 1442, 16, 514, 7016, 17610, 2 ]
case Event.AT_TARGET:
case Event.AT_TARGET:
public void handleEvent(Event evt) { switch(evt.getEventPhase()) { case Event.CAPTURING_PHASE: capturedEvents.add(evt); break; case Event.BUBBLING_PHASE: bubbledEvents.add(evt); break; case Event.AT_TARGET: atEvents.add(evt); break; } allEvents.add(evt); }
54650 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54650/19ecf80dd539cb3920fc52530e5ddff6102cf9f2/EventMonitor.java/buggy/java/org/w3c/domts/EventMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1640, 1133, 12, 1133, 6324, 13, 288, 565, 1620, 12, 73, 11734, 18, 588, 1133, 11406, 10756, 288, 3639, 648, 225, 2587, 18, 20053, 1099, 1360, 67, 8939, 4429, 30, 3639, 19550, 3783, 18, 1289, 12, 73, 11734, 1769, 3639, 898, 31, 3639, 648, 2587, 18, 3000, 9676, 26789, 67, 8939, 4429, 30, 3639, 324, 22298, 1259, 3783, 18, 1289, 12, 73, 11734, 1769, 3639, 898, 31, 3639, 648, 2587, 18, 789, 67, 16374, 30, 3639, 622, 3783, 18, 1289, 12, 73, 11734, 1769, 3639, 898, 31, 565, 289, 565, 777, 3783, 18, 1289, 12, 73, 11734, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1640, 1133, 12, 1133, 6324, 13, 288, 565, 1620, 12, 73, 11734, 18, 588, 1133, 11406, 10756, 288, 3639, 648, 225, 2587, 18, 20053, 1099, 1360, 67, 8939, 4429, 30, 3639, 19550, 3783, 18, 1289, 12, 73, 11734, 1769, 3639, 898, 31, 3639, 648, 2587, 18, 3000, 9676, 26789, 67, 8939, 4429, 30, 3639, 324, 22298, 1259, 3783, 18, 1289, 12, 73, 11734, 1769, 3639, 898, 31, 3639, 648, 2587, 18, 789, 67, 16374, 30, 3639, 622, 3783, 18, 1289, 12, 73, 11734, 1769, 3639, 898, 31, 565, 289, 565, 777, 3783, 18, 1289, 12, 73, 11734, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return m;
return null;
private TypeMarshaller lookupMarshaller(BindingProperty prop, RuntimeBindingTypeTable typeTable, BindingLoader loader) { final BindingType bindingType = loader.getBindingType(prop.getTypeName()); TypeMarshaller m = typeTable.getTypeMarshaller(bindingType); if (m == null) { //TODO: FIXME for nested as-if types if (bindingType instanceof SimpleBindingType) { SimpleBindingType stype = (SimpleBindingType)bindingType; //let's try using the as if type final BindingTypeName asif_name = stype.getAsIfBindingTypeName(); assert asif_name != null : "no asif for " + stype; BindingType asif = loader.getBindingType(asif_name); if (asif == null) { throw new AssertionError("unable to get asif type" + " for " + asif_name); } m = typeTable.getTypeMarshaller(asif); if (m == null) { final String msg = "asif type marshaller not found" + " for" + stype + " asif=" + asif; throw new AssertionError(msg); } } } return m; }
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/1ee788a304cafd6be0f0f482987f320cc3ef271b/ByNameRuntimeBindingType.java/clean/v2/src/marshal/org/apache/xmlbeans/impl/marshal/ByNameRuntimeBindingType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1412, 2058, 3689, 2058, 12, 5250, 1396, 2270, 16, 4766, 7734, 2509, 5250, 559, 1388, 618, 1388, 16, 4766, 7734, 15689, 2886, 4088, 13, 3639, 288, 5411, 727, 15689, 559, 5085, 559, 273, 7734, 4088, 18, 588, 5250, 559, 12, 5986, 18, 588, 7947, 10663, 5411, 1412, 2058, 312, 273, 618, 1388, 18, 588, 559, 2058, 12, 7374, 559, 1769, 5411, 309, 261, 81, 422, 446, 13, 288, 7734, 368, 6241, 30, 9852, 364, 4764, 487, 17, 430, 1953, 7734, 309, 261, 7374, 559, 1276, 4477, 5250, 559, 13, 288, 10792, 4477, 5250, 559, 29365, 273, 261, 5784, 5250, 559, 13, 7374, 559, 31, 10792, 368, 1810, 1807, 775, 1450, 326, 487, 309, 618, 10792, 727, 15689, 7947, 487, 430, 67, 529, 273, 29365, 18, 588, 1463, 2047, 5250, 7947, 5621, 10792, 1815, 487, 430, 67, 529, 480, 446, 294, 315, 2135, 487, 430, 364, 315, 397, 29365, 31, 10792, 15689, 559, 487, 430, 273, 4088, 18, 588, 5250, 559, 12, 345, 430, 67, 529, 1769, 10792, 309, 261, 345, 430, 422, 446, 13, 288, 13491, 604, 394, 12068, 2932, 18828, 358, 336, 487, 430, 618, 6, 397, 4766, 1171, 315, 364, 315, 397, 487, 430, 67, 529, 1769, 10792, 289, 10792, 312, 273, 618, 1388, 18, 588, 559, 2058, 12, 345, 430, 1769, 10792, 309, 261, 81, 422, 446, 13, 288, 13491, 727, 514, 1234, 273, 315, 345, 430, 618, 19927, 486, 1392, 6, 397, 18701, 315, 364, 6, 397, 29365, 397, 315, 487, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1412, 2058, 3689, 2058, 12, 5250, 1396, 2270, 16, 4766, 7734, 2509, 5250, 559, 1388, 618, 1388, 16, 4766, 7734, 15689, 2886, 4088, 13, 3639, 288, 5411, 727, 15689, 559, 5085, 559, 273, 7734, 4088, 18, 588, 5250, 559, 12, 5986, 18, 588, 7947, 10663, 5411, 1412, 2058, 312, 273, 618, 1388, 18, 588, 559, 2058, 12, 7374, 559, 1769, 5411, 309, 261, 81, 422, 446, 13, 288, 7734, 368, 6241, 30, 9852, 364, 4764, 487, 17, 430, 1953, 7734, 309, 261, 7374, 559, 1276, 4477, 5250, 559, 13, 288, 10792, 4477, 5250, 559, 29365, 273, 261, 5784, 5250, 559, 13, 7374, 559, 31, 10792, 368, 1810, 1807, 775, 1450, 326, 487, 309, 618, 10792, 727, 15689, 2 ]
status = Messages.format("filter.itemsMessage", new Object[] {new Integer(totalCount)});
status = Messages.format("filter.itemsMessage", new Object[] { new Integer(totalCount)});
void updateTitle() { String currentTitle = getTitle(); String viewName = getConfigurationElement().getAttribute("name"); //$NON-NLS-1$ String status = ""; //$NON-NLS-1$ int filteredCount = getRegistry().getItemCount(); int totalCount = getRegistry().getRawItemCount(); if (filteredCount == totalCount) { status = Messages.format("filter.itemsMessage", new Object[] {new Integer(totalCount)}); //$NON-NLS-1$ } else { status = Messages.format("filter.matchedMessage", new Object[] {new Integer(filteredCount), new Integer(totalCount)}); //$NON-NLS-1$ } String newTitle = Messages.format("view.title", new String[] {viewName, status}); //$NON-NLS-1$ if (!newTitle.equals(currentTitle)) { setTitle(newTitle); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/ea57ee1b804071939d5791d4c2986826074efe0c/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, 225, 202, 6459, 1089, 4247, 1435, 288, 202, 202, 780, 783, 4247, 273, 10786, 5621, 202, 202, 780, 22244, 273, 10316, 1046, 7675, 588, 1499, 2932, 529, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 780, 1267, 273, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 474, 5105, 1380, 273, 29675, 7675, 588, 30687, 5621, 202, 202, 474, 20578, 273, 29675, 7675, 588, 4809, 30687, 5621, 202, 202, 430, 261, 12071, 1380, 422, 20578, 13, 288, 1082, 202, 2327, 273, 4838, 18, 2139, 2932, 2188, 18, 3319, 1079, 3113, 394, 1033, 8526, 288, 394, 2144, 12, 4963, 1380, 16869, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 469, 288, 1082, 202, 2327, 273, 4838, 18, 2139, 2932, 2188, 18, 11073, 1079, 3113, 394, 1033, 8526, 288, 2704, 2144, 12, 12071, 1380, 3631, 394, 2144, 12, 4963, 1380, 16869, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 780, 394, 4247, 273, 4838, 18, 2139, 2932, 1945, 18, 2649, 3113, 394, 514, 8526, 288, 1945, 461, 16, 1267, 22938, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 430, 16051, 2704, 4247, 18, 14963, 12, 2972, 4247, 3719, 288, 1082, 202, 542, 4247, 12, 2704, 4247, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1089, 4247, 1435, 288, 202, 202, 780, 783, 4247, 273, 10786, 5621, 202, 202, 780, 22244, 273, 10316, 1046, 7675, 588, 1499, 2932, 529, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 780, 1267, 273, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 474, 5105, 1380, 273, 29675, 7675, 588, 30687, 5621, 202, 202, 474, 20578, 273, 29675, 7675, 588, 4809, 30687, 5621, 202, 202, 430, 261, 12071, 1380, 422, 20578, 13, 288, 1082, 202, 2327, 273, 4838, 18, 2139, 2932, 2188, 18, 3319, 1079, 3113, 394, 1033, 8526, 288, 394, 2144, 12, 4963, 1380, 16869, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 469, 288, 1082, 202, 2 ]
String returnValue = value.substring(splitPosition + 1); value = value.substring(0, splitPosition);
String returnValue = value.substring(splitPosition); value = PdfFontMetrics.trim(value.substring(0, splitPosition));
PdfChunk split(double width) { int currentPosition = 0; int splitPosition = -1; double currentWidth = font.width(); // loop over all the characters of a string // or until the totalWidth is reached int length = value.length(); char character; while (currentPosition < length && currentWidth < width) { // the width of every character is added to the currentWidth character = value.charAt(currentPosition); currentWidth += font.width(character); // if a newLine or carriageReturn is encountered if (character == '\r' || character == '\n') { String returnValue = value.substring(currentPosition + 1); value = value.substring(0, currentPosition); if (value.length() < 1) { value = " "; } setContent(value); return new PdfChunk(returnValue, font, color); } // if a split-character is encountered, the splitPosition is altered if (PdfFontMetrics.isSplitCharacter(character)) { splitPosition = currentPosition; } currentPosition++; } // if all the characters fit in the total width, null is returned (there is no overflow) if (currentPosition == length) { return null; } // otherwise, the string has to be truncated if (splitPosition < 0) { String returnValue = value; value = ""; setContent(value); return new PdfChunk(returnValue, font, color); } String returnValue = value.substring(splitPosition + 1); value = value.substring(0, splitPosition); setContent(value); return new PdfChunk(returnValue, font, color); }
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/e1960cbfc8e6ed3a6aed46f0ca93ed6dc335a438/PdfChunk.java/clean/itext/src/com/lowagie/text/pdf/PdfChunk.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 18562, 5579, 1416, 12, 9056, 1835, 13, 288, 202, 202, 474, 22356, 273, 374, 31, 202, 202, 474, 1416, 2555, 273, 300, 21, 31, 202, 202, 9056, 783, 2384, 273, 3512, 18, 2819, 5621, 202, 202, 759, 2798, 1879, 777, 326, 3949, 434, 279, 533, 202, 202, 759, 578, 3180, 326, 2078, 2384, 353, 8675, 202, 202, 474, 769, 273, 460, 18, 2469, 5621, 202, 202, 3001, 3351, 31, 202, 202, 17523, 261, 2972, 2555, 411, 769, 597, 783, 2384, 411, 1835, 13, 288, 1082, 202, 759, 326, 1835, 434, 3614, 3351, 353, 3096, 358, 326, 783, 2384, 1082, 202, 11560, 273, 460, 18, 3001, 861, 12, 2972, 2555, 1769, 1082, 202, 2972, 2384, 1011, 3512, 18, 2819, 12, 11560, 1769, 1082, 202, 759, 309, 279, 8093, 578, 5926, 27935, 990, 353, 9919, 1082, 202, 430, 261, 11560, 422, 2337, 86, 11, 747, 3351, 422, 2337, 82, 6134, 288, 9506, 202, 780, 7750, 273, 460, 18, 28023, 12, 2972, 2555, 397, 404, 1769, 9506, 202, 1132, 273, 460, 18, 28023, 12, 20, 16, 22356, 1769, 9506, 202, 430, 261, 1132, 18, 2469, 1435, 411, 404, 13, 288, 6862, 202, 1132, 273, 315, 13636, 9506, 202, 97, 9506, 202, 542, 1350, 12, 1132, 1769, 9506, 202, 2463, 394, 9989, 5579, 12, 2463, 620, 16, 3512, 16, 2036, 1769, 1082, 202, 97, 1875, 202, 759, 309, 279, 1416, 17, 11560, 353, 9919, 16, 326, 1416, 2555, 353, 22349, 1082, 202, 430, 261, 18562, 5711, 5653, 18, 291, 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, 18562, 5579, 1416, 12, 9056, 1835, 13, 288, 202, 202, 474, 22356, 273, 374, 31, 202, 202, 474, 1416, 2555, 273, 300, 21, 31, 202, 202, 9056, 783, 2384, 273, 3512, 18, 2819, 5621, 202, 202, 759, 2798, 1879, 777, 326, 3949, 434, 279, 533, 202, 202, 759, 578, 3180, 326, 2078, 2384, 353, 8675, 202, 202, 474, 769, 273, 460, 18, 2469, 5621, 202, 202, 3001, 3351, 31, 202, 202, 17523, 261, 2972, 2555, 411, 769, 597, 783, 2384, 411, 1835, 13, 288, 1082, 202, 759, 326, 1835, 434, 3614, 3351, 353, 3096, 358, 326, 783, 2384, 1082, 202, 11560, 273, 460, 18, 3001, 861, 12, 2972, 2555, 1769, 1082, 202, 2972, 2384, 1011, 3512, 18, 2 ]
throws MalformedURLException {
throws URISyntaxException {
public void setName(String n) throws MalformedURLException { String s = ""; if (getURL() != null) { s = getURL().toString(); } s = s.substring(0, s.lastIndexOf("/") + 1) + n; setURL(new URL(s)); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/393b06a765c576f48e34a44465304d01d5ae36a4/Project.java/clean/src_new/org/argouml/kernel/Project.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6788, 12, 780, 290, 13, 3639, 1216, 19883, 288, 3639, 514, 272, 273, 1408, 31, 3639, 309, 261, 588, 1785, 1435, 480, 446, 13, 288, 5411, 272, 273, 19341, 7675, 10492, 5621, 3639, 289, 3639, 272, 273, 272, 18, 28023, 12, 20, 16, 272, 18, 2722, 31985, 2932, 4898, 13, 397, 404, 13, 397, 290, 31, 3639, 444, 1785, 12, 2704, 1976, 12, 87, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6788, 12, 780, 290, 13, 3639, 1216, 19883, 288, 3639, 514, 272, 273, 1408, 31, 3639, 309, 261, 588, 1785, 1435, 480, 446, 13, 288, 5411, 272, 273, 19341, 7675, 10492, 5621, 3639, 289, 3639, 272, 273, 272, 18, 28023, 12, 20, 16, 272, 18, 2722, 31985, 2932, 4898, 13, 397, 404, 13, 397, 290, 31, 3639, 444, 1785, 12, 2704, 1976, 12, 87, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
yaccValue = "&";
yaccValue = new Token("&", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END; } return tok; } currentPos = src.getPosition(); commandState = commandStart; commandStart = false; retry: for(;;) { c = src.read(); switch(c) { case '\004': /* ^D */ case '\032': /* ^Z */ case 0: /* end of script. */ return 0; /* white spaces */ case ' ': case '\t': case '\f': case '\r': case '\13': /* '\v' */ spaceSeen = true; continue retry; case '#': /* it's a comment */ while ((c = src.read()) != '\n') { if (c == EOF) { return 0; } } /* fall through */ case '\n': // Replace a string of newlines with a single one while((c = src.read()) == '\n') { currentPos = src.getPosition(); } src.unread( c ); if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT || lex_state == LexState.EXPR_CLASS) { continue retry; } commandStart = true; lex_state = LexState.EXPR_BEG; return '\n'; case '*': if ((c = src.read()) == '*') { if ((c = src.read()) == '=') { yaccValue = "**"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } yaccValue = "**"; src.unread(c); c = Tokens.tPOW; } else { if (c == '=') { yaccValue = "*"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); if (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c)) { warnings.warning(src.getPosition(), "`*' interpreted as argument prefix"); c = Tokens.tSTAR; } else if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { c = Tokens.tSTAR; } else { c = Tokens.tSTAR2; } } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "*"; return c; case '!': lex_state = LexState.EXPR_BEG; if ((c = src.read()) == '=') { return Tokens.tNEQ; } if (c == '~') { return Tokens.tNMATCH; } src.unread(c); return Tokens.tBANG; case '=': // Skip documentation nodes if (src.wasBeginOfLine()) { /* skip embedded rd document */ if (isNextNoCase("begin")) { c = src.read(); if (Character.isWhitespace(c)) { // In case last next was the newline. src.unread(c); for (;;) { c = src.read(); // If a line is followed by a blank line put // it back. while (c == '\n') { c = src.read(); } if (c == EOF) { throw new SyntaxException(src.getPosition(), "embedded document meets end of file"); } if (c != '=') continue; if (src.wasBeginOfLine() && isNextNoCase("end")) { //if (src.peek('\n')) { // break; //} //c = src.read(); //if (Character.isWhitespace(c)) { src.readLine(); break; //} //src.unread(c); } } continue retry; } src.unread(c); } } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } c = src.read(); if (c == '=') { c = src.read(); if (c == '=') { yaccValue = "==="; return Tokens.tEQQ; } src.unread(c); yaccValue = "=="; return Tokens.tEQ; } if (c == '~') { yaccValue = "=~"; return Tokens.tMATCH; } else if (c == '>') { return Tokens.tASSOC; } src.unread(c); return '='; case '<': c = src.read(); if (c == '<' && lex_state != LexState.EXPR_END && lex_state != LexState.EXPR_DOT && lex_state != LexState.EXPR_ENDARG && lex_state != LexState.EXPR_CLASS && (!lex_state.isArgument() || spaceSeen)) { int tok = hereDocumentIdentifier(); if (tok != 0) return tok; } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } if (c == '=') { if ((c = src.read()) == '>') { yaccValue = "<=>"; return Tokens.tCMP; } yaccValue = "<="; src.unread(c); return Tokens.tLEQ; } if (c == '<') { yaccValue = "<<"; if ((c = src.read()) == '=') { lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); return Tokens.tLSHFT; } yaccValue = "<"; src.unread(c); return Tokens.tLT; case '>': if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } if ((c = src.read()) == '=') { yaccValue = ">="; return Tokens.tGEQ; } if (c == '>') { yaccValue = ">>"; if ((c = src.read()) == '=') { lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); return Tokens.tRSHFT; } yaccValue = ">"; src.unread(c); return Tokens.tGT; case '"': lex_strterm = new StringTerm(str_dquote, '"', '\0'); return Tokens.tSTRING_BEG; case '`': yaccValue = "`"; if (lex_state == LexState.EXPR_FNAME) { lex_state = LexState.EXPR_END; return Tokens.tBACK_REF2; } if (lex_state == LexState.EXPR_DOT) { if (commandState) { lex_state = LexState.EXPR_CMDARG; } else { lex_state = LexState.EXPR_ARG; } return Tokens.tBACK_REF2; } lex_strterm = new StringTerm(str_xquote, '`', '\0'); return Tokens.tXSTRING_BEG; case '\'': lex_strterm = new StringTerm(str_squote, '\'', '\0'); return Tokens.tSTRING_BEG; case '?': if (lex_state == LexState.EXPR_END || lex_state == LexState.EXPR_ENDARG) { lex_state = LexState.EXPR_BEG; return '?'; } c = src.read(); if (c == EOF) { throw new SyntaxException(src.getPosition(), "incomplete character syntax"); } if (Character.isWhitespace(c)){ if (!lex_state.isArgument()){ int c2 = 0; switch (c) { case ' ': c2 = 's'; break; case '\n': c2 = 'n'; break; case '\t': c2 = 't'; break; /* What is \v in C? case '\v': c2 = 'v'; break; */ case '\r': c2 = 'r'; break; case '\f': c2 = 'f'; break; } if (c2 != 0) { warnings.warn(src.getPosition(), "invalid character syntax; use ?\\" + c2); } } src.unread(c); lex_state = LexState.EXPR_BEG; return '?'; /*} else if (ismbchar(c)) { // ruby - we don't support them either? rb_warn("multibyte character literal not supported yet; use ?\\" + c); support.unread(c); lexState = LexState.EXPR_BEG; return '?';*/ } else if ((Character.isLetterOrDigit(c) || c == '_') && !src.peek('\n') && isNext_identchar()) { src.unread(c); lex_state = LexState.EXPR_BEG; return '?'; } else if (c == '\\') { c = src.readEscape(); } c &= 0xff; lex_state = LexState.EXPR_END; yaccValue = new Long(c); return Tokens.tINTEGER; case '&': if ((c = src.read()) == '&') { lex_state = LexState.EXPR_BEG; if ((c = src.read()) == '=') { yaccValue = "&&"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); return Tokens.tANDOP; } else if (c == '=') { yaccValue = "&"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); if (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c)){ warnings.warning(src.getPosition(), "`&' interpreted as argument prefix"); c = Tokens.tAMPER; } else if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { c = Tokens.tAMPER; } else { c = Tokens.tAMPER2; } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "&"; return c; case '|': if ((c = src.read()) == '|') { lex_state = LexState.EXPR_BEG; if ((c = src.read()) == '=') { yaccValue = "||"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); return Tokens.tOROP; } if (c == '=') { yaccValue = "|"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "|"; src.unread(c); return Tokens.tPIPE; case '+': c = src.read(); if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; if (c == '@') { yaccValue = "@+"; return Tokens.tUPLUS; } yaccValue = "+"; src.unread(c); return Tokens.tPLUS; } if (c == '=') { yaccValue = "+"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID || (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c))) { if (lex_state.isArgument()) arg_ambiguous(); lex_state = LexState.EXPR_BEG; src.unread(c); if (Character.isDigit(c)) { c = '+'; return parseNumber(c); } return Tokens.tUPLUS; } lex_state = LexState.EXPR_BEG; src.unread(c); return Tokens.tPLUS; case '-': c = src.read(); if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; if (c == '@') { yaccValue = "@-"; return Tokens.tUMINUS; } yaccValue = "-"; src.unread(c); return Tokens.tMINUS; } if (c == '=') { yaccValue = "-"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID || (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c))) { if (lex_state.isArgument()) arg_ambiguous(); lex_state = LexState.EXPR_BEG; src.unread(c); if (Character.isDigit(c)) { return Tokens.tUMINUS_NUM; } return Tokens.tUMINUS; } lex_state = LexState.EXPR_BEG; src.unread(c); return Tokens.tMINUS; case '.': lex_state = LexState.EXPR_BEG; if ((c = src.read()) == '.') { if ((c = src.read()) == '.') { return Tokens.tDOT3; } src.unread(c); return Tokens.tDOT2; } src.unread(c); if (Character.isDigit(c)) { throw new SyntaxException(src.getPosition(), "no .<digit> floating literal anymore; put 0 before dot"); } lex_state = LexState.EXPR_DOT; return Tokens.tDOT; case '0' : case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : return parseNumber(c); case ']': case '}': case ')': conditionState.restart(); cmdArgumentState.restart(); lex_state = LexState.EXPR_END; return c; case ':': c = src.read(); if (c == ':') { if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID || lex_state == LexState.EXPR_CLASS || (lex_state.isArgument() && spaceSeen)) { lex_state = LexState.EXPR_BEG; return Tokens.tCOLON3; } lex_state = LexState.EXPR_DOT; return Tokens.tCOLON2; } if (lex_state == LexState.EXPR_END || lex_state == LexState.EXPR_ENDARG || Character.isWhitespace(c)) { src.unread(c); lex_state = LexState.EXPR_BEG; return ':'; } switch (c) { case '\'': lex_strterm = new StringTerm(str_ssym, c, '\0'); break; case '"': lex_strterm = new StringTerm(str_dsym, c, '\0'); break; default: src.unread(c); break; } lex_state = LexState.EXPR_FNAME; return Tokens.tSYMBEG; case '/': if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { lex_strterm = new StringTerm(str_regexp, '/', '\0'); return Tokens.tREGEXP_BEG; } if ((c = src.read()) == '=') { yaccValue = "/"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); if (lex_state.isArgument() && spaceSeen) { if (!Character.isWhitespace(c)) { arg_ambiguous(); lex_strterm = new StringTerm(str_regexp, '/', '\0'); return Tokens.tREGEXP_BEG; } } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "/"; return Tokens.tDIVIDE; case '^': yaccValue = "^"; if ((c = src.read()) == '=') { lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } src.unread(c); return Tokens.tCARET; case ';': commandStart = true; case ',': lex_state = LexState.EXPR_BEG; return c; case '~': if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { if ((c = src.read()) != '@') { src.unread(c); } } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "~"; return Tokens.tTILDE; case '(': c = Tokens.tLPAREN2; commandStart = true; if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { c = Tokens.tLPAREN; } else if (spaceSeen) { if (lex_state == LexState.EXPR_CMDARG) { c = Tokens.tLPAREN_ARG; } else if (lex_state == LexState.EXPR_ARG) { warnings.warn(src.getPosition(), "don't put space before argument parentheses"); c = Tokens.tLPAREN2; } } conditionState.stop(); cmdArgumentState.stop(); lex_state = LexState.EXPR_BEG; return c; case '[': if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; if ((c = src.read()) == ']') { if ((c = src.read()) == '=') { yaccValue = "[]="; return Tokens.tASET; } yaccValue = "[]"; src.unread(c); return Tokens.tAREF; } src.unread(c); return '['; } else if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { c = Tokens.tLBRACK; } else if (lex_state.isArgument() && spaceSeen) { c = Tokens.tLBRACK; } lex_state = LexState.EXPR_BEG; conditionState.stop(); cmdArgumentState.stop(); return c; case '{': c = Tokens.tLCURLY; if (lex_state.isArgument() || lex_state == LexState.EXPR_END) { c = Tokens.tLCURLY; /* block (primary) */ } else if (lex_state == LexState.EXPR_ENDARG) { c = Tokens.tLBRACE_ARG; /* block (expr) */ } else { c = Tokens.tLBRACE; /* hash */ } conditionState.stop(); cmdArgumentState.stop(); lex_state = LexState.EXPR_BEG; return c; case '\\': c = src.read(); if (c == '\n') { spaceSeen = true; continue retry; /* skip \\n */ } src.unread(c); return '\\'; case '%': if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { return parseQuote(src.read()); } if ((c = src.read()) == '=') { yaccValue = "%"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c)) { return parseQuote(c); } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "%"; src.unread(c); return Tokens.tPERCENT; case '$': lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); c = src.read(); switch (c) { case '_': /* $_: last read line string */ c = src.read(); if (isIdentifierChar(c)) { tokenBuffer.append('$'); tokenBuffer.append('_'); break; } src.unread(c); c = '_'; /* fall through */ case '*': /* $*: argv */ case '$': /* $$: pid */ case '?': /* $?: last status */ case '!': /* $!: error string */ case '@': /* $@: error position */ case '/': /* $/: input record separator */ case '\\': /* $\: output record separator */ case ';': /* $;: field separator */ case ',': /* $,: output field separator */ case '.': /* $.: last read line number */ case '=': /* $=: ignorecase */ case ':': /* $:: load path */ case '<': /* $<: reading filename */ case '>': /* $>: default output handle */ case '\"': /* $": already loaded files */ tokenBuffer.append('$'); tokenBuffer.append(c); yaccValue = tokenBuffer.toString(); return Tokens.tGVAR; case '-': tokenBuffer.append('$'); tokenBuffer.append(c); c = src.read(); tokenBuffer.append(c); yaccValue = tokenBuffer.toString(); /* xxx shouldn't check if valid option variable */ return Tokens.tGVAR; case '~': /* $~: match-data */ case '&': /* $&: last match */ case '`': /* $`: string before last match */ case '\'': /* $': string after last match */ case '+': /* $+: string matches last paren. */ yaccValue = new BackRefNode(src.getPosition(), c); return Tokens.tBACK_REF; case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': tokenBuffer.append('$'); do { tokenBuffer.append(c); c = src.read(); } while (Character.isDigit(c)); src.unread(c); yaccValue = new NthRefNode(src.getPosition(), Integer.parseInt(tokenBuffer.substring(1))); return Tokens.tNTH_REF; default: if (!isIdentifierChar(c)) { src.unread(c); return '$'; } case '0': tokenBuffer.append('$'); } break; case '@': c = src.read(); tokenBuffer.setLength(0); tokenBuffer.append('@'); if (c == '@') { tokenBuffer.append('@'); c = src.read(); } if (Character.isDigit(c)) { if (tokenBuffer.length() == 1) { throw new SyntaxException(src.getPosition(), "`@" + c + "' is not allowed as an instance variable name"); } throw new SyntaxException(src.getPosition(), "`@@" + c + "' is not allowed as a class variable name"); } if (!isIdentifierChar(c)) { src.unread(c); return '@'; } break; case '_': if (src.wasBeginOfLine() && src.matchString("_END__\n", false)) { parserSupport.getResult().setEndSeen(true); return 0; } tokenBuffer.setLength(0); break; default: if (!isIdentifierChar(c)) { throw new SyntaxException(src.getPosition(), "Invalid char `\\" + new PrintfFormat("%.3o").sprintf(c) + "' in expression"); } tokenBuffer.setLength(0); break; } do { tokenBuffer.append(c); /* no special multibyte character handling is needed in Java * if (ismbchar(c)) { int i, len = mbclen(c)-1; for (i = 0; i < len; i++) { c = src.read(); tokenBuffer.append(c); } }*/ c = src.read(); } while (isIdentifierChar(c)); char peek = src.read(); if ((c == '!' || c == '?') && isIdentifierChar(tokenBuffer.charAt(0)) && peek != '=') { src.unread(peek); tokenBuffer.append(c); } else { src.unread(peek); src.unread(c); } int result = 0; switch (tokenBuffer.charAt(0)) { case '$': lex_state = LexState.EXPR_END; result = Tokens.tGVAR; break; case '@': lex_state = LexState.EXPR_END; if (tokenBuffer.charAt(1) == '@') { result = Tokens.tCVAR; } else { result = Tokens.tIVAR; } break; default: char last = tokenBuffer.charAt(tokenBuffer.length() - 1); if (last == '!' || last == '?') { result = Tokens.tFID; } else { if (lex_state == LexState.EXPR_FNAME) { /* // Enebo: This should be equivalent to below without // so much read/unread action. if ((c = src.read()) == '=') { char c2 = src.read(); if (c2 != '~' && c2 != '>' && (c2 != '=' || (c2 == '\n' && src.peek('>')))) { result = Token.tIDENTIFIER; tokenBuffer.append(c); } else { src.unread(c2); src.unread(c); } } else { src.unread(c); } */ if ((c = src.read()) == '=' && !src.peek('~') && !src.peek('>') && (!src.peek('=') || (src.peek('\n') && src.getCharAt(1) == '>'))) { result = Tokens.tIDENTIFIER; tokenBuffer.append(c); } else { src.unread(c); } } if (result == 0 && ISUPPER(tokenBuffer.charAt(0))) { result = Tokens.tCONSTANT; } else { result = Tokens.tIDENTIFIER; } } if (lex_state != LexState.EXPR_DOT) { /* See if it is a reserved word. */ Keyword keyword = Keyword.getKeyword(tokenBuffer.toString(), tokenBuffer.length()); if (keyword != null) { // enum lex_state LexState state = lex_state; lex_state = keyword.state; if (state.isExprFName()) { yaccValue = keyword.name; } if (keyword.id0 == Tokens.kDO) { if (conditionState.isInState()) { return Tokens.kDO_COND; } if (cmdArgumentState.isInState() && state != LexState.EXPR_CMDARG) { return Tokens.kDO_BLOCK; } if (state == LexState.EXPR_ENDARG) { return Tokens.kDO_BLOCK; } return Tokens.kDO; } if (state == LexState.EXPR_BEG) { return keyword.id0; } if (keyword.id0 != keyword.id1) { lex_state = LexState.EXPR_BEG; } return keyword.id1; } } if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID || lex_state == LexState.EXPR_DOT || lex_state == LexState.EXPR_ARG || lex_state == LexState.EXPR_CMDARG) { if (commandState) { lex_state = LexState.EXPR_CMDARG; } else { lex_state = LexState.EXPR_ARG; } } else { lex_state = LexState.EXPR_END; } } yaccValue = tokenBuffer.toString(); // Lame: parsing logic made it into lexer in ruby...So we // are emulating if (IdUtil.isLocal((String)yaccValue) && ((((LocalNamesElement) parserSupport.getLocalNames().peek()).isInBlock() && ((BlockNamesElement) parserSupport.getBlockNames().peek()).isDefined((String) yaccValue)) || ((LocalNamesElement) parserSupport.getLocalNames().peek()).isLocalRegistered((String) yaccValue))) { lex_state = LexState.EXPR_END; } return result; } }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/buggy/src/org/jruby/lexer/yacc/RubyYaccLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 677, 1362, 92, 1435, 288, 3639, 1149, 276, 31, 3639, 1250, 3476, 15160, 273, 629, 31, 3639, 1250, 1296, 1119, 31, 7734, 309, 261, 4149, 67, 701, 6408, 480, 446, 13, 288, 1082, 202, 474, 946, 273, 5275, 67, 701, 6408, 18, 2670, 780, 12, 2211, 16, 1705, 1769, 1082, 202, 430, 261, 17692, 422, 13899, 18, 88, 5804, 67, 4415, 747, 946, 422, 13899, 18, 88, 28225, 67, 4415, 13, 288, 9506, 565, 5275, 67, 701, 6408, 273, 446, 31, 9506, 565, 5275, 67, 2019, 273, 15123, 1119, 18, 2294, 8025, 67, 4415, 31, 1082, 202, 97, 1082, 202, 2463, 946, 31, 3639, 289, 3639, 783, 1616, 273, 1705, 18, 588, 2555, 5621, 7734, 1296, 1119, 273, 1296, 1685, 31, 3639, 1296, 1685, 273, 629, 31, 7734, 3300, 30, 364, 12, 25708, 13, 288, 5411, 276, 273, 1705, 18, 896, 5621, 5411, 1620, 12, 71, 13, 288, 5411, 648, 2337, 26565, 4278, 202, 202, 20308, 3602, 40, 1195, 5411, 648, 2337, 20, 1578, 4278, 202, 202, 20308, 3602, 62, 1195, 5411, 648, 374, 30, 1082, 202, 20308, 679, 434, 2728, 18, 1195, 7734, 327, 374, 31, 21821, 1748, 9578, 7292, 1195, 5411, 648, 296, 4290, 648, 2337, 88, 4278, 648, 2337, 74, 4278, 648, 2337, 86, 4278, 5411, 648, 2337, 3437, 4278, 1748, 2337, 90, 11, 1195, 7734, 3476, 15160, 273, 638, 31, 7734, 1324, 3300, 31, 5411, 648, 2946, 4278, 202, 202, 20308, 518, 1807, 279, 2879, 1195, 7734, 1323, 14015, 71, 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, 509, 677, 1362, 92, 1435, 288, 3639, 1149, 276, 31, 3639, 1250, 3476, 15160, 273, 629, 31, 3639, 1250, 1296, 1119, 31, 7734, 309, 261, 4149, 67, 701, 6408, 480, 446, 13, 288, 1082, 202, 474, 946, 273, 5275, 67, 701, 6408, 18, 2670, 780, 12, 2211, 16, 1705, 1769, 1082, 202, 430, 261, 17692, 422, 13899, 18, 88, 5804, 67, 4415, 747, 946, 422, 13899, 18, 88, 28225, 67, 4415, 13, 288, 9506, 565, 5275, 67, 701, 6408, 273, 446, 31, 9506, 565, 5275, 67, 2019, 273, 15123, 1119, 18, 2294, 8025, 67, 4415, 31, 1082, 202, 97, 1082, 202, 2463, 946, 31, 3639, 289, 3639, 783, 1616, 273, 1705, 18, 588, 2555, 5621, 7734, 1296, 2 ]
log.exiting(this.getClass().getName(), "teardown");
if (Configuration.DEBUG) log.exiting(this.getClass().getName(), "teardown");
void teardown() { log.entering(this.getClass().getName(), "teardown"); //$NON-NLS-1$ if (storeStream != null) try { storeStream.close(); } catch (IOException ignored) { log.fine("Exception while closing key store URL stream. Ignored: " //$NON-NLS-1$ + ignored); } if (outStream != null) { try { outStream.flush(); } catch (IOException ignored) { } if (! systemOut) try { outStream.close(); } catch (IOException ignored) { } } if (inStream != null) try { inStream.close(); } catch (IOException ignored) { } if (providerNdx > 0) ProviderUtil.removeProvider(provider.getName()); log.exiting(this.getClass().getName(), "teardown"); //$NON-NLS-1$ }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/2fc4e384dcea5a4ff5cefac633fe9a3c8607d6b3/Command.java/clean/tools/gnu/classpath/tools/keytool/Command.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 28196, 1435, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 736, 20684, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 565, 309, 261, 2233, 1228, 480, 446, 13, 1377, 775, 3639, 288, 1850, 1707, 1228, 18, 4412, 5621, 3639, 289, 1377, 1044, 261, 14106, 5455, 13, 3639, 288, 1850, 613, 18, 74, 558, 2932, 503, 1323, 7647, 498, 1707, 1976, 1407, 18, 8049, 72, 30, 315, 4329, 3993, 17, 5106, 17, 21, 8, 10402, 397, 5455, 1769, 3639, 289, 565, 309, 261, 659, 1228, 480, 446, 13, 1377, 288, 3639, 775, 1850, 288, 5411, 28997, 18, 11330, 5621, 1850, 289, 3639, 1044, 261, 14106, 5455, 13, 1850, 288, 1850, 289, 3639, 309, 16051, 2619, 1182, 13, 1850, 775, 5411, 288, 2868, 28997, 18, 4412, 5621, 5411, 289, 1850, 1044, 261, 14106, 5455, 13, 5411, 288, 5411, 289, 1377, 289, 565, 309, 261, 267, 1228, 480, 446, 13, 1377, 775, 3639, 288, 1850, 28987, 18, 4412, 5621, 3639, 289, 1377, 1044, 261, 14106, 5455, 13, 3639, 288, 3639, 289, 565, 309, 261, 6778, 50, 13437, 405, 374, 13, 1377, 7561, 1304, 18, 4479, 2249, 12, 6778, 18, 17994, 10663, 565, 309, 261, 1750, 18, 9394, 13, 613, 18, 8593, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 736, 20684, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 225, 289, 2, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 28196, 1435, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 736, 20684, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 565, 309, 261, 2233, 1228, 480, 446, 13, 1377, 775, 3639, 288, 1850, 1707, 1228, 18, 4412, 5621, 3639, 289, 1377, 1044, 261, 14106, 5455, 13, 3639, 288, 1850, 613, 18, 74, 558, 2932, 503, 1323, 7647, 498, 1707, 1976, 1407, 18, 8049, 72, 30, 315, 4329, 3993, 17, 5106, 17, 21, 8, 10402, 397, 5455, 1769, 3639, 289, 565, 309, 261, 659, 1228, 480, 446, 13, 1377, 288, 3639, 775, 1850, 288, 5411, 28997, 18, 11330, 5621, 1850, 289, 3639, 1044, 261, 14106, 5455, 13, 1850, 288, 1850, 2 ]
if ( _cnt1213>=1 ) { break _loop1213; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
if ( _cnt589>=1 ) { break _loop589; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());}
public final void mMODULE_NAME(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = MODULE_NAME; int _saveIndex; boolean synPredMatched1198 = false; if (((LA(1)=='A') && (LA(2)=='R') && (LA(3)=='R'))) { int _m1198 = mark(); synPredMatched1198 = true; inputState.guessing++; try { { match("ARRAY"); } } catch (RecognitionException pe) { synPredMatched1198 = false; } rewind(_m1198); inputState.guessing--; } if ( synPredMatched1198 ) { match("ARRAY"); if ( inputState.guessing==0 ) { _ttype = ARRAY_REF; } } else { boolean synPredMatched1200 = false; if (((LA(1)=='S') && (LA(2)=='C') && (LA(3)=='A'))) { int _m1200 = mark(); synPredMatched1200 = true; inputState.guessing++; try { { match("SCALAR"); } } catch (RecognitionException pe) { synPredMatched1200 = false; } rewind(_m1200); inputState.guessing--; } if ( synPredMatched1200 ) { match("SCALAR"); if ( inputState.guessing==0 ) { _ttype = SCALAR_REF; } } else { boolean synPredMatched1202 = false; if (((LA(1)=='H') && (LA(2)=='A') && (LA(3)=='S'))) { int _m1202 = mark(); synPredMatched1202 = true; inputState.guessing++; try { { match("HASH"); } } catch (RecognitionException pe) { synPredMatched1202 = false; } rewind(_m1202); inputState.guessing--; } if ( synPredMatched1202 ) { match("HASH"); if ( inputState.guessing==0 ) { _ttype = HASH_REF; } } else { boolean synPredMatched1204 = false; if (((LA(1)=='C') && (LA(2)=='O') && (LA(3)=='D'))) { int _m1204 = mark(); synPredMatched1204 = true; inputState.guessing++; try { { match("CODE"); } } catch (RecognitionException pe) { synPredMatched1204 = false; } rewind(_m1204); inputState.guessing--; } if ( synPredMatched1204 ) { match("CODE"); if ( inputState.guessing==0 ) { _ttype = CODE_REF; } } else { boolean synPredMatched1206 = false; if (((LA(1)=='R') && (LA(2)=='E') && (LA(3)=='F'))) { int _m1206 = mark(); synPredMatched1206 = true; inputState.guessing++; try { { match("REF"); } } catch (RecognitionException pe) { synPredMatched1206 = false; } rewind(_m1206); inputState.guessing--; } if ( synPredMatched1206 ) { match("REF"); if ( inputState.guessing==0 ) { _ttype = REF; } } else { boolean synPredMatched1208 = false; if (((LA(1)=='F') && (LA(2)=='i') && (LA(3)=='l'))) { int _m1208 = mark(); synPredMatched1208 = true; inputState.guessing++; try { { match("FileHandle"); } } catch (RecognitionException pe) { synPredMatched1208 = false; } rewind(_m1208); inputState.guessing--; } if ( synPredMatched1208 ) { match("FileHandle"); if ( inputState.guessing==0 ) { _ttype = FILE_HANDLE; } } else { boolean synPredMatched1210 = false; if (((LA(1)=='f') && (LA(2)=='i') && (LA(3)=='l'))) { int _m1210 = mark(); synPredMatched1210 = true; inputState.guessing++; try { { match("fileno("); } } catch (RecognitionException pe) { synPredMatched1210 = false; } rewind(_m1210); inputState.guessing--; } if ( synPredMatched1210 ) { { match("fileno("); } { int _cnt1213=0; _loop1213: do { if (((LA(1) >= '0' && LA(1) <= '9'))) { matchRange('0','9'); } else { if ( _cnt1213>=1 ) { break _loop1213; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} } _cnt1213++; } while (true); } match(')'); if ( inputState.guessing==0 ) { _ttype = FILE_NO; } } else if ((_tokenSet_0.member(LA(1))) && (true) && (true)) { mPURE_NAME(false); if ( inputState.guessing==0 ) { _ttype = PURE_NAME; } } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } }}}}}} if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/72375d88949c7cd568747d5147388993cafd19ac/PerlBaseLexer.java/buggy/org.epic.debug/src/org/epic/debug/varparser/PerlBaseLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 12194, 67, 1985, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 14057, 67, 1985, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 6494, 6194, 10391, 15400, 2499, 10689, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 18920, 37, 6134, 597, 261, 2534, 12, 22, 13, 18920, 54, 6134, 597, 261, 2534, 12, 23, 13, 18920, 54, 11, 20349, 288, 1082, 202, 474, 389, 81, 2499, 10689, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 2499, 10689, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 1916, 2932, 8552, 8863, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 5650, 7909, 503, 2804, 13, 288, 9506, 202, 11982, 10391, 15400, 2499, 10689, 273, 629, 31, 1082, 202, 97, 1082, 202, 266, 10094, 24899, 81, 2499, 10689, 1769, 1082, 202, 2630, 1119, 18, 20885, 310, 413, 31, 202, 202, 97, 202, 202, 430, 261, 6194, 10391, 15400, 2499, 10689, 262, 288, 1082, 202, 1916, 2932, 8552, 8863, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 67, 88, 723, 273, 14884, 67, 10771, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 12194, 67, 1985, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 14057, 67, 1985, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 6494, 6194, 10391, 15400, 2499, 10689, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 18920, 37, 6134, 597, 261, 2534, 12, 22, 13, 18920, 54, 6134, 597, 261, 2534, 12, 23, 13, 18920, 54, 11, 20349, 288, 1082, 202, 474, 389, 81, 2499, 10689, 273, 2267, 5621, 1082, 202, 2 ]
PipelinedViewerUpdate anUpdateSynchronization) {
PipelinedViewerUpdate anUpdateSynchronization) { boolean pipelined = false; Object refreshable = null; for (Iterator iter = anUpdateSynchronization.getRefreshTargets().iterator(); iter.hasNext();) { refreshable = iter.next(); Set overrideableExtensions = contentService.findOverrideableContentExtensionsForPossibleChild(refreshable); for (Iterator overrideableExtensionItr = overrideableExtensions.iterator(); overrideableExtensionItr.hasNext();) { pipelined |= pipelineInterceptUpdate((NavigatorContentExtension) overrideableExtensionItr.next(), anUpdateSynchronization, refreshable); } } return pipelined;
public boolean interceptUpdate( PipelinedViewerUpdate anUpdateSynchronization) { Set overrideableExtensions = new HashSet(); for (Iterator iter = anUpdateSynchronization.getRefreshTargets() .iterator(); iter.hasNext();) { overrideableExtensions.addAll(contentService .findOverrideableContentExtensionsForPossibleChild(iter .next())); } if (overrideableExtensions.isEmpty()) { return false; } return pipelineUpdate(overrideableExtensions, anUpdateSynchronization); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/74d335dd8455d470c9630ff446ced94771603eb1/NavigatorPipelineService.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorPipelineService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 10883, 1891, 12, 1082, 202, 24925, 292, 1920, 18415, 1891, 392, 1891, 30196, 13, 288, 9506, 202, 694, 3849, 429, 7513, 273, 394, 6847, 5621, 202, 202, 1884, 261, 3198, 1400, 273, 392, 1891, 30196, 18, 588, 8323, 9432, 1435, 9506, 202, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 10601, 429, 7513, 18, 1289, 1595, 12, 1745, 1179, 6862, 202, 18, 4720, 6618, 429, 1350, 7513, 1290, 13576, 1763, 12, 2165, 6862, 1082, 202, 18, 4285, 1435, 10019, 202, 202, 97, 202, 202, 430, 261, 10601, 429, 7513, 18, 291, 1921, 10756, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 2463, 5873, 1891, 12, 10601, 429, 7513, 16, 392, 1891, 30196, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 10883, 1891, 12, 1082, 202, 24925, 292, 1920, 18415, 1891, 392, 1891, 30196, 13, 288, 9506, 202, 694, 3849, 429, 7513, 273, 394, 6847, 5621, 202, 202, 1884, 261, 3198, 1400, 273, 392, 1891, 30196, 18, 588, 8323, 9432, 1435, 9506, 202, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 10601, 429, 7513, 18, 1289, 1595, 12, 1745, 1179, 6862, 202, 18, 4720, 6618, 429, 1350, 7513, 1290, 13576, 1763, 12, 2165, 6862, 1082, 202, 18, 4285, 1435, 10019, 202, 202, 97, 202, 202, 430, 261, 10601, 429, 7513, 18, 291, 1921, 10756, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 2463, 5873, 1891, 12, 10601, 429, 7513, 2 ]
bookName = (String) getSpellBooks().get(sbookNum);
bookName = getSpellBooks().get(sbookNum);
int countSpellLevelsInBook(final String aString) { int levelNum = 0; final StringTokenizer aTok = new StringTokenizer(aString, "."); final int classNum = Integer.parseInt(aTok.nextToken()); final int sbookNum = Integer.parseInt(aTok.nextToken()); String bookName = Globals.getDefaultSpellBook(); if (sbookNum > 0) { bookName = (String) getSpellBooks().get(sbookNum); } final PObject aObject = getSpellClassAtIndex(classNum); if (aObject != null) { for (levelNum = 0; levelNum >= 0; ++levelNum) { final List<CharacterSpell> aList = aObject.getSpellSupport().getCharacterSpell(null, bookName, levelNum); if (aList.size() < 1) { break; } } } return levelNum; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/acba5add5892f6e7b415025a78f0ecab22892ce1/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 474, 1056, 3389, 1165, 12240, 382, 9084, 12, 6385, 514, 279, 780, 13, 202, 95, 202, 202, 474, 1801, 2578, 273, 374, 31, 202, 202, 6385, 16370, 279, 20477, 273, 394, 16370, 12, 69, 780, 16, 4585, 1769, 202, 202, 6385, 509, 667, 2578, 273, 2144, 18, 2670, 1702, 12, 69, 20477, 18, 4285, 1345, 10663, 202, 202, 6385, 509, 272, 3618, 2578, 273, 2144, 18, 2670, 1702, 12, 69, 20477, 18, 4285, 1345, 10663, 202, 202, 780, 6978, 461, 273, 18901, 1031, 18, 588, 1868, 3389, 1165, 9084, 5621, 202, 202, 430, 261, 87, 3618, 2578, 405, 374, 13, 202, 202, 95, 1082, 202, 3618, 461, 273, 261, 780, 13, 1322, 84, 1165, 9084, 87, 7675, 588, 12, 87, 3618, 2578, 1769, 202, 202, 97, 202, 202, 6385, 453, 921, 279, 921, 273, 1322, 84, 1165, 797, 24499, 12, 1106, 2578, 1769, 202, 202, 430, 261, 69, 921, 480, 446, 13, 202, 202, 95, 1082, 202, 1884, 261, 2815, 2578, 273, 374, 31, 1801, 2578, 1545, 374, 31, 965, 2815, 2578, 13, 1082, 202, 95, 9506, 202, 6385, 987, 32, 7069, 3389, 1165, 34, 279, 682, 273, 279, 921, 18, 588, 3389, 1165, 6289, 7675, 588, 7069, 3389, 1165, 12, 2011, 16, 6978, 461, 16, 1801, 2578, 1769, 9506, 202, 430, 261, 69, 682, 18, 1467, 1435, 411, 404, 13, 9506, 202, 95, 6862, 202, 8820, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 1801, 2578, 31, 202, 97, 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, 474, 1056, 3389, 1165, 12240, 382, 9084, 12, 6385, 514, 279, 780, 13, 202, 95, 202, 202, 474, 1801, 2578, 273, 374, 31, 202, 202, 6385, 16370, 279, 20477, 273, 394, 16370, 12, 69, 780, 16, 4585, 1769, 202, 202, 6385, 509, 667, 2578, 273, 2144, 18, 2670, 1702, 12, 69, 20477, 18, 4285, 1345, 10663, 202, 202, 6385, 509, 272, 3618, 2578, 273, 2144, 18, 2670, 1702, 12, 69, 20477, 18, 4285, 1345, 10663, 202, 202, 780, 6978, 461, 273, 18901, 1031, 18, 588, 1868, 3389, 1165, 9084, 5621, 202, 202, 430, 261, 87, 3618, 2578, 405, 374, 13, 202, 202, 95, 1082, 202, 3618, 461, 273, 261, 780, 13, 1322, 84, 1165, 9084, 87, 7675, 2 ]
section.setText("Usage Details");
section.setText("Usage Details");
private void createUsageSection(Composite parent, FormToolkit toolkit) { Section section = toolkit.createSection(parent, Section.TITLE_BAR); section.setText("Usage Details"); section.setLayout(new TableWrapLayout()); section.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB)); Composite container = toolkit.createComposite(section); section.setClient(container); TableWrapLayout layout = new TableWrapLayout(); layout.numColumns = 2; container.setLayout(layout); createTable(container, toolkit); createTableViewer(); toolkit.paintBordersFor(container); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/69cf4a60cebdb2edef88b409b2e36e233cd05c24/UsageStatsEditorPart.java/clean/sandbox/org.eclipse.mylyn.monitor.reports/src/org/eclipse/mylyn/monitor/reports/ui/views/UsageStatsEditorPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 5357, 5285, 12, 9400, 982, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 202, 202, 5285, 2442, 273, 5226, 8691, 18, 2640, 5285, 12, 2938, 16, 10092, 18, 14123, 67, 21908, 1769, 202, 202, 3464, 18, 542, 1528, 2932, 5357, 21897, 8863, 1082, 202, 3464, 18, 542, 3744, 12, 2704, 3555, 2964, 3744, 10663, 202, 202, 3464, 18, 542, 3744, 751, 12, 2704, 3555, 2964, 751, 12, 1388, 2964, 751, 18, 29818, 67, 6997, 2090, 10019, 202, 202, 9400, 1478, 273, 5226, 8691, 18, 2640, 9400, 12, 3464, 1769, 202, 202, 3464, 18, 542, 1227, 12, 3782, 1769, 9506, 202, 1388, 2964, 3744, 3511, 273, 394, 3555, 2964, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 6862, 9506, 202, 3782, 18, 542, 3744, 12, 6741, 1769, 9506, 202, 2640, 1388, 12, 3782, 16, 5226, 8691, 1769, 202, 202, 2640, 1388, 18415, 5621, 202, 202, 6738, 8691, 18, 84, 1598, 21621, 1290, 12, 3782, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 5357, 5285, 12, 9400, 982, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 202, 202, 5285, 2442, 273, 5226, 8691, 18, 2640, 5285, 12, 2938, 16, 10092, 18, 14123, 67, 21908, 1769, 202, 202, 3464, 18, 542, 1528, 2932, 5357, 21897, 8863, 1082, 202, 3464, 18, 542, 3744, 12, 2704, 3555, 2964, 3744, 10663, 202, 202, 3464, 18, 542, 3744, 751, 12, 2704, 3555, 2964, 751, 12, 1388, 2964, 751, 18, 29818, 67, 6997, 2090, 10019, 202, 202, 9400, 1478, 273, 5226, 8691, 18, 2640, 9400, 12, 3464, 1769, 202, 202, 3464, 18, 542, 1227, 12, 3782, 1769, 9506, 202, 1388, 2964, 3744, 3511, 273, 394, 3555, 2964, 3744, 5621, 202, 202, 6741, 18, 2 ]
passDown(new Event(Event.MSG, msg)); }
passDown(new Event(Event.MSG, msg)); }
void send(Message msg) { Message copy; long id=seqno++; Vector stable_msgs=sender_win.getStableMessages(); NakAckHeader hdr; if(Trace.trace) Trace.info("NAKACK.OutOfBander.send()", "sending msg #=" + id); hdr=new NakAckHeader(NakAckHeader.OUT_OF_BAND_MSG, id, null); hdr.stable_msgs=stable_msgs; msg.putHeader(getName(), hdr); // msg needs to be copied, otherwise it will be modified by the code below sender_win.add(id, msg.copy(), (Vector)members.clone()); passDown(new Event(Event.MSG, msg)); }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/3a7a5d6ef9a8f574da3e45b696950d0b4bb12acc/NAKACK.java/clean/src/org/jgroups/protocols/NAKACK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1366, 12, 1079, 1234, 13, 288, 202, 565, 2350, 1377, 1610, 31, 202, 565, 1525, 540, 612, 33, 5436, 2135, 9904, 31, 202, 565, 5589, 4202, 14114, 67, 27439, 33, 15330, 67, 8082, 18, 588, 30915, 5058, 5621, 202, 565, 423, 581, 11931, 1864, 7723, 31, 202, 565, 309, 12, 3448, 18, 5129, 13, 2677, 18, 1376, 2932, 11277, 47, 3649, 18, 11224, 14231, 264, 18, 4661, 1435, 3113, 315, 87, 2846, 1234, 468, 1546, 397, 612, 1769, 202, 565, 7723, 33, 2704, 423, 581, 11931, 1864, 12, 50, 581, 11931, 1864, 18, 5069, 67, 3932, 67, 38, 4307, 67, 11210, 16, 612, 16, 446, 1769, 202, 565, 7723, 18, 15021, 67, 27439, 33, 15021, 67, 27439, 31, 202, 565, 1234, 18, 458, 1864, 12, 17994, 9334, 7723, 1769, 202, 565, 368, 1234, 4260, 358, 506, 9268, 16, 3541, 518, 903, 506, 4358, 635, 326, 981, 5712, 202, 565, 5793, 67, 8082, 18, 1289, 12, 350, 16, 1234, 18, 3530, 9334, 261, 5018, 13, 7640, 18, 14056, 10663, 202, 565, 1342, 4164, 12, 2704, 2587, 12, 1133, 18, 11210, 16, 1234, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1366, 12, 1079, 1234, 13, 288, 202, 565, 2350, 1377, 1610, 31, 202, 565, 1525, 540, 612, 33, 5436, 2135, 9904, 31, 202, 565, 5589, 4202, 14114, 67, 27439, 33, 15330, 67, 8082, 18, 588, 30915, 5058, 5621, 202, 565, 423, 581, 11931, 1864, 7723, 31, 202, 565, 309, 12, 3448, 18, 5129, 13, 2677, 18, 1376, 2932, 11277, 47, 3649, 18, 11224, 14231, 264, 18, 4661, 1435, 3113, 315, 87, 2846, 1234, 468, 1546, 397, 612, 1769, 202, 565, 7723, 33, 2704, 423, 581, 11931, 1864, 12, 50, 581, 11931, 1864, 18, 5069, 67, 3932, 67, 38, 4307, 67, 11210, 16, 612, 16, 446, 1769, 202, 565, 7723, 18, 15021, 67, 27439, 33, 15021, 67, 2 ]
return "MetalLookAndFeel";
return "Metal";
public String getName() { return "MetalLookAndFeel"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1723, 1435, 225, 288, 565, 327, 315, 26365, 14432, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1723, 1435, 225, 288, 565, 327, 315, 26365, 14432, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new RuntimeException("PRB is aborted");
throw new AbortedException("PRB is aborted");
public Buffer getPacket(int x) { if (_aborted) { throw new RuntimeException("PRB is aborted"); } return new Buffer(_data, x * _packetSize, _packetSize); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/b4ecaa4055b5835413830d4125c72de27d68e306/PartiallyReceivedBlock.java/buggy/src/freenet/io/xfer/PartiallyReceivedBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3525, 30401, 278, 12, 474, 619, 13, 288, 202, 202, 430, 261, 67, 18623, 329, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 8025, 38, 353, 18166, 8863, 202, 202, 97, 202, 202, 2463, 394, 3525, 24899, 892, 16, 619, 380, 389, 11482, 1225, 16, 389, 11482, 1225, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3525, 30401, 278, 12, 474, 619, 13, 288, 202, 202, 430, 261, 67, 18623, 329, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 8025, 38, 353, 18166, 8863, 202, 202, 97, 202, 202, 2463, 394, 3525, 24899, 892, 16, 619, 380, 389, 11482, 1225, 16, 389, 11482, 1225, 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 ]
HashSet found = new HashSet(); findFile(includePaths, includeName, filesFound, found);
findFile(includePaths, includeName, filesFound);
public void run() { ICElement include= getIncludeStatement(fSelectionProvider.getSelection()); if (include == null) { return; } try { IResource res = include.getUnderlyingResource(); ArrayList filesFound = new ArrayList(4); if (res != null) { IProject proj = res.getProject(); String includeName = include.getElementName(); // Search in the scannerInfo information IScannerInfoProvider provider = CCorePlugin.getDefault().getScannerInfoProvider(proj); if (provider != null) { IScannerInfo info = provider.getScannerInformation(res); // XXXX this should fall back to project by itself if (info == null) { info = provider.getScannerInformation(proj); } if (info != null) { String[] includePaths = info.getIncludePaths(); HashSet found = new HashSet(); findFile(includePaths, includeName, filesFound, found); } if (filesFound.size() == 0) { // Fall back and search the project findFile(proj, new Path(includeName), filesFound); } } } IPath fileToOpen; int nElementsFound= filesFound.size(); if (nElementsFound == 0) { noElementsFound(); fileToOpen= null; } else if (nElementsFound == 1) { fileToOpen= (IPath) filesFound.get(0); } else { fileToOpen= chooseFile(filesFound); } if (fileToOpen != null) { EditorUtility.openInEditor(fileToOpen, include); } } catch (CModelException e) { CUIPlugin.getDefault().log(e.getStatus()); } catch (CoreException e) { CUIPlugin.getDefault().log(e.getStatus()); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/6155014aabc967cc18fe016c5558f308e1c76038/OpenIncludeAction.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/OpenIncludeAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 2871, 1046, 2341, 33, 7854, 1571, 3406, 12, 74, 6233, 2249, 18, 588, 6233, 10663, 202, 202, 430, 261, 6702, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 698, 288, 1082, 202, 45, 1420, 400, 273, 2341, 18, 588, 14655, 6291, 1420, 5621, 1082, 202, 19558, 1390, 2043, 273, 394, 2407, 12, 24, 1769, 1082, 202, 430, 261, 455, 480, 446, 13, 288, 9506, 202, 45, 4109, 10296, 273, 400, 18, 588, 4109, 5621, 9506, 202, 780, 2341, 461, 273, 2341, 18, 21336, 461, 5621, 9506, 202, 759, 5167, 316, 326, 7683, 966, 1779, 9506, 202, 45, 11338, 966, 2249, 2893, 273, 225, 385, 4670, 3773, 18, 588, 1868, 7675, 588, 11338, 966, 2249, 12, 17995, 1769, 9506, 202, 430, 261, 6778, 480, 446, 13, 288, 6862, 202, 45, 11338, 966, 1123, 273, 2893, 18, 588, 11338, 5369, 12, 455, 1769, 6862, 202, 759, 11329, 60, 333, 1410, 4159, 1473, 358, 1984, 635, 6174, 6862, 202, 430, 261, 1376, 422, 446, 13, 288, 25083, 202, 1376, 273, 2893, 18, 588, 11338, 5369, 12, 17995, 1769, 6862, 202, 97, 6862, 202, 430, 261, 1376, 480, 446, 13, 288, 25083, 202, 780, 8526, 2341, 4466, 273, 1123, 18, 588, 8752, 4466, 5621, 25083, 202, 13482, 1392, 273, 394, 6847, 5621, 25083, 202, 4720, 812, 12, 6702, 4466, 16, 2341, 461, 16, 1390, 2043, 16, 1392, 1769, 6862, 202, 97, 6862, 202, 430, 261, 2354, 2043, 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, 1086, 1435, 288, 202, 202, 2871, 1046, 2341, 33, 7854, 1571, 3406, 12, 74, 6233, 2249, 18, 588, 6233, 10663, 202, 202, 430, 261, 6702, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 698, 288, 1082, 202, 45, 1420, 400, 273, 2341, 18, 588, 14655, 6291, 1420, 5621, 1082, 202, 19558, 1390, 2043, 273, 394, 2407, 12, 24, 1769, 1082, 202, 430, 261, 455, 480, 446, 13, 288, 9506, 202, 45, 4109, 10296, 273, 400, 18, 588, 4109, 5621, 9506, 202, 780, 2341, 461, 273, 2341, 18, 21336, 461, 5621, 9506, 202, 759, 5167, 316, 326, 7683, 966, 1779, 9506, 202, 45, 11338, 966, 2249, 2893, 273, 225, 385, 4670, 2 ]
get3CSelections().remove(oldSelection); repaint();
if(get3CSelections().remove(oldSelection));{ selection3CCount--; repaint(); }
public void remove3CSelection(Selection oldSelection){ get3CSelections().remove(oldSelection); repaint(); }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/7c3c7ef202d9907c0d47de1db7b7481878bd9902/BasicSeismogramDisplay.java/clean/src/edu/sc/seis/fissuresUtil/display/BasicSeismogramDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 23, 39, 6233, 12, 6233, 1592, 6233, 15329, 225, 202, 588, 23, 39, 29913, 7675, 4479, 12, 1673, 6233, 1769, 225, 202, 14462, 1598, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 23, 39, 6233, 12, 6233, 1592, 6233, 15329, 225, 202, 588, 23, 39, 29913, 7675, 4479, 12, 1673, 6233, 1769, 225, 202, 14462, 1598, 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 ]
GtpUtils.parsePoint(response.toString(), m_board.getSize());
GtpUtil.parsePoint(response.toString(), m_board.getSize());
private void genmove() { GoColor toMove = m_board.getToMove(); String command = m_gtp.getCommandGenmove(toMove); StringBuffer response = new StringBuffer(); if (! send(command, response)) { System.out.println(response); return; } try { GoPoint point = GtpUtils.parsePoint(response.toString(), m_board.getSize()); System.out.println("Computer move: " + GoPoint.toString(point)); play(Move.get(point, toMove)); printBoard(); } catch (GtpError error) { System.out.println(response); } }
51310 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51310/1f50ffb219183ddaf94720a4aba453e11f412425/GtpTerminal.java/buggy/src/net/sf/gogui/gtpterminal/GtpTerminal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3157, 8501, 1435, 565, 288, 3639, 4220, 2957, 358, 7607, 273, 312, 67, 3752, 18, 588, 774, 7607, 5621, 3639, 514, 1296, 273, 312, 67, 4521, 84, 18, 588, 2189, 7642, 8501, 12, 869, 7607, 1769, 3639, 6674, 766, 273, 394, 6674, 5621, 3639, 309, 16051, 1366, 12, 3076, 16, 766, 3719, 3639, 288, 5411, 2332, 18, 659, 18, 8222, 12, 2740, 1769, 5411, 327, 31, 3639, 289, 3639, 775, 3639, 288, 5411, 4220, 2148, 1634, 273, 7734, 611, 6834, 1304, 18, 2670, 2148, 12, 2740, 18, 10492, 9334, 312, 67, 3752, 18, 588, 1225, 10663, 5411, 2332, 18, 659, 18, 8222, 2932, 7703, 264, 3635, 30, 315, 397, 4220, 2148, 18, 10492, 12, 1153, 10019, 5411, 6599, 12, 7607, 18, 588, 12, 1153, 16, 358, 7607, 10019, 5411, 1172, 22233, 5621, 3639, 289, 3639, 1044, 261, 43, 6834, 668, 555, 13, 3639, 288, 5411, 2332, 18, 659, 18, 8222, 12, 2740, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3157, 8501, 1435, 565, 288, 3639, 4220, 2957, 358, 7607, 273, 312, 67, 3752, 18, 588, 774, 7607, 5621, 3639, 514, 1296, 273, 312, 67, 4521, 84, 18, 588, 2189, 7642, 8501, 12, 869, 7607, 1769, 3639, 6674, 766, 273, 394, 6674, 5621, 3639, 309, 16051, 1366, 12, 3076, 16, 766, 3719, 3639, 288, 5411, 2332, 18, 659, 18, 8222, 12, 2740, 1769, 5411, 327, 31, 3639, 289, 3639, 775, 3639, 288, 5411, 4220, 2148, 1634, 273, 7734, 611, 6834, 1304, 18, 2670, 2148, 12, 2740, 18, 10492, 9334, 312, 67, 3752, 18, 588, 1225, 10663, 5411, 2332, 18, 659, 18, 8222, 2932, 7703, 264, 3635, 30, 315, 397, 4220, 2148, 18, 10492, 12, 1153, 10019, 2 ]
if (op instanceof OPT_LongConstantOperand) return Address.fromLong(op.asLongConstant().value);
private static Address getAddressValue(OPT_Operand op) { if (op instanceof OPT_NullConstantOperand) return Address.zero(); if (op instanceof OPT_AddressConstantOperand) return op.asAddressConstant().value; if (op instanceof OPT_IntConstantOperand) return Address.fromIntSignExtend(op.asIntConstant().value); //-#if RVM_FOR_64_ADDR if (op instanceof OPT_LongConstantOperand) return Address.fromLong(op.asLongConstant().value); //-#endif throw new OPT_OptimizingCompilerException("Cannot getAddressValue from this operand " + op); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/b372860b0bca12a1b3850b17dde0b867223b735d/OPT_Simplifier.java/buggy/rvm/src/vm/compilers/optimizing/optimizations/local/OPT_Simplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 5267, 14808, 620, 12, 15620, 67, 10265, 1061, 13, 288, 565, 309, 261, 556, 1276, 16456, 67, 2041, 6902, 10265, 13, 4202, 327, 5267, 18, 7124, 5621, 565, 309, 261, 556, 1276, 16456, 67, 1887, 6902, 10265, 13, 1377, 327, 1061, 18, 345, 1887, 6902, 7675, 1132, 31, 377, 309, 261, 556, 1276, 16456, 67, 1702, 6902, 10265, 13, 1377, 327, 5267, 18, 2080, 1702, 2766, 16675, 12, 556, 18, 345, 1702, 6902, 7675, 1132, 1769, 565, 368, 17, 7, 430, 534, 7397, 67, 7473, 67, 1105, 67, 14142, 377, 309, 261, 556, 1276, 16456, 67, 3708, 6902, 10265, 13, 1377, 327, 5267, 18, 2080, 3708, 12, 556, 18, 345, 3708, 6902, 7675, 1132, 1769, 565, 368, 17, 7, 409, 430, 565, 604, 394, 16456, 67, 13930, 6894, 9213, 503, 2932, 4515, 14808, 620, 628, 333, 9886, 315, 397, 1061, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 5267, 14808, 620, 12, 15620, 67, 10265, 1061, 13, 288, 565, 309, 261, 556, 1276, 16456, 67, 2041, 6902, 10265, 13, 4202, 327, 5267, 18, 7124, 5621, 565, 309, 261, 556, 1276, 16456, 67, 1887, 6902, 10265, 13, 1377, 327, 1061, 18, 345, 1887, 6902, 7675, 1132, 31, 377, 309, 261, 556, 1276, 16456, 67, 1702, 6902, 10265, 13, 1377, 327, 5267, 18, 2080, 1702, 2766, 16675, 12, 556, 18, 345, 1702, 6902, 7675, 1132, 1769, 565, 368, 17, 7, 430, 534, 7397, 67, 7473, 67, 1105, 67, 14142, 377, 309, 261, 556, 1276, 16456, 67, 3708, 6902, 10265, 13, 1377, 327, 5267, 18, 2080, 3708, 12, 556, 18, 345, 3708, 6902, 7675, 1132, 1769, 565, 2 ]
if (lex_p == 1) {
if (source.getColumn() == 1) {
private int yylex() { int c; int space_seen = 0; kwtable kw; retry : for (;;) { switch (c = nextc()) { case '\0' : // NUL case '\004' : // ^D case '\032' : // ^Z case -1 : //end of script. return 0; // white spaces case ' ' : case '\t' : case '\f' : case '\r' : case '\013' : // '\v' space_seen++; continue retry; case '#' : // it's a comment while ((c = nextc()) != '\n') { if (c == -1) { return 0; } } // fall through case '\n' : switch (ph.getLexState()) { case LexState.EXPR_BEG : case LexState.EXPR_FNAME : case LexState.EXPR_DOT : continue retry; default : break; } ph.setLexState(LexState.EXPR_BEG); return '\n'; case '*' : if ((c = nextc()) == '*') { ph.setLexState(LexState.EXPR_BEG); if (nextc() == '=') { yyVal = "**"; // ph.newId(Token.tPOW); return Token.tOP_ASGN; } pushback(c); return Token.tPOW; } if (c == '=') { yyVal = "*"; // ph.newId('*'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("'*' interpreted as argument prefix"); c = Token.tSTAR; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tSTAR; } else { c = '*'; } ph.setLexState(LexState.EXPR_BEG); return c; case '!' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tNEQ; } if (c == '~') { return Token.tNMATCH; } pushback(c); return '!'; case '=' : if (lex_p == 1) { // skip embedded rd document if (lex_curline.startsWith("=begin") && (lex_pend == 6 || ISSPACE(lex_curline.charAt(6)))) { for (;;) { lex_p = lex_pend; c = nextc(); if (c == -1) { ph.rb_compile_error("embedded document meets end of file"); return 0; } if (c != '=') { continue; } if (lex_curline.substring(lex_p, lex_p + 3).equals("end") && (lex_p + 3 == lex_pend || ISSPACE(lex_curline.charAt(lex_p + 3)))) { break; } } lex_p = lex_pend; continue retry; } } ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { if ((c = nextc()) == '=') { return Token.tEQQ; } pushback(c); return Token.tEQ; } if (c == '~') { return Token.tMATCH; } else if (c == '>') { return Token.tASSOC; } pushback(c); return '='; case '<' : c = nextc(); if (c == '<' && ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG && ph.getLexState() != LexState.EXPR_CLASS && (!IS_ARG() || space_seen != 0)) { int c2 = nextc(); int indent = 0; if (c2 == '-') { indent = 1; c2 = nextc(); } if (!ISSPACE(c2) && ("\"'`".indexOf(c2) != -1 || is_identchar(c2))) { return here_document(c2, indent); } pushback(c2); } ph.setLexState(LexState.EXPR_BEG); if (c == '=') { if ((c = nextc()) == '>') { return Token.tCMP; } pushback(c); return Token.tLEQ; } if (c == '<') { if (nextc() == '=') { yyVal = "<<"; // ph.newId(Token.tLSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tLSHFT; } pushback(c); return '<'; case '>' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tGEQ; } if (c == '>') { if ((c = nextc()) == '=') { yyVal = ">>"; //ph.newId(Token.tRSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tRSHFT; } pushback(c); return '>'; case '"' : return parse_string(c, c, c); case '`' : if (ph.getLexState() == LexState.EXPR_FNAME) { return c; } if (ph.getLexState() == LexState.EXPR_DOT) { return c; } return parse_string(c, c, c); case '\'' : return parse_qstring(c, 0); case '?' : if (ph.getLexState() == LexState.EXPR_END) { ph.setLexState(LexState.EXPR_BEG); return '?'; } c = nextc(); if (c == -1) { /* FIX 1.6.5 */ ph.rb_compile_error("incomplete character syntax"); return 0; } if (IS_ARG() && ISSPACE(c)) { pushback(c); ph.setLexState(LexState.EXPR_BEG); return '?'; } if (c == '\\') { c = read_escape(); } c &= 0xff; yyVal = RubyFixnum.newFixnum(ruby, c); ph.setLexState(LexState.EXPR_END); return Token.tINTEGER; case '&' : if ((c = nextc()) == '&') { ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "&&"; // ph.newId(Token.tANDOP); return Token.tOP_ASGN; } pushback(c); return Token.tANDOP; } else if (c == '=') { yyVal = "&"; //ph.newId('&'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("`&' interpeted as argument prefix"); c = Token.tAMPER; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tAMPER; } else { c = '&'; } ph.setLexState(LexState.EXPR_BEG); return c; case '|' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '|') { if ((c = nextc()) == '=') { yyVal = "||"; // ph.newId(Token.tOROP); return Token.tOP_ASGN; } pushback(c); return Token.tOROP; } else if (c == '=') { yyVal = "|"; //ph.newId('|'); return Token.tOP_ASGN; } pushback(c); return '|'; case '+' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUPLUS; } pushback(c); return '+'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "+"; //ph.newId('+'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '+'; return start_num(c); } return Token.tUPLUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '+'; case '-' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUMINUS; } pushback(c); return '-'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "-"; // ph.newId('-'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '-'; return start_num(c); } return Token.tUMINUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '-'; case '.' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '.') { if ((c = nextc()) == '.') { return Token.tDOT3; } pushback(c); return Token.tDOT2; } pushback(c); if (!Character.isDigit((char) c)) { ph.setLexState(LexState.EXPR_DOT); return '.'; } c = '.'; // fall through //start_num: case '0' : case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : return start_num(c); case ']' : case '}' : ph.setLexState(LexState.EXPR_END); return c; case ')' : if (cond_nest > 0) { cond_stack >>= 1; } ph.setLexState(LexState.EXPR_END); return c; case ':' : c = nextc(); if (c == ':') { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0)) { ph.setLexState(LexState.EXPR_BEG); return Token.tCOLON3; } ph.setLexState(LexState.EXPR_DOT); return Token.tCOLON2; } pushback(c); if (ph.getLexState() == LexState.EXPR_END || ISSPACE(c)) { ph.setLexState(LexState.EXPR_BEG); return ':'; } ph.setLexState(LexState.EXPR_FNAME); return Token.tSYMBEG; case '/' : if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { return parse_regx('/', '/'); } if ((c = nextc()) == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "/"; // ph.newId('/'); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0) { if (!ISSPACE(c)) { arg_ambiguous(); return parse_regx('/', '/'); } } ph.setLexState(LexState.EXPR_BEG); return '/'; case '^' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "^"; //ph.newId('^'); return Token.tOP_ASGN; } pushback(c); return '^'; case ',' : case ';' : ph.setLexState(LexState.EXPR_BEG); return c; case '~' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) != '@') { pushback(c); } } ph.setLexState(LexState.EXPR_BEG); return '~'; case '(' : if (cond_nest > 0) { cond_stack = (cond_stack << 1) | 0; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLPAREN; } else if (ph.getLexState() == LexState.EXPR_ARG && space_seen != 0) { ph.rb_warning(tok() + " (...) interpreted as method call"); } ph.setLexState(LexState.EXPR_BEG); return c; case '[' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) == ']') { if ((c = nextc()) == '=') { return Token.tASET; } pushback(c); return Token.tAREF; } pushback(c); return '['; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLBRACK; } else if (IS_ARG() && space_seen != 0) { c = Token.tLBRACK; } ph.setLexState(LexState.EXPR_BEG); return c; case '{' : if (ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ARG) { c = Token.tLBRACE; } ph.setLexState(LexState.EXPR_BEG); return c; case '\\' : c = nextc(); if (c == '\n') { space_seen = 1; continue retry; // skip \\n } pushback(c); return '\\'; case '%' : quotation : for (;;) { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { int term; int paren; c = nextc(); if (!Character.isLetterOrDigit((char) c)) { term = c; c = 'Q'; } else { term = nextc(); } if (c == -1 || term == -1) { ph.rb_compile_error("unterminated quoted string meets end of file"); return 0; } paren = term; if (term == '(') { term = ')'; } else if (term == '[') { term = ']'; } else if (term == '{') { term = '}'; } else if (term == '<') { term = '>'; } else { paren = 0; } switch (c) { case 'Q' : return parse_string('"', term, paren); case 'q' : return parse_qstring(term, paren); case 'w' : return parse_quotedwords(term, paren); case 'x' : return parse_string('`', term, paren); case 'r' : return parse_regx(term, paren); default : yyerror("unknown type of %string"); return 0; } } if ((c = nextc()) == '=') { yyVal = "%"; //ph.newId('%'); return Token.tOP_ASGN; } if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { pushback(c); continue quotation; } break quotation; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '%'; case '$' : ph.setLexState(LexState.EXPR_END); newtok(); c = nextc(); switch (c) { case '_' : // $_: last read line string c = nextc(); if (is_identchar(c)) { tokadd('$'); tokadd('_'); break; } pushback(c); c = '_'; // fall through case '~' : // $~: match-data ph.getLocalIndex(String.valueOf(c)); // fall through case '*' : // $*: argv case '$' : // $$: pid case '?' : // $?: last status case '!' : // $!: error string case '@' : // $@: error position case '/' : // $/: input record separator case '\\' : // $\: output record separator case ';' : // $;: field separator case ',' : // $,: output field separator case '.' : // $.: last read line number case '=' : // $=: ignorecase case ':' : // $:: load path case '<' : // $<: reading filename case '>' : // $>: default output handle case '\"' : // $": already loaded files tokadd('$'); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); return Token.tGVAR; case '-' : tokadd('$'); tokadd(c); c = nextc(); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); /* xxx shouldn't check if valid option variable */ return Token.tGVAR; case '&' : // $&: last match case '`' : // $`: string before last match case '\'' : // $': string after last match case '+' : // $+: string matches last paren. yyVal = nf.newBackRef(c); return Token.tBACK_REF; case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : tokadd('$'); while (Character.isDigit((char) c)) { tokadd(c); c = nextc(); } if (is_identchar(c)) { break; } pushback(c); tokfix(); yyVal = nf.newNthRef(Integer.parseInt(tok().substring(1))); return Token.tNTH_REF; default : if (!is_identchar(c)) { pushback(c); return '$'; } case '0' : tokadd('$'); } break; case '@' : c = nextc(); newtok(); tokadd('@'); if (c == '@') { tokadd('@'); c = nextc(); } if (Character.isDigit((char) c)) { ph.rb_compile_error("`@" + c + "' is not a valid instance variable name"); } if (!is_identchar(c)) { pushback(c); return '@'; } break; default : if (!is_identchar(c) || Character.isDigit((char) c)) { ph.rb_compile_error("Invalid char `\\" + c + "' in expression"); continue retry; } newtok(); break; } break retry; } while (is_identchar(c)) { tokadd(c); c = nextc(); } if ((c == '!' || c == '?') && is_identchar(tok().charAt(0)) && !peek('=')) { tokadd(c); } else { pushback(c); } tokfix(); { int result = 0; switch (tok().charAt(0)) { case '$' : ph.setLexState(LexState.EXPR_END); result = Token.tGVAR; break; case '@' : ph.setLexState(LexState.EXPR_END); if (tok().charAt(1) == '@') { result = Token.tCVAR; } else { result = Token.tIVAR; } break; default : if (ph.getLexState() != LexState.EXPR_DOT) { // See if it is a reserved word. kw = rb_reserved_word(tok(), toklen()); if (kw != null) { // enum lex_state int state = ph.getLexState(); ph.setLexState(kw.state); if (state == LexState.EXPR_FNAME) { yyVal = kw.name; // ruby.intern(kw.name); } if (kw.id0 == Token.kDO) { if (COND_P()) { return Token.kDO_COND; } if (CMDARG_P()) { return Token.kDO_BLOCK; } return Token.kDO; } if (state == LexState.EXPR_BEG) { return kw.id0; } else { if (kw.id0 != kw.id1) { ph.setLexState(LexState.EXPR_BEG); } return kw.id1; } } } if (toklast() == '!' || toklast() == '?') { result = Token.tFID; } else { if (ph.getLexState() == LexState.EXPR_FNAME) { if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || lex_p + 1 < lex_pend && lex_curline.charAt(lex_p + 1) == '>')) { result = Token.tIDENTIFIER; tokadd(c); } else { pushback(c); } } if (result == 0 && Character.isUpperCase(tok().charAt(0))) { result = Token.tCONSTANT; } else { result = Token.tIDENTIFIER; } } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_DOT || ph.getLexState() == LexState.EXPR_ARG) { ph.setLexState(LexState.EXPR_ARG); } else { ph.setLexState(LexState.EXPR_END); } } tokfix(); yyVal = tok(); // ruby.intern(tok()); return result; } }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/clean/org/jruby/parser/DefaultRubyScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 677, 1362, 92, 1435, 288, 3639, 509, 276, 31, 3639, 509, 3476, 67, 15156, 273, 374, 31, 3639, 5323, 2121, 5323, 31, 3639, 3300, 294, 364, 261, 25708, 13, 288, 5411, 1620, 261, 71, 273, 1024, 71, 10756, 288, 7734, 648, 2337, 20, 11, 294, 368, 423, 1506, 7734, 648, 2337, 26565, 11, 294, 368, 3602, 40, 7734, 648, 2337, 20, 1578, 11, 294, 368, 3602, 62, 7734, 648, 300, 21, 294, 368, 409, 434, 2728, 18, 10792, 327, 374, 31, 10792, 368, 9578, 7292, 7734, 648, 296, 296, 294, 7734, 648, 2337, 88, 11, 294, 7734, 648, 2337, 74, 11, 294, 7734, 648, 2337, 86, 11, 294, 7734, 648, 2337, 1611, 23, 11, 294, 368, 2337, 90, 11, 10792, 3476, 67, 15156, 9904, 31, 10792, 1324, 3300, 31, 7734, 648, 6501, 294, 368, 518, 1807, 279, 2879, 10792, 1323, 14015, 71, 273, 1024, 71, 10756, 480, 2337, 82, 6134, 288, 13491, 309, 261, 71, 422, 300, 21, 13, 288, 18701, 327, 374, 31, 13491, 289, 10792, 289, 10792, 368, 4159, 3059, 7734, 648, 2337, 82, 11, 294, 10792, 1620, 261, 844, 18, 588, 14756, 1119, 10756, 288, 13491, 648, 15123, 1119, 18, 2294, 8025, 67, 5948, 43, 294, 13491, 648, 15123, 1119, 18, 2294, 8025, 67, 42, 1985, 294, 13491, 648, 15123, 1119, 18, 2294, 8025, 67, 17591, 294, 18701, 1324, 3300, 31, 13491, 805, 294, 18701, 898, 31, 10792, 289, 10792, 1844, 18, 542, 14756, 1119, 12, 14756, 1119, 18, 2294, 8025, 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, 509, 677, 1362, 92, 1435, 288, 3639, 509, 276, 31, 3639, 509, 3476, 67, 15156, 273, 374, 31, 3639, 5323, 2121, 5323, 31, 3639, 3300, 294, 364, 261, 25708, 13, 288, 5411, 1620, 261, 71, 273, 1024, 71, 10756, 288, 7734, 648, 2337, 20, 11, 294, 368, 423, 1506, 7734, 648, 2337, 26565, 11, 294, 368, 3602, 40, 7734, 648, 2337, 20, 1578, 11, 294, 368, 3602, 62, 7734, 648, 300, 21, 294, 368, 409, 434, 2728, 18, 10792, 327, 374, 31, 10792, 368, 9578, 7292, 7734, 648, 296, 296, 294, 7734, 648, 2337, 88, 11, 294, 7734, 648, 2337, 74, 11, 294, 7734, 648, 2337, 86, 11, 294, 7734, 648, 2337, 1611, 23, 11, 294, 368, 2 ]
int n = max>StackMapAttribute.MAX_SIZE ? cr.readInt( off =+ 4) : cr.readUnsignedShort( off =+ 2);
int n = 0; if( max>StackMapAttribute.MAX_SIZE) { n = cr.readInt( off); off += 4; } else { n = cr.readUnsignedShort( off); off += 4; }
private int readTypeInfo( ClassReader cr, int off, List info, Label[] labels, char[] buf, int max) { int n = max>StackMapAttribute.MAX_SIZE ? cr.readInt( off =+ 4) : cr.readUnsignedShort( off =+ 2); for( int j = 0; j<n; j++) { int itemType = cr.readUnsignedShort( off++) & 0xff; StackMapTypeInfo typeInfo = StackMapTypeInfo.getTypeInfo( itemType); info.add( typeInfo); switch( itemType) { case StackMapTypeInfo.ITEM_Object: // typeInfo.setObject( cr.readClass( off =+ 2, buf)); break; case StackMapTypeInfo.ITEM_Uninitialized: // int o = cr.readUnsignedShort( off =+ 2); if( labels[ o]==null) labels[ o] = new Label(); typeInfo.setLabel( labels[ o]); break; } } return off; }
8320 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8320/f2a1c6f2872a82afd2f2c6d90320f1ef3135eb32/StackMapFrame.java/buggy/asm/src/org/objectweb/asm/attrs/StackMapFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 855, 17305, 12, 1659, 2514, 4422, 16, 509, 3397, 16, 987, 1123, 16, 5287, 8526, 3249, 16, 1149, 8526, 1681, 16, 509, 943, 13, 288, 565, 509, 290, 273, 374, 31, 309, 12, 943, 34, 2624, 863, 1499, 18, 6694, 67, 4574, 13, 288, 290, 273, 4422, 18, 896, 1702, 12, 3397, 1769, 3397, 1011, 1059, 31, 289, 469, 288, 290, 273, 4422, 18, 896, 13290, 4897, 12, 3397, 1769, 3397, 1011, 1059, 31, 289, 565, 364, 12, 509, 525, 273, 374, 31, 525, 32, 82, 31, 525, 27245, 288, 1377, 509, 23080, 273, 4422, 18, 896, 13290, 4897, 12, 3397, 27245, 473, 374, 5297, 31, 1377, 7283, 863, 17305, 23112, 273, 7283, 863, 17305, 18, 588, 17305, 12, 23080, 1769, 1377, 1123, 18, 1289, 12, 23112, 1769, 1377, 1620, 12, 23080, 13, 288, 3639, 648, 7283, 863, 17305, 18, 12674, 67, 921, 30, 225, 368, 1850, 23112, 18, 542, 921, 12, 4422, 18, 896, 797, 12, 3397, 273, 15, 576, 16, 1681, 10019, 1850, 898, 31, 540, 648, 7283, 863, 17305, 18, 12674, 67, 984, 13227, 30, 225, 368, 6647, 509, 320, 273, 4422, 18, 896, 13290, 4897, 12, 3397, 273, 15, 576, 1769, 6647, 309, 12, 3249, 63, 320, 65, 631, 2011, 13, 3249, 63, 320, 65, 273, 394, 5287, 5621, 6647, 23112, 18, 542, 2224, 12, 3249, 63, 320, 19226, 6647, 898, 31, 1377, 289, 565, 289, 565, 327, 3397, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 855, 17305, 12, 1659, 2514, 4422, 16, 509, 3397, 16, 987, 1123, 16, 5287, 8526, 3249, 16, 1149, 8526, 1681, 16, 509, 943, 13, 288, 565, 509, 290, 273, 374, 31, 309, 12, 943, 34, 2624, 863, 1499, 18, 6694, 67, 4574, 13, 288, 290, 273, 4422, 18, 896, 1702, 12, 3397, 1769, 3397, 1011, 1059, 31, 289, 469, 288, 290, 273, 4422, 18, 896, 13290, 4897, 12, 3397, 1769, 3397, 1011, 1059, 31, 289, 565, 364, 12, 509, 525, 273, 374, 31, 525, 32, 82, 31, 525, 27245, 288, 1377, 509, 23080, 273, 4422, 18, 896, 13290, 4897, 12, 3397, 27245, 473, 374, 5297, 31, 1377, 7283, 863, 17305, 23112, 273, 7283, 863, 17305, 18, 2 ]
NotImplemented();
setParam(index, value, java.sql.Types.TIMESTAMP, -1);
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException { NotImplemented(); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/68d090e16c5812940a9f369b9de5da0f86523923/PreparedStatement_base.java/clean/src.old/main/com/internetcds/jdbc/tds/PreparedStatement_base.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 25251, 12, 474, 7734, 25412, 16, 18701, 2252, 18, 4669, 18, 4921, 619, 16, 18701, 2252, 18, 1367, 18, 7335, 1443, 13, 1377, 1216, 2252, 18, 4669, 18, 23116, 282, 288, 1377, 22911, 12, 1615, 16, 460, 16, 2252, 18, 4669, 18, 2016, 18, 17201, 16, 300, 21, 1769, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 25251, 12, 474, 7734, 25412, 16, 18701, 2252, 18, 4669, 18, 4921, 619, 16, 18701, 2252, 18, 1367, 18, 7335, 1443, 13, 1377, 1216, 2252, 18, 4669, 18, 23116, 282, 288, 1377, 22911, 12, 1615, 16, 460, 16, 2252, 18, 4669, 18, 2016, 18, 17201, 16, 300, 21, 1769, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
total_header_type=in.readInt(); seq_id=in.readLong(); }
total_header_type=in.readInt(); seq_id=in.readLong(); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { total_header_type=in.readInt(); seq_id=in.readLong(); }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/5ad015d9a78e1da3350d9b398b46b2f5d4508564/TOTAL_OLD.java/clean/src/org/jgroups/protocols/TOTAL_OLD.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 855, 6841, 12, 921, 1210, 316, 13, 1216, 1860, 16, 10403, 288, 202, 565, 2078, 67, 3374, 67, 723, 33, 267, 18, 896, 1702, 5621, 202, 565, 3833, 67, 350, 33, 267, 18, 896, 3708, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 855, 6841, 12, 921, 1210, 316, 13, 1216, 1860, 16, 10403, 288, 202, 565, 2078, 67, 3374, 67, 723, 33, 267, 18, 896, 1702, 5621, 202, 565, 3833, 67, 350, 33, 267, 18, 896, 3708, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { org.quickfix.field.EncodedSecurityDesc value = new org.quickfix.field.EncodedSecurityDesc();
public quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { quickfix.field.EncodedSecurityDesc value = new quickfix.field.EncodedSecurityDesc();
public org.quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { org.quickfix.field.EncodedSecurityDesc value = new org.quickfix.field.EncodedSecurityDesc(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MarketDataIncrementalRefresh.java/clean/src/java/src/quickfix/fix42/MarketDataIncrementalRefresh.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 28799, 4368, 4217, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 28799, 4368, 4217, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 4368, 4217, 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 ]
private int clusterProcessedInstance(Instance instance) {
private int clusterProcessedInstance(Instance instance, boolean updateErrors) {
private int clusterProcessedInstance(Instance instance) { double minDist = Integer.MAX_VALUE; int bestCluster = 0; for (int i = 0; i < m_NumClusters; i++) { double dist = distance(instance, m_ClusterCentroids.instance(i)); if (dist < minDist) { minDist = dist; bestCluster = i; } } m_squaredErrors[bestCluster] += minDist; return bestCluster; }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/17ecbc5db2341f345af4e3008700496ffcef6d4c/SimpleKMeans.java/buggy/clusterers/SimpleKMeans.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 2855, 13533, 1442, 12, 1442, 791, 16, 1250, 1089, 4229, 13, 288, 565, 1645, 1131, 5133, 273, 2144, 18, 6694, 67, 4051, 31, 565, 509, 3796, 3629, 273, 374, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 312, 67, 2578, 13698, 31, 277, 27245, 288, 1377, 1645, 2411, 273, 3888, 12, 1336, 16, 312, 67, 3629, 15897, 17694, 18, 1336, 12, 77, 10019, 1377, 309, 261, 4413, 411, 1131, 5133, 13, 288, 202, 1154, 5133, 273, 2411, 31, 202, 12729, 3629, 273, 277, 31, 1377, 289, 565, 289, 565, 312, 67, 87, 11903, 4229, 63, 12729, 3629, 65, 1011, 1131, 5133, 31, 565, 327, 3796, 3629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 2855, 13533, 1442, 12, 1442, 791, 16, 1250, 1089, 4229, 13, 288, 565, 1645, 1131, 5133, 273, 2144, 18, 6694, 67, 4051, 31, 565, 509, 3796, 3629, 273, 374, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 312, 67, 2578, 13698, 31, 277, 27245, 288, 1377, 1645, 2411, 273, 3888, 12, 1336, 16, 312, 67, 3629, 15897, 17694, 18, 1336, 12, 77, 10019, 1377, 309, 261, 4413, 411, 1131, 5133, 13, 288, 202, 1154, 5133, 273, 2411, 31, 202, 12729, 3629, 273, 277, 31, 1377, 289, 565, 289, 565, 312, 67, 87, 11903, 4229, 63, 12729, 3629, 65, 1011, 1131, 5133, 31, 565, 327, 3796, 3629, 31, 225, 289, 2, -100, -100, -100, -100 ]
} else if (onResource == ON_SELECTED_RESOURCE_AND_CHILDREN) {
} else if (onResource == ON_SELECTED_AND_CHILDREN) {
private boolean selectBySelection(ConcreteMarker marker) { if (onResource == ON_ANY_RESOURCE || marker == null) return true; if (focusResource == null) return true; IResource resource = marker.getResource(); if (onResource == ON_WORKING_SET) { if (workingSet == null) return true; if (resource != null) return isEnclosed(resource); } else if (onResource == ON_ANY_RESOURCE_OF_SAME_PROJECT) { IProject project = resource.getProject(); if (project == null) { return false; } for (int i = 0; i < focusResource.length; i++) { IProject selectedProject = focusResource[i].getProject(); if (selectedProject == null) { continue; } if (project.equals(selectedProject)) return true; } } else if (onResource == ON_SELECTED_RESOURCE_ONLY) { for (int i = 0; i < focusResource.length; i++) { if (resource.equals(focusResource[i])) return true; } } else if (onResource == ON_SELECTED_RESOURCE_AND_CHILDREN) { for (int i = 0; i < focusResource.length; i++) { IResource parentResource = resource; while (parentResource != null) { if (parentResource.equals(focusResource[i])) return true; parentResource = parentResource.getParent(); } } } return false; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d429cef46040235ef9ac2442a0d7364d1bc73be0/MarkerFilter.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2027, 858, 6233, 12, 25845, 7078, 5373, 13, 288, 202, 202, 430, 261, 265, 1420, 422, 6229, 67, 15409, 67, 11395, 747, 5373, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 430, 261, 13923, 1420, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 45, 1420, 1058, 273, 5373, 18, 588, 1420, 5621, 202, 202, 430, 261, 265, 1420, 422, 6229, 67, 10566, 1360, 67, 4043, 13, 288, 1082, 202, 430, 261, 20478, 694, 422, 446, 13, 9506, 202, 2463, 638, 31, 1082, 202, 430, 261, 3146, 480, 446, 13, 9506, 202, 2463, 353, 4280, 13783, 12, 3146, 1769, 202, 202, 97, 469, 309, 261, 265, 1420, 422, 6229, 67, 15409, 67, 11395, 67, 3932, 67, 29080, 67, 17147, 13, 288, 1082, 202, 45, 4109, 1984, 273, 1058, 18, 588, 4109, 5621, 1082, 202, 430, 261, 4406, 422, 446, 13, 288, 9506, 202, 2463, 629, 31, 1082, 202, 97, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 7155, 1420, 18, 2469, 31, 277, 27245, 288, 9506, 202, 45, 4109, 3170, 4109, 273, 7155, 1420, 63, 77, 8009, 588, 4109, 5621, 9506, 202, 430, 261, 8109, 4109, 422, 446, 13, 288, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 430, 261, 4406, 18, 14963, 12, 8109, 4109, 3719, 6862, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 265, 1420, 422, 6229, 67, 4803, 2056, 67, 11395, 67, 10857, 13, 288, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2027, 858, 6233, 12, 25845, 7078, 5373, 13, 288, 202, 202, 430, 261, 265, 1420, 422, 6229, 67, 15409, 67, 11395, 747, 5373, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 430, 261, 13923, 1420, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 45, 1420, 1058, 273, 5373, 18, 588, 1420, 5621, 202, 202, 430, 261, 265, 1420, 422, 6229, 67, 10566, 1360, 67, 4043, 13, 288, 1082, 202, 430, 261, 20478, 694, 422, 446, 13, 9506, 202, 2463, 638, 31, 1082, 202, 430, 261, 3146, 480, 446, 13, 9506, 202, 2463, 353, 4280, 13783, 12, 3146, 1769, 202, 202, 97, 469, 309, 261, 265, 1420, 422, 6229, 67, 15409, 67, 2 ]
butClub.setEnabled(enabled);
butClub.setEnabled(enabled);
public void setClubEnabled(boolean enabled) { butClub.setEnabled(enabled); client.getMenuBar().setPhysicalClubEnabled(enabled); }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/9c0b4690fd5c365b3d2d2c585dff4ce1c2a762f1/PhysicalDisplay.java/clean/megamek/src/megamek/client/ui/AWT/PhysicalDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 2009, 373, 1526, 12, 6494, 3696, 13, 288, 202, 202, 12885, 2009, 373, 18, 542, 1526, 12, 5745, 1769, 3639, 1004, 18, 588, 4599, 5190, 7675, 542, 18136, 2009, 373, 1526, 12, 5745, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 2009, 373, 1526, 12, 6494, 3696, 13, 288, 202, 202, 12885, 2009, 373, 18, 542, 1526, 12, 5745, 1769, 3639, 1004, 18, 588, 4599, 5190, 7675, 542, 18136, 2009, 373, 1526, 12, 5745, 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 ]
PrintWriter out = context.getOut(); LineEditor in = context.getIn(); MessageFormatter formatter = context.getMessageFormatter();
PrintWriter out = m_context.getOut(); LineEditor in = m_context.getIn(); MessageFormatter formatter = m_context.getMessageFormatter();
public UnstoredMessage edit(Context context, long replyTo) throws KOMException, InterruptedException { PrintWriter out = context.getOut(); LineEditor in = context.getIn(); MessageFormatter formatter = context.getMessageFormatter(); String oldSubject=null; try { // if this is a reply, retrieve subject from original message // if(replyTo > 0) { oldSubject = context.getSession().innerReadMessage(replyTo).getMessage().getSubject(); } // Read subject // out.print(formatter.format("write.message.subject")); out.flush(); String subject = in.readLine(oldSubject); // Read message body // out.println(formatter.format("write.message.writetext")); StringBuffer sb = new StringBuffer(); for(;;) { String line = in.readLine(); if(line.equals(".")) break; sb.append(line); sb.append('\n'); } return new UnstoredMessage(subject, sb.toString()); } catch(IOException e) { throw new KOMException(formatter.format("error.reading.user.input"), e); } }
3907 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3907/3611fc07ae4f7af9af8cfd539b4ed74e06e40b89/BraindeadMessageEditor.java/buggy/kom/java/nu/rydin/kom/frontend/text/BraindeadMessageEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1351, 22601, 1079, 3874, 12, 1042, 819, 16, 1525, 30934, 13, 202, 202, 15069, 1475, 1872, 503, 16, 7558, 202, 95, 202, 202, 5108, 2289, 596, 273, 819, 18, 588, 1182, 5621, 202, 202, 1670, 6946, 316, 273, 819, 18, 588, 382, 5621, 202, 202, 1079, 5074, 4453, 273, 819, 18, 24906, 5074, 5621, 1082, 202, 780, 1592, 6638, 33, 2011, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 759, 309, 333, 353, 279, 4332, 16, 4614, 3221, 628, 2282, 883, 1082, 202, 759, 1082, 202, 430, 12, 10629, 774, 405, 374, 13, 288, 9506, 202, 1673, 6638, 273, 819, 18, 588, 2157, 7675, 7872, 1994, 1079, 12, 10629, 774, 2934, 24906, 7675, 588, 6638, 5621, 1082, 202, 97, 6862, 1082, 202, 759, 2720, 3221, 1082, 202, 759, 1082, 202, 659, 18, 1188, 12, 12354, 18, 2139, 2932, 2626, 18, 2150, 18, 7857, 7923, 1769, 1082, 202, 659, 18, 11330, 5621, 1082, 202, 780, 3221, 273, 316, 18, 896, 1670, 12, 1673, 6638, 1769, 25083, 202, 759, 2720, 883, 1417, 1082, 202, 759, 1082, 202, 659, 18, 8222, 12, 12354, 18, 2139, 2932, 2626, 18, 2150, 18, 5363, 27830, 7923, 1769, 1082, 202, 780, 1892, 2393, 273, 394, 6674, 5621, 1082, 202, 1884, 12, 25708, 13, 1082, 202, 95, 9506, 202, 780, 980, 273, 316, 18, 896, 1670, 5621, 9506, 202, 430, 12, 1369, 18, 14963, 2932, 1199, 3719, 6862, 202, 8820, 31, 9506, 202, 18366, 18, 6923, 12, 1369, 1769, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1351, 22601, 1079, 3874, 12, 1042, 819, 16, 1525, 30934, 13, 202, 202, 15069, 1475, 1872, 503, 16, 7558, 202, 95, 202, 202, 5108, 2289, 596, 273, 819, 18, 588, 1182, 5621, 202, 202, 1670, 6946, 316, 273, 819, 18, 588, 382, 5621, 202, 202, 1079, 5074, 4453, 273, 819, 18, 24906, 5074, 5621, 1082, 202, 780, 1592, 6638, 33, 2011, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 759, 309, 333, 353, 279, 4332, 16, 4614, 3221, 628, 2282, 883, 1082, 202, 759, 1082, 202, 430, 12, 10629, 774, 405, 374, 13, 288, 9506, 202, 1673, 6638, 273, 819, 18, 588, 2157, 7675, 7872, 1994, 1079, 12, 10629, 774, 2934, 24906, 7675, 588, 6638, 2 ]
clinit.getBody().insert(getFactory().RETURN);
clinit.getBody().insert(InstructionConstants.RETURN);
public LazyMethodGen getStaticInitializer() { for (Iterator i = methodGens.iterator(); i.hasNext();) { LazyMethodGen gen = (LazyMethodGen) i.next(); if (gen.getName().equals("<clinit>")) return gen; } LazyMethodGen clinit = new LazyMethodGen( Modifier.STATIC, Type.VOID, "<clinit>", new Type[0], CollectionUtil.NO_STRINGS, this); clinit.getBody().insert(getFactory().RETURN); methodGens.add(clinit); return clinit; }
7955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7955/990faf8f05daeac1a2ce1de47d832905d3eb1c5e/LazyClassGen.java/clean/org.aspectj/modules/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 12805, 1305, 7642, 23414, 14729, 1435, 288, 3639, 364, 261, 3198, 277, 273, 707, 43, 773, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 12805, 1305, 7642, 3157, 273, 261, 14443, 1305, 7642, 13, 277, 18, 4285, 5621, 1082, 202, 430, 261, 4507, 18, 17994, 7675, 14963, 2932, 32, 830, 2738, 2984, 3719, 327, 3157, 31, 3639, 289, 540, 12805, 1305, 7642, 927, 2738, 273, 394, 12805, 1305, 7642, 12, 540, 202, 9829, 18, 22741, 16, 540, 202, 559, 18, 58, 12945, 16, 540, 202, 6, 32, 830, 2738, 2984, 16, 540, 202, 2704, 1412, 63, 20, 6487, 540, 202, 2532, 1304, 18, 3417, 67, 5804, 55, 16, 540, 202, 2211, 1769, 3639, 202, 830, 2738, 18, 588, 2250, 7675, 6387, 12, 11983, 2918, 18, 14033, 1769, 3639, 707, 43, 773, 18, 1289, 12, 830, 2738, 1769, 3639, 327, 927, 2738, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 12805, 1305, 7642, 23414, 14729, 1435, 288, 3639, 364, 261, 3198, 277, 273, 707, 43, 773, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 12805, 1305, 7642, 3157, 273, 261, 14443, 1305, 7642, 13, 277, 18, 4285, 5621, 1082, 202, 430, 261, 4507, 18, 17994, 7675, 14963, 2932, 32, 830, 2738, 2984, 3719, 327, 3157, 31, 3639, 289, 540, 12805, 1305, 7642, 927, 2738, 273, 394, 12805, 1305, 7642, 12, 540, 202, 9829, 18, 22741, 16, 540, 202, 559, 18, 58, 12945, 16, 540, 202, 6, 32, 830, 2738, 2984, 16, 540, 202, 2704, 1412, 63, 20, 6487, 540, 202, 2532, 1304, 18, 3417, 67, 5804, 55, 16, 540, 202, 2211, 1769, 3639, 202, 2 ]
_doc()._reduced.move(getCaretPosition() - _doc()._currentLocation); _doc()._currentLocation = getCaretPosition();
_doc().setCurrentLocation(getCaretPosition());
public void caretUpdate(CaretEvent e) { _doc()._reduced.move(getCaretPosition() - _doc()._currentLocation); _doc()._currentLocation = getCaretPosition(); _mainFrame.getStatusBar().setText(""); try { _updateMatchHighlight(); } catch (BadLocationException ex) {} }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/28c4be6b04d5867405916840b451c47e4acad060/DefinitionsView.java/clean/drjava/src/edu/rice/cs/drjava/DefinitionsView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 21683, 1891, 12, 39, 20731, 1133, 425, 13, 288, 1082, 202, 67, 2434, 1435, 6315, 1118, 26372, 18, 8501, 12, 588, 39, 20731, 2555, 1435, 300, 389, 2434, 1435, 6315, 2972, 2735, 1769, 1082, 202, 67, 2434, 1435, 6315, 2972, 2735, 273, 1927, 20731, 2555, 5621, 1082, 202, 67, 5254, 3219, 18, 588, 1482, 5190, 7675, 542, 1528, 2932, 8863, 1082, 202, 698, 288, 9506, 202, 67, 2725, 2060, 16205, 5621, 1082, 202, 97, 1082, 202, 14683, 261, 6434, 2735, 503, 431, 13, 2618, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3196, 202, 482, 918, 21683, 1891, 12, 39, 20731, 1133, 425, 13, 288, 1082, 202, 67, 2434, 1435, 6315, 1118, 26372, 18, 8501, 12, 588, 39, 20731, 2555, 1435, 300, 389, 2434, 1435, 6315, 2972, 2735, 1769, 1082, 202, 67, 2434, 1435, 6315, 2972, 2735, 273, 1927, 20731, 2555, 5621, 1082, 202, 67, 5254, 3219, 18, 588, 1482, 5190, 7675, 542, 1528, 2932, 8863, 1082, 202, 698, 288, 9506, 202, 67, 2725, 2060, 16205, 5621, 1082, 202, 97, 1082, 202, 14683, 261, 6434, 2735, 503, 431, 13, 2618, 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 ]
public static Method getMethod(Class c, String name, Object[] params) throws Exception { // If this is the first time seeing this class // then create a method map for this class and // store it in Hashtable of class method maps. if (!classMethodMaps.containsKey(c)) { // Lots of threads might be whizzing through here, // so we do a double-checked lock, which only involves // synchronization when there's a key-miss. Avoids // doing duplicate work, and constructing objects twice // in particular race conditions // Though, some folks say that double-checked-locking // doesn't necessarily work-as-expected in Java on // multi-proc machines. Doesn't make things worse, // but just doesn't help as much as you'd imagine it // would. Darn re-ordering of instructions. synchronized (classMethodMaps) { if (!classMethodMaps.containsKey(c)) { classMethodMaps.put(c, new ClassMap(c)); } } } return findMethod(c, name, params); }
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/93ed5b3e84203ba9796795da5b242169259213a0/Introspector.java/buggy/src/java/org/apache/velocity/util/introspection/Introspector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2985, 6272, 12, 797, 276, 16, 514, 508, 16, 1033, 8526, 859, 13, 3639, 1216, 1185, 565, 288, 3639, 368, 971, 333, 353, 326, 1122, 813, 2621, 310, 333, 667, 3639, 368, 1508, 752, 279, 707, 852, 364, 333, 667, 471, 3639, 368, 1707, 518, 316, 18559, 434, 667, 707, 7565, 18, 7734, 309, 16051, 1106, 1305, 8903, 18, 12298, 653, 12, 71, 3719, 3639, 288, 5411, 368, 511, 6968, 434, 7403, 4825, 506, 600, 25695, 310, 3059, 2674, 16, 5411, 368, 1427, 732, 741, 279, 1645, 17, 4532, 2176, 16, 1492, 1338, 29876, 3324, 5411, 368, 24488, 1347, 1915, 1807, 279, 498, 17, 3105, 18, 225, 17843, 87, 5411, 368, 9957, 6751, 1440, 16, 471, 27389, 2184, 13605, 5411, 368, 316, 6826, 17996, 4636, 5411, 368, 935, 4966, 16, 2690, 28420, 7904, 12532, 716, 1645, 17, 4532, 17, 739, 310, 5411, 368, 3302, 1404, 23848, 1440, 17, 345, 17, 3825, 316, 5110, 603, 5411, 368, 3309, 17, 9381, 15942, 18, 225, 9637, 82, 1404, 1221, 9198, 14591, 307, 16, 5411, 368, 1496, 2537, 3302, 1404, 2809, 487, 9816, 487, 1846, 14271, 8902, 558, 518, 5411, 368, 4102, 18, 225, 463, 1303, 283, 17, 22598, 434, 12509, 18, 13491, 3852, 261, 1106, 1305, 8903, 13, 5411, 288, 7734, 309, 16051, 1106, 1305, 8903, 18, 12298, 653, 12, 71, 3719, 7734, 288, 10792, 667, 1305, 8903, 18, 458, 12, 71, 16, 394, 1659, 863, 12, 71, 10019, 7734, 289, 5411, 289, 3639, 289, 7734, 327, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2985, 6272, 12, 797, 276, 16, 514, 508, 16, 1033, 8526, 859, 13, 3639, 1216, 1185, 565, 288, 3639, 368, 971, 333, 353, 326, 1122, 813, 2621, 310, 333, 667, 3639, 368, 1508, 752, 279, 707, 852, 364, 333, 667, 471, 3639, 368, 1707, 518, 316, 18559, 434, 667, 707, 7565, 18, 7734, 309, 16051, 1106, 1305, 8903, 18, 12298, 653, 12, 71, 3719, 3639, 288, 5411, 368, 511, 6968, 434, 7403, 4825, 506, 600, 25695, 310, 3059, 2674, 16, 5411, 368, 1427, 732, 741, 279, 1645, 17, 4532, 2176, 16, 1492, 1338, 29876, 3324, 5411, 368, 24488, 1347, 1915, 1807, 279, 498, 17, 3105, 18, 225, 17843, 87, 5411, 368, 9957, 6751, 1440, 16, 471, 2 ]
} else if (ev.getSource() == butFire) {
} else if (ev.getActionCommand().equalsIgnoreCase("viewGameOptions")) { if ( client.getGameOptionsDialog().isEditable() ) { client.getGameOptionsDialog().setEditable( false ); } client.getGameOptionsDialog().update(client.game.getOptions()); client.getGameOptionsDialog().show(); } else if (ev.getActionCommand().equalsIgnoreCase("fireFire")) {
public void actionPerformed(ActionEvent ev) { if ( statusBarActionPerformed(ev, client) ) return; if (!client.isMyTurn()) { return; } if (ev.getSource() == butDone) { ready(); } else if (ev.getSource() == butReport) { new MiniReportDisplay(client.frame, client.eotr).show(); return; } else if (ev.getSource() == butFire) { fire(); } else if (ev.getSource() == butSkip) { nextWeapon(); } else if (ev.getSource() == butTwist) { twisting = true; } else if (ev.getSource() == butNext) { selectEntity(client.getNextEntityNum(cen)); } else if (ev.getSource() == butMore) { buttonLayout++; buttonLayout %= NUM_BUTTON_LAYOUTS; setupButtonPanel(); } else if (ev.getSource() == butFindClub) { findClub(); } else if (ev.getSource() == butSpot) { doSpot(); } else if (ev.getSource() == butNextTarg) { jumpToNextTarget(); } else if (ev.getSource() == butFlipArms) { updateFlipArms(!ce().getArmsFlipped()); // Fire Mode - More Fire Mode button handling - Rasia } else if (ev.getSource() == butFireMode) { changeMode(); } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/ce8144dea6a84334a4e11c70038984a6d634c503/FiringDisplay.java/buggy/megamek/src/megamek/client/ui/AWT/FiringDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 2113, 13, 288, 3639, 309, 261, 1267, 5190, 19449, 12, 14965, 16, 1004, 13, 262, 1850, 327, 31, 5375, 309, 16051, 2625, 18, 291, 12062, 15858, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 309, 261, 14965, 18, 588, 1830, 1435, 422, 1496, 7387, 13, 288, 5411, 5695, 5621, 3639, 289, 469, 309, 261, 14965, 18, 588, 1830, 1435, 422, 1496, 4820, 13, 288, 5411, 394, 27987, 4820, 4236, 12, 2625, 18, 3789, 16, 1004, 18, 4361, 313, 2934, 4500, 5621, 5411, 327, 31, 3639, 289, 469, 309, 261, 14965, 18, 588, 1803, 2189, 7675, 14963, 5556, 2932, 1945, 12496, 1320, 6, 3719, 288, 225, 309, 261, 1004, 18, 588, 12496, 1320, 6353, 7675, 291, 15470, 1435, 262, 288, 1004, 18, 588, 12496, 1320, 6353, 7675, 542, 15470, 12, 629, 11272, 289, 225, 1004, 18, 588, 12496, 1320, 6353, 7675, 2725, 12, 2625, 18, 13957, 18, 588, 1320, 10663, 1004, 18, 588, 12496, 1320, 6353, 7675, 4500, 5621, 289, 469, 309, 261, 14965, 18, 588, 1803, 2189, 7675, 14963, 5556, 2932, 12179, 9723, 6, 3719, 288, 5411, 4452, 5621, 3639, 289, 469, 309, 261, 14965, 18, 588, 1830, 1435, 422, 1496, 6368, 13, 288, 5411, 1024, 3218, 28629, 5621, 3639, 289, 469, 309, 261, 14965, 18, 588, 1830, 1435, 422, 1496, 23539, 376, 13, 288, 5411, 2339, 376, 310, 273, 638, 31, 3639, 289, 469, 309, 261, 14965, 18, 588, 1830, 1435, 422, 1496, 2134, 13, 288, 5411, 2027, 1943, 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, 26100, 12, 1803, 1133, 2113, 13, 288, 3639, 309, 261, 1267, 5190, 19449, 12, 14965, 16, 1004, 13, 262, 1850, 327, 31, 5375, 309, 16051, 2625, 18, 291, 12062, 15858, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 309, 261, 14965, 18, 588, 1830, 1435, 422, 1496, 7387, 13, 288, 5411, 5695, 5621, 3639, 289, 469, 309, 261, 14965, 18, 588, 1830, 1435, 422, 1496, 4820, 13, 288, 5411, 394, 27987, 4820, 4236, 12, 2625, 18, 3789, 16, 1004, 18, 4361, 313, 2934, 4500, 5621, 5411, 327, 31, 3639, 289, 469, 309, 261, 14965, 18, 588, 1803, 2189, 7675, 14963, 5556, 2932, 1945, 12496, 1320, 6, 3719, 288, 225, 309, 261, 1004, 18, 588, 12496, 1320, 2 ]
int fieldOffset = fieldRef.peekResolvedField().getOffsetAsInt();
Offset fieldOffset = fieldRef.peekResolvedField().getOffset();
protected final void emit_resolved_getfield(VM_FieldReference fieldRef) { int fieldOffset = fieldRef.peekResolvedField().getOffsetAsInt(); if (fieldRef.getSize() == BYTES_IN_INT) { // field is one word asm.emitMOV_Reg_RegDisp(T0, SP, 0); // T0 is object reference asm.emitMOV_Reg_RegDisp(T0, T0, fieldOffset); // T0 is field value asm.emitMOV_RegDisp_Reg(SP, 0, T0); // replace reference with value on stack } else { // field is two words (double or long) if (VM.VerifyAssertions) VM._assert(fieldRef.getSize() == BYTES_IN_LONG); asm.emitMOV_Reg_RegDisp(T0, SP, 0); // T0 is object reference asm.emitMOV_Reg_RegDisp(T1, T0, fieldOffset+WORDSIZE); // T1 is high part of field value asm.emitMOV_RegDisp_Reg(SP, 0, T1); // replace reference with high part of value on stack asm.emitPUSH_RegDisp(T0, fieldOffset); // push low part of field value } }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/c19269673fcdd14e39a92c30e8ccef4cb7ce0402/VM_Compiler.java/clean/rvm/src/vm/arch/intel/compilers/baseline/VM_Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 3626, 67, 11792, 67, 588, 1518, 12, 7397, 67, 974, 2404, 652, 1957, 13, 288, 565, 9874, 652, 2335, 273, 652, 1957, 18, 347, 3839, 12793, 974, 7675, 588, 2335, 5621, 565, 309, 261, 1518, 1957, 18, 588, 1225, 1435, 422, 26214, 67, 706, 67, 3217, 13, 288, 368, 652, 353, 1245, 2076, 1377, 20415, 18, 18356, 5980, 58, 67, 1617, 67, 1617, 1669, 84, 12, 56, 20, 16, 11405, 16, 374, 1769, 6647, 368, 399, 20, 353, 733, 2114, 1377, 20415, 18, 18356, 5980, 58, 67, 1617, 67, 1617, 1669, 84, 12, 56, 20, 16, 399, 20, 16, 652, 2335, 1769, 368, 399, 20, 353, 652, 460, 1377, 20415, 18, 18356, 5980, 58, 67, 1617, 1669, 84, 67, 1617, 12, 3118, 16, 374, 16, 399, 20, 1769, 6647, 368, 1453, 2114, 598, 460, 603, 2110, 565, 289, 469, 288, 368, 652, 353, 2795, 4511, 261, 9056, 578, 1525, 13, 1377, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 1518, 1957, 18, 588, 1225, 1435, 422, 26214, 67, 706, 67, 14639, 1769, 1377, 20415, 18, 18356, 5980, 58, 67, 1617, 67, 1617, 1669, 84, 12, 56, 20, 16, 11405, 16, 374, 1769, 10792, 368, 399, 20, 353, 733, 2114, 1377, 20415, 18, 18356, 5980, 58, 67, 1617, 67, 1617, 1669, 84, 12, 56, 21, 16, 399, 20, 16, 652, 2335, 15, 7952, 4574, 1769, 368, 399, 21, 353, 3551, 1087, 434, 652, 460, 1377, 20415, 18, 18356, 5980, 58, 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, 727, 918, 3626, 67, 11792, 67, 588, 1518, 12, 7397, 67, 974, 2404, 652, 1957, 13, 288, 565, 9874, 652, 2335, 273, 652, 1957, 18, 347, 3839, 12793, 974, 7675, 588, 2335, 5621, 565, 309, 261, 1518, 1957, 18, 588, 1225, 1435, 422, 26214, 67, 706, 67, 3217, 13, 288, 368, 652, 353, 1245, 2076, 1377, 20415, 18, 18356, 5980, 58, 67, 1617, 67, 1617, 1669, 84, 12, 56, 20, 16, 11405, 16, 374, 1769, 6647, 368, 399, 20, 353, 733, 2114, 1377, 20415, 18, 18356, 5980, 58, 67, 1617, 67, 1617, 1669, 84, 12, 56, 20, 16, 399, 20, 16, 652, 2335, 1769, 368, 399, 20, 353, 652, 460, 1377, 20415, 18, 18356, 5980, 58, 67, 2 ]
self.getValue().equals(((RubyString) other).getValue()));
self.toString().equals(((RubyString) other).toString()));
public IRubyObject invoke(RubyString self, IRubyObject[] args) { IRubyObject other = args[0]; if (other == self) { return self.getRuntime().getTrue(); } else if (!(other instanceof RubyString)) { return self.getRuntime().getNil(); } /* use Java implementation if both different String instances */ return self.getRuntime().newBoolean( self.getValue().equals(((RubyString) other).getValue())); }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/9f2efc63a858fa0507245b207025eab027840a04/StringMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/StringMetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 4356, 12, 54, 10340, 780, 365, 16, 15908, 10340, 921, 8526, 833, 13, 288, 5411, 15908, 10340, 921, 1308, 273, 833, 63, 20, 15533, 13491, 309, 261, 3011, 422, 365, 13, 288, 7734, 327, 365, 18, 588, 5576, 7675, 588, 5510, 5621, 5411, 289, 469, 309, 16051, 12, 3011, 1276, 19817, 780, 3719, 288, 7734, 327, 365, 18, 588, 5576, 7675, 588, 12616, 5621, 5411, 289, 5411, 1748, 999, 5110, 4471, 309, 3937, 3775, 514, 3884, 1195, 5411, 327, 365, 18, 588, 5576, 7675, 2704, 5507, 12, 10792, 365, 18, 10492, 7675, 14963, 12443, 12, 54, 10340, 780, 13, 1308, 2934, 10492, 1435, 10019, 540, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 4356, 12, 54, 10340, 780, 365, 16, 15908, 10340, 921, 8526, 833, 13, 288, 5411, 15908, 10340, 921, 1308, 273, 833, 63, 20, 15533, 13491, 309, 261, 3011, 422, 365, 13, 288, 7734, 327, 365, 18, 588, 5576, 7675, 588, 5510, 5621, 5411, 289, 469, 309, 16051, 12, 3011, 1276, 19817, 780, 3719, 288, 7734, 327, 365, 18, 588, 5576, 7675, 588, 12616, 5621, 5411, 289, 5411, 1748, 999, 5110, 4471, 309, 3937, 3775, 514, 3884, 1195, 5411, 327, 365, 18, 588, 5576, 7675, 2704, 5507, 12, 10792, 365, 18, 10492, 7675, 14963, 12443, 12, 54, 10340, 780, 13, 1308, 2934, 10492, 1435, 10019, 540, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
fTableViewer.getTable().select(itemCount -1);
fTableViewer.getTable( ).deselectAll( ); fTableViewer.getTable( ).select( itemCount - 1 );
private void add( ) { HighlightRuleBuilder builder = new HighlightRuleBuilder( getShell( ), Messages.getString( "HighlightsPage.Dialog.NewHighlight" ), //$NON-NLS-1$ provider ); builder.updateHandle( null, fTableViewer.getTable( ).getItemCount( ) ); builder.setDesignHandle( (DesignElementHandle) model ); if ( builder.open( ) == Window.OK ) { fTableViewer.add( builder.getHandle( ) ); int itemCount = fTableViewer.getTable().getItemCount(); fTableViewer.getTable().deselectAll(); fTableViewer.getTable().select(itemCount -1); fTableViewer.getTable( ).setFocus( ); updateButtons( ); refreshTableItemView( ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/9b13ef2ab739bf6e84142ee3792e82399e36ad2d/HighlightsPreferencePage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/HighlightsPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 12, 262, 202, 95, 202, 202, 16205, 2175, 1263, 2089, 273, 394, 31386, 2175, 1263, 12, 7932, 1165, 12, 262, 16, 9506, 202, 5058, 18, 588, 780, 12, 315, 16205, 87, 1964, 18, 6353, 18, 1908, 16205, 6, 262, 16, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 6778, 11272, 202, 202, 9574, 18, 2725, 3259, 12, 446, 16, 284, 1388, 18415, 18, 588, 1388, 12, 262, 18, 588, 30687, 12, 262, 11272, 202, 202, 9574, 18, 542, 15478, 3259, 12, 261, 15478, 1046, 3259, 13, 938, 11272, 202, 202, 430, 261, 2089, 18, 3190, 12, 262, 422, 6076, 18, 3141, 262, 202, 202, 95, 1082, 202, 74, 1388, 18415, 18, 1289, 12, 2089, 18, 588, 3259, 12, 262, 11272, 1082, 202, 474, 761, 1380, 273, 284, 1388, 18415, 18, 588, 1388, 7675, 588, 30687, 5621, 25083, 202, 74, 1388, 18415, 18, 588, 1388, 7675, 5489, 13759, 1595, 5621, 1082, 202, 74, 1388, 18415, 18, 588, 1388, 7675, 4025, 12, 1726, 1380, 300, 21, 1769, 25083, 202, 74, 1388, 18415, 18, 588, 1388, 12, 262, 18, 542, 9233, 12, 11272, 1082, 202, 2725, 14388, 12, 11272, 1082, 202, 9144, 1388, 1180, 1767, 12, 11272, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 12, 262, 202, 95, 202, 202, 16205, 2175, 1263, 2089, 273, 394, 31386, 2175, 1263, 12, 7932, 1165, 12, 262, 16, 9506, 202, 5058, 18, 588, 780, 12, 315, 16205, 87, 1964, 18, 6353, 18, 1908, 16205, 6, 262, 16, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 6778, 11272, 202, 202, 9574, 18, 2725, 3259, 12, 446, 16, 284, 1388, 18415, 18, 588, 1388, 12, 262, 18, 588, 30687, 12, 262, 11272, 202, 202, 9574, 18, 542, 15478, 3259, 12, 261, 15478, 1046, 3259, 13, 938, 11272, 202, 202, 430, 261, 2089, 18, 3190, 12, 262, 422, 6076, 18, 3141, 262, 202, 202, 95, 1082, 202, 74, 1388, 18415, 18, 1289, 12, 2 ]
statement.setBytes(12,value);
m_doSetBytes(statement,12,value);
public CmsUser addUser(String name, String password, String description, String firstname, String lastname, String email, long lastlogin, long lastused, int flags, Hashtable additionalInfos, CmsGroup defaultGroup, String address, String section, int type) throws CmsException { int id = nextId(C_TABLE_USERS); byte[] value=null; Connection con = null; PreparedStatement statement = null; try { // serialize the hashtable ByteArrayOutputStream bout= new ByteArrayOutputStream(); ObjectOutputStream oout=new ObjectOutputStream(bout); oout.writeObject(additionalInfos); oout.close(); value=bout.toByteArray(); // write data to database con = DriverManager.getConnection(m_poolName); statement = con.prepareStatement(m_cq.get("C_USERS_ADD")); statement.setInt(1,id); statement.setString(2,name); // crypt the password with MD5 statement.setString(3, digest(password)); statement.setString(4, digest("")); statement.setString(5,checkNull(description)); statement.setString(6,checkNull(firstname)); statement.setString(7,checkNull(lastname)); statement.setString(8,checkNull(email)); statement.setTimestamp(9, new Timestamp(lastlogin)); statement.setTimestamp(10, new Timestamp(lastused)); statement.setInt(11,flags); statement.setBytes(12,value); statement.setInt(13,defaultGroup.getId()); statement.setString(14,checkNull(address)); statement.setString(15,checkNull(section)); statement.setInt(16,type); statement.executeUpdate(); } catch (SQLException e){ throw new CmsException("["+this.getClass().getName()+"]"+e.getMessage(),CmsException.C_SQL_ERROR, e); } catch (IOException e){ throw new CmsException("[CmsAccessUserInfoMySql/addUserInformation(id,object)]:"+CmsException. C_SERIALIZATION, e); } finally { // close all db-resources if(statement != null) { try { statement.close(); } catch(SQLException exc) { // nothing to do here } } if(con != null) { try { con.close(); } catch(SQLException exc) { // nothing to do here } } } return readUser(id); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/9fd72a34400be5c3a4576e13300bd1780cb23c9c/CmsDbAccess.java/clean/src/com/opencms/file/genericSql/CmsDbAccess.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 25492, 527, 1299, 12, 780, 508, 16, 514, 2201, 16, 514, 2477, 16, 12900, 514, 1122, 529, 16, 514, 1142, 529, 16, 514, 2699, 16, 12900, 1525, 1142, 5819, 16, 1525, 1142, 3668, 16, 509, 2943, 16, 18559, 3312, 7655, 16, 12900, 2149, 1114, 805, 1114, 16, 514, 1758, 16, 514, 2442, 16, 509, 618, 13, 3639, 1216, 11228, 288, 3639, 509, 612, 273, 1024, 548, 12, 39, 67, 7775, 67, 30846, 1769, 3639, 1160, 8526, 460, 33, 2011, 31, 3639, 4050, 356, 273, 446, 31, 3639, 16913, 3021, 273, 446, 31, 3639, 775, 288, 5411, 368, 4472, 326, 711, 14544, 5411, 11559, 31095, 33, 394, 11559, 5621, 5411, 23438, 320, 659, 33, 2704, 23438, 12, 70, 659, 1769, 5411, 320, 659, 18, 2626, 921, 12, 13996, 7655, 1769, 5411, 320, 659, 18, 4412, 5621, 5411, 460, 33, 70, 659, 18, 869, 8826, 5621, 5411, 368, 1045, 501, 358, 2063, 5411, 356, 273, 9396, 1318, 18, 588, 1952, 12, 81, 67, 6011, 461, 1769, 5411, 3021, 273, 356, 18, 9366, 3406, 12, 81, 67, 71, 85, 18, 588, 2932, 39, 67, 30846, 67, 8355, 7923, 1769, 5411, 3021, 18, 542, 1702, 12, 21, 16, 350, 1769, 5411, 3021, 18, 542, 780, 12, 22, 16, 529, 1769, 5411, 368, 13231, 326, 2201, 598, 10852, 25, 5411, 3021, 18, 542, 780, 12, 23, 16, 5403, 12, 3664, 10019, 5411, 3021, 18, 542, 780, 12, 24, 16, 5403, 2932, 7923, 1769, 5411, 3021, 18, 542, 780, 12, 25, 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, 25492, 527, 1299, 12, 780, 508, 16, 514, 2201, 16, 514, 2477, 16, 12900, 514, 1122, 529, 16, 514, 1142, 529, 16, 514, 2699, 16, 12900, 1525, 1142, 5819, 16, 1525, 1142, 3668, 16, 509, 2943, 16, 18559, 3312, 7655, 16, 12900, 2149, 1114, 805, 1114, 16, 514, 1758, 16, 514, 2442, 16, 509, 618, 13, 3639, 1216, 11228, 288, 3639, 509, 612, 273, 1024, 548, 12, 39, 67, 7775, 67, 30846, 1769, 3639, 1160, 8526, 460, 33, 2011, 31, 3639, 4050, 356, 273, 446, 31, 3639, 16913, 3021, 273, 446, 31, 3639, 775, 288, 5411, 368, 4472, 326, 711, 14544, 5411, 11559, 31095, 33, 394, 11559, 5621, 5411, 23438, 320, 659, 33, 2704, 23438, 12, 70, 2 ]
if( list.length == 0 )
if( list.length == 0 ) {
public String toString() { try { final String[] list = list(); // empty path return empty string if( list.length == 0 ) return ""; // path containing one or more elements final StringBuffer result = new StringBuffer( list[ 0 ].toString() ); for( int i = 1; i < list.length; i++ ) { result.append( File.pathSeparatorChar ); result.append( list[ i ] ); } return result.toString(); } catch( final TaskException te ) { throw new Error( te.toString() ); } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/b95d90a13da3fb8d362982bc84652f1e03e8325e/Path.java/buggy/proposal/myrmidon/src/main/org/apache/tools/ant/types/Path.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 775, 3639, 288, 5411, 727, 514, 8526, 666, 273, 666, 5621, 5411, 368, 1008, 589, 327, 1008, 533, 5411, 309, 12, 666, 18, 2469, 422, 374, 262, 288, 7734, 327, 1408, 31, 5411, 368, 589, 4191, 1245, 578, 1898, 2186, 5411, 727, 6674, 563, 273, 394, 6674, 12, 666, 63, 374, 308, 18, 10492, 1435, 11272, 5411, 364, 12, 509, 277, 273, 404, 31, 277, 411, 666, 18, 2469, 31, 277, 9904, 262, 5411, 288, 7734, 563, 18, 6923, 12, 1387, 18, 803, 6581, 2156, 11272, 7734, 563, 18, 6923, 12, 666, 63, 277, 308, 11272, 5411, 289, 5411, 327, 563, 18, 10492, 5621, 3639, 289, 3639, 1044, 12, 727, 3837, 503, 6489, 262, 3639, 288, 5411, 604, 394, 1068, 12, 6489, 18, 10492, 1435, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 775, 3639, 288, 5411, 727, 514, 8526, 666, 273, 666, 5621, 5411, 368, 1008, 589, 327, 1008, 533, 5411, 309, 12, 666, 18, 2469, 422, 374, 262, 288, 7734, 327, 1408, 31, 5411, 368, 589, 4191, 1245, 578, 1898, 2186, 5411, 727, 6674, 563, 273, 394, 6674, 12, 666, 63, 374, 308, 18, 10492, 1435, 11272, 5411, 364, 12, 509, 277, 273, 404, 31, 277, 411, 666, 18, 2469, 31, 277, 9904, 262, 5411, 288, 7734, 563, 18, 6923, 12, 1387, 18, 803, 6581, 2156, 11272, 7734, 563, 18, 6923, 12, 666, 63, 277, 308, 11272, 5411, 289, 5411, 327, 563, 18, 10492, 5621, 3639, 289, 3639, 1044, 12, 727, 3837, 2 ]
if (!virtualFile.isValid()) return;
if (!virtualFile.isValid()) { if (LOG.isDebugEnabled()) { LOG.debug("installTracker() for file " + virtualFile.getPath() + " failed: virtual file not valid"); } return; }
public void run() { try { alarm.cancelAllRequests(); if (!virtualFile.isValid()) return; final String lastUpToDateContent = getBaseVersionContent(virtualFile); if (lastUpToDateContent == null) return; ApplicationManager.getApplication().invokeLater(new Runnable() { public void run() { if (!myProject.isDisposed()) { synchronized (TRACKERS_LOCK) { ApplicationManager.getApplication().runWriteAction(new Runnable() { public void run() { tracker.initialize(lastUpToDateContent); } }); } } } }); } finally { myLineStatusUpdateAlarms.remove(document); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/456dc2d485b04df41691ea03538e495cd589c916/ProjectLevelVcsManagerImpl.java/clean/source/com/intellij/openapi/vcs/impl/ProjectLevelVcsManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 775, 288, 5411, 13721, 18, 10996, 1595, 6421, 5621, 5411, 309, 16051, 12384, 812, 18, 26810, 10756, 288, 309, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 2018, 18, 4148, 2932, 5425, 8135, 1435, 364, 585, 315, 397, 5024, 812, 18, 588, 743, 1435, 397, 315, 2535, 30, 5024, 585, 486, 923, 8863, 289, 327, 31, 289, 5411, 727, 514, 1142, 1211, 31264, 1350, 273, 8297, 1444, 1350, 12, 12384, 812, 1769, 5411, 309, 261, 2722, 1211, 31264, 1350, 422, 446, 13, 327, 31, 5411, 4257, 1318, 18, 588, 3208, 7675, 14407, 20607, 12, 2704, 10254, 1435, 288, 2868, 1071, 918, 1086, 1435, 288, 7734, 309, 16051, 4811, 4109, 18, 291, 1669, 7423, 10756, 288, 5375, 3852, 261, 28720, 11367, 67, 6589, 13, 288, 10792, 4257, 1318, 18, 588, 3208, 7675, 2681, 3067, 1803, 12, 2704, 10254, 1435, 288, 8227, 1071, 918, 1086, 1435, 288, 13491, 9745, 18, 11160, 12, 2722, 1211, 31264, 1350, 1769, 8227, 289, 10792, 15549, 5375, 289, 7734, 289, 2868, 289, 5411, 15549, 1850, 289, 1850, 3095, 288, 5411, 3399, 1670, 1482, 1891, 1067, 20452, 18, 4479, 12, 5457, 1769, 1850, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 775, 288, 5411, 13721, 18, 10996, 1595, 6421, 5621, 5411, 309, 16051, 12384, 812, 18, 26810, 10756, 288, 309, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 2018, 18, 4148, 2932, 5425, 8135, 1435, 364, 585, 315, 397, 5024, 812, 18, 588, 743, 1435, 397, 315, 2535, 30, 5024, 585, 486, 923, 8863, 289, 327, 31, 289, 5411, 727, 514, 1142, 1211, 31264, 1350, 273, 8297, 1444, 1350, 12, 12384, 812, 1769, 5411, 309, 261, 2722, 1211, 31264, 1350, 422, 446, 13, 327, 31, 5411, 4257, 1318, 18, 588, 3208, 7675, 14407, 20607, 12, 2704, 10254, 1435, 288, 2868, 1071, 918, 1086, 1435, 288, 7734, 309, 16051, 4811, 4109, 18, 291, 1669, 2 ]
final CTabFolder newContainer = new CTabFolder(parent, SWT.BOTTOM);
final CTabFolder newContainer = new CTabFolder(parent, SWT.BOTTOM | SWT.FLAT);
private CTabFolder createContainer(Composite parent) { final CTabFolder newContainer = new CTabFolder(parent, SWT.BOTTOM); newContainer.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { int newPageIndex = newContainer.indexOf((CTabItem) e.item); pageChange(newPageIndex); } }); return newContainer;}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c1d743930007dd778b4a894ab1d40e9afa6e7fb0/MultiPageEditorPart.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 385, 5661, 3899, 752, 2170, 12, 9400, 982, 13, 288, 202, 6385, 385, 5661, 3899, 394, 2170, 273, 394, 385, 5661, 3899, 12, 2938, 16, 348, 8588, 18, 28891, 1769, 202, 2704, 2170, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 202, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 1082, 202, 474, 394, 1964, 1016, 273, 394, 2170, 18, 31806, 12443, 1268, 378, 1180, 13, 425, 18, 1726, 1769, 1082, 202, 2433, 3043, 12, 2704, 1964, 1016, 1769, 202, 202, 97, 202, 22938, 202, 2463, 394, 2170, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 385, 5661, 3899, 752, 2170, 12, 9400, 982, 13, 288, 202, 6385, 385, 5661, 3899, 394, 2170, 273, 394, 385, 5661, 3899, 12, 2938, 16, 348, 8588, 18, 28891, 1769, 202, 2704, 2170, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 202, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 1082, 202, 474, 394, 1964, 1016, 273, 394, 2170, 18, 31806, 12443, 1268, 378, 1180, 13, 425, 18, 1726, 1769, 1082, 202, 2433, 3043, 12, 2704, 1964, 1016, 1769, 202, 202, 97, 202, 22938, 202, 2463, 394, 2170, 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 ]
BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other));
BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other));
public RubyNumeric op_div(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_div(other); } BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other)); if (results[0].compareTo(BigInteger.ZERO) <= 0 && results[1].compareTo(BigInteger.ZERO) != 0) { return bigNorm(getRuntime(), results[0].subtract(BigInteger.ONE)); } return bigNorm(getRuntime(), results[0]); }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/a25fc494ea7daeb4b5b479e0173372332cf7d4ac/RubyBignum.java/buggy/src/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 2892, 12, 7937, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 4405, 1377, 16097, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 202, 24198, 1686, 8526, 273, 3196, 565, 2366, 7675, 2892, 831, 1876, 1933, 25407, 12, 14002, 1702, 620, 12, 3011, 10019, 202, 430, 261, 4717, 63, 20, 8009, 9877, 774, 12, 24198, 18, 24968, 13, 1648, 374, 597, 3196, 565, 1686, 63, 21, 8009, 9877, 774, 12, 24198, 18, 24968, 13, 480, 374, 13, 288, 202, 565, 327, 5446, 14624, 12, 588, 5576, 9334, 1686, 63, 20, 8009, 1717, 1575, 12, 24198, 18, 5998, 10019, 202, 97, 202, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 1686, 63, 20, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 2892, 12, 7937, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 4405, 1377, 16097, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 202, 24198, 1686, 8526, 273, 3196, 565, 2366, 7675, 2892, 831, 1876, 1933, 25407, 12, 14002, 1702, 620, 12, 3011, 10019, 202, 430, 261, 4717, 63, 20, 8009, 9877, 774, 12, 24198, 18, 24968, 13, 1648, 374, 597, 3196, 565, 1686, 63, 21, 8009, 9877, 774, 12, 24198, 18, 24968, 13, 480, 374, 13, 288, 202, 565, 327, 5446, 14624, 12, 2 ]
private void processAnnotated(Annotated annotated) throws SAXException { Enumeration enum = annotated.getAnnotations(); while (enum.hasMoreElements()) processAnnotation( (Annotation) enum.nextElement() ); } //-- processAnnotated /** * Processes the given annotation into events * * @param annotation the annotation to process into events **/ private void processAnnotation(Annotation annotation) throws SAXException { _atts.clear(); String ELEMENT_NAME = "xsd:annotation"; _handler.startElement(ELEMENT_NAME, _atts); Enumeration enum = annotation.getDocumentation(); while (enum.hasMoreElements()) { Documentation doc = (Documentation) enum.nextElement(); String content = doc.getContent(); if ((content != null) && (content.length() > 0)) { char[] chars = content.toCharArray(); _handler.startElement("xsd:documentation", _atts); _handler.characters(chars, 0, chars.length); _handler.endElement("xsd:documentation"); } }
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/7ee630a0e8f0bc9bb27ab645fc4560e9ffbfc73c/SchemaWriter.java/buggy/trunk/castor-2002/castor/src/main/org/exolab/castor/xml/schema/writer/SchemaWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 17985, 12, 17985, 10529, 13, 540, 1216, 14366, 565, 288, 3639, 13864, 2792, 273, 10529, 18, 588, 5655, 5621, 3639, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 5411, 1207, 3257, 12, 261, 3257, 13, 2792, 18, 4285, 1046, 1435, 11272, 7734, 289, 368, 413, 1207, 17985, 3639, 1783, 377, 380, 4389, 281, 326, 864, 3204, 1368, 2641, 377, 380, 377, 380, 632, 891, 3204, 326, 3204, 358, 1207, 1368, 2641, 565, 26013, 565, 3238, 918, 1207, 3257, 12, 3257, 3204, 13, 540, 1216, 14366, 565, 288, 7734, 389, 270, 3428, 18, 8507, 5621, 7734, 514, 13424, 67, 1985, 273, 315, 19144, 30, 11495, 14432, 7734, 389, 4176, 18, 1937, 1046, 12, 10976, 67, 1985, 16, 389, 270, 3428, 1769, 7734, 13864, 2792, 273, 3204, 18, 588, 18905, 5621, 3639, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 288, 5411, 20495, 997, 273, 261, 18905, 13, 2792, 18, 4285, 1046, 5621, 5411, 514, 913, 273, 997, 18, 588, 1350, 5621, 5411, 309, 14015, 1745, 480, 446, 13, 597, 261, 1745, 18, 2469, 1435, 405, 374, 3719, 288, 7734, 1149, 8526, 5230, 273, 913, 18, 869, 15936, 5621, 7734, 389, 4176, 18, 1937, 1046, 2932, 19144, 30, 26941, 3113, 389, 270, 3428, 1769, 7734, 389, 4176, 18, 20558, 12, 7549, 16, 374, 16, 5230, 18, 2469, 1769, 7734, 389, 4176, 18, 409, 1046, 2932, 19144, 30, 26941, 8863, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 17985, 12, 17985, 10529, 13, 540, 1216, 14366, 565, 288, 3639, 13864, 2792, 273, 10529, 18, 588, 5655, 5621, 3639, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 5411, 1207, 3257, 12, 261, 3257, 13, 2792, 18, 4285, 1046, 1435, 11272, 7734, 289, 368, 413, 1207, 17985, 3639, 1783, 377, 380, 4389, 281, 326, 864, 3204, 1368, 2641, 377, 380, 377, 380, 632, 891, 3204, 326, 3204, 358, 1207, 1368, 2641, 565, 26013, 565, 3238, 918, 1207, 3257, 12, 3257, 3204, 13, 540, 1216, 14366, 565, 288, 7734, 389, 270, 3428, 18, 8507, 5621, 7734, 514, 13424, 67, 1985, 273, 315, 19144, 30, 11495, 14432, 7734, 389, 4176, 18, 1937, 1046, 12, 10976, 67, 1985, 2 ]
if (jj_3R_298()) jj_scanpos = xsp;
if (jj_3R_305()) jj_scanpos = xsp;
final private boolean jj_3R_137() { if (jj_scan_token(INTERFACE)) return true; if (jj_scan_token(IDENTIFIER)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_298()) jj_scanpos = xsp; if (jj_scan_token(LBRACE)) return true; while (true) { xsp = jj_scanpos; if (jj_3R_299()) { jj_scanpos = xsp; break; } } if (jj_scan_token(RBRACE)) return true; return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/d443fc629d3f9538d4772fc74e3c6afa936e3ced/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 24942, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 18865, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 16606, 3719, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5082, 25, 10756, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 12995, 9254, 3719, 327, 638, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 22, 2733, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 19437, 9254, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 24942, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 18865, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 16606, 3719, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5082, 25, 10756, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 12995, 9254, 3719, 327, 638, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 22, 2733, 10756, 2 ]
public static Object lookup(Class name) throws NameNotFoundException { return getNameSpace().lookup(name); }
public static Object lookup(Class name) throws NameNotFoundException { return getNameSpace().lookup(name); }
public static Object lookup(Class name) throws NameNotFoundException { return getNameSpace().lookup(name); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/95d080b6dd45e9377ad3ace3a74f8c5e46c8815f/InitialNaming.java/buggy/core/src/core/org/jnode/naming/InitialNaming.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1033, 3689, 12, 797, 508, 13, 225, 202, 15069, 1770, 3990, 288, 202, 202, 2463, 1723, 3819, 7675, 8664, 12, 529, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1033, 3689, 12, 797, 508, 13, 225, 202, 15069, 1770, 3990, 288, 202, 202, 2463, 1723, 3819, 7675, 8664, 12, 529, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setBorder(new EtchedBorder()); setBorderPainted(false); setMargin(new Insets(1,1,1,1)); setRequestFocusEnabled(false);
public RolloverButton() { if(OperatingSystem.hasJava15()) setContentAreaFilled(false); if(method != null) { try { method.invoke(this,new Boolean[] { Boolean.TRUE }); } catch(Exception e) { Log.log(Log.ERROR,this,e); } } else { setBorder(new EtchedBorder()); setBorderPainted(false); setMargin(new Insets(1,1,1,1)); setRequestFocusEnabled(false); addMouseListener(new MouseOverHandler()); } } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/7f4890339b1d6a60ac506a228c0f28534f548607/RolloverButton.java/buggy/org/gjt/sp/jedit/gui/RolloverButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11714, 21896, 3616, 1435, 202, 95, 202, 202, 430, 12, 3542, 24811, 18, 5332, 5852, 3600, 10756, 1082, 202, 542, 1350, 5484, 29754, 12, 5743, 1769, 202, 202, 430, 12, 2039, 480, 446, 13, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 2039, 18, 14407, 12, 2211, 16, 2704, 3411, 8526, 288, 3411, 18, 18724, 15549, 1082, 202, 97, 1082, 202, 14683, 12, 503, 425, 13, 1082, 202, 95, 9506, 202, 1343, 18, 1330, 12, 1343, 18, 3589, 16, 2211, 16, 73, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 542, 8107, 12, 2704, 512, 88, 2049, 8107, 10663, 1082, 202, 542, 8107, 12699, 329, 12, 5743, 1769, 1082, 202, 542, 9524, 12, 2704, 22300, 12, 21, 16, 21, 16, 21, 16, 21, 10019, 1082, 202, 542, 691, 9233, 1526, 12, 5743, 1769, 1082, 202, 1289, 9186, 2223, 12, 2704, 17013, 4851, 1503, 10663, 202, 202, 97, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11714, 21896, 3616, 1435, 202, 95, 202, 202, 430, 12, 3542, 24811, 18, 5332, 5852, 3600, 10756, 1082, 202, 542, 1350, 5484, 29754, 12, 5743, 1769, 202, 202, 430, 12, 2039, 480, 446, 13, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 2039, 18, 14407, 12, 2211, 16, 2704, 3411, 8526, 288, 3411, 18, 18724, 15549, 1082, 202, 97, 1082, 202, 14683, 12, 503, 425, 13, 1082, 202, 95, 9506, 202, 1343, 18, 1330, 12, 1343, 18, 3589, 16, 2211, 16, 73, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 542, 8107, 12, 2704, 512, 88, 2049, 8107, 10663, 1082, 202, 542, 8107, 12699, 329, 12, 2 ]
public static WeaponType createCLHeavyLargeLaser() { WeaponType weapon = new WeaponType(); weapon.name = "Heavy Large Laser"; weapon.internalName = "CLHeavyLargeLaser"; weapon.mepName = "N/A"; weapon.mtfName = "CLHeavyLargeLaser"; weapon.heat = 18; weapon.damage = 16; weapon.toHitModifier = 1; weapon.ammoType = AmmoType.T_NA; weapon.minimumRange = WEAPON_NA; weapon.shortRange = 5; weapon.mediumRange = 10; weapon.longRange = 15; weapon.tonnage = 4.0f; weapon.criticals = 3; weapon.flags |= F_LASER | F_DIRECT_FIRE; weapon.bv = 243; return weapon; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/d05f2130c25015ca88066511083759513d50b746/WeaponType.java/clean/megamek/src/megamek/common/WeaponType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 5017, 5256, 23935, 20020, 48, 14558, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 7734, 732, 28629, 18, 529, 273, 315, 5256, 23935, 16236, 908, 511, 14558, 14432, 3639, 732, 28629, 18, 7236, 461, 273, 315, 5017, 5256, 23935, 20020, 48, 14558, 14432, 3639, 732, 28629, 18, 81, 881, 461, 273, 315, 50, 19, 37, 14432, 3639, 732, 28629, 18, 1010, 74, 461, 273, 315, 5017, 5256, 23935, 20020, 48, 14558, 14432, 3639, 732, 28629, 18, 580, 270, 273, 6549, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 2872, 31, 3639, 732, 28629, 18, 869, 13616, 9829, 273, 404, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 11277, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 13880, 2203, 673, 67, 11277, 31, 3639, 732, 28629, 18, 6620, 2655, 273, 1381, 31, 3639, 732, 28629, 18, 19011, 2655, 273, 1728, 31, 3639, 732, 28629, 18, 5748, 2655, 273, 4711, 31, 3639, 732, 28629, 18, 1917, 82, 410, 273, 1059, 18, 20, 74, 31, 3639, 732, 28629, 18, 27826, 335, 1031, 273, 890, 31, 3639, 732, 28629, 18, 7133, 5626, 478, 67, 2534, 2123, 571, 478, 67, 17541, 67, 1653, 862, 31, 3639, 732, 28629, 18, 70, 90, 273, 4248, 23, 31, 7734, 327, 732, 28629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 5017, 5256, 23935, 20020, 48, 14558, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 7734, 732, 28629, 18, 529, 273, 315, 5256, 23935, 16236, 908, 511, 14558, 14432, 3639, 732, 28629, 18, 7236, 461, 273, 315, 5017, 5256, 23935, 20020, 48, 14558, 14432, 3639, 732, 28629, 18, 81, 881, 461, 273, 315, 50, 19, 37, 14432, 3639, 732, 28629, 18, 1010, 74, 461, 273, 315, 5017, 5256, 23935, 20020, 48, 14558, 14432, 3639, 732, 28629, 18, 580, 270, 273, 6549, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 2872, 31, 3639, 732, 28629, 18, 869, 13616, 9829, 273, 404, 31, 3639, 732, 28629, 18, 301, 2 ]
if (bold.isSelected()) setFontStyle(Font.ITALIC, 0);
if (log.isDebugEnabled()) log.debug("When style item selected "+((String)getValue(NAME)) +" italic state is "+italic.isSelected()); if (italic.isSelected()) setFontStyle(Font.ITALIC, 0);
protected void showPopUp(MouseEvent e) { ours = this; if (icon && popup == null ) { popup = new JPopupMenu(); popup.add(new AbstractAction("Rotate") { public void actionPerformed(ActionEvent e) { namedIcon.setRotation(namedIcon.getRotation()+1, ours); setIcon(namedIcon); } }); popup.add(new AbstractAction("Remove") { public void actionPerformed(ActionEvent e) { remove(); dispose(); } }); } else if (text && popup == null) { popup = new JPopupMenu(); JMenu sizeMenu = new JMenu("Font size"); fontButtonGroup = new ButtonGroup(); addFontMenuEntry(sizeMenu, 6); addFontMenuEntry(sizeMenu, 8); addFontMenuEntry(sizeMenu, 10); addFontMenuEntry(sizeMenu, 12); addFontMenuEntry(sizeMenu, 14); addFontMenuEntry(sizeMenu, 16); addFontMenuEntry(sizeMenu, 20); addFontMenuEntry(sizeMenu, 24); addFontMenuEntry(sizeMenu, 28); addFontMenuEntry(sizeMenu, 32); addFontMenuEntry(sizeMenu, 36); popup.add(sizeMenu); JMenu styleMenu = new JMenu("Font style"); styleMenu.add(italic = newStyleMenuItem(new AbstractAction("Italic") { public void actionPerformed(ActionEvent e) { if (bold.isSelected()) setFontStyle(Font.ITALIC, 0); else setFontStyle(0, Font.ITALIC); } }, Font.ITALIC)); styleMenu.add(bold = newStyleMenuItem(new AbstractAction("Bold") { public void actionPerformed(ActionEvent e) { if (bold.isSelected()) setFontStyle(Font.BOLD, 0); else setFontStyle(0, Font.BOLD); } }, Font.BOLD)); popup.add(styleMenu); JMenu colorMenu = new JMenu("Font color"); colorButtonGroup = new ButtonGroup(); addColorMenuEntry(colorMenu, "Black", Color.black); addColorMenuEntry(colorMenu, "Dark Gray",Color.darkGray); addColorMenuEntry(colorMenu, "Gray",Color.gray); addColorMenuEntry(colorMenu, "Light Gray",Color.lightGray); addColorMenuEntry(colorMenu, "White",Color.white); addColorMenuEntry(colorMenu, "Red",Color.red); addColorMenuEntry(colorMenu, "Orange",Color.orange); addColorMenuEntry(colorMenu, "Yellow",Color.yellow); addColorMenuEntry(colorMenu, "Green",Color.green); addColorMenuEntry(colorMenu, "Blue",Color.blue); addColorMenuEntry(colorMenu, "Magenta",Color.magenta); popup.add(colorMenu); popup.add(new AbstractAction("Remove") { public void actionPerformed(ActionEvent e) { remove(); dispose(); } }); } else log.warn("showPopUp when neither text nor icon true"); // show the result if (popup != null) popup.show(e.getComponent(), e.getX(), e.getY()); }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/56ba17419b82bac186cee8de434f45e037f8509b/PositionableLabel.java/buggy/jmri/jmrit/display/PositionableLabel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2405, 7049, 1211, 12, 9186, 1133, 425, 13, 288, 3639, 3134, 87, 273, 333, 31, 3639, 309, 261, 3950, 597, 10431, 422, 446, 262, 288, 5411, 10431, 273, 394, 804, 13770, 4599, 5621, 5411, 10431, 18, 1289, 12, 2704, 4115, 1803, 2932, 16357, 7923, 288, 7734, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 10792, 4141, 5554, 18, 542, 14032, 12, 13188, 5554, 18, 588, 14032, 1435, 15, 21, 16, 3134, 87, 1769, 10792, 21481, 12, 13188, 5554, 1769, 7734, 289, 5411, 15549, 5411, 10431, 18, 1289, 12, 2704, 4115, 1803, 2932, 3288, 7923, 288, 7734, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 10792, 1206, 5621, 10792, 15825, 5621, 7734, 289, 5411, 15549, 3639, 289, 469, 309, 261, 955, 597, 10431, 422, 446, 13, 288, 5411, 10431, 273, 394, 804, 13770, 4599, 5621, 5411, 804, 4599, 963, 4599, 273, 394, 804, 4599, 2932, 5711, 963, 8863, 5411, 3512, 3616, 1114, 273, 394, 12569, 1114, 5621, 5411, 527, 5711, 4599, 1622, 12, 1467, 4599, 16, 1666, 1769, 5411, 527, 5711, 4599, 1622, 12, 1467, 4599, 16, 1725, 1769, 5411, 527, 5711, 4599, 1622, 12, 1467, 4599, 16, 1728, 1769, 5411, 527, 5711, 4599, 1622, 12, 1467, 4599, 16, 2593, 1769, 5411, 527, 5711, 4599, 1622, 12, 1467, 4599, 16, 5045, 1769, 5411, 527, 5711, 4599, 1622, 12, 1467, 4599, 16, 2872, 1769, 5411, 527, 5711, 4599, 1622, 12, 1467, 4599, 16, 4200, 1769, 5411, 527, 5711, 4599, 1622, 12, 1467, 4599, 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, 4750, 918, 2405, 7049, 1211, 12, 9186, 1133, 425, 13, 288, 3639, 3134, 87, 273, 333, 31, 3639, 309, 261, 3950, 597, 10431, 422, 446, 262, 288, 5411, 10431, 273, 394, 804, 13770, 4599, 5621, 5411, 10431, 18, 1289, 12, 2704, 4115, 1803, 2932, 16357, 7923, 288, 7734, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 10792, 4141, 5554, 18, 542, 14032, 12, 13188, 5554, 18, 588, 14032, 1435, 15, 21, 16, 3134, 87, 1769, 10792, 21481, 12, 13188, 5554, 1769, 7734, 289, 5411, 15549, 5411, 10431, 18, 1289, 12, 2704, 4115, 1803, 2932, 3288, 7923, 288, 7734, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 10792, 1206, 5621, 10792, 15825, 5621, 7734, 289, 5411, 15549, 2 ]
myWhitespaces.isInSet(myLexems.get(item.myLexemIndex - 1).getTokenType())) {
myWhitespaces.contains(myLexems.get(item.myLexemIndex - 1).getTokenType())) {
public ASTNode getTreeBuilt() { StartMarker rootMarker = (StartMarker)myProduction.get(0); final ASTNode rootNode; if (myFileLevelParsing) { rootNode = new FileElement(rootMarker.myType); myCharTable = ((FileElement)rootNode).getCharTable(); } else { rootNode = new CompositeElement(rootMarker.myType); rootNode.putUserData(CharTable.CHAR_TABLE_KEY, myCharTable); } for (int i = 1; i < myProduction.size() - 1; i++) { ProductionMarker item = myProduction.get(i); if (item instanceof StartMarker) { while (item.myLexemIndex < myLexems.size() && myWhitespaces.isInSet(myLexems.get(item.myLexemIndex).getTokenType())) item.myLexemIndex++; } else if (item instanceof DoneMarker || item instanceof ErrorItem) { int prevProductionLexIndex = myProduction.get(i - 1).myLexemIndex; while (item.myLexemIndex > prevProductionLexIndex && item.myLexemIndex < myLexems.size() && myWhitespaces.isInSet(myLexems.get(item.myLexemIndex - 1).getTokenType())) { item.myLexemIndex--; } } } ASTNode curNode = rootNode; int curToken = 0; int lastErrorIndex = -1; for (int i = 1; i < myProduction.size(); i++) { ProductionMarker item = myProduction.get(i); LOG.assertTrue(curNode != null, "Unexpected end of the production"); int lexIndex = item.myLexemIndex; if (item instanceof StartMarker) { StartMarker marker = (StartMarker)item; curToken = insertLeafs(curToken, lexIndex, curNode); ASTNode childNode = new CompositeElement(marker.myType); TreeUtil.addChildren((CompositeElement)curNode, (TreeElement)childNode); curNode = childNode; } else if (item instanceof DoneMarker) { DoneMarker doneMarker = (DoneMarker)item; curToken = insertLeafs(curToken, lexIndex, curNode); LOG.assertTrue(doneMarker.myStart.myType == curNode.getElementType()); curNode = curNode.getTreeParent(); } else if (item instanceof ErrorItem) { curToken = insertLeafs(curToken, lexIndex, curNode); if (curToken == lastErrorIndex) continue; lastErrorIndex = curToken; final PsiErrorElementImpl errorElement = new PsiErrorElementImpl(); errorElement.setErrorDescription(((ErrorItem)item).myMessage); TreeUtil.addChildren((CompositeElement)curNode, errorElement); } } LOG.assertTrue(curToken == myLexems.size(), "Not all of the tokens inserted to the tree"); LOG.assertTrue(curNode == null, "Unbalanced tree"); return rootNode; }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/4aaf21f520f82bb0b9b582f175802f7063e479b5/PsiBuilderImpl.java/buggy/source/com/intellij/lang/impl/PsiBuilderImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9183, 907, 15867, 16409, 1435, 288, 565, 3603, 7078, 1365, 7078, 273, 261, 1685, 7078, 13, 4811, 31590, 18, 588, 12, 20, 1769, 565, 727, 9183, 907, 10181, 31, 565, 309, 261, 4811, 812, 2355, 13963, 13, 288, 1377, 10181, 273, 394, 1387, 1046, 12, 3085, 7078, 18, 4811, 559, 1769, 1377, 3399, 2156, 1388, 273, 14015, 812, 1046, 13, 3085, 907, 2934, 588, 2156, 1388, 5621, 565, 289, 565, 469, 288, 1377, 10181, 273, 394, 14728, 1046, 12, 3085, 7078, 18, 4811, 559, 1769, 1377, 10181, 18, 458, 19265, 12, 2156, 1388, 18, 7305, 67, 7775, 67, 3297, 16, 3399, 2156, 1388, 1769, 565, 289, 565, 364, 261, 474, 277, 273, 404, 31, 277, 411, 3399, 31590, 18, 1467, 1435, 300, 404, 31, 277, 27245, 288, 1377, 10856, 349, 7078, 761, 273, 3399, 31590, 18, 588, 12, 77, 1769, 1377, 309, 261, 1726, 1276, 3603, 7078, 13, 288, 3639, 1323, 261, 1726, 18, 4811, 14756, 351, 1016, 411, 3399, 14756, 7424, 18, 1467, 1435, 597, 3399, 2888, 21693, 18, 291, 382, 694, 12, 4811, 14756, 7424, 18, 588, 12, 1726, 18, 4811, 14756, 351, 1016, 2934, 588, 28675, 1435, 3719, 761, 18, 4811, 14756, 351, 1016, 9904, 31, 1377, 289, 1377, 469, 309, 261, 1726, 1276, 8677, 7078, 747, 761, 1276, 1068, 1180, 13, 288, 3639, 509, 2807, 31590, 14756, 1016, 273, 3399, 31590, 18, 588, 12, 77, 300, 404, 2934, 4811, 14756, 351, 1016, 31, 3639, 1323, 261, 1726, 18, 4811, 14756, 351, 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, 9183, 907, 15867, 16409, 1435, 288, 565, 3603, 7078, 1365, 7078, 273, 261, 1685, 7078, 13, 4811, 31590, 18, 588, 12, 20, 1769, 565, 727, 9183, 907, 10181, 31, 565, 309, 261, 4811, 812, 2355, 13963, 13, 288, 1377, 10181, 273, 394, 1387, 1046, 12, 3085, 7078, 18, 4811, 559, 1769, 1377, 3399, 2156, 1388, 273, 14015, 812, 1046, 13, 3085, 907, 2934, 588, 2156, 1388, 5621, 565, 289, 565, 469, 288, 1377, 10181, 273, 394, 14728, 1046, 12, 3085, 7078, 18, 4811, 559, 1769, 1377, 10181, 18, 458, 19265, 12, 2156, 1388, 18, 7305, 67, 7775, 67, 3297, 16, 3399, 2156, 1388, 1769, 565, 289, 565, 364, 261, 474, 277, 273, 404, 31, 277, 411, 3399, 2 ]
return new FtpVFolderRef( this.fvol, FtpTools.fileName( this.path, name ) );
return new FtpVFolderRef( this.fvol, FtpTools.folderName( this.path, name ) );
public VFolderRef getVFolderRef( String nam, String ext ) { final String name = FolderNameCodec.FOLDER_NAME_CODEC.encode( nam,ext ); return new FtpVFolderRef( this.fvol, FtpTools.fileName( this.path, name ) ); }
9770 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9770/47d78d7bb839a91efe90c8f6c43fb9557bb76b4e/FtpVFolderRef.java/buggy/core/src/org/openspice/vfs/ftp/FtpVFolderRef.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 776, 3899, 1957, 11031, 3899, 1957, 12, 514, 15135, 16, 514, 1110, 262, 288, 202, 202, 6385, 514, 508, 273, 12623, 461, 11008, 18, 17357, 67, 1985, 67, 5572, 39, 18, 3015, 12, 15135, 16, 408, 11272, 202, 202, 2463, 394, 478, 6834, 58, 3899, 1957, 12, 333, 18, 74, 15416, 16, 478, 6834, 10348, 18, 17812, 12, 333, 18, 803, 16, 508, 262, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 776, 3899, 1957, 11031, 3899, 1957, 12, 514, 15135, 16, 514, 1110, 262, 288, 202, 202, 6385, 514, 508, 273, 12623, 461, 11008, 18, 17357, 67, 1985, 67, 5572, 39, 18, 3015, 12, 15135, 16, 408, 11272, 202, 202, 2463, 394, 478, 6834, 58, 3899, 1957, 12, 333, 18, 74, 15416, 16, 478, 6834, 10348, 18, 17812, 12, 333, 18, 803, 16, 508, 262, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new IOException("Data is not available");
throw new IOException(Messages.getString("awt.4F"));
private Object getHTML(DataFlavor f) throws IOException, UnsupportedFlavorException { if (!data.isNativeFormatAtailable(DataProvider.FORMAT_HTML)) { throw new UnsupportedFlavorException(f); } String str = data.getHTML(); if (str == null) { throw new IOException("Data is not available"); } return getTextRepresentation(str, f); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c4916a7af46cbdb5a69d94b49c3f5669c05d8b4c/DataProxy.java/buggy/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DataProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 336, 4870, 12, 751, 2340, 9444, 284, 13, 5411, 1216, 1860, 16, 7221, 2340, 9444, 503, 288, 3639, 309, 16051, 892, 18, 291, 9220, 1630, 861, 1751, 12, 20757, 18, 7254, 67, 4870, 3719, 288, 5411, 604, 394, 7221, 2340, 9444, 503, 12, 74, 1769, 3639, 289, 3639, 514, 609, 273, 501, 18, 588, 4870, 5621, 3639, 309, 261, 701, 422, 446, 13, 288, 2398, 604, 394, 1860, 12, 5058, 18, 588, 780, 2932, 2219, 88, 18, 24, 42, 7923, 1769, 3639, 289, 3639, 327, 6701, 13742, 12, 701, 16, 284, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 336, 4870, 12, 751, 2340, 9444, 284, 13, 5411, 1216, 1860, 16, 7221, 2340, 9444, 503, 288, 3639, 309, 16051, 892, 18, 291, 9220, 1630, 861, 1751, 12, 20757, 18, 7254, 67, 4870, 3719, 288, 5411, 604, 394, 7221, 2340, 9444, 503, 12, 74, 1769, 3639, 289, 3639, 514, 609, 273, 501, 18, 588, 4870, 5621, 3639, 309, 261, 701, 422, 446, 13, 288, 2398, 604, 394, 1860, 12, 5058, 18, 588, 780, 2932, 2219, 88, 18, 24, 42, 7923, 1769, 3639, 289, 3639, 327, 6701, 13742, 12, 701, 16, 284, 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 ]
if (nssConfig == null) nssConfig = cssConfig; if (nssArgs == null) nssArgs = cssArgs;
if (nssConfig == null) { if (log.isDebugEnabled()) log.debug("Defaulting NSS config to be CSS config"); nssConfig = cssConfig; } if (nssArgs == null) { if (log.isDebugEnabled()) log.debug("Defaulting NSS args to be CSS args"); nssArgs = cssArgs; } if (nssProps == null) { if (log.isDebugEnabled()) log.debug("Defaulting NSS props to be CSS props"); nssProps = cssProps; }
public void doStart() throws Exception { if (nssConfig == null) nssConfig = cssConfig; if (nssArgs == null) nssArgs = cssArgs; ClassLoader savedLoader = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(classLoader); Properties properties = configAdapter.translateToProps(nssConfig); properties.putAll(nssProps); nssORB = ORB.init((String[]) nssArgs.toArray(new String[nssArgs.size()]), properties); threadPool.execute(new Runnable() { public void run() { nssORB.run(); } }); properties = configAdapter.translateToProps(cssConfig); properties.putAll(cssProps); cssORB = ORB.init((String[]) cssArgs.toArray(new String[cssArgs.size()]), properties); org.omg.CORBA.Object ref = cssORB.resolve_initial_references("ORBPolicyManager"); PolicyManager pm = PolicyManagerHelper.narrow(ref); Any cssany = cssORB.create_any(); cssany.insert_Value(cssConfig); Any txany = cssORB.create_any(); txany.insert_Value(buildClientTransactionPolicyConfig()); pm.set_policy_overrides(new Policy[]{cssORB.create_policy(ClientPolicyFactory.POLICY_TYPE, cssany), cssORB.create_policy(ClientTransactionPolicyFactory.POLICY_TYPE, txany)}, SetOverrideType.ADD_OVERRIDE); threadPool.execute(new Runnable() { public void run() { cssORB.run(); } }); } finally { Thread.currentThread().setContextClassLoader(savedLoader); } log.info("Started CORBA Client Security Server - " + description); }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/39e8e289d352de7c6b2b4af33bdb6b84360b0818/CSSBean.java/buggy/openejb2/modules/core/src/java/org/openejb/corba/CSSBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 1685, 1435, 1216, 1185, 288, 3639, 309, 261, 82, 1049, 809, 422, 446, 13, 290, 1049, 809, 273, 3747, 809, 31, 3639, 309, 261, 82, 1049, 2615, 422, 446, 13, 290, 1049, 2615, 273, 3747, 2615, 31, 3639, 9403, 5198, 2886, 273, 4884, 18, 2972, 3830, 7675, 29120, 7805, 5621, 3639, 775, 288, 5411, 4884, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 1106, 2886, 1769, 5411, 6183, 1790, 273, 642, 4216, 18, 13929, 774, 5047, 12, 82, 1049, 809, 1769, 5411, 1790, 18, 458, 1595, 12, 82, 1049, 5047, 1769, 5411, 290, 1049, 916, 38, 273, 4869, 38, 18, 2738, 12443, 780, 63, 5717, 290, 1049, 2615, 18, 31447, 12, 2704, 514, 63, 82, 1049, 2615, 18, 1467, 1435, 65, 3631, 1790, 1769, 5411, 2650, 2864, 18, 8837, 12, 2704, 10254, 1435, 288, 7734, 1071, 918, 1086, 1435, 288, 10792, 290, 1049, 916, 38, 18, 2681, 5621, 7734, 289, 5411, 15549, 5411, 1790, 273, 642, 4216, 18, 13929, 774, 5047, 12, 5212, 809, 1769, 5411, 1790, 18, 458, 1595, 12, 5212, 5047, 1769, 5411, 3747, 916, 38, 273, 4869, 38, 18, 2738, 12443, 780, 63, 5717, 3747, 2615, 18, 31447, 12, 2704, 514, 63, 5212, 2615, 18, 1467, 1435, 65, 3631, 1790, 1769, 5411, 2358, 18, 362, 75, 18, 9428, 12536, 18, 921, 1278, 273, 3747, 916, 38, 18, 10828, 67, 6769, 67, 14353, 2932, 916, 38, 2582, 1318, 8863, 5411, 7436, 1318, 7430, 273, 7436, 1318, 2276, 18, 82, 7815, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 1685, 1435, 1216, 1185, 288, 3639, 309, 261, 82, 1049, 809, 422, 446, 13, 290, 1049, 809, 273, 3747, 809, 31, 3639, 309, 261, 82, 1049, 2615, 422, 446, 13, 290, 1049, 2615, 273, 3747, 2615, 31, 3639, 9403, 5198, 2886, 273, 4884, 18, 2972, 3830, 7675, 29120, 7805, 5621, 3639, 775, 288, 5411, 4884, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 1106, 2886, 1769, 5411, 6183, 1790, 273, 642, 4216, 18, 13929, 774, 5047, 12, 82, 1049, 809, 1769, 5411, 1790, 18, 458, 1595, 12, 82, 1049, 5047, 1769, 5411, 290, 1049, 916, 38, 273, 4869, 38, 18, 2738, 12443, 780, 63, 5717, 290, 1049, 2615, 18, 31447, 12, 2704, 514, 63, 82, 2 ]