rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
if (0 < ignorePrefix) { newLine = newLine.substring(ignorePrefix); oldLine = oldLine.substring(ignorePrefix);
if (ignorePrefix) { int bracketColon = 0; if (-1 != (bracketColon = newLine.indexOf("]: "))) { newLine = newLine.substring(bracketColon + 3); } if (-1 != (bracketColon = oldLine.indexOf("]: "))) { oldLine = oldLine.substring(bracketColon + 3); }
public static boolean filesIdentical (String newFileName, String oldFileName, List oldLinesToIgnore, int ignorePrefix) throws IOException { boolean same = true; File newFile = new File(newFileName); File oldFile = new File(oldFileName); FileReader newFileReader = new FileReader(newFile); FileReader oldFileReader = new FileReader(oldFile); LineNumberReader newReader = new LineNumberReader(newFileReader); LineNumberReader oldReader = new LineNumberReader(oldFileReader); String newLine, oldLine; newLine = newReader.readLine().trim(); oldLine = oldReader.readLine().trim(); // if one of the lines is null, but not the other if (((null == newLine) && (null != oldLine)) || ((null != newLine) && (null == oldLine))) { same = false; } while (null != newLine && null != oldLine) { if (0 < ignorePrefix) { newLine = newLine.substring(ignorePrefix); oldLine = oldLine.substring(ignorePrefix); } if (!newLine.equals(oldLine)) { if (null != oldLinesToIgnore) { // go thru the list of oldLinesToIgnore and see if // the current oldLine matches any of them. Iterator ignoreLines = oldLinesToIgnore.iterator(); boolean foundMatch = false; while (ignoreLines.hasNext()) { String newTrim = ((String) ignoreLines.next()).trim(); if (oldLine.equals(newTrim)) { foundMatch = true; break; } } // If we haven't found a match, then this mismatch is // important if (!foundMatch) { same = false; break; } } else { same = false; break; } } newLine = newReader.readLine(); oldLine = oldReader.readLine(); // if one of the lines is null, but not the other if (((null == newLine) && (null != oldLine)) || ((null != newLine) && (null == oldLine))) { same = false; break; } if (null != newLine) { newLine = newLine.trim(); } if (null != oldLine) { oldLine = oldLine.trim(); } } newReader.close(); oldReader.close(); // if same is true and both files have reached eof, then // files are identical if (same == true) { return true; } return false; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/b497e4b3ffee7f5f33b502c34c8c49bd700b7290/CompareFiles.java/buggy/java/webclient/test/automated/src/classes/org/mozilla/webclient/CompareFiles.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 1390, 6106, 1706, 261, 780, 394, 4771, 16, 9944, 225, 514, 1592, 4771, 16, 9944, 225, 987, 1592, 5763, 774, 3777, 16, 9944, 225, 509, 2305, 2244, 13, 2398, 1216, 1860, 288, 3639, 1250, 1967, 273, 638, 31, 3639, 1387, 20592, 273, 394, 1387, 12, 2704, 4771, 1769, 3639, 1387, 1592, 812, 273, 394, 1387, 12, 1673, 4771, 1769, 3639, 23010, 20592, 2514, 273, 394, 23010, 12, 2704, 812, 1769, 3639, 23010, 1592, 812, 2514, 273, 394, 23010, 12, 1673, 812, 1769, 202, 31063, 2514, 394, 2514, 273, 394, 5377, 1854, 2514, 12, 2704, 812, 2514, 1769, 202, 31063, 2514, 1592, 2514, 273, 394, 5377, 1854, 2514, 12, 1673, 812, 2514, 1769, 202, 780, 8093, 16, 1592, 1670, 31, 202, 2704, 1670, 273, 394, 2514, 18, 896, 1670, 7675, 5290, 5621, 202, 1673, 1670, 273, 1592, 2514, 18, 896, 1670, 7675, 5290, 5621, 202, 759, 309, 1245, 434, 326, 2362, 353, 446, 16, 1496, 486, 326, 1308, 202, 430, 261, 12443, 2011, 422, 8093, 13, 597, 261, 2011, 480, 1592, 1670, 3719, 747, 202, 565, 14015, 2011, 480, 8093, 13, 597, 261, 2011, 422, 1592, 1670, 20349, 288, 202, 565, 1967, 273, 629, 31, 202, 97, 202, 17523, 261, 2011, 480, 8093, 597, 446, 480, 1592, 1670, 13, 288, 202, 565, 309, 261, 20, 411, 2305, 2244, 13, 288, 202, 202, 2704, 1670, 273, 8093, 18, 28023, 12, 6185, 2244, 1769, 202, 202, 1673, 1670, 273, 1592, 1670, 18, 28023, 12, 6185, 2244, 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, 1250, 1390, 6106, 1706, 261, 780, 394, 4771, 16, 9944, 225, 514, 1592, 4771, 16, 9944, 225, 987, 1592, 5763, 774, 3777, 16, 9944, 225, 509, 2305, 2244, 13, 2398, 1216, 1860, 288, 3639, 1250, 1967, 273, 638, 31, 3639, 1387, 20592, 273, 394, 1387, 12, 2704, 4771, 1769, 3639, 1387, 1592, 812, 273, 394, 1387, 12, 1673, 4771, 1769, 3639, 23010, 20592, 2514, 273, 394, 23010, 12, 2704, 812, 1769, 3639, 23010, 1592, 812, 2514, 273, 394, 23010, 12, 1673, 812, 1769, 202, 31063, 2514, 394, 2514, 273, 394, 5377, 1854, 2514, 12, 2704, 812, 2514, 1769, 202, 31063, 2514, 1592, 2514, 273, 394, 5377, 1854, 2514, 12, 1673, 812, 2514, 1769, 202, 780, 8093, 2 ]
return receiver.getRuntime().getClasses().getFloatClass().callMethod("induced_from", receiver);
return receiver.getRuntime().getClass("Float").callMethod("induced_from", receiver);
public static IRubyObject prec_f(IRubyObject receiver) { return receiver.getRuntime().getClasses().getFloatClass().callMethod("induced_from", receiver); }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/ca6b16e996ea9af83ce593594b9c69b9364a9924/RubyPrecision.java/buggy/src/org/jruby/RubyPrecision.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 13382, 67, 74, 12, 7937, 10340, 921, 5971, 13, 288, 3639, 327, 5971, 18, 588, 5576, 7675, 588, 797, 2932, 4723, 20387, 1991, 1305, 2932, 728, 26372, 67, 2080, 3113, 5971, 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, 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, 921, 13382, 67, 74, 12, 7937, 10340, 921, 5971, 13, 288, 3639, 327, 5971, 18, 588, 5576, 7675, 588, 797, 2932, 4723, 20387, 1991, 1305, 2932, 728, 26372, 67, 2080, 3113, 5971, 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 ]
TempFileManager.setWorkingDirectory(new File(_ode.getContext() .getWorkspaceRoot()));
if (_ode.getContext().getWorkspaceRoot() != null) TempFileManager.setWorkingDirectory(new File(_ode.getContext().getWorkspaceRoot()));
public void init(ComponentContext context) throws JBIException { try { _ode = OdeContext.getInstance(); _ode.setContext(context); _ode._consumer = new OdeConsumer(_ode); TempFileManager.setWorkingDirectory(new File(_ode.getContext() .getWorkspaceRoot())); __log.debug("Loading properties."); initProperties(); __log.debug("Initializing message mappers."); initMappers(); __log.debug("Creating data source."); initDataSource(); __log.debug("Starting Hibernate."); initHibernate(); __log.info("Hibernate started."); __log.debug("Starting BPEL server."); initBpelServer(); __log.debug("Starting JCA connector."); initConnector(); _suManager = new OdeSUManager(_ode); _initSuccess = true; __log.info(__msgs.msgOdeInitialized()); } finally { if (!_initSuccess) { // TODO ..then what? at least shutdown the scheduler } } }
45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/1a15505e6abed48284394b7c9c2a03b5f1150491/OdeLifeCycle.java/clean/jbi/src/main/java/org/apache/ode/jbi/OdeLifeCycle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 1841, 1042, 819, 13, 1216, 804, 31558, 503, 288, 3639, 775, 288, 5411, 389, 390, 273, 531, 323, 1042, 18, 588, 1442, 5621, 5411, 389, 390, 18, 542, 1042, 12, 2472, 1769, 5411, 389, 390, 6315, 13230, 273, 394, 531, 323, 5869, 24899, 390, 1769, 5411, 16380, 812, 1318, 18, 542, 14836, 2853, 12, 2704, 1387, 24899, 390, 18, 29120, 1435, 10792, 263, 588, 8241, 2375, 1435, 10019, 5411, 1001, 1330, 18, 4148, 2932, 10515, 1790, 1199, 1769, 5411, 1208, 2297, 5621, 5411, 1001, 1330, 18, 4148, 2932, 29782, 883, 852, 10422, 1199, 1769, 5411, 1208, 863, 10422, 5621, 5411, 1001, 1330, 18, 4148, 2932, 11092, 501, 1084, 1199, 1769, 5411, 1208, 8597, 5621, 5411, 1001, 1330, 18, 4148, 2932, 11715, 670, 24360, 1199, 1769, 5411, 1208, 44, 24360, 5621, 5411, 1001, 1330, 18, 1376, 2932, 44, 24360, 5746, 1199, 1769, 5411, 1001, 1330, 18, 4148, 2932, 11715, 605, 1423, 48, 1438, 1199, 1769, 5411, 1208, 38, 84, 292, 2081, 5621, 5411, 1001, 1330, 18, 4148, 2932, 11715, 804, 3587, 8703, 1199, 1769, 5411, 1208, 7487, 5621, 5411, 389, 26560, 1318, 273, 394, 531, 323, 6639, 1318, 24899, 390, 1769, 5411, 389, 2738, 4510, 273, 638, 31, 5411, 1001, 1330, 18, 1376, 12, 972, 27439, 18, 3576, 51, 323, 11459, 10663, 3639, 289, 3095, 288, 5411, 309, 16051, 67, 2738, 4510, 13, 288, 7734, 368, 2660, 6116, 15991, 4121, 35, 622, 4520, 5731, 326, 8129, 5411, 289, 3639, 289, 565, 289, 2, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 1841, 1042, 819, 13, 1216, 804, 31558, 503, 288, 3639, 775, 288, 5411, 389, 390, 273, 531, 323, 1042, 18, 588, 1442, 5621, 5411, 389, 390, 18, 542, 1042, 12, 2472, 1769, 5411, 389, 390, 6315, 13230, 273, 394, 531, 323, 5869, 24899, 390, 1769, 5411, 16380, 812, 1318, 18, 542, 14836, 2853, 12, 2704, 1387, 24899, 390, 18, 29120, 1435, 10792, 263, 588, 8241, 2375, 1435, 10019, 5411, 1001, 1330, 18, 4148, 2932, 10515, 1790, 1199, 1769, 5411, 1208, 2297, 5621, 5411, 1001, 1330, 18, 4148, 2932, 29782, 883, 852, 10422, 1199, 1769, 5411, 1208, 863, 10422, 5621, 5411, 1001, 1330, 18, 4148, 2932, 11092, 501, 1084, 1199, 1769, 5411, 1208, 8597, 5621, 2 ]
return getMinimumSize(c);
Dimension size = getMinimumSize(c); size.width += 4; return size;
public Dimension getPreferredSize(JComponent c) { // note: overriding getMinimumSize() (for example in the MetalComboBoxUI // class) affects the getPreferredSize() result, so it seems logical that // this method is implemented by delegating to the getMinimumSize() method return getMinimumSize(c); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 1225, 12, 46, 1841, 276, 13, 225, 288, 565, 368, 4721, 30, 225, 19488, 30665, 1225, 1435, 261, 1884, 3454, 316, 326, 21604, 287, 22199, 5370, 377, 368, 667, 13, 30058, 326, 12822, 4193, 1225, 1435, 563, 16, 1427, 518, 12001, 6374, 716, 565, 368, 333, 707, 353, 8249, 635, 11158, 1776, 358, 326, 30665, 1225, 1435, 707, 13037, 963, 273, 30665, 1225, 12, 71, 1769, 963, 18, 2819, 1011, 1059, 31, 327, 963, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 1435, 563, 16, 1427, 518, 12001, 6374, 716, 565, 368, 333, 707, 353, 8249, 635, 11158, 1776, 358, 326, 30665, 1225, 1435, 707, 13037, 963, 273, 30665, 1225, 12, 71, 1769, 963, 18, 2819, 1011, 1059, 31, 327, 963, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (jj_3R_273()) {
if (jj_3_7()) {
final private boolean jj_3R_267() { Token xsp; xsp = jj_scanpos; if (jj_3R_273()) { jj_scanpos = xsp; if (jj_3R_274()) return true; } return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/a180e9b19197c7613f1e73c6ec8a574a17011e5e/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, 5558, 27, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 67, 27, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5324, 24, 10756, 327, 638, 31, 565, 289, 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, 0, 0, 0, 0, 0, 0, 0,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398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5558, 27, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 67, 27, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5324, 24, 10756, 327, 638, 31, 565, 289, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
imcode.server.user.User user = super.getUserObj(req,res) ;
imcode.server.user.UserDomainObject user = super.getUserObj(req,res) ;
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 the standard parameters and validate them Properties params = super.getSessionParameters(req) ; if (super.checkParameters(req, res, params) == false) { return; } String htmlFile = HTML_TEMPLATE ; if(req.getParameter("advancedView") != null) htmlFile = HTML_TEMPLATE_EXT ; // Lets get an user object imcode.server.user.User user = super.getUserObj(req,res) ; if(user == null) return ; if ( !isUserAuthorized( req, res, user ) ) { return; } HttpSession session = req.getSession(false) ; String aMetaId = (String) session.getAttribute("Conference.meta_id") ; String aForumId = (String) session.getAttribute("Conference.forum_id") ; String discIndex = params.getProperty("DISC_INDEX") ; // Lets get serverinformation IMCServiceInterface imcref = IMCServiceRMI.getIMCServiceInterface(req) ; IMCPoolInterface confref = IMCServiceRMI.getConfIMCPoolInterface(req) ; // Lets get the information from DB String sqlStoredProc = "A_GetAllForum " + aMetaId ; String sqlAnswer[] = confref.sqlProcedure( sqlStoredProc ) ; Vector forumV = super.convert2Vector(sqlAnswer) ; // Lets fill the select box String forumList = Html.createHtmlCode("ID_OPTION", "", forumV ) ; // Lets build the Responsepage VariableManager vm = new VariableManager() ; vm.addProperty( "FORUM_LIST", forumList ) ; vm.addProperty( "ADMIN_LINK_HTML", this.ADMIN_LINK_TEMPLATE ); this.sendHtml(req,res,vm, htmlFile) ; return ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/aac0c3f1fbded79e44eeb9b126b31959f0f22c1d/ConfForum.java/buggy/servlets/conf/ConfForum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 16517, 16, 1860, 288, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 759, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 202, 2297, 859, 273, 2240, 18, 588, 2157, 2402, 12, 3658, 13, 274, 202, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 288, 202, 565, 327, 31, 202, 97, 202, 780, 1729, 812, 273, 3982, 67, 12205, 274, 202, 430, 12, 3658, 18, 588, 1662, 2932, 27080, 1767, 7923, 480, 446, 13, 1729, 812, 273, 3982, 67, 12205, 67, 4142, 274, 202, 759, 511, 2413, 336, 392, 729, 733, 202, 381, 710, 18, 3567, 18, 1355, 18, 1299, 729, 273, 2240, 18, 588, 1299, 2675, 12, 3658, 16, 455, 13, 274, 202, 430, 12, 1355, 422, 446, 13, 327, 274, 202, 430, 261, 401, 291, 1299, 15341, 12, 1111, 16, 400, 16, 729, 262, 262, 288, 202, 565, 327, 31, 202, 97, 202, 2940, 2157, 1339, 273, 1111, 18, 588, 2157, 12, 5743, 13, 274, 202, 780, 279, 2781, 548, 273, 261, 780, 13, 1339, 18, 588, 1499, 2932, 23870, 18, 3901, 67, 350, 7923, 274, 202, 780, 279, 1290, 379, 548, 273, 261, 780, 13, 1339, 18, 588, 1499, 2932, 23870, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 16517, 16, 1860, 288, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 759, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 202, 2297, 859, 273, 2240, 18, 588, 2157, 2402, 12, 3658, 13, 274, 202, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 288, 202, 565, 327, 31, 202, 97, 202, 780, 1729, 812, 273, 3982, 67, 12205, 274, 202, 430, 12, 3658, 18, 588, 2 ]
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ComponentPackage.SCALE__MAX, oldMax, newMax); if (msgs == null) msgs = notification; else msgs.add(notification);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ComponentPackage.SCALE__MAX, oldMax, newMax); if (msgs == null) msgs = notification; else msgs.add(notification);
public NotificationChain basicSetMax(DataElement newMax, NotificationChain msgs) { DataElement oldMax = max; max = newMax; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ComponentPackage.SCALE__MAX, oldMax, newMax); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ScaleImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/impl/ScaleImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 27050, 5337, 30643, 12, 751, 1046, 394, 2747, 16, 27050, 8733, 13, 565, 288, 3639, 1910, 1046, 1592, 2747, 273, 943, 31, 3639, 943, 273, 394, 2747, 31, 3639, 309, 261, 73, 21107, 10756, 3639, 288, 5411, 19953, 3851, 273, 394, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 5435, 2261, 18, 19378, 972, 6694, 16, 1592, 2747, 16, 394, 2747, 1769, 5411, 309, 261, 27439, 422, 446, 13, 8733, 273, 3851, 31, 469, 8733, 18, 1289, 12, 9927, 1769, 3639, 289, 3639, 327, 8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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 27050, 5337, 30643, 12, 751, 1046, 394, 2747, 16, 27050, 8733, 13, 565, 288, 3639, 1910, 1046, 1592, 2747, 273, 943, 31, 3639, 943, 273, 394, 2747, 31, 3639, 309, 261, 73, 21107, 10756, 3639, 288, 5411, 19953, 3851, 273, 394, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 5435, 2261, 18, 19378, 972, 6694, 16, 1592, 2747, 16, 394, 2747, 1769, 5411, 309, 261, 27439, 422, 446, 13, 8733, 273, 3851, 31, 469, 8733, 18, 1289, 12, 9927, 1769, 3639, 289, 3639, 327, 8733, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return false;
return KEEP;
public boolean processRequest(Request request) { if (selectorRequestFilter.acceptRequest(request)) { body.serve(request); return true; } else { return false; } }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/2666230e00db643175e81dac0b52f3f8ba384784/Service.java/buggy/src/org/objectweb/proactive/Service.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1207, 691, 12, 691, 590, 13, 288, 1377, 309, 261, 9663, 691, 1586, 18, 9436, 691, 12, 2293, 3719, 288, 3639, 1417, 18, 30104, 12, 2293, 1769, 3639, 327, 638, 31, 3639, 289, 469, 288, 3639, 327, 1475, 9383, 52, 31, 1377, 289, 565, 289, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1207, 691, 12, 691, 590, 13, 288, 1377, 309, 261, 9663, 691, 1586, 18, 9436, 691, 12, 2293, 3719, 288, 3639, 1417, 18, 30104, 12, 2293, 1769, 3639, 327, 638, 31, 3639, 289, 469, 288, 3639, 327, 1475, 9383, 52, 31, 1377, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
NutchConf nutchConf = new NutchConf(); NutchBean bean = new NutchBean(nutchConf); Query query = Query.parse(args[0], nutchConf);
Configuration conf = NutchConfiguration.create(); NutchBean bean = new NutchBean(conf); Query query = Query.parse(args[0], conf);
public static void main(String[] args) throws Exception { String usage = "NutchBean query"; if (args.length == 0) { System.err.println(usage); System.exit(-1); } NutchConf nutchConf = new NutchConf(); NutchBean bean = new NutchBean(nutchConf); Query query = Query.parse(args[0], nutchConf); Hits hits = bean.search(query, 10); System.out.println("Total hits: " + hits.getTotal()); int length = (int)Math.min(hits.getTotal(), 10); Hit[] show = hits.getHits(0, length); HitDetails[] details = bean.getDetails(show); String[] summaries = bean.getSummary(details, query); for (int i = 0; i < hits.getLength(); i++) { System.out.println(" "+i+" "+ details[i] + "\n" + summaries[i]); } }
46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/NutchBean.java/clean/src/java/org/apache/nutch/searcher/NutchBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 565, 514, 4084, 273, 315, 50, 322, 343, 3381, 843, 14432, 565, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 1377, 2332, 18, 370, 18, 8222, 12, 9167, 1769, 1377, 2332, 18, 8593, 19236, 21, 1769, 565, 289, 565, 423, 322, 343, 3976, 290, 322, 343, 3976, 273, 394, 423, 322, 343, 3976, 5621, 565, 423, 322, 343, 3381, 3931, 273, 394, 423, 322, 343, 3381, 12, 82, 322, 343, 3976, 1769, 565, 2770, 843, 273, 2770, 18, 2670, 12, 1968, 63, 20, 6487, 290, 322, 343, 3976, 1769, 565, 670, 1282, 11076, 273, 3931, 18, 3072, 12, 2271, 16, 1728, 1769, 565, 2332, 18, 659, 18, 8222, 2932, 5269, 11076, 30, 315, 397, 11076, 18, 588, 5269, 10663, 565, 509, 769, 273, 261, 474, 13, 10477, 18, 1154, 12, 15173, 18, 588, 5269, 9334, 1728, 1769, 565, 670, 305, 8526, 2405, 273, 11076, 18, 588, 20950, 12, 20, 16, 769, 1769, 565, 670, 305, 3790, 8526, 3189, 273, 3931, 18, 588, 3790, 12, 4500, 1769, 565, 514, 8526, 24297, 273, 3931, 18, 588, 4733, 12, 6395, 16, 843, 1769, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 11076, 18, 588, 1782, 5621, 277, 27245, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 13773, 77, 9078, 13773, 3189, 63, 77, 65, 397, 1548, 82, 6, 397, 24297, 63, 77, 19226, 565, 289, 225, 289, 2, 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, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 565, 514, 4084, 273, 315, 50, 322, 343, 3381, 843, 14432, 565, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 1377, 2332, 18, 370, 18, 8222, 12, 9167, 1769, 1377, 2332, 18, 8593, 19236, 21, 1769, 565, 289, 565, 423, 322, 343, 3976, 290, 322, 343, 3976, 273, 394, 423, 322, 343, 3976, 5621, 565, 423, 322, 343, 3381, 3931, 273, 394, 423, 322, 343, 3381, 12, 82, 322, 343, 3976, 1769, 565, 2770, 843, 273, 2770, 18, 2670, 12, 1968, 63, 20, 6487, 290, 322, 343, 3976, 1769, 565, 670, 1282, 11076, 273, 3931, 18, 3072, 12, 2271, 16, 1728, 1769, 565, 2332, 18, 2 ]
throw new UnsupportedOperationException();
throw new UnsupportedRepositoryOperationException();
public Version checkin() throws RepositoryException { // TODO Auto-generated method stub // return null; throw new UnsupportedOperationException(); }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/9a4d2d514f3034e7f39869df9e9bb9c1e8bc021e/ClientNode.java/clean/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4049, 866, 267, 1435, 1216, 13367, 288, 3639, 368, 2660, 8064, 17, 11168, 707, 7168, 3639, 368, 327, 446, 31, 3639, 604, 394, 7221, 3305, 10602, 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,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
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4049, 866, 267, 1435, 1216, 13367, 288, 3639, 368, 2660, 8064, 17, 11168, 707, 7168, 3639, 368, 327, 446, 31, 3639, 604, 394, 7221, 3305, 10602, 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 ]
FontStyle style = (FontStyle) getPrimaryView().getStyle(
FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(
protected void refreshUnderline() { FontStyle style = (FontStyle) getPrimaryView().getStyle( NotationPackage.eINSTANCE.getFontStyle()); if (style != null && getFigure() instanceof WrapLabel) { ((WrapLabel) getFigure()).setTextUnderline(style.isUnderline()); } }
7409 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7409/c90605b94797aa95ffa039808ae26671d3dd7b1e/RelationshipLabel3EditPart.java/buggy/examples/org.eclipse.gmf.examples.mindmap.diagram/src/org/eclipse/gmf/examples/mindmap/diagram/edit/parts/RelationshipLabel3EditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4460, 14655, 1369, 1435, 288, 202, 202, 5711, 2885, 2154, 273, 261, 5711, 2885, 13, 11398, 1767, 7675, 588, 2885, 12, 9506, 202, 14818, 2261, 18, 73, 13341, 18, 588, 5711, 2885, 10663, 202, 202, 430, 261, 4060, 480, 446, 597, 2812, 15906, 1435, 1276, 4266, 2224, 13, 288, 1082, 202, 12443, 2964, 2224, 13, 2812, 15906, 1435, 2934, 542, 1528, 14655, 1369, 12, 4060, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4460, 14655, 1369, 1435, 288, 202, 202, 5711, 2885, 2154, 273, 261, 5711, 2885, 13, 11398, 1767, 7675, 588, 2885, 12, 9506, 202, 14818, 2261, 18, 73, 13341, 18, 588, 5711, 2885, 10663, 202, 202, 430, 261, 4060, 480, 446, 597, 2812, 15906, 1435, 1276, 4266, 2224, 13, 288, 1082, 202, 12443, 2964, 2224, 13, 2812, 15906, 1435, 2934, 542, 1528, 14655, 1369, 12, 4060, 18, 291, 14655, 1369, 10663, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
offsets = (int) in.getFilePointer();
offsets = (int) (fileLength - in.available());
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessFile(id, "r"); little = true; location = 0; // some DICOM files have a 128 byte header followed by a 4 byte identifier byte[] four = new byte[4]; in.seek(128); in.read(four); if ((new String(four)).equals("DICM")) { // header exists, so we'll read it in.seek(0); byte[] header = new byte[128]; in.read(header); metadata.put("Header information", new String(header)); in.skipBytes(4); location = 128; } else in.seek(0); boolean decodingTags = true; boolean signed = false; while (decodingTags) { int tag = getNextTag(); if ((location & 1) != 0) oddLocations = true; if (inSequence) { addInfo(tag, null); if (in.getFilePointer() >= (in.length() - 4)) decodingTags = false; continue; } String s; switch (tag) { case TRANSFER_SYNTAX_UID: byte[] st = new byte[elementLength]; in.read(st); s = new String(st); addInfo(tag, s); if (s.indexOf("1.2.4") > -1 || s.indexOf("1.2.5") > -1) { throw new FormatException("Sorry, compressed DICOM images not " + "supported"); } if (s.indexOf("1.2.840.10008.1.2.2") >= 0) { bigEndianTransferSyntax = true; } break; case NUMBER_OF_FRAMES: st = new byte[elementLength]; in.read(st); s = new String(st); addInfo(tag, s); double frames = Double.parseDouble(s); if (frames > 1.0) numImages = (int) frames; break; case SAMPLES_PER_PIXEL: int samplesPerPixel = DataTools.read2SignedBytes(in, little); addInfo(tag, samplesPerPixel); break; case PHOTOMETRIC_INTERPRETATION: st = new byte[elementLength]; in.read(st); String photoInterpretation = new String(st); addInfo(tag, photoInterpretation); break; case PLANAR_CONFIGURATION: int planarConfiguration = DataTools.read2SignedBytes(in, little); addInfo(tag, planarConfiguration); break; case ROWS: height = DataTools.read2SignedBytes(in, little); addInfo(tag, height); break; case COLUMNS: width = DataTools.read2SignedBytes(in, little); addInfo(tag, width); break; case PIXEL_SPACING: st = new byte[elementLength]; in.read(st); String scale = new String(st); addInfo(tag, scale); break; case SLICE_SPACING: st = new byte[elementLength]; in.read(st); String spacing = new String(st); addInfo(tag, spacing); break; case BITS_ALLOCATED: bitsPerPixel = DataTools.read2SignedBytes(in, little); addInfo(tag, bitsPerPixel); break; case PIXEL_REPRESENTATION: int pixelRepresentation = DataTools.read2SignedBytes(in, little); signed = pixelRepresentation == 1; addInfo(tag, pixelRepresentation); break; case WINDOW_CENTER: case WINDOW_WIDTH: case RESCALE_INTERCEPT: case RESCALE_SLOPE: st = new byte[elementLength]; in.read(st); String c = new String(st); addInfo(tag, c); break; case PIXEL_DATA: if (elementLength != 0) { offsets = (int) in.getFilePointer(); addInfo(tag, location); decodingTags = false; } else addInfo(tag, null); break; case 0x7f880010: if (elementLength != 0) { offsets = location + 4; decodingTags = false; } break; default: addInfo(tag, null); } if (in.getFilePointer() >= (in.length() - 4)) decodingTags = false; } if (numImages == 0) numImages = 1; // populate OME-XML node if (ome != null) { OMETools.setPixels(ome, new Integer((String) metadata.get("Columns")), // SizeX new Integer((String) metadata.get("Rows")), // SizeY new Integer(numImages), // SizeZ new Integer(1), // SizeC new Integer(1), // SizeT "int" + ((String) metadata.get("Bits Allocated")), // PixelType new Boolean(!little), // BigEndian "XYZTC"); OMETools.setImage(ome, null, // name ((String) metadata.get("Content Date")) + "T" + ((String) metadata.get("Content Time")), // CreationDate (String) metadata.get("Image Type")); OMETools.setInstrument(ome, (String) metadata.get("Manufacturer"), (String) metadata.get("Manufacturer's Model Name"), null, null); } }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/91859a26506b8a1d312b398da2c3ecd94e02fa60/DicomReader.java/buggy/loci/formats/DicomReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 316, 273, 394, 8072, 26933, 12, 350, 16, 315, 86, 8863, 565, 12720, 273, 638, 31, 565, 2117, 273, 374, 31, 565, 368, 2690, 30530, 1390, 1240, 279, 8038, 1160, 1446, 10860, 635, 279, 1059, 1160, 2756, 565, 1160, 8526, 12792, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 16508, 12, 10392, 1769, 565, 316, 18, 896, 12, 74, 477, 1769, 565, 309, 14015, 2704, 514, 12, 74, 477, 13, 2934, 14963, 2932, 2565, 9611, 6, 3719, 288, 1377, 368, 1446, 1704, 16, 1427, 732, 5614, 855, 518, 1377, 316, 18, 16508, 12, 20, 1769, 1377, 1160, 8526, 1446, 273, 394, 1160, 63, 10392, 15533, 1377, 316, 18, 896, 12, 3374, 1769, 1377, 1982, 18, 458, 2932, 1864, 1779, 3113, 394, 514, 12, 3374, 10019, 1377, 316, 18, 7457, 2160, 12, 24, 1769, 1377, 2117, 273, 8038, 31, 565, 289, 565, 469, 316, 18, 16508, 12, 20, 1769, 565, 1250, 13547, 3453, 273, 638, 31, 565, 1250, 6726, 273, 629, 31, 565, 1323, 261, 323, 2014, 3453, 13, 288, 1377, 509, 1047, 273, 6927, 1805, 5621, 1377, 309, 14015, 3562, 473, 404, 13, 480, 374, 13, 14800, 10985, 273, 638, 31, 1377, 309, 261, 267, 4021, 13, 288, 3639, 527, 966, 12, 2692, 16, 446, 1769, 3639, 309, 261, 267, 18, 29925, 4926, 1435, 1545, 261, 267, 18, 2469, 1435, 300, 1059, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 316, 273, 394, 8072, 26933, 12, 350, 16, 315, 86, 8863, 565, 12720, 273, 638, 31, 565, 2117, 273, 374, 31, 565, 368, 2690, 30530, 1390, 1240, 279, 8038, 1160, 1446, 10860, 635, 279, 1059, 1160, 2756, 565, 1160, 8526, 12792, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 16508, 12, 10392, 1769, 565, 316, 18, 896, 12, 74, 477, 1769, 565, 309, 14015, 2704, 514, 12, 74, 477, 13, 2934, 14963, 2932, 2565, 9611, 6, 3719, 288, 1377, 368, 1446, 1704, 16, 1427, 732, 5614, 855, 518, 1377, 316, 18, 16508, 12, 20, 2 ]
if (sel instanceof TreeViewer) { TreeViewer tv = (TreeViewer) sel; ISelection sel2 = tv.getSelection(); if (sel2 instanceof StructuredSelection) { monitor.beginTask("Searhing for files...", IProgressMonitor.UNKNOWN); StructuredSelection ss = (StructuredSelection) sel2; for (Iterator iter = ss.iterator(); iter.hasNext();) { Object obj = iter.next(); if (obj instanceof IProject) { ((IProject) obj).accept(visitor); }
Object sel = targetPart.getSite().getSelectionProvider().getSelection(); if (sel instanceof IStructuredSelection) { monitor.beginTask("Searhing for files...", IProgressMonitor.UNKNOWN); StructuredSelection ss = (StructuredSelection) sel; for (Iterator iter = ss.iterator(); iter.hasNext();) { Object obj = iter.next(); if (obj instanceof IProject) { ((IProject) obj).accept(visitor); } else if (obj instanceof IJavaProject) { IResource resource = ((IJavaProject) obj).getResource(); resource.accept(visitor);
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { try { CPD cpd = new CPD(); //cpd.setListener(new CPDActivityListener(monitor)); //for some reason CPD dies when using this listener PMDPlugin.getDefault().getPreferenceStore().setDefault(PMDPlugin.MIN_TILE_SIZE_PREFERENCE, 25); cpd.setMinimumTileSize(PMDPlugin.getDefault().getPreferenceStore().getInt(PMDPlugin.MIN_TILE_SIZE_PREFERENCE)); CPDVisitor visitor = new CPDVisitor(cpd); Object sel = targetPart.getSite().getSelectionProvider(); CPDReportWindow crw = new CPDReportWindow(targetPart.getSite().getShell()); crw.create(); if (sel instanceof TreeViewer) { TreeViewer tv = (TreeViewer) sel; ISelection sel2 = tv.getSelection(); if (sel2 instanceof StructuredSelection) { monitor.beginTask("Searhing for files...", IProgressMonitor.UNKNOWN); StructuredSelection ss = (StructuredSelection) sel2; for (Iterator iter = ss.iterator(); iter.hasNext();) { Object obj = iter.next(); if (obj instanceof IProject) { ((IProject) obj).accept(visitor); } } monitor.beginTask("Running Cut & Paste Detector...", IProgressMonitor.UNKNOWN); cpd.go(); monitor.beginTask("Building result set...", IProgressMonitor.UNKNOWN); Results results = cpd.getResults(); for (Iterator iter = results.getTiles(); iter.hasNext();) { Tile tile = (Tile) iter.next(); int dups = results.getOccurrenceCountFor(tile); crw.addEntry(String.valueOf(dups) + " duplicates found.\n"); for (Iterator iter2 = results.getOccurrences(tile); iter2.hasNext();) { TokenEntry te = (TokenEntry) iter2.next(); crw.addEntry("\t" + te.getTokenSrcID() + ": " + te.getBeginLine() + "\n"); } crw.addEntry("\n"); } monitor.done(); crw.open(); crw.getShell().setSize(500, 500); } } } catch (Exception e) { MessageDialog.openError(null, "Error running CPD", e.toString()); monitor.done(); } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/885f0a09fd7fcd66c210cca8c46ce5b645c985ae/CPDCheckProjectAction.java/buggy/pmd-eclipse/src/net/sourceforge/pmd/eclipse/actions/CPDCheckProjectAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 1216, 15342, 16, 7558, 288, 3639, 775, 288, 5411, 5181, 40, 29660, 273, 394, 5181, 40, 5621, 5411, 368, 4057, 72, 18, 542, 2223, 12, 2704, 5181, 40, 6193, 2223, 12, 10259, 10019, 225, 368, 1884, 2690, 3971, 5181, 40, 27890, 1347, 1450, 333, 2991, 5411, 453, 6188, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 542, 1868, 12, 52, 6188, 3773, 18, 6236, 67, 56, 13578, 67, 4574, 67, 3670, 10830, 16, 6969, 1769, 5411, 29660, 18, 542, 13042, 9337, 1225, 12, 52, 6188, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 588, 1702, 12, 52, 6188, 3773, 18, 6236, 67, 56, 13578, 67, 4574, 67, 3670, 10830, 10019, 5411, 5181, 40, 7413, 8000, 273, 394, 5181, 40, 7413, 12, 4057, 72, 1769, 5411, 1033, 357, 273, 1018, 1988, 18, 588, 4956, 7675, 588, 6233, 2249, 5621, 5411, 5181, 40, 4820, 3829, 4422, 91, 273, 394, 5181, 40, 4820, 3829, 12, 3299, 1988, 18, 588, 4956, 7675, 588, 13220, 10663, 5411, 4422, 91, 18, 2640, 5621, 5411, 309, 261, 1786, 1276, 4902, 18415, 13, 288, 7734, 4902, 18415, 13521, 273, 261, 2471, 18415, 13, 357, 31, 7734, 467, 6233, 357, 22, 273, 13521, 18, 588, 6233, 5621, 7734, 309, 261, 1786, 22, 1276, 7362, 2862, 6233, 13, 288, 10792, 6438, 18, 10086, 2174, 2932, 1761, 297, 4018, 364, 1390, 7070, 16, 467, 5491, 7187, 18, 14737, 1769, 10792, 7362, 2862, 6233, 5202, 273, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 1216, 15342, 16, 7558, 288, 3639, 775, 288, 5411, 5181, 40, 29660, 273, 394, 5181, 40, 5621, 5411, 368, 4057, 72, 18, 542, 2223, 12, 2704, 5181, 40, 6193, 2223, 12, 10259, 10019, 225, 368, 1884, 2690, 3971, 5181, 40, 27890, 1347, 1450, 333, 2991, 5411, 453, 6188, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 542, 1868, 12, 52, 6188, 3773, 18, 6236, 67, 56, 13578, 67, 4574, 67, 3670, 10830, 16, 6969, 1769, 5411, 29660, 18, 542, 13042, 9337, 1225, 12, 52, 6188, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 588, 1702, 12, 52, 6188, 3773, 18, 6236, 67, 56, 13578, 67, 4574, 67, 2 ]
checkPageValid( );
checkPageValid( );
public void modifyText( ModifyEvent e ) { checkPageValid( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/b91f1dd2fabe6ffd72656b2cfe7d12c525b2521c/GeneralPreferencePage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/GeneralPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 5612, 1528, 12, 9518, 1133, 425, 262, 1082, 202, 95, 9506, 202, 1893, 1964, 1556, 12, 11272, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 5612, 1528, 12, 9518, 1133, 425, 262, 1082, 202, 95, 9506, 202, 1893, 1964, 1556, 12, 11272, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
bc2ir.appendInstruction(Binary.create(REF_ADD, op0, o1, op1));
bc2ir.appendInstruction(Binary.create(REF_ADD, op0, o1, op1.copyD2U()));
static boolean generatePolymorphicMagic(OPT_BC2IR bc2ir, OPT_GenerationContext gc, VM_MethodReference meth, VM_Atom methodName) { VM_TypeReference [] paramTypes = meth.getParameterTypes(); VM_TypeReference resultType = meth.getReturnType(); if (methodName == VM_MagicNames.wordFromInt || methodName == VM_MagicNames.wordFromIntSignExtend) { OPT_RegisterOperand reg = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(INT_2ADDRSigExt, reg, bc2ir.popInt())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordFromIntZeroExtend) { OPT_RegisterOperand reg = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(INT_2ADDRZerExt, reg, bc2ir.popInt())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordFromLong) { if (VM.BuildFor64Addr) { OPT_RegisterOperand reg = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(LONG_2ADDR, reg, bc2ir.popLong())); bc2ir.push(reg.copyD2U()); } else { VM._assert(false); //should not reach } } else if (methodName == VM_MagicNames.wordToInt) { OPT_RegisterOperand reg = gc.temps.makeTempInt(); bc2ir.appendInstruction(Unary.create(ADDR_2INT, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToLong) { OPT_RegisterOperand lreg = gc.temps.makeTempLong(); bc2ir.appendInstruction(Unary.create(ADDR_2LONG, lreg, bc2ir.popAddress())); bc2ir.pushDual(lreg.copyD2U()); } else if (methodName == VM_MagicNames.wordToWord) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Word); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToAddress) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Address); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToObject) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.JavaLangObject); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToObjectReference || methodName == VM_MagicNames.wordFromObject) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.ObjectReference); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popRef())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToOffset) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Offset); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToExtent) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Extent); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordAdd) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); if (VM.BuildFor64Addr && o2.isInt()){ OPT_RegisterOperand op1 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(INT_2ADDRSigExt, op1, o2)); bc2ir.appendInstruction(Binary.create(REF_ADD, op0, o1, op1)); } else { bc2ir.appendInstruction(Binary.create(REF_ADD, op0, o1, o2)); } bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordSub) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); if (VM.BuildFor64Addr && o2.isInt()){ OPT_RegisterOperand op1 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(INT_2ADDRSigExt, op1, o2)); bc2ir.appendInstruction(Binary.create(REF_SUB, op0, o1, op1)); } else { bc2ir.appendInstruction(Binary.create(REF_SUB, op0, o1, o2)); } bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordDiff) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(REF_SUB, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordAnd) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(REF_AND, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordOr) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(REF_OR, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordXor) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(REF_XOR, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordNot) { OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(REF_NOT, op0, o1)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordZero || methodName == VM_MagicNames.wordNull) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.zero()))); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordOne) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.fromIntZeroExtend(1)))); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordMax) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.max()))); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordIsNull) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.zero()))); OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond,op0.copyRO()); } else if (methodName == VM_MagicNames.wordIsZero) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.zero()))); OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond, op0.copyRO()); } else if (methodName == VM_MagicNames.wordIsMax) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.max()))); OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond, op0.copyRO()); } else if (methodName == VM_MagicNames.wordEQ) { OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordNE) { OPT_ConditionOperand cond = OPT_ConditionOperand.NOT_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordLT) { OPT_ConditionOperand cond = OPT_ConditionOperand.LOWER(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordLE) { OPT_ConditionOperand cond = OPT_ConditionOperand.LOWER_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordGT) { OPT_ConditionOperand cond = OPT_ConditionOperand.HIGHER(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordGE) { OPT_ConditionOperand cond = OPT_ConditionOperand.HIGHER_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsLT) { OPT_ConditionOperand cond = OPT_ConditionOperand.LESS(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsLE) { OPT_ConditionOperand cond = OPT_ConditionOperand.LESS_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsGT) { OPT_ConditionOperand cond = OPT_ConditionOperand.GREATER(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsGE) { OPT_ConditionOperand cond = OPT_ConditionOperand.GREATER_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordLsh) { OPT_Operand op2 = bc2ir.popInt(); OPT_Operand op1 = bc2ir.popAddress(); OPT_RegisterOperand res = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(REF_SHL, res, op1, op2)); bc2ir.push(res.copyD2U()); } else if (methodName == VM_MagicNames.wordRshl) { OPT_Operand op2 = bc2ir.popInt(); OPT_Operand op1 = bc2ir.popAddress(); OPT_RegisterOperand res = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(REF_USHR, res, op1, op2)); bc2ir.push(res.copyD2U()); } else if (methodName == VM_MagicNames.wordRsha) { OPT_Operand op2 = bc2ir.popInt(); OPT_Operand op1 = bc2ir.popAddress(); OPT_RegisterOperand res = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(REF_SHR, res, op1, op2)); bc2ir.push(res.copyD2U()); } else { return false; } return true; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/1cc6fa656ae5eb0b3049f6a9bfd9a6e94b399522/OPT_GenerateMagic.java/buggy/rvm/src/vm/compilers/optimizing/ir/conversions/bc2hir/OPT_GenerateMagic.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 1250, 2103, 5850, 21976, 19289, 12, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 4766, 6647, 16456, 67, 13842, 1042, 8859, 16, 4766, 6647, 8251, 67, 1305, 2404, 7917, 16, 8251, 67, 3641, 4918, 13, 288, 565, 8251, 67, 7534, 5378, 21265, 273, 7917, 18, 588, 1662, 2016, 5621, 565, 8251, 67, 7534, 25820, 273, 7917, 18, 588, 9102, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 747, 3639, 4918, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 2766, 16675, 13, 288, 3639, 16456, 67, 3996, 10265, 960, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 12, 2088, 559, 1769, 3639, 6533, 22, 481, 18, 6923, 11983, 12, 15972, 18, 2640, 12, 3217, 67, 22, 14142, 8267, 2482, 16, 960, 16, 6533, 22, 481, 18, 5120, 1702, 1435, 10019, 3639, 6533, 22, 481, 18, 6206, 12, 1574, 18, 3530, 40, 22, 57, 10663, 565, 289, 469, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 7170, 16675, 13, 288, 3639, 16456, 67, 3996, 10265, 960, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 12, 2088, 559, 1769, 3639, 6533, 22, 481, 18, 6923, 11983, 12, 15972, 18, 2640, 12, 3217, 67, 22, 14142, 62, 264, 2482, 16, 960, 16, 6533, 22, 481, 18, 5120, 1702, 1435, 10019, 3639, 6533, 22, 481, 18, 6206, 12, 1574, 18, 3530, 40, 22, 57, 10663, 565, 289, 469, 309, 261, 2039, 461, 422, 8251, 67, 19289, 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, 760, 1250, 2103, 5850, 21976, 19289, 12, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 4766, 6647, 16456, 67, 13842, 1042, 8859, 16, 4766, 6647, 8251, 67, 1305, 2404, 7917, 16, 8251, 67, 3641, 4918, 13, 288, 565, 8251, 67, 7534, 5378, 21265, 273, 7917, 18, 588, 1662, 2016, 5621, 565, 8251, 67, 7534, 25820, 273, 7917, 18, 588, 9102, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 747, 3639, 4918, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 2766, 16675, 13, 288, 3639, 16456, 67, 3996, 10265, 960, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 12, 2088, 559, 1769, 3639, 6533, 22, 481, 18, 6923, 11983, 12, 2 ]
"Can't find component " + component);
"Can't find component " + component);
public Object getProperty(String component, String propertyName) throws PropertyException { Object obj = null; Symbol symbol = symbolTable.get(component); if (symbol != null) { PropertySheet ps = symbol.getPropertySheet(); obj = ps.getRawNoReplacement(propertyName); } else { throw new PropertyException(null, propertyName, "Can't find component " + component); } return obj; }
52185 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52185/1e6515ee6eca03c12b6dd786af9302825b638188/ConfigurationManager.java/clean/src/sphinx4/edu/cmu/sphinx/util/props/ConfigurationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 3911, 12, 780, 1794, 16, 514, 5470, 13, 225, 202, 15069, 4276, 503, 288, 202, 921, 1081, 273, 446, 31, 3639, 8565, 3273, 273, 26086, 18, 588, 12, 4652, 1769, 3639, 309, 261, 7175, 480, 446, 13, 288, 5411, 4276, 8229, 4250, 273, 3273, 18, 588, 1396, 8229, 5621, 5411, 1081, 273, 4250, 18, 588, 4809, 2279, 15201, 12, 4468, 461, 1769, 3639, 289, 469, 288, 5411, 604, 394, 4276, 503, 12, 2011, 16, 5470, 16, 7734, 315, 2568, 1404, 1104, 1794, 315, 397, 1794, 1769, 3639, 289, 202, 2463, 1081, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 3911, 12, 780, 1794, 16, 514, 5470, 13, 225, 202, 15069, 4276, 503, 288, 202, 921, 1081, 273, 446, 31, 3639, 8565, 3273, 273, 26086, 18, 588, 12, 4652, 1769, 3639, 309, 261, 7175, 480, 446, 13, 288, 5411, 4276, 8229, 4250, 273, 3273, 18, 588, 1396, 8229, 5621, 5411, 1081, 273, 4250, 18, 588, 4809, 2279, 15201, 12, 4468, 461, 1769, 3639, 289, 469, 288, 5411, 604, 394, 4276, 503, 12, 2011, 16, 5470, 16, 7734, 315, 2568, 1404, 1104, 1794, 315, 397, 1794, 1769, 3639, 289, 202, 2463, 1081, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
out.writeObject(channel_name);
out.writeObject(channel_name);
public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(channel_name); }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/462c7e2ed6980678c603a434a8eb5bc2e6749ac2/TunnelHeader.java/clean/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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 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 ]
final byte parseForArrayElementTypeCode() {
final byte parseForArrayElementTypeCode() throws VM_PragmaUninterruptible {
final byte parseForArrayElementTypeCode() { if (VM.VerifyAssertions) VM.assert(val[0] == '['); return val[1]; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/4a987a25f93ceebb0f47a68989f48a184a7ef4ca/VM_Atom.java/buggy/rvm/src/vm/classLoader/VM_Atom.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1160, 1109, 1290, 1076, 1046, 15460, 1435, 1216, 8251, 67, 2050, 9454, 984, 31847, 1523, 288, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 18, 11231, 12, 1125, 63, 20, 65, 422, 8375, 1769, 565, 327, 1244, 63, 21, 15533, 225, 289, 2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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1160, 1109, 1290, 1076, 1046, 15460, 1435, 1216, 8251, 67, 2050, 9454, 984, 31847, 1523, 288, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 18, 11231, 12, 1125, 63, 20, 65, 422, 8375, 1769, 565, 327, 1244, 63, 21, 15533, 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 ]
handleSortByOverride(sortByStr);
handleSortByOverride(sortByStr);
public ZimbraQuery(String queryString, Mailbox mbox, byte[] types, SortBy searchOrder, boolean includeTrash, boolean includeSpam, int chunkSize) throws ParseException, ServiceException { mMbox = mbox; // // Step 1: parse the text using the JavaCC parser ZimbraQueryParser parser = new ZimbraQueryParser(new StringReader(queryString)); parser.init(new ZimbraAnalyzer(), mMbox); mClauses = parser.Parse(); String sortByStr = parser.getSortByStr(); if (sortByStr != null) handleSortByOverride(sortByStr); // // Step 2: build a parse tree and push all the "NOT's" down to the // bottom level -- this is because we cannot invert result sets if (ParseTree.SPEW) System.out.println("QueryString: "+queryString); ParseTree.Node pt = ParseTree.build(mClauses); if (ParseTree.SPEW) System.out.println("PT: "+pt.toString()); if (ParseTree.SPEW)System.out.println("Simplified:"); pt = pt.simplify(); if (ParseTree.SPEW)System.out.println("PT: "+pt.toString()); if (ParseTree.SPEW)System.out.println("Pushing nots down:"); pt.pushNotsDown(); if (ParseTree.SPEW)System.out.println("PT: "+pt.toString()); // // Store some variables that we'll need later mParseTree = pt; mSearchOrder = searchOrder; mTypes = types; mChunkSize = chunkSize; mOp = null; // // handle the special "sort:" tag in the search string if (mSortByOverride != null) { if (mLog.isDebugEnabled()) mLog.debug("Overriding SortBy parameter to execute ("+searchOrder.toString()+") w/ specification from QueryString: "+mSortByOverride.toString()); mSearchOrder = mSortByOverride; } // // Optimize the query BaseQuery head = getHead(); if (null != head) { // this generates all of the query operations mOp = mParseTree.getQueryOperation(); if (mLog.isDebugEnabled()) { mLog.debug("OP="+mOp.toString()); } // optimize the query down mOp = mOp.optimize(mMbox); if (mOp == null) { mOp = new NoTermQueryOperation(); } if (mLog.isDebugEnabled()) { mLog.debug("OPTIMIZED="+mOp.toString()); } // do spam/trash hackery! if (!includeTrash || !includeSpam) { if (!mOp.hasSpamTrashSetting()) { mOp = mOp.ensureSpamTrashSetting(mMbox, includeTrash, includeSpam); if (mLog.isDebugEnabled()) { mLog.debug("AFTERTS="+mOp.toString()); } mOp = mOp.optimize(mMbox); // optimize again now that we have the trash/spam setting } } } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/c2968386a64d285ddcd668a68b39b84d790490b4/ZimbraQuery.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/ZimbraQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2285, 381, 15397, 1138, 12, 780, 11337, 16, 11542, 2147, 312, 2147, 16, 1160, 8526, 1953, 16, 5928, 858, 1623, 2448, 16, 1250, 2341, 29420, 16, 1250, 2341, 3389, 301, 16, 509, 17791, 13, 225, 202, 15069, 10616, 16, 16489, 202, 95, 202, 202, 81, 49, 2147, 273, 312, 2147, 31, 9506, 202, 759, 202, 202, 759, 8693, 404, 30, 1109, 326, 977, 1450, 326, 5110, 6743, 2082, 3639, 2285, 381, 15397, 1138, 2678, 2082, 273, 394, 2285, 381, 15397, 1138, 2678, 12, 2704, 26227, 12, 2271, 780, 10019, 3639, 2082, 18, 2738, 12, 2704, 2285, 381, 15397, 12803, 9334, 312, 49, 2147, 1769, 3639, 312, 22434, 273, 2082, 18, 3201, 5621, 7734, 514, 14021, 1585, 273, 2082, 18, 588, 4416, 858, 1585, 5621, 3639, 309, 261, 3804, 858, 1585, 480, 446, 13, 540, 202, 4110, 4416, 858, 6618, 12, 3804, 858, 1585, 1769, 7734, 368, 3639, 368, 8693, 576, 30, 1361, 279, 1109, 2151, 471, 1817, 777, 326, 315, 4400, 1807, 6, 2588, 358, 326, 3639, 368, 5469, 1801, 1493, 333, 353, 2724, 732, 2780, 9848, 563, 1678, 540, 309, 261, 3201, 2471, 18, 23810, 59, 13, 2332, 18, 659, 18, 8222, 2932, 15276, 30, 13773, 2271, 780, 1769, 3639, 2884, 2471, 18, 907, 5818, 273, 2884, 2471, 18, 3510, 12, 81, 22434, 1769, 3639, 309, 261, 3201, 2471, 18, 23810, 59, 13, 2332, 18, 659, 18, 8222, 2932, 1856, 30, 13773, 337, 18, 10492, 10663, 3639, 309, 261, 3201, 2471, 18, 23810, 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, 2285, 381, 15397, 1138, 12, 780, 11337, 16, 11542, 2147, 312, 2147, 16, 1160, 8526, 1953, 16, 5928, 858, 1623, 2448, 16, 1250, 2341, 29420, 16, 1250, 2341, 3389, 301, 16, 509, 17791, 13, 225, 202, 15069, 10616, 16, 16489, 202, 95, 202, 202, 81, 49, 2147, 273, 312, 2147, 31, 9506, 202, 759, 202, 202, 759, 8693, 404, 30, 1109, 326, 977, 1450, 326, 5110, 6743, 2082, 3639, 2285, 381, 15397, 1138, 2678, 2082, 273, 394, 2285, 381, 15397, 1138, 2678, 12, 2704, 26227, 12, 2271, 780, 10019, 3639, 2082, 18, 2738, 12, 2704, 2285, 381, 15397, 12803, 9334, 312, 49, 2147, 1769, 3639, 312, 22434, 273, 2082, 18, 3201, 5621, 7734, 514, 14021, 1585, 2 ]
BodyPeriodTotal = 0; BodyTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod); ShadowLongPeriodTotal = 0; ShadowLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].avgPeriod); ShadowVeryShortPeriodTotal = 0; ShadowVeryShortTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].avgPeriod); NearPeriodTotal = 0; NearTrailingIdx = startIdx - 1 - (this.candleSettings[TA_CandleSettingType.TA_Near.ordinal()].avgPeriod);
public TA_RetCode CDLHANGINGMAN(int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[]) { double BodyPeriodTotal, ShadowLongPeriodTotal, ShadowVeryShortPeriodTotal, NearPeriodTotal; int i, outIdx, BodyTrailingIdx, ShadowLongTrailingIdx, ShadowVeryShortTrailingIdx, NearTrailingIdx, lookbackTotal; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLHANGINGMAN_Lookback(); if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } BodyPeriodTotal = 0; BodyTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod); ShadowLongPeriodTotal = 0; ShadowLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].avgPeriod); ShadowVeryShortPeriodTotal = 0; ShadowVeryShortTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].avgPeriod); NearPeriodTotal = 0; NearTrailingIdx = startIdx - 1 - (this.candleSettings[TA_CandleSettingType.TA_Near.ordinal()].avgPeriod); i = BodyTrailingIdx; while (i < startIdx) { BodyPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = ShadowLongTrailingIdx; while (i < startIdx) { ShadowLongPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = ShadowVeryShortTrailingIdx; while (i < startIdx) { ShadowVeryShortPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = NearTrailingIdx; while (i < startIdx - 1) { NearPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))); i++; } i = startIdx; outIdx = 0; do { if ((Math.abs(inClose[i] - inOpen[i])) < ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod) != 0.0 ? BodyPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) > ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].avgPeriod) != 0.0 ? ShadowLongPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) < ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].avgPeriod) != 0.0 ? ShadowVeryShortPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0)) && (((inClose[i]) < (inOpen[i])) ? (inClose[i]) : (inOpen[i])) >= inHigh[i - 1] - ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].factor) * ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) != 0.0 ? NearPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].avgPeriod) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0)))) / ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? 2.0 : 1.0))) outInteger[outIdx++] = -100; else outInteger[outIdx++] = 0; BodyPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[BodyTrailingIdx] - inOpen[BodyTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[BodyTrailingIdx] - inLow[BodyTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_BodyShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[BodyTrailingIdx] - (inClose[BodyTrailingIdx] >= inOpen[BodyTrailingIdx] ? inClose[BodyTrailingIdx] : inOpen[BodyTrailingIdx])) + ((inClose[BodyTrailingIdx] >= inOpen[BodyTrailingIdx] ? inOpen[BodyTrailingIdx] : inClose[BodyTrailingIdx]) - inLow[BodyTrailingIdx]) : 0))); ShadowLongPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[ShadowLongTrailingIdx] - inOpen[ShadowLongTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[ShadowLongTrailingIdx] - inLow[ShadowLongTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowLong .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[ShadowLongTrailingIdx] - (inClose[ShadowLongTrailingIdx] >= inOpen[ShadowLongTrailingIdx] ? inClose[ShadowLongTrailingIdx] : inOpen[ShadowLongTrailingIdx])) + ((inClose[ShadowLongTrailingIdx] >= inOpen[ShadowLongTrailingIdx] ? inOpen[ShadowLongTrailingIdx] : inClose[ShadowLongTrailingIdx]) - inLow[ShadowLongTrailingIdx]) : 0))); ShadowVeryShortPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i] - inOpen[i])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i] - inLow[i]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i] - (inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i])) + ((inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i]) - inLow[i]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[ShadowVeryShortTrailingIdx] - inOpen[ShadowVeryShortTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[ShadowVeryShortTrailingIdx] - inLow[ShadowVeryShortTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_ShadowVeryShort .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[ShadowVeryShortTrailingIdx] - (inClose[ShadowVeryShortTrailingIdx] >= inOpen[ShadowVeryShortTrailingIdx] ? inClose[ShadowVeryShortTrailingIdx] : inOpen[ShadowVeryShortTrailingIdx])) + ((inClose[ShadowVeryShortTrailingIdx] >= inOpen[ShadowVeryShortTrailingIdx] ? inOpen[ShadowVeryShortTrailingIdx] : inClose[ShadowVeryShortTrailingIdx]) - inLow[ShadowVeryShortTrailingIdx]) : 0))); NearPeriodTotal += ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[i - 1] - inOpen[i - 1])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[i - 1] - inLow[i - 1]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[i - 1] - (inClose[i - 1] >= inOpen[i - 1] ? inClose[i - 1] : inOpen[i - 1])) + ((inClose[i - 1] >= inOpen[i - 1] ? inOpen[i - 1] : inClose[i - 1]) - inLow[i - 1]) : 0))) - ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_RealBody ? (Math .abs(inClose[NearTrailingIdx] - inOpen[NearTrailingIdx])) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_HighLow ? (inHigh[NearTrailingIdx] - inLow[NearTrailingIdx]) : ((this.candleSettings[TA_CandleSettingType.TA_Near .ordinal()].rangeType) == TA_RangeType.TA_RangeType_Shadows ? (inHigh[NearTrailingIdx] - (inClose[NearTrailingIdx] >= inOpen[NearTrailingIdx] ? inClose[NearTrailingIdx] : inOpen[NearTrailingIdx])) + ((inClose[NearTrailingIdx] >= inOpen[NearTrailingIdx] ? inOpen[NearTrailingIdx] : inClose[NearTrailingIdx]) - inLow[NearTrailingIdx]) : 0))); i++; BodyTrailingIdx++; ShadowLongTrailingIdx++; ShadowVeryShortTrailingIdx++; NearTrailingIdx++; } while (i <= endIdx); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode.TA_SUCCESS; }
2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/8c26ea7a2c59f9148f3db0db7ab39ed48689e601/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 385, 8914, 44, 3388, 1360, 9560, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 3678, 63, 6487, 1082, 202, 9056, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 63, 5717, 288, 202, 202, 9056, 5652, 5027, 5269, 16, 24915, 3708, 5027, 5269, 16, 24915, 58, 627, 4897, 5027, 5269, 16, 423, 2091, 5027, 5269, 31, 202, 202, 474, 277, 16, 596, 4223, 16, 5652, 16808, 4223, 16, 24915, 3708, 16808, 4223, 16, 24915, 58, 627, 4897, 16808, 4223, 16, 423, 2091, 16808, 4223, 16, 2324, 823, 5269, 31, 202, 202, 430, 261, 1937, 4223, 411, 374, 13, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 202, 202, 430, 14015, 409, 4223, 411, 374, 13, 747, 261, 409, 4223, 411, 27108, 3719, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 202, 202, 7330, 823, 5269, 273, 385, 8914, 44, 3388, 1360, 9560, 67, 9794, 823, 5621, 202, 202, 430, 261, 1937, 4223, 411, 2324, 823, 5269, 13, 1082, 202, 1937, 4223, 273, 2324, 823, 5269, 31, 202, 202, 430, 261, 1937, 4223, 405, 679, 4223, 13, 288, 1082, 202, 659, 24059, 4223, 18, 1132, 273, 374, 31, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 385, 8914, 44, 3388, 1360, 9560, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 3678, 63, 6487, 1082, 202, 9056, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 509, 596, 4522, 63, 5717, 288, 202, 202, 9056, 5652, 5027, 5269, 16, 24915, 3708, 5027, 5269, 16, 24915, 58, 627, 4897, 5027, 5269, 16, 423, 2091, 5027, 5269, 31, 202, 202, 474, 277, 16, 596, 4223, 16, 5652, 16808, 4223, 16, 24915, 3708, 16808, 4223, 16, 24915, 58, 627, 4897, 16808, 4223, 16, 423, 2091, 16808, 4223, 16, 2324, 823, 2 ]
log.logDetailed(APP_NAME, "Main window is created.");
log.logDetailed(APP_NAME, "Main window is created.");
public static void main (String [] a) throws KettleException { EnvUtil.environmentInit(); ArrayList args = new ArrayList(); for (int i=0;i<a.length;i++) args.add(a[i]); Display display = new Display(); Splash splash = new Splash(display); // System.out.println("Welcome to Chef!"); StringBuffer optionRepname, optionUsername, optionPassword, optionJobname, optionFilename, optionDirname, optionLogfile; CommandLineOption options[] = new CommandLineOption[] { new CommandLineOption("rep", "Repository name", optionRepname=new StringBuffer()), new CommandLineOption("user", "Repository username", optionUsername=new StringBuffer()), new CommandLineOption("pass", "Repository password", optionPassword=new StringBuffer()), new CommandLineOption("job", "The name of the job to load", optionJobname=new StringBuffer()), new CommandLineOption("dir", "The directory (don't forget the leading /)", optionDirname=new StringBuffer()), new CommandLineOption("file", "The filename (Transformation in XML) to launch", optionFilename=new StringBuffer()), new CommandLineOption("logfile", "The logging file to write to", optionLogfile=new StringBuffer()), new CommandLineOption("log", "The logging file to write to (deprecated)", optionLogfile=new StringBuffer(), false, true), }; // Parse the options... CommandLineOption.parseArguments(args, options); String kettleRepname = Const.getEnvironmentVariable("KETTLE_REPOSITORY", null); String kettleUsername = Const.getEnvironmentVariable("KETTLE_USER", null); String kettlePassword = Const.getEnvironmentVariable("KETTLE_PASSWORD", null); if (kettleRepname !=null && kettleRepname .length()>0) optionRepname = new StringBuffer(kettleRepname); if (kettleUsername!=null && kettleUsername.length()>0) optionUsername = new StringBuffer(kettleUsername); if (kettlePassword!=null && kettlePassword.length()>0) optionPassword = new StringBuffer(kettlePassword); Locale.setDefault(Const.DEFAULT_LOCALE); LogWriter log; if (Const.isEmpty(optionLogfile)) { log=LogWriter.getInstance(Const.SPOON_LOG_FILE, false, LogWriter.LOG_LEVEL_BASIC); } else { log=LogWriter.getInstance( optionLogfile.toString(), true, LogWriter.LOG_LEVEL_BASIC ); } if (log.getRealFilename()!=null) log.logBasic(APP_NAME, "Logging goes to "+log.getRealFilename()); /* Load the plugins etc.*/ StepLoader stloader = StepLoader.getInstance(); if (!stloader.read()) { log.logError(APP_NAME, "Error loading steps... halting Chef!"); return; } /* Load the plugins etc.*/ JobEntryLoader jeloader = JobEntryLoader.getInstance(); if (!jeloader.read()) { log.logError(APP_NAME, "Error loading job entries & plugins... halting Chef!"); return; } final Chef win = new Chef(log, display, null); win.setDestroy(true); log.logDetailed(APP_NAME, "Main window is created."); RepositoryMeta repinfo = null; UserInfo userinfo = null; if (Const.isEmpty(optionRepname) && Const.isEmpty(optionFilename) && win.props.showRepositoriesDialogAtStartup()) { log.logDetailed(APP_NAME, "Asking for repository"); int perms[] = new int[] { PermissionMeta.TYPE_PERMISSION_JOB }; splash.hide(); RepositoriesDialog rd = new RepositoriesDialog(win.disp, SWT.NONE, perms, "Chef"); if (rd.open()) { repinfo = rd.getRepository(); userinfo = rd.getUser(); if (!userinfo.useJobs()) { MessageBox mb = new MessageBox(win.shell, SWT.OK | SWT.ICON_ERROR ); mb.setMessage("Sorry, this repository user can't work with jobs from the repository."); mb.setText("Error!"); mb.open(); userinfo = null; repinfo = null; } } else { // Exit point: user pressed CANCEL! if (rd.isCancelled()) { splash.dispose(); win.quitFile(); return; } } } try { // Read kettle job specified on command-line? if (!Const.isEmpty(optionRepname) || !Const.isEmpty(optionFilename)) { if (!Const.isEmpty(optionRepname)) { RepositoriesMeta repsinfo = new RepositoriesMeta(log); if (repsinfo.readData()) { repinfo = repsinfo.findRepository(optionRepname.toString()); if (repinfo!=null) { // Define and connect to the repository... win.rep = new Repository(log, repinfo, userinfo); if (win.rep.connect("Chef")) { if (Const.isEmpty(optionDirname)) optionDirname=new StringBuffer(RepositoryDirectory.DIRECTORY_SEPARATOR); // Check username, password win.rep.userinfo = new UserInfo(win.rep, optionUsername.toString(), optionPassword.toString()); if (win.rep.getUserInfo().getID()>0) { RepositoryDirectory repdir = win.rep.getDirectoryTree().findDirectory(optionDirname.toString()); win.jobMeta = new JobMeta(log, win.rep, optionJobname.toString(), repdir); win.setFilename(optionFilename.toString()); win.jobMeta.clearChanged(); } else { log.logError(APP_NAME, "Can't verify username and password."); win.rep=null; } } else { log.logError(APP_NAME, "Can't connect to the repository."); } } else { log.logError(APP_NAME, "No repository provided, can't load the job."); } } else { log.logError(APP_NAME, "No repositories defined on this system."); } } else if (!Const.isEmpty(optionFilename)) { win.jobMeta = new JobMeta(log, optionFilename.toString()); win.jobMeta.clearChanged(); } } // Nothing on commandline... else { // Can we connect to the repository? if (repinfo!=null && userinfo!=null) { win.rep = new Repository(log, repinfo, userinfo); if (!win.rep.connect("Spoon")) { win.rep = null; } } if (win.props.openLastFile()) { String lastfiles[] = win.props.getLastFiles(); String lastdirs[] = win.props.getLastDirs(); boolean lasttypes[] = win.props.getLastTypes(); String lastrepos[] = win.props.getLastRepositories(); if (lastfiles.length>0) { boolean use_repository = win.rep!=null; if (use_repository || !lasttypes[0]) { if (win.rep!=null) // load from repository... { if (win.rep.getName().equalsIgnoreCase(lastrepos[0])) { RepositoryDirectory repdir = win.rep.getDirectoryTree().findDirectory(lastdirs[0]); if (repdir!=null) { log.logDetailed(APP_NAME, "Auto loading job ["+lastfiles[0]+"] from repository directory ["+repdir.getPath()+"]"); // win.jobinfo = new JobInfo(log, win.rep, lastfiles[0], repdir); JobLoadProgressDialog jlpd = new JobLoadProgressDialog(log, win.props, win.shell, win.rep, lastfiles[0], repdir); JobMeta jobInfo = jlpd.open(); if (jobInfo!=null) { win.jobMeta = jobInfo; win.setFilename(lastfiles[0]); } } } } else // Load from XML? { win.jobMeta = new JobMeta(log, lastfiles[0]); } win.setFilename(lastfiles[0]); } win.jobMeta.clearChanged(); } } } } catch(KettleException ke) { log.logError(APP_NAME, "Error loading job: "+ke.getMessage()); } win.open (); splash.dispose(); while (!win.isDisposed ()) { if (!win.readAndDispatch ()) win.sleep (); } win.dispose(); log.logBasic(APP_NAME, APP_NAME+" has ended."); // Close the logfile... log.close(); // Kill all remaining things in this VM! System.exit(0); }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/466ea40abc95c39a5103fe3a9a74262a61dce808/Chef.java/buggy/src/be/ibridge/kettle/chef/Chef.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 261, 780, 5378, 279, 13, 1216, 1475, 278, 5929, 503, 202, 95, 202, 202, 3491, 1304, 18, 10274, 2570, 5621, 202, 565, 2407, 833, 273, 394, 2407, 5621, 202, 565, 364, 261, 474, 277, 33, 20, 31, 77, 32, 69, 18, 2469, 31, 77, 27245, 833, 18, 1289, 12, 69, 63, 77, 19226, 202, 202, 4236, 2562, 273, 394, 9311, 5621, 202, 202, 16881, 961, 6121, 961, 273, 394, 29356, 12, 5417, 1769, 9506, 202, 759, 2332, 18, 659, 18, 8222, 2932, 59, 16312, 358, 31296, 4442, 1769, 202, 202, 780, 1892, 1456, 18933, 529, 16, 1456, 8575, 16, 1456, 3913, 16, 1456, 2278, 529, 16, 1456, 5359, 16, 1456, 1621, 529, 16, 1456, 1343, 768, 31, 202, 202, 21391, 1895, 702, 8526, 273, 394, 15893, 1895, 8526, 2398, 288, 9506, 565, 394, 15893, 1895, 2932, 14462, 3113, 315, 3305, 508, 3113, 1456, 18933, 529, 33, 2704, 6674, 1435, 3631, 9506, 565, 394, 15893, 1895, 2932, 1355, 3113, 315, 3305, 2718, 3113, 1456, 8575, 33, 2704, 6674, 1435, 3631, 9506, 565, 394, 15893, 1895, 2932, 5466, 3113, 315, 3305, 2201, 3113, 1456, 3913, 33, 2704, 6674, 1435, 3631, 9506, 565, 394, 15893, 1895, 2932, 4688, 3113, 315, 1986, 508, 434, 326, 1719, 358, 1262, 3113, 1456, 2278, 529, 33, 2704, 6674, 1435, 3631, 9506, 565, 394, 15893, 1895, 2932, 1214, 3113, 315, 1986, 1867, 261, 19752, 1404, 13776, 326, 7676, 342, 2225, 16, 1456, 1621, 529, 33, 2704, 6674, 1435, 3631, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 261, 780, 5378, 279, 13, 1216, 1475, 278, 5929, 503, 202, 95, 202, 202, 3491, 1304, 18, 10274, 2570, 5621, 202, 565, 2407, 833, 273, 394, 2407, 5621, 202, 565, 364, 261, 474, 277, 33, 20, 31, 77, 32, 69, 18, 2469, 31, 77, 27245, 833, 18, 1289, 12, 69, 63, 77, 19226, 202, 202, 4236, 2562, 273, 394, 9311, 5621, 202, 202, 16881, 961, 6121, 961, 273, 394, 29356, 12, 5417, 1769, 9506, 202, 759, 2332, 18, 659, 18, 8222, 2932, 59, 16312, 358, 31296, 4442, 1769, 202, 202, 780, 1892, 1456, 18933, 529, 16, 1456, 8575, 16, 1456, 3913, 16, 1456, 2278, 529, 16, 1456, 5359, 16, 1456, 1621, 529, 16, 2 ]
try { setParamScope((String) evalAttr("paramScope", getParamScopeExpr(), String.class)); } catch (NullAttributeException ex) { }
if ((string = EvalHelper.evalString("paramProperty", getParamPropertyExpr(), this, pageContext)) != null) setParamProperty(string);
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAction((String) evalAttr("action", getActionExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAnchor((String) evalAttr("anchor", getAnchorExpr(), String.class)); } catch (NullAttributeException ex) { } try { setForward((String) evalAttr("forward", getForwardExpr(), String.class)); } catch (NullAttributeException ex) { } try { setHref((String) evalAttr("href", getHrefExpr(), String.class)); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIndexId((String) evalAttr("indexId", getIndexIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setLinkName((String) evalAttr("linkName", getLinkNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setPage((String) evalAttr("page", getPageExpr(), String.class)); } catch (NullAttributeException ex) { } try { setParamId((String) evalAttr("paramId", getParamIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setParamName((String) evalAttr("paramName", getParamNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setParamProperty((String) evalAttr("paramProperty", getParamPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setParamScope((String) evalAttr("paramScope", getParamScopeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setScope((String) evalAttr("scope", getScopeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTarget((String) evalAttr("target", getTargetExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTransaction(((Boolean) evalAttr("transaction", getTransactionExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/022bd23c954cf673e53731849d562b3c295473f1/ELLinkTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELLinkTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 22517, 12443, 780, 13, 5302, 3843, 2932, 1128, 3113, 12473, 4742, 9334, 4766, 3639, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 11605, 12443, 780, 13, 5302, 3843, 2932, 16215, 3113, 336, 11605, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 8514, 12443, 780, 13, 5302, 3843, 2932, 11565, 3113, 336, 8514, 4742, 9334, 29159, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 15962, 12443, 780, 13, 5302, 3843, 2932, 7547, 3113, 7628, 1734, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 24860, 548, 12443, 780, 13, 5302, 3843, 2932, 1615, 548, 3113, 8088, 548, 4742, 9334, 29159, 514, 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, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 22517, 12443, 780, 13, 5302, 3843, 2932, 1128, 3113, 12473, 4742, 9334, 4766, 3639, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 11605, 12443, 780, 13, 5302, 3843, 2932, 16215, 3113, 336, 11605, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 2 ]
return (net.suberic.crypto.EncryptionManager.checkEncryptionType((MimeMessage) msgInfo.getMessage()) != null);
EncryptionUtils utils = getEncryptionUtils(); if (utils != null) { return true; } else return false;
public boolean isEncrypted() throws MessagingException { // FIXME return (net.suberic.crypto.EncryptionManager.checkEncryptionType((MimeMessage) msgInfo.getMessage()) != null); }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/5ce8823d091ec5be46b22baaf589bd0fd36ba948/MessageCryptoInfo.java/clean/net/suberic/pooka/MessageCryptoInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 14678, 1435, 1216, 23794, 503, 288, 565, 368, 9852, 282, 14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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 14678, 1435, 1216, 23794, 503, 288, 565, 368, 9852, 282, 14585, 1989, 2990, 273, 336, 7894, 1989, 5621, 309, 261, 5471, 480, 446, 13, 288, 225, 327, 638, 31, 289, 469, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
item.imageCanvasGC.drawImage(offScreenImage, 0, 0);
void animateLoop(IProgressMonitor monitor) { // Create an off-screen image to draw on, and a GC to draw with. // Both are disposed after the animation. if (items.size() == 0) return; AnimationItem[] animationItems = getAnimationItems(); boolean startErrorState = showingError; Display display = animationItems[0].getControl().getDisplay(); ImageData[] imageDataArray = getImageData(); ImageData imageData = imageDataArray[0]; Image image = JobProgressManager.getInstance().getImage(imageData); int imageDataIndex = 0; ImageLoader loader = getLoader(); if (display.isDisposed()) { monitor.setCanceled(true); setAnimated(false); return; } Image offScreenImage = new Image( display, loader.logicalScreenWidth, loader.logicalScreenHeight); GC offScreenImageGC = new GC(offScreenImage); try { // Fill the off-screen image with the background color of the canvas. offScreenImageGC.setBackground(background); offScreenImageGC.fillRectangle( 0, 0, loader.logicalScreenWidth, loader.logicalScreenHeight); // Draw the current image onto the off-screen image. offScreenImageGC.drawImage( image, 0, 0, imageData.width, imageData.height, imageData.x, imageData.y, imageData.width, imageData.height); if (loader.repeatCount > 0) { while (isAnimated() && !monitor.isCanceled() && (startErrorState == showingError)) { if (display.isDisposed()) { monitor.setCanceled(true); continue; } if (imageData.disposalMethod == SWT.DM_FILL_BACKGROUND) { // Fill with the background color before drawing. Color bgColor = null; int backgroundPixel = loader.backgroundPixel; if (backgroundPixel != -1) { // Fill with the background color. RGB backgroundRGB = imageData.palette.getRGB(backgroundPixel); bgColor = new Color(null, backgroundRGB); } try { offScreenImageGC.setBackground( bgColor != null ? bgColor : background); offScreenImageGC.fillRectangle( imageData.x, imageData.y, imageData.width, imageData.height); } finally { if (bgColor != null) bgColor.dispose(); } } else if ( imageData.disposalMethod == SWT.DM_FILL_PREVIOUS) { // Restore the previous image before drawing. offScreenImageGC.drawImage( image, 0, 0, imageData.width, imageData.height, imageData.x, imageData.y, imageData.width, imageData.height); } // Get the next image data. imageDataIndex = (imageDataIndex + 1) % imageDataArray.length; imageData = imageDataArray[imageDataIndex]; image.dispose(); image = new Image(display, imageData); // Draw the new image data. offScreenImageGC.drawImage( image, 0, 0, imageData.width, imageData.height, imageData.x, imageData.y, imageData.width, imageData.height); boolean refreshItems = false; for (int i = 0; i < animationItems.length; i++) { AnimationItem item = animationItems[i]; if (item.imageCanvasGC.isDisposed()) { refreshItems = true; continue; } // Draw the off-screen image to the screen. item.imageCanvasGC.drawImage(offScreenImage, 0, 0); } if (refreshItems) animationItems = getAnimationItems(); // Sleep for the specified delay time before drawing again. try { Thread.sleep(visibleDelay(imageData.delayTime * 10)); } catch (InterruptedException e) { } } } } finally { image.dispose(); offScreenImage.dispose(); offScreenImageGC.dispose(); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/4e2d6cb95ed1b15963cfd0327c709ad8ca53c4b5/AnimationManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 14671, 6452, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 759, 1788, 392, 3397, 17, 9252, 1316, 358, 3724, 603, 16, 471, 279, 15085, 358, 3724, 598, 18, 202, 202, 759, 19118, 854, 1015, 7423, 1839, 326, 8794, 18, 202, 202, 430, 261, 3319, 18, 1467, 1435, 422, 374, 13, 1082, 202, 2463, 31, 202, 202, 10816, 1180, 8526, 8794, 3126, 273, 336, 10816, 3126, 5621, 202, 202, 6494, 787, 668, 1119, 273, 17253, 668, 31, 202, 202, 4236, 2562, 273, 8794, 3126, 63, 20, 8009, 588, 3367, 7675, 588, 4236, 5621, 202, 202, 2040, 751, 8526, 26229, 1076, 273, 10567, 751, 5621, 202, 202, 2040, 751, 26229, 273, 26229, 1076, 63, 20, 15533, 202, 202, 2040, 1316, 273, 3956, 5491, 1318, 18, 588, 1442, 7675, 588, 2040, 12, 2730, 751, 1769, 202, 202, 474, 26229, 1016, 273, 374, 31, 202, 202, 2040, 2886, 4088, 273, 336, 2886, 5621, 202, 202, 430, 261, 5417, 18, 291, 1669, 7423, 10756, 288, 1082, 202, 10259, 18, 542, 23163, 12, 3767, 1769, 1082, 202, 542, 979, 17275, 12, 5743, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 2040, 3397, 7956, 2040, 273, 1082, 202, 2704, 3421, 12, 9506, 202, 5417, 16, 9506, 202, 6714, 18, 20300, 7956, 2384, 16, 9506, 202, 6714, 18, 20300, 7956, 2686, 1769, 202, 202, 15396, 3397, 7956, 2040, 15396, 273, 394, 15085, 12, 3674, 7956, 2040, 1769, 202, 202, 698, 288, 1082, 202, 759, 14192, 326, 3397, 17, 9252, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 14671, 6452, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 759, 1788, 392, 3397, 17, 9252, 1316, 358, 3724, 603, 16, 471, 279, 15085, 358, 3724, 598, 18, 202, 202, 759, 19118, 854, 1015, 7423, 1839, 326, 8794, 18, 202, 202, 430, 261, 3319, 18, 1467, 1435, 422, 374, 13, 1082, 202, 2463, 31, 202, 202, 10816, 1180, 8526, 8794, 3126, 273, 336, 10816, 3126, 5621, 202, 202, 6494, 787, 668, 1119, 273, 17253, 668, 31, 202, 202, 4236, 2562, 273, 8794, 3126, 63, 20, 8009, 588, 3367, 7675, 588, 4236, 5621, 202, 202, 2040, 751, 8526, 26229, 1076, 273, 10567, 751, 5621, 202, 202, 2040, 751, 26229, 273, 26229, 1076, 63, 20, 15533, 202, 2 ]
while (optNode != null && argsList.size() != 0) { ((AssignableNode)optNode.getHeadNode()).assign(ruby, recv, argsList.getRuby(0), true); argsList.inc(1);
while (optNode != null && args.size() != 0) { ((AssignableNode)optNode.getHeadNode()).assign(ruby, recv, args.getRuby(0), true); args.inc(1);
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby.getRubyScope().push(); if (getRefValue() != null) { // savedCref = ruby.getCRef(); s.a. ruby.setCRef(getRefValue()); ruby.getRubyFrame().setCbase(getRefValue()); } if (getTable() != null) { // ? +++ // List tmpList = Collections.nCopies(body.nd_tbl()[0].intValue() + 1, getRuby().getNil()); // ? --- // localVarsList = new ShiftableList(new ArrayList(tmpList)); // localVarsList.set(0, body); // localVarsList.shift(1); localVarsList = new RubyPointer(ruby.getNil(), getTable().getId(0).intValue() + 1); localVarsList.set(0, this); // +++ // localVarsList.set(3, argsList, argsList.size()); // --- localVarsList.inc(); ruby.getRubyScope().setLocalVars(localVarsList); ruby.getRubyScope().setLocalTbl(getTable()); } else { localVarsList = ruby.getRubyScope().getLocalVars(); ruby.getRubyScope().setLocalVars(null); ruby.getRubyScope().setLocalTbl(null); } Node body = getNextNode(); RubyVarmap.push(ruby); // PUSH_TAG(PROT_FUNC); RubyObject result = ruby.getNil(); try { Node node = null; int i; if (body.getType() == Constants.NODE_ARGS) { node = body; body = null; } else if (body.getType() == Constants.NODE_BLOCK) { node = body.getHeadNode(); body = body.getNextNode(); } if (node != null) { if (node.getType() != Constants.NODE_ARGS) { // rb_bug("no argument-node"); } i = node.getCount(); if (i > (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + i + ")"); } if (node.getRest() == -1) { int opt = i; Node optNode = node.getOptNode(); while (optNode != null) { opt++; optNode = optNode.getNextNode(); } if (opt < (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + opt + ")"); } ruby.getRubyFrame().setArgs(localVarsList != null ? localVarsList.getPointer(2) : null); } if (localVarsList != null) { if (i > 0) { localVarsList.inc(2); for (int j = 0; j < i; j++ ) { localVarsList.set(j, argsList.get(j)); } localVarsList.dec(2); } argsList.inc(i); if (node.getOptNode() != null) { Node optNode = node.getOptNode(); while (optNode != null && argsList.size() != 0) { ((AssignableNode)optNode.getHeadNode()).assign(ruby, recv, argsList.getRuby(0), true); argsList.inc(1); optNode = optNode.getNextNode(); } recv.eval(optNode); } if (node.getRest() >= 0) { RubyArray array = null; if (argsList.size() > 0) { array = RubyArray.m_newArray(ruby, argsList); } else { array = RubyArray.m_newArray(ruby, 0); } localVarsList.set(node.getRest(), array); } } } result = recv.eval(body); } catch (ReturnException rExcptn) { } RubyVarmap.pop(ruby); ruby.getRubyScope().pop(); ruby.setCRef(savedCref); return result; }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/buggy/org/jruby/nodes/ScopeNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 745, 12, 54, 10340, 22155, 16, 19817, 921, 10665, 16, 19817, 548, 612, 16, 19817, 921, 8526, 833, 16, 1250, 1158, 8051, 13, 288, 3639, 385, 1957, 907, 5198, 39, 1734, 273, 22155, 18, 588, 39, 1957, 5621, 368, 965, 15, 273, 446, 31, 3639, 368, 5848, 8526, 1191, 5555, 273, 446, 31, 7734, 19817, 4926, 833, 682, 273, 394, 19817, 4926, 12, 1968, 1769, 3639, 19817, 4926, 1191, 5555, 682, 273, 446, 31, 7734, 22155, 18, 588, 54, 10340, 3876, 7675, 6206, 5621, 7734, 309, 261, 588, 30556, 1435, 480, 446, 13, 288, 5411, 368, 5198, 39, 1734, 273, 22155, 18, 588, 39, 1957, 5621, 272, 18, 69, 18, 5411, 22155, 18, 542, 39, 1957, 12, 588, 30556, 10663, 5411, 22155, 18, 588, 54, 10340, 3219, 7675, 542, 39, 1969, 12, 588, 30556, 10663, 3639, 289, 3639, 309, 261, 588, 1388, 1435, 480, 446, 13, 288, 13491, 368, 692, 965, 15, 5411, 368, 987, 1853, 682, 273, 5737, 18, 82, 15670, 12, 3432, 18, 4880, 67, 16187, 1435, 63, 20, 8009, 474, 620, 1435, 397, 404, 16, 4170, 10340, 7675, 588, 12616, 10663, 5411, 368, 692, 9948, 5411, 368, 1191, 5555, 682, 273, 394, 2638, 430, 2121, 682, 12, 2704, 2407, 12, 5645, 682, 10019, 5411, 368, 1191, 5555, 682, 18, 542, 12, 20, 16, 1417, 1769, 5411, 368, 1191, 5555, 682, 18, 4012, 12, 21, 1769, 13491, 1191, 5555, 682, 273, 394, 19817, 4926, 12, 27768, 18, 588, 12616, 9334, 5638, 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, 19817, 921, 745, 12, 54, 10340, 22155, 16, 19817, 921, 10665, 16, 19817, 548, 612, 16, 19817, 921, 8526, 833, 16, 1250, 1158, 8051, 13, 288, 3639, 385, 1957, 907, 5198, 39, 1734, 273, 22155, 18, 588, 39, 1957, 5621, 368, 965, 15, 273, 446, 31, 3639, 368, 5848, 8526, 1191, 5555, 273, 446, 31, 7734, 19817, 4926, 833, 682, 273, 394, 19817, 4926, 12, 1968, 1769, 3639, 19817, 4926, 1191, 5555, 682, 273, 446, 31, 7734, 22155, 18, 588, 54, 10340, 3876, 7675, 6206, 5621, 7734, 309, 261, 588, 30556, 1435, 480, 446, 13, 288, 5411, 368, 5198, 39, 1734, 273, 22155, 18, 588, 39, 1957, 5621, 272, 18, 69, 18, 5411, 22155, 18, 542, 39, 2 ]
protected void fdOpen(int fd) { switch (fd) { case 0 : inStream = new RubyInputStream(getRuntime().getInputStream()); break; case 1 : outStream = getRuntime().getOutputStream(); break; case 2 : outStream = getRuntime().getErrorStream(); break; default : throw new IOError(getRuntime(), "Bad file descriptor"); }
public static IRubyObject fdOpen(Ruby ruby, int descriptor) { return new RubyIO(ruby, descriptor);
protected void fdOpen(int fd) { switch (fd) { case 0 : inStream = new RubyInputStream(getRuntime().getInputStream()); break; case 1 : outStream = getRuntime().getOutputStream(); break; case 2 : outStream = getRuntime().getErrorStream(); break; default : throw new IOError(getRuntime(), "Bad file descriptor"); } }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/4c689a812e20d4fcf2da0cdc9b527b00cc1960ef/RubyIO.java/buggy/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5194, 3678, 12, 474, 5194, 13, 288, 3639, 1620, 261, 8313, 13, 288, 5411, 648, 374, 294, 7734, 28987, 273, 394, 19817, 4348, 12, 588, 5576, 7675, 588, 4348, 10663, 7734, 898, 31, 5411, 648, 404, 294, 7734, 28997, 273, 18814, 7675, 588, 4632, 5621, 7734, 898, 31, 5411, 648, 576, 294, 7734, 28997, 273, 18814, 7675, 588, 668, 1228, 5621, 7734, 898, 31, 5411, 805, 294, 7734, 604, 394, 8340, 12, 588, 5576, 9334, 315, 6434, 585, 4950, 8863, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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294, 7734, 28987, 273, 394, 19817, 4348, 12, 588, 5576, 7675, 588, 4348, 10663, 7734, 898, 31, 5411, 648, 404, 294, 7734, 28997, 273, 18814, 7675, 588, 4632, 5621, 7734, 898, 31, 5411, 648, 576, 294, 7734, 28997, 273, 18814, 7675, 588, 668, 1228, 5621, 7734, 898, 31, 5411, 805, 294, 7734, 604, 394, 8340, 12, 588, 5576, 9334, 315, 6434, 585, 4950, 8863, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return nilString(getRuntime());
return getRuntime().getNil();
public RubyString downcase_bang() { String result = getValue().toLowerCase(); if (result.equals(getValue())) { return nilString(getRuntime()); } setValue(result); return this; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/RubyString.java/clean/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 780, 21662, 67, 70, 539, 1435, 288, 3639, 514, 563, 273, 2366, 7675, 869, 5630, 5621, 3639, 309, 261, 2088, 18, 14963, 12, 24805, 1435, 3719, 288, 5411, 327, 18814, 7675, 588, 12616, 5621, 3639, 289, 202, 202, 542, 620, 12, 2088, 1769, 202, 202, 2463, 333, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 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, 19817, 780, 21662, 67, 70, 539, 1435, 288, 3639, 514, 563, 273, 2366, 7675, 869, 5630, 5621, 3639, 309, 261, 2088, 18, 14963, 12, 24805, 1435, 3719, 288, 5411, 327, 18814, 7675, 588, 12616, 5621, 3639, 289, 202, 202, 542, 620, 12, 2088, 1769, 202, 202, 2463, 333, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
List children = getKettleVariablesWithParent(thread); for (int i=0;i<children.size();i++) { Thread child = (Thread)children.get(i); removeKettleVariables(child); } map.remove(thread);
removeKettleVariables(thread, 1);
public void removeKettleVariables(Thread thread) { List children = getKettleVariablesWithParent(thread); for (int i=0;i<children.size();i++) { Thread child = (Thread)children.get(i); // System.out.println("--> removing child #"+i+"/"+children.size()+" ["+child+"] for thread ["+thread+"]"); removeKettleVariables(child); } map.remove(thread); }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/7d32172925db51f9b170e33071270f7769b1d080/LocalVariables.java/buggy/kettle/src/be/ibridge/kettle/core/LocalVariables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 47, 278, 5929, 6158, 12, 3830, 2650, 13, 565, 288, 3639, 987, 2325, 273, 16566, 278, 5929, 6158, 1190, 3054, 12, 5930, 1769, 3639, 364, 261, 474, 277, 33, 20, 31, 77, 32, 5906, 18, 1467, 5621, 77, 27245, 3639, 288, 5411, 4884, 1151, 273, 261, 3830, 13, 5906, 18, 588, 12, 77, 1769, 5411,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 47, 278, 5929, 6158, 12, 3830, 2650, 13, 565, 288, 3639, 987, 2325, 273, 16566, 278, 5929, 6158, 1190, 3054, 12, 5930, 1769, 3639, 364, 261, 474, 277, 33, 20, 31, 77, 32, 5906, 18, 1467, 5621, 77, 27245, 3639, 288, 5411, 4884, 1151, 273, 261, 3830, 13, 5906, 18, 588, 12, 77, 1769, 5411, 368, 2332, 18, 659, 18, 8222, 2932, 413, 34, 9427, 1151, 31526, 15, 77, 9078, 4898, 15, 5906, 18, 1467, 1435, 9078, 8247, 15, 3624, 9078, 65, 364, 2650, 8247, 15, 5930, 9078, 4279, 1769, 5411, 1206, 47, 278, 5929, 6158, 12, 3624, 1769, 3639, 289, 3639, 852, 18, 4479, 12, 5930, 1769, 565, 289, 2, -100, -100, -100, -100, -100 ]
static boolean precedes(ClassType ct1, ClassType ct2,Map prec_rel) { return ct1.descendsFrom(ct2) || (prec_rel.containsKey(ct1.fullName()) && ((Set) prec_rel.get(ct1.fullName())).contains(ct2.fullName()));
static boolean precedes(ClassType ct1, ClassType ct2) { return (ct1.descendsFrom(ct2) || (GlobalAspectInfo.v().getPrecedence(ct1.fullName(), ct2.fullName()) == GlobalAspectInfo.PRECEDENCE_FIRST) );
static boolean precedes(ClassType ct1, ClassType ct2,Map prec_rel) { return ct1.descendsFrom(ct2) || (prec_rel.containsKey(ct1.fullName()) && ((Set) prec_rel.get(ct1.fullName())).contains(ct2.fullName())); }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/52bb3f75a47894c0c6a472fc6a22c93a32d49165/IntertypeMethodDecl_c.java/buggy/aop/abc/src/abc/aspectj/ast/IntertypeMethodDecl_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 1250, 10575, 281, 12, 18328, 5691, 21, 16, 1659, 559, 5691, 22, 16, 863, 13382, 67, 2878, 13, 288, 202, 202, 2463, 5691, 21, 18, 5569, 5839, 1265, 12, 299, 22, 13, 747, 6862, 202, 12, 4036, 67, 2878, 18, 12298, 653, 12, 299, 21, 18, 2854, 461, 10756, 597, 9944, 225, 14015, 694, 13, 13382, 67, 2878, 18, 588, 12, 299, 21, 18, 2854, 461, 10756, 2934, 12298, 12, 299, 22, 18, 2854, 461, 1435, 10019, 25083, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 1250, 10575, 281, 12, 18328, 5691, 21, 16, 1659, 559, 5691, 22, 16, 863, 13382, 67, 2878, 13, 288, 202, 202, 2463, 5691, 21, 18, 5569, 5839, 1265, 12, 299, 22, 13, 747, 6862, 202, 12, 4036, 67, 2878, 18, 12298, 653, 12, 299, 21, 18, 2854, 461, 10756, 597, 9944, 225, 14015, 694, 13, 13382, 67, 2878, 18, 588, 12, 299, 21, 18, 2854, 461, 10756, 2934, 12298, 12, 299, 22, 18, 2854, 461, 1435, 10019, 25083, 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 ]
public Number executeUpdateAndGetGeneratedKey( String sql, String[] parameters ) { try { PreparedStatement preparedStatement = this.connection.prepareStatement( sql, Statement.RETURN_GENERATED_KEYS ); setPreparedStatementParameters( preparedStatement, parameters ); preparedStatement.executeUpdate(); ResultSet generatedKeysResultSet = preparedStatement.getGeneratedKeys(); Number result = null ; if ( generatedKeysResultSet.next() ) { result = (Number)generatedKeysResultSet.getObject( 1 ); } return result ; } catch ( SQLException se ) { throw new UnhandledException( se ); } }
Number executeUpdateAndGetGeneratedKey( String sql, String[] parameters );
public Number executeUpdateAndGetGeneratedKey( String sql, String[] parameters ) { try { PreparedStatement preparedStatement = this.connection.prepareStatement( sql, Statement.RETURN_GENERATED_KEYS ); setPreparedStatementParameters( preparedStatement, parameters ); preparedStatement.executeUpdate(); ResultSet generatedKeysResultSet = preparedStatement.getGeneratedKeys(); Number result = null ; if ( generatedKeysResultSet.next() ) { result = (Number)generatedKeysResultSet.getObject( 1 ); } return result ; } catch ( SQLException se ) { throw new UnhandledException( se ); } }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/962b9fbccc20a9dc1f7559965c2b0b91e0712a46/DatabaseConnection.java/clean/server/src/imcode/server/db/DatabaseConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3588, 17521, 14042, 7823, 653, 12, 514, 1847, 16, 514, 8526, 1472, 262, 288, 3639, 775, 288, 5411, 16913, 8208, 3406, 273, 333, 18, 4071, 18, 9366, 3406, 12, 1847, 16, 8056, 18, 14033, 67, 31915, 67, 16333, 11272, 5411, 444, 29325, 2402, 12, 8208, 3406, 16, 1472, 11272, 5411, 8208, 3406, 18, 8837, 1891, 5621, 5411, 10842, 4374, 2396, 13198, 273, 8208, 3406, 18, 588, 7823, 2396, 5621, 5411, 3588, 563, 273, 446, 274, 5411, 309, 261, 4374, 2396, 13198, 18, 4285, 1435, 262, 288, 7734, 563, 273, 261, 1854, 13, 11168, 2396, 13198, 18, 588, 921, 12, 404, 11272, 5411, 289, 5411, 327, 563, 274, 3639, 289, 1044, 261, 6483, 695, 262, 288, 5411, 604, 394, 1351, 14387, 503, 12, 695, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3588, 17521, 14042, 7823, 653, 12, 514, 1847, 16, 514, 8526, 1472, 262, 288, 3639, 775, 288, 5411, 16913, 8208, 3406, 273, 333, 18, 4071, 18, 9366, 3406, 12, 1847, 16, 8056, 18, 14033, 67, 31915, 67, 16333, 11272, 5411, 444, 29325, 2402, 12, 8208, 3406, 16, 1472, 11272, 5411, 8208, 3406, 18, 8837, 1891, 5621, 5411, 10842, 4374, 2396, 13198, 273, 8208, 3406, 18, 588, 7823, 2396, 5621, 5411, 3588, 563, 273, 446, 274, 5411, 309, 261, 4374, 2396, 13198, 18, 4285, 1435, 262, 288, 7734, 563, 273, 261, 1854, 13, 11168, 2396, 13198, 18, 588, 921, 12, 404, 11272, 5411, 289, 5411, 327, 563, 274, 3639, 289, 1044, 261, 6483, 695, 262, 288, 5411, 604, 2 ]
int res = c1.compareTo(c2); if (res != 0) { return res; }
int res = 0; try { int componentInt1 = Integer.parseInt(component1.trim()); int componentInt2 = Integer.parseInt(component2.trim()); res = componentInt1 - componentInt2; } catch (NumberFormatException e) { res = component1.compareTo(component2); } if (res != 0) { return res; }
public static int compare(String v1, String v2) { while (!v1.equals("") || !v2.equals("")) { String c1; int p1 = v1.indexOf("."); if (p1 > -1) { c1 = v1.substring(0, p1); v1 = v1.substring(p1 + 1); } else { c1 = v1; v1 = ""; } if (c1.equals("")) { c1 = "0"; } String c2; int p2 = v2.indexOf("."); if (p2 > -1) { c2 = v2.substring(0, p2); v2 = v2.substring(p2 + 1); } else { c2 = v2; v2 = ""; } if (c2.equals("")) { c2 = "0"; } int res = c1.compareTo(c2); if (res != 0) { return res; } } return 0; }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/40a42d66ffbe70421296fd193264bbf4d291d8fc/Version.java/buggy/src/games/stendhal/client/update/Version.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 3400, 12, 780, 331, 21, 16, 514, 331, 22, 13, 288, 202, 202, 17523, 16051, 90, 21, 18, 14963, 2932, 7923, 747, 401, 90, 22, 18, 14963, 2932, 6, 3719, 288, 1082, 202, 780, 276, 21, 31, 1082, 202, 474, 293, 21, 273, 331, 21, 18, 31806, 2932, 1199, 1769, 1082, 202, 430, 261, 84, 21, 405, 300, 21, 13, 288, 9506, 202, 71, 21, 273, 331, 21, 18, 28023, 12, 20, 16, 293, 21, 1769, 9506, 202, 90, 21, 273, 331, 21, 18, 28023, 12, 84, 21, 397, 404, 1769, 1082, 202, 97, 469, 288, 9506, 202, 71, 21, 273, 331, 21, 31, 9506, 202, 90, 21, 273, 1408, 31, 1082, 202, 97, 1082, 202, 430, 261, 71, 21, 18, 14963, 2932, 6, 3719, 288, 9506, 202, 71, 21, 273, 315, 20, 14432, 1082, 202, 97, 9506, 202, 780, 276, 22, 31, 1082, 202, 474, 293, 22, 273, 331, 22, 18, 31806, 2932, 1199, 1769, 1082, 202, 430, 261, 84, 22, 405, 300, 21, 13, 288, 9506, 202, 71, 22, 273, 331, 22, 18, 28023, 12, 20, 16, 293, 22, 1769, 9506, 202, 90, 22, 273, 331, 22, 18, 28023, 12, 84, 22, 397, 404, 1769, 1082, 202, 97, 469, 288, 9506, 202, 71, 22, 273, 331, 22, 31, 9506, 202, 90, 22, 273, 1408, 31, 1082, 202, 97, 1082, 202, 430, 261, 71, 22, 18, 14963, 2932, 6, 3719, 288, 9506, 202, 71, 22, 273, 315, 20, 14432, 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, 482, 760, 509, 3400, 12, 780, 331, 21, 16, 514, 331, 22, 13, 288, 202, 202, 17523, 16051, 90, 21, 18, 14963, 2932, 7923, 747, 401, 90, 22, 18, 14963, 2932, 6, 3719, 288, 1082, 202, 780, 276, 21, 31, 1082, 202, 474, 293, 21, 273, 331, 21, 18, 31806, 2932, 1199, 1769, 1082, 202, 430, 261, 84, 21, 405, 300, 21, 13, 288, 9506, 202, 71, 21, 273, 331, 21, 18, 28023, 12, 20, 16, 293, 21, 1769, 9506, 202, 90, 21, 273, 331, 21, 18, 28023, 12, 84, 21, 397, 404, 1769, 1082, 202, 97, 469, 288, 9506, 202, 71, 21, 273, 331, 21, 31, 9506, 202, 90, 21, 273, 1408, 31, 1082, 202, 97, 2 ]
protected static void println2Log(String dbname, String drdaID, String msg) {
protected static void println2Log(String dbname, String drdaID, String msg) {
protected static void println2Log(String dbname, String drdaID, String msg) { if (logStream == null) logStream = Monitor.getStream(); if (dbname != null) { int endOfName = dbname.indexOf(';'); if (endOfName != -1) dbname = dbname.substring(0, endOfName); } logStream.printlnWithHeader("(DATABASE = " + dbname + "), (DRDAID = " + drdaID + "), " + msg); }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/d2989b7c8e85d8e5237ca2f36344eb4f163a426b/DRDAConnThread.java/clean/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 3785, 22, 1343, 12, 780, 18448, 16, 514, 5081, 2414, 734, 16, 514, 1234, 13, 565, 288, 202, 430, 261, 1330, 1228, 422, 446, 13, 202, 565, 613, 1228, 273, 14086, 18, 588, 1228, 5621, 202, 430, 261, 20979, 480, 446, 13, 202, 565, 288, 202, 202, 474, 20706, 461, 273, 18448, 18, 31806, 2668, 4359, 1769, 202, 202, 430, 261, 409, 951, 461, 480, 300, 21, 13, 1082, 565, 18448, 273, 18448, 18, 28023, 12, 20, 16, 20706, 461, 1769, 202, 565, 289, 202, 1330, 1228, 18, 8222, 1190, 1864, 2932, 12, 22366, 273, 315, 397, 18448, 397, 315, 3631, 261, 6331, 9793, 734, 273, 315, 397, 5081, 2414, 734, 397, 315, 3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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 3785, 22, 1343, 12, 780, 18448, 16, 514, 5081, 2414, 734, 16, 514, 1234, 13, 565, 288, 202, 430, 261, 1330, 1228, 422, 446, 13, 202, 565, 613, 1228, 273, 14086, 18, 588, 1228, 5621, 202, 430, 261, 20979, 480, 446, 13, 202, 565, 288, 202, 202, 474, 20706, 461, 273, 18448, 18, 31806, 2668, 4359, 1769, 202, 202, 430, 261, 409, 951, 461, 480, 300, 21, 13, 1082, 565, 18448, 273, 18448, 18, 28023, 12, 20, 16, 20706, 461, 1769, 202, 565, 289, 202, 1330, 1228, 18, 8222, 1190, 1864, 2932, 12, 22366, 273, 315, 397, 18448, 397, 315, 3631, 261, 6331, 9793, 734, 273, 315, 397, 5081, 2414, 734, 397, 315, 3631, 315, 2 ]
return ((((this.candleSettings[TA_CandleSettingType.TA_BodyDoji .ordinal()].avgPeriod)) > ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod))) ? ((this.candleSettings[TA_CandleSettingType.TA_BodyDoji .ordinal()].avgPeriod)) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod))) + 1; }
return ((( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].avgPeriod) ) > ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) )) ? ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].avgPeriod) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) )) + 1; }
public int CDLHARAMICROSS_Lookback() { return ((((this.candleSettings[TA_CandleSettingType.TA_BodyDoji .ordinal()].avgPeriod)) > ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod))) ? ((this.candleSettings[TA_CandleSettingType.TA_BodyDoji .ordinal()].avgPeriod)) : ((this.candleSettings[TA_CandleSettingType.TA_BodyLong .ordinal()].avgPeriod))) + 1; }
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 385, 8914, 44, 985, 2192, 2871, 1457, 1260, 67, 9794, 823, 1435, 288, 202, 202, 2463, 261, 12443, 12, 2211, 18, 71, 464, 298, 2628, 63, 9833, 67, 39, 464, 298, 5568, 559, 18, 9833, 67, 2250, 3244, 21102, 9506, 202, 18, 517, 1490, 1435, 8009, 14141, 5027, 3719, 405, 14015, 2211, 18, 71, 464, 298, 2628, 63, 9833, 67, 39, 464, 298, 5568, 559, 18, 9833, 67, 2250, 3708, 9506, 202, 18, 517, 1490, 1435, 8009, 14141, 5027, 20349, 692, 14015, 2211, 18, 71, 464, 298, 2628, 63, 9833, 67, 39, 464, 298, 5568, 559, 18, 9833, 67, 2250, 3244, 21102, 9506, 202, 18, 517, 1490, 1435, 8009, 14141, 5027, 3719, 9506, 202, 30, 14015, 2211, 18, 71, 464, 298, 2628, 63, 9833, 67, 39, 464, 298, 5568, 559, 18, 9833, 67, 2250, 3708, 25083, 202, 18, 517, 1490, 1435, 8009, 14141, 5027, 20349, 397, 404, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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517, 1490, 1435, 8009, 14141, 5027, 3719, 405, 14015, 2211, 18, 71, 464, 298, 2628, 63, 9833, 67, 39, 464, 298, 5568, 559, 18, 9833, 67, 2250, 3708, 9506, 202, 18, 517, 1490, 1435, 8009, 14141, 5027, 20349, 692, 14015, 2211, 18, 71, 464, 298, 2628, 63, 9833, 67, 39, 464, 298, 5568, 559, 18, 9833, 67, 2250, 3244, 21102, 9506, 202, 18, 517, 1490, 1435, 8009, 14141, 5027, 3719, 9506, 202, 30, 2 ]
for(int j = 0; j < mar.length; j++){ Match m = mar[j]; try{ XmlNodeHelper xnode = new XmlNodeHelper(fei, m.getOffset()); nodeMap.put(m, xnode); IMylarStructureBridge bridge = MylarPlugin.getDefault().getStructureBridge(f.getName()); String handle = xnode.getHandle(); Object o = bridge.getObjectForHandle(handle); String name = bridge.getName(o); if(o != null){ nodes.put(handle, name); } } catch(Exception e){ MylarPlugin.log(e, "search failed"); } }
public void searchCompleted(List<?> l) { // deal with File if(l.isEmpty()) return; Map<String, String> nodes = new HashMap<String, String>(); if (l.get(0) instanceof FileSearchResult){ FileSearchResult fsr = (FileSearchResult) l.get(0); Object[] far = fsr.getElements(); for(int i = 0; i < far.length; i++){ Match[] mar = fsr.getMatches(far[i]); if(far[i] instanceof File){ File f = (File)far[i]; // change the file into a document FileEditorInput fei = new FileEditorInput(f); for(int j = 0; j < mar.length; j++){ Match m = mar[j]; try{ XmlNodeHelper xnode = new XmlNodeHelper(fei, m.getOffset()); nodeMap.put(m, xnode); IMylarStructureBridge bridge = MylarPlugin.getDefault().getStructureBridge(f.getName()); String handle = xnode.getHandle(); Object o = bridge.getObjectForHandle(handle); String name = bridge.getName(o); if(o != null){ nodes.put(handle, name); } } catch(Exception e){ MylarPlugin.log(e, "search failed"); } } } } } for(String handle : nodes.keySet()) { incrementInterest(node, PdeStructureBridge.EXTENSION, handle, degreeOfSeparation); } gathered = true; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/fc1edb65cf1ee5a5bb60acc081f4e192caf98d00/XmlReferencesProvider.java/clean/org.eclipse.mylyn.resources.ui/src/org/eclipse/mylyn/xml/XmlReferencesProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 7734, 1071, 918, 1623, 9556, 12, 682, 12880, 34, 328, 13, 288, 10402, 368, 225, 10490, 598, 1387, 10402, 309, 12, 80, 18, 291, 1921, 10756, 327, 31, 4766, 1377, 1635, 32, 780, 16, 514, 34, 2199, 273, 394, 4317, 32, 780, 16, 514, 34, 5621, 4766, 1377, 309, 261, 80, 18, 588, 12, 20, 13, 1276, 1387, 24916, 15329, 15604, 1387, 24916, 2662, 86, 273, 261, 812, 24916, 13, 328, 18, 588, 12, 20, 1769, 21821, 1033, 8526, 10247, 273, 2662, 86, 18, 588, 3471, 5621, 15604, 364, 12, 474, 277, 273, 374, 31, 277, 411, 10247, 18, 2469, 31, 277, 27245, 95, 21821, 4639, 8526, 21282, 273, 2662, 86, 18, 588, 6869, 12, 31246, 63, 77, 19226, 1171, 9079, 309, 12, 31246, 63, 77, 65, 1276, 1387, 15329, 1171, 9079, 1387, 284, 273, 261, 812, 13, 31246, 63, 77, 15533, 4766, 17311, 368, 2549, 326, 585, 1368, 279, 1668, 1171, 9079, 1387, 6946, 1210, 1656, 77, 273, 394, 1387, 6946, 1210, 12, 74, 1769, 4766, 15604, 364, 12, 474, 525, 273, 374, 31, 525, 411, 21282, 18, 2469, 31, 525, 27245, 95, 4766, 282, 4639, 312, 273, 21282, 63, 78, 15533, 4766, 282, 775, 95, 4766, 4202, 5714, 907, 2276, 619, 2159, 273, 394, 5714, 907, 2276, 12, 3030, 77, 16, 312, 18, 588, 2335, 10663, 4766, 4202, 756, 863, 18, 458, 12, 81, 16, 619, 2159, 1769, 4766, 4202, 6246, 93, 7901, 6999, 13691, 10105, 273, 8005, 7901, 3773, 18, 588, 1868, 7675, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 7734, 1071, 918, 1623, 9556, 12, 682, 12880, 34, 328, 13, 288, 10402, 368, 225, 10490, 598, 1387, 10402, 309, 12, 80, 18, 291, 1921, 10756, 327, 31, 4766, 1377, 1635, 32, 780, 16, 514, 34, 2199, 273, 394, 4317, 32, 780, 16, 514, 34, 5621, 4766, 1377, 309, 261, 80, 18, 588, 12, 20, 13, 1276, 1387, 24916, 15329, 15604, 1387, 24916, 2662, 86, 273, 261, 812, 24916, 13, 328, 18, 588, 12, 20, 1769, 21821, 1033, 8526, 10247, 273, 2662, 86, 18, 588, 3471, 5621, 15604, 364, 12, 474, 277, 273, 374, 31, 277, 411, 10247, 18, 2469, 31, 277, 27245, 95, 21821, 4639, 8526, 21282, 273, 2662, 86, 18, 588, 6869, 12, 31246, 63, 77, 19226, 2 ]
File classFile = new File(destDir,
File classFile = new File(destDir,
private void scanDir(File srcDir, File destDir, String[] files) { for (int i = 0; i < files.length; i++) { File srcFile = new File(srcDir, files[i]); File destFile = new File(destDir, files[i]); String filename = files[i]; // if it's a non source file, copy it if a later date than the // dest // if it's a source file, see if the destination class file // needs to be recreated via compilation if (filename.toLowerCase().endsWith(".nrx")) { File classFile = new File(destDir, filename.substring(0, filename.lastIndexOf('.')) + ".class"); if (!compile || srcFile.lastModified() > classFile.lastModified()) { filecopyList.put(srcFile.getAbsolutePath(), destFile.getAbsolutePath()); compileList.addElement(destFile.getAbsolutePath()); } } else { if (srcFile.lastModified() > destFile.lastModified()) { filecopyList.put(srcFile.getAbsolutePath(), destFile.getAbsolutePath()); } } } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/04337673032f6fdbebf4d2539e3c668eb963f4e6/NetRexxC.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4135, 1621, 12, 812, 30585, 16, 1387, 26231, 16, 514, 8526, 1390, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1390, 18, 2469, 31, 277, 27245, 288, 5411, 1387, 24672, 273, 394, 1387, 12, 4816, 1621, 16, 1390, 63, 77, 19226, 5411, 1387, 25471, 273, 394, 1387, 12, 10488, 1621, 16, 1390, 63, 77, 19226, 5411, 514, 1544, 273, 1390, 63, 77, 15533, 5411, 368, 309, 518, 1807, 279, 1661, 1084, 585, 16, 1610, 518, 309, 279, 5137, 1509, 2353, 326, 5411, 368, 1570, 5411, 368, 309, 518, 1807, 279, 1084, 585, 16, 2621, 309, 326, 2929, 667, 585, 5411, 368, 4260, 358, 506, 283, 4824, 3970, 8916, 5411, 309, 261, 3459, 18, 869, 5630, 7675, 5839, 1190, 2932, 18, 11611, 92, 6, 3719, 288, 7734, 1387, 29728, 273, 5397, 394, 1387, 12, 10488, 1621, 16, 17311, 1544, 18, 28023, 12, 20, 16, 1544, 18, 2722, 31985, 2668, 1093, 3719, 397, 3552, 1106, 8863, 7734, 309, 16051, 11100, 747, 24672, 18, 2722, 4575, 1435, 405, 29728, 18, 2722, 4575, 10756, 288, 10792, 585, 3530, 682, 18, 458, 12, 4816, 812, 18, 588, 10368, 743, 9334, 25471, 18, 588, 10368, 743, 10663, 10792, 4074, 682, 18, 1289, 1046, 12, 10488, 812, 18, 588, 10368, 743, 10663, 7734, 289, 5411, 289, 469, 288, 7734, 309, 261, 4816, 812, 18, 2722, 4575, 1435, 405, 25471, 18, 2722, 4575, 10756, 288, 10792, 585, 3530, 682, 18, 458, 12, 4816, 812, 18, 588, 10368, 743, 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, 4135, 1621, 12, 812, 30585, 16, 1387, 26231, 16, 514, 8526, 1390, 13, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1390, 18, 2469, 31, 277, 27245, 288, 5411, 1387, 24672, 273, 394, 1387, 12, 4816, 1621, 16, 1390, 63, 77, 19226, 5411, 1387, 25471, 273, 394, 1387, 12, 10488, 1621, 16, 1390, 63, 77, 19226, 5411, 514, 1544, 273, 1390, 63, 77, 15533, 5411, 368, 309, 518, 1807, 279, 1661, 1084, 585, 16, 1610, 518, 309, 279, 5137, 1509, 2353, 326, 5411, 368, 1570, 5411, 368, 309, 518, 1807, 279, 1084, 585, 16, 2621, 309, 326, 2929, 667, 585, 5411, 368, 4260, 358, 506, 283, 4824, 3970, 8916, 5411, 309, 261, 3459, 2 ]
while (enum.hasMoreElements()) { Definition def = (Definition) enum.nextElement();
while (enumList.hasMoreElements()) { Definition def = (Definition) enumList.nextElement();
public void accept(Visitor visitor) { Enumeration enum = elements(); while (enum.hasMoreElements()) { Definition def = (Definition) enum.nextElement(); def.accept(visitor); }
6140 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6140/27e2b7f1f395db1c66b73c2c05a6dd78a7deb478/JavaVector.java/buggy/whiteboard/forrestdoc/src/java/org/apache/forrest/forrestdoc/java/src/symtab/JavaVector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2791, 12, 7413, 8000, 13, 288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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2791, 12, 7413, 8000, 13, 288, 3639, 13864, 2792, 273, 2186, 5621, 3639, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 288, 5411, 10849, 1652, 273, 261, 1852, 13, 2792, 18, 4285, 1046, 5621, 5411, 1652, 18, 9436, 12, 3516, 1811, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
mm ).length > 0 )
mm, getContext() ).length > 0 )
protected boolean isUpToDate( FileScanner[] scanners, File zipFile ) throws TaskException { String[][] fileNames = grabFileNames( scanners ); File[] files = grabFiles( scanners, fileNames ); if( files.length == 0 ) { if( m_emptyBehavior.equals( "skip" ) ) { final String message = "Warning: skipping " + m_archiveType + " archive " + zipFile + " because no files were included."; getLogger().warn( message ); return true; } else if( m_emptyBehavior.equals( "fail" ) ) { throw new TaskException( "Cannot create " + m_archiveType + " archive " + zipFile + ": no files were included." ); } else { // Create. return createEmptyZip( zipFile ); } } else { for( int i = 0; i < files.length; ++i ) { if( files[ i ].equals( zipFile ) ) { throw new TaskException( "A zip file cannot include itself" ); } } if( !zipFile.exists() ) { return false; } final SourceFileScanner scanner = new SourceFileScanner(); setupLogger( scanner ); MergingMapper mm = new MergingMapper(); mm.setTo( zipFile.getAbsolutePath() ); for( int i = 0; i < scanners.length; i++ ) { if( scanner.restrict( fileNames[ i ], scanners[ i ].getBasedir(), null, mm ).length > 0 ) { return false; } } return true; } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/2afc643a3ea676cc68f2f010ea3a7560b7a0a3af/Zip.java/buggy/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/archive/Zip.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 353, 1211, 31264, 12, 1387, 11338, 8526, 888, 19637, 16, 1387, 19450, 262, 3639, 1216, 3837, 503, 565, 288, 3639, 514, 63, 6362, 65, 27375, 273, 11086, 812, 1557, 12, 888, 19637, 11272, 3639, 1387, 8526, 1390, 273, 11086, 2697, 12, 888, 19637, 16, 27375, 11272, 3639, 309, 12, 1390, 18, 2469, 422, 374, 262, 3639, 288, 5411, 309, 12, 312, 67, 5531, 9212, 18, 14963, 12, 315, 7457, 6, 262, 262, 5411, 288, 7734, 727, 514, 883, 273, 315, 6210, 30, 14195, 315, 397, 312, 67, 10686, 559, 397, 315, 5052, 315, 397, 19450, 397, 10792, 315, 2724, 1158, 1390, 4591, 5849, 1199, 31, 7734, 7156, 7675, 8935, 12, 883, 11272, 7734, 327, 638, 31, 5411, 289, 5411, 469, 309, 12, 312, 67, 5531, 9212, 18, 14963, 12, 315, 6870, 6, 262, 262, 5411, 288, 7734, 604, 394, 3837, 503, 12, 315, 4515, 752, 315, 397, 312, 67, 10686, 559, 397, 315, 5052, 315, 397, 19450, 397, 29159, 6398, 1158, 1390, 4591, 5849, 1199, 11272, 5411, 289, 5411, 469, 5411, 288, 7734, 368, 1788, 18, 7734, 327, 752, 1921, 9141, 12, 19450, 11272, 5411, 289, 3639, 289, 3639, 469, 3639, 288, 5411, 364, 12, 509, 277, 273, 374, 31, 277, 411, 1390, 18, 2469, 31, 965, 77, 262, 5411, 288, 7734, 309, 12, 1390, 63, 277, 308, 18, 14963, 12, 19450, 262, 262, 7734, 288, 10792, 604, 394, 3837, 503, 12, 315, 37, 3144, 585, 2780, 2341, 6174, 6, 11272, 7734, 289, 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, 1250, 353, 1211, 31264, 12, 1387, 11338, 8526, 888, 19637, 16, 1387, 19450, 262, 3639, 1216, 3837, 503, 565, 288, 3639, 514, 63, 6362, 65, 27375, 273, 11086, 812, 1557, 12, 888, 19637, 11272, 3639, 1387, 8526, 1390, 273, 11086, 2697, 12, 888, 19637, 16, 27375, 11272, 3639, 309, 12, 1390, 18, 2469, 422, 374, 262, 3639, 288, 5411, 309, 12, 312, 67, 5531, 9212, 18, 14963, 12, 315, 7457, 6, 262, 262, 5411, 288, 7734, 727, 514, 883, 273, 315, 6210, 30, 14195, 315, 397, 312, 67, 10686, 559, 397, 315, 5052, 315, 397, 19450, 397, 10792, 315, 2724, 1158, 1390, 4591, 5849, 1199, 31, 7734, 7156, 7675, 8935, 12, 883, 11272, 7734, 327, 638, 31, 2 ]
}
});
public void showTab(Component c) { int numVisible = 0; // This retarded method doesn't work for our two always-on tabs, // so here's a temporary kludge. if (c == _interactionsPane) _tabbedPane.setSelectedIndex(0); else if (c == _consolePane) _tabbedPane.setSelectedIndex(1); else { for (TabbedPanel tp: _tabs) { if (tp == c) { // 2 right now is a magic number for the number of tabs always visible // interactions & console if (! tp.isDisplayed()) { _tabbedPane.insertTab(tp.getName(), null, tp, null, numVisible + 2); tp.setDisplayed(true); } _tabbedPane.setSelectedIndex(numVisible + 2); c.requestFocusInWindow(); return; } if (tp.isDisplayed()) numVisible++; } } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/d1ffac675273323f7a1b9777462d16896d09a1af/MainFrame.java/clean/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2405, 5661, 12, 1841, 276, 13, 288, 565, 509, 818, 6207, 273, 374, 31, 3639, 368, 1220, 325, 17212, 707, 3302, 1404, 1440, 364, 3134, 2795, 3712, 17, 265, 10920, 16, 565, 368, 1427, 2674, 1807, 279, 6269, 15290, 27110, 18, 565, 309, 261, 71, 422, 389, 2761, 4905, 8485, 13, 389, 7032, 2992, 8485, 18, 542, 7416, 1016, 12, 20, 1769, 565, 469, 309, 261, 71, 422, 389, 8698, 8485, 13, 389, 7032, 2992, 8485, 18, 542, 7416, 1016, 12, 21, 1769, 565, 469, 288, 1377, 364, 261, 5661, 2992, 5537, 8071, 30, 389, 16056, 13, 288, 3639, 309, 261, 6834, 422, 276, 13, 288, 1850, 368, 576, 2145, 2037, 353, 279, 8146, 1300, 364, 326, 1300, 434, 10920, 3712, 6021, 1850, 368, 23877, 473, 2983, 1850, 309, 16051, 8071, 18, 291, 4236, 329, 10756, 288, 5411, 389, 7032, 2992, 8485, 18, 6387, 5661, 12, 6834, 18, 17994, 9334, 446, 16, 8071, 16, 446, 16, 818, 6207, 397, 576, 1769, 5411, 8071, 18, 542, 4236, 329, 12, 3767, 1769, 1850, 15549, 1850, 389, 7032, 2992, 8485, 18, 542, 7416, 1016, 12, 2107, 6207, 397, 576, 1769, 10792, 276, 18, 2293, 9233, 382, 3829, 5621, 1850, 327, 31, 3639, 15549, 3639, 309, 261, 6834, 18, 291, 4236, 329, 10756, 818, 6207, 9904, 31, 1377, 15549, 565, 15549, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2405, 5661, 12, 1841, 276, 13, 288, 565, 509, 818, 6207, 273, 374, 31, 3639, 368, 1220, 325, 17212, 707, 3302, 1404, 1440, 364, 3134, 2795, 3712, 17, 265, 10920, 16, 565, 368, 1427, 2674, 1807, 279, 6269, 15290, 27110, 18, 565, 309, 261, 71, 422, 389, 2761, 4905, 8485, 13, 389, 7032, 2992, 8485, 18, 542, 7416, 1016, 12, 20, 1769, 565, 469, 309, 261, 71, 422, 389, 8698, 8485, 13, 389, 7032, 2992, 8485, 18, 542, 7416, 1016, 12, 21, 1769, 565, 469, 288, 1377, 364, 261, 5661, 2992, 5537, 8071, 30, 389, 16056, 13, 288, 3639, 309, 261, 6834, 422, 276, 13, 288, 1850, 368, 576, 2145, 2037, 353, 279, 8146, 1300, 364, 2 ]
timeStamp+ONE_HOUR, qty, geoLoc, org, type, item);
timeStamp+duration, qty, geoLoc, org, type, item);
public List generateDemandTasks(long start, long duration, Collection relevantProjectSupplys) { ArrayList demandTasks = new ArrayList(); // Make sure the file reader is initialized initReader(); if (reader == null) { return demandTasks; } HashMap subtaskMap = new HashMap(); String line = null; try { // Mark current position in file reader.mark(maxLineLength); // Reader lines until we exit our defined period (ignore entries earlier) for (line = reader.readLine(); line != null; line=reader.readLine()) { line = line.trim(); // skip empty lines if (line.length() == 0) continue; StringTokenizer tok = new StringTokenizer(line, ","); long timeStamp = (new Long(tok.nextToken())).longValue(); if (timeStamp < start) { // Ignore entries prior to start continue; } if (timeStamp >= start + duration) { // Done. Reset file marker to beginning of this line reader.reset(); break; } // Extract The Org Name String org = tok.nextToken(); // Extract the Item Id of the item being maintained String maintainedItemId = tok.nextToken(); if (maintainedItemId.equalsIgnoreCase("null")) { maintainedItemId = null; } // Extract the Type Id of the item being maintained String maintainedTypeId = tok.nextToken(); // Extract the Nomenclature of the item being maintained String maintainedNomen = tok.nextToken(); if (maintainedNomen.equalsIgnoreCase("null")) { maintainedNomen = null; } // Extract the Id of the consumed item String consumedItem = tok.nextToken(); // Extract the qty demanded double qty = Double.parseDouble(tok.nextToken()); // Extract the location (lat, lon, name) for delivery double lat = Double.parseDouble(tok.nextToken()); double lon = Double.parseDouble(tok.nextToken()); String geoLocName = tok.nextToken(); // Create an instance of the consumed item to determine supply type Asset consumed = getPlanningFactory().createInstance(consumedItem); SupplyClassPG supplyPG = (SupplyClassPG)consumed.searchForPropertyGroup( org.cougaar.glm.ldm.asset.SupplyClassPG.class); if (supplyPG == null) { logger.error("Unable to retrieve SupplyClassPG for " + consumedItem); continue; } String type = supplyPG.getSupplyType(); if (!type.equals(dgPlugin.getSupplyType())) { // This plugin/module does not handle this particular supply type continue; } // Create an instance of the Maintained Item and find the associated // GenerateProjections task MaintainedItem item = new MaintainedItem(type, maintainedTypeId, maintainedItemId, maintainedNomen, this.dgPlugin); Task gpTask = getGenerateProjectionsTask(item, type); if (gpTask == null) { logger.error("Unable to find GenerateProjections task for item type id = '" + item.getTypeIdentification() + "' and type = '" + type + "'"); continue; } // Create the geoloc for delivery GeolocLocationImpl geoLoc = new GeolocLocationImpl(Latitude.newLatitude(lat), Longitude.newLongitude(lon), geoLocName); // Create the new demand task for the entry and add to list of new subtasks Task demandTask = createNewDemandTask(gpTask, consumed, timeStamp, timeStamp+ONE_HOUR, qty, geoLoc, org, type, item); demandTasks.add(demandTask); ArrayList subtasks = (ArrayList)subtaskMap.get(gpTask); if (subtasks == null) { subtasks = new ArrayList(); subtaskMap.put(gpTask, subtasks); } subtasks.add(demandTask); // Mark the beginning of the next line before reading reader.mark(maxLineLength); } } catch (IOException ioe) { logger.error("Unable to parse demand input file: '" + line + "'"); ioe.printStackTrace(); return demandTasks; } // Go through each of the new demand tasks and publish as subtasks // of the appropriate GenerateProjections task Iterator gpTasks = subtaskMap.keySet().iterator(); while (gpTasks.hasNext()) { Task gpTask = (Task)gpTasks.next(); Collection subtasks = (Collection)subtaskMap.get(gpTask); addToAndPublishExpansion(gpTask, subtasks); } // Return list of created demand tasks return demandTasks; }
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/bee58ee1018339f5fa6fe45ea4d7def555bd0eff/DemandGeneratorInputModule.java/buggy/bbn/src/org/cougaar/logistics/plugin/demand/DemandGeneratorInputModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 987, 2103, 25461, 6685, 12, 5748, 787, 16, 1525, 3734, 16, 2200, 9368, 4109, 3088, 1283, 87, 13, 288, 565, 2407, 23653, 6685, 273, 394, 2407, 5621, 565, 368, 4344, 3071, 326, 585, 2949, 353, 6454, 565, 1208, 2514, 5621, 565, 309, 261, 10530, 422, 446, 13, 288, 1377, 327, 23653, 6685, 31, 565, 289, 565, 4317, 720, 4146, 863, 273, 394, 4317, 5621, 565, 514, 980, 273, 446, 31, 565, 775, 288, 1377, 368, 6622, 783, 1754, 316, 585, 1377, 2949, 18, 3355, 12, 1896, 1670, 1782, 1769, 1377, 368, 5393, 2362, 3180, 732, 2427, 3134, 2553, 3879, 261, 6185, 3222, 13805, 13, 1377, 364, 261, 1369, 273, 2949, 18, 896, 1670, 5621, 980, 480, 446, 31, 980, 33, 10530, 18, 896, 1670, 10756, 288, 3639, 980, 273, 980, 18, 5290, 5621, 3639, 368, 2488, 1008, 2362, 3639, 309, 261, 1369, 18, 2469, 1435, 422, 374, 13, 1850, 1324, 31, 3639, 16370, 946, 273, 394, 16370, 12, 1369, 16, 5753, 1769, 3639, 1525, 18198, 273, 261, 2704, 3407, 12, 17692, 18, 4285, 1345, 10756, 2934, 5748, 620, 5621, 3639, 309, 261, 957, 8860, 411, 787, 13, 288, 1850, 368, 8049, 3222, 6432, 358, 787, 1850, 1324, 31, 3639, 289, 3639, 309, 261, 957, 8860, 1545, 787, 397, 3734, 13, 288, 1850, 368, 8677, 18, 225, 7151, 585, 5373, 358, 8435, 434, 333, 980, 1850, 2949, 18, 6208, 5621, 1850, 898, 31, 3639, 289, 3639, 368, 8152, 1021, 8533, 1770, 3639, 514, 2358, 273, 946, 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, 987, 2103, 25461, 6685, 12, 5748, 787, 16, 1525, 3734, 16, 2200, 9368, 4109, 3088, 1283, 87, 13, 288, 565, 2407, 23653, 6685, 273, 394, 2407, 5621, 565, 368, 4344, 3071, 326, 585, 2949, 353, 6454, 565, 1208, 2514, 5621, 565, 309, 261, 10530, 422, 446, 13, 288, 1377, 327, 23653, 6685, 31, 565, 289, 565, 4317, 720, 4146, 863, 273, 394, 4317, 5621, 565, 514, 980, 273, 446, 31, 565, 775, 288, 1377, 368, 6622, 783, 1754, 316, 585, 1377, 2949, 18, 3355, 12, 1896, 1670, 1782, 1769, 1377, 368, 5393, 2362, 3180, 732, 2427, 3134, 2553, 3879, 261, 6185, 3222, 13805, 13, 1377, 364, 261, 1369, 273, 2949, 18, 896, 1670, 5621, 980, 480, 446, 2 ]
public void visitUnconditionalBranch(UnconditionalBranch obj);
void visitUnconditionalBranch(UnconditionalBranch obj);
public void visitUnconditionalBranch(UnconditionalBranch obj);
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/6f181de4aafbe2a9534fc417eee9f0b8d8ae805d/Bytecodes.java/clean/joeq_core/joeq/Compiler/BytecodeAnalysis/Bytec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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 984, 22019, 7108, 12, 984, 22019, 7108, 1081, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (chosenPersp != null) list.setSelection(new StructuredSelection(chosenPersp));
if (chosenPersp != null) { list.setSelection(new StructuredSelection(chosenPersp)); }
protected Control createDialogArea(Composite parent) { // page group Composite composite = (Composite) super.createDialogArea(parent); composite.setLayout(new GridLayout()); GridData data = new GridData(GridData.FILL_BOTH); data.widthHint = MIN_DIALOG_WIDTH; data.heightHint = MIN_DIALOG_HEIGHT; composite.setLayoutData(data); createPerspectiveGroup(composite); createOptionGroup(composite); if (chosenPersp != null) list.setSelection(new StructuredSelection(chosenPersp)); return composite; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ProjectPerspectiveChoiceDialog.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ProjectPerspectiveChoiceDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8888, 752, 6353, 5484, 12, 9400, 982, 13, 288, 3639, 368, 1363, 1041, 3639, 14728, 9635, 273, 261, 9400, 13, 2240, 18, 2640, 6353, 5484, 12, 2938, 1769, 3639, 9635, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 3639, 7145, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 501, 18, 2819, 7002, 273, 6989, 67, 2565, 18683, 67, 10023, 31, 3639, 501, 18, 4210, 7002, 273, 6989, 67, 2565, 18683, 67, 14595, 31, 3639, 9635, 18, 542, 3744, 751, 12, 892, 1769, 3639, 752, 14781, 16772, 1114, 12, 27676, 1769, 3639, 752, 1895, 1114, 12, 27676, 1769, 3639, 309, 261, 343, 8918, 14781, 84, 480, 446, 13, 5411, 666, 18, 542, 6233, 12, 2704, 7362, 2862, 6233, 12, 343, 8918, 14781, 84, 10019, 3639, 327, 9635, 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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041, 3639, 14728, 9635, 273, 261, 9400, 13, 2240, 18, 2640, 6353, 5484, 12, 2938, 1769, 3639, 9635, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 3639, 7145, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 501, 18, 2819, 7002, 273, 6989, 67, 2565, 18683, 67, 10023, 31, 3639, 501, 18, 4210, 7002, 273, 6989, 67, 2565, 18683, 67, 14595, 31, 3639, 9635, 18, 542, 3744, 751, 12, 892, 1769, 3639, 752, 14781, 16772, 1114, 12, 27676, 1769, 3639, 752, 1895, 1114, 12, 27676, 1769, 3639, 309, 261, 343, 8918, 14781, 84, 480, 446, 13, 5411, 666, 2 ]
return person.getAttributeNames();
return this.person.getAttributeNames();
public Enumeration getAttributeNames() { return person.getAttributeNames(); }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/c0c1dd0a1871ebae4f0039a690088b1e96747524/RestrictedPerson.java/buggy/source/org/jasig/portal/security/provider/RestrictedPerson.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13864, 4061, 1557, 1435, 288, 3639, 327, 333, 18, 12479, 18, 588, 26080, 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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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, 13864, 4061, 1557, 1435, 288, 3639, 327, 333, 18, 12479, 18, 588, 26080, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
commonData.setProjectname(ECGEclipseSensor.getProjectnameFromLocation(textEditor.getTitleToolTip()));
commonData.setProjectname(ECGEclipseSensor.getProjectnameFromPart(textEditor));
public void run() { ECGEclipseSensor.logger.entering(this.getClass().getName(), "run"); ECGEclipseSensor sensor = ECGEclipseSensor.getInstance(); ECGEclipseSensor.logger.log(ECGLevel.PACKET, "A codechange event has been recorded."); CommonData commonData = microActivity.getCommonData(); commonData.setProjectname(ECGEclipseSensor.getProjectnameFromLocation(textEditor.getTitleToolTip())); commonData.setId(String.valueOf(textEditor.hashCode())); codechange_contents.setNodeValue(this.doc.get()); codechange_documentname.setTextContent(ECGEclipseSensor.getFilenameFromLocation(textEditor.getTitleToolTip())); sensor.processActivity("msdt.codechange.xsd", microActivity.getSerializedMicroActivity()); ECGEclipseSensor.logger.exiting(this.getClass().getName(), "run"); }
239 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/239/61da006d249981bbf8884625b0bd42db6c11f647/ECGDocumentListener.java/buggy/sensors/eclipse/ECG_EclipseSensor/src/org/electrocodeogram/sensor/eclipse/listener/ECGDocumentListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 7773, 7113, 71, 10472, 22294, 18, 4901, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 2681, 8863, 5411, 7773, 7113, 71, 10472, 22294, 10583, 273, 7773, 7113, 71, 10472, 22294, 18, 588, 1442, 5621, 5411, 7773, 7113, 71, 10472, 22294, 18, 4901, 18, 1330, 12, 7228, 43, 2355, 18, 12231, 1584, 16, 315, 37, 981, 3427, 871, 711, 2118, 16421, 1199, 1769, 5411, 5658, 751, 2975, 751, 273, 6481, 6193, 18, 588, 6517, 751, 5621, 5411, 2975, 751, 18, 542, 4109, 529, 12, 7228, 7113, 71, 10472, 22294, 18, 588, 4109, 529, 1265, 1988, 12, 955, 6946, 10019, 5411, 2975, 751, 18, 542, 548, 12, 780, 18, 1132, 951, 12, 955, 6946, 18, 2816, 1085, 1435, 10019, 5411, 981, 3427, 67, 3980, 18, 542, 907, 620, 12, 2211, 18, 2434, 18, 588, 10663, 5411, 981, 3427, 67, 5457, 529, 18, 542, 1528, 1350, 12, 7228, 7113, 71, 10472, 22294, 18, 588, 5359, 1265, 2735, 12, 955, 6946, 18, 588, 4247, 29250, 1435, 10019, 5411, 10583, 18, 2567, 6193, 2932, 959, 7510, 18, 710, 3427, 18, 19144, 3113, 6481, 6193, 18, 588, 15134, 13617, 6193, 10663, 4766, 5411, 7773, 7113, 71, 10472, 22294, 18, 4901, 18, 8593, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 2681, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 7773, 7113, 71, 10472, 22294, 18, 4901, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 2681, 8863, 5411, 7773, 7113, 71, 10472, 22294, 10583, 273, 7773, 7113, 71, 10472, 22294, 18, 588, 1442, 5621, 5411, 7773, 7113, 71, 10472, 22294, 18, 4901, 18, 1330, 12, 7228, 43, 2355, 18, 12231, 1584, 16, 315, 37, 981, 3427, 871, 711, 2118, 16421, 1199, 1769, 5411, 5658, 751, 2975, 751, 273, 6481, 6193, 18, 588, 6517, 751, 5621, 5411, 2975, 751, 18, 542, 4109, 529, 12, 7228, 7113, 71, 10472, 22294, 18, 588, 4109, 529, 1265, 1988, 12, 955, 6946, 10019, 5411, 2975, 751, 18, 542, 548, 12, 780, 18, 1132, 2 ]
filterText.setText(filterText.getText() + " && " + columnNameKeywordMap.get(colName).toString() +
filterText.setText(columnNameKeywordMap.get(colName) .toString() +
public void actionPerformed(ActionEvent evt) { if (currentPoint != null) { int column = table.columnAtPoint(currentPoint); int row = table.rowAtPoint(currentPoint); String colName = table.getColumnName(column); String value = ""; if (colName.equalsIgnoreCase( ChainsawConstants.TIMESTAMP_COL_NAME)) { JComponent comp = (JComponent) table.getCellRenderer(row, column); if (comp instanceof JLabel) { value = ((JLabel) comp).getText(); } } else { value = table.getValueAt(row, column).toString(); } if (columnNameKeywordMap.containsKey(colName)) { filterText.setText(filterText.getText() + " && " + columnNameKeywordMap.get(colName).toString() + " == '" + value + "'"); } } }
47730 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47730/5e174411f47eae139a3b4c2198c45ad6f0ba2cbc/LogPanel.java/buggy/src/java/org/apache/log4j/chainsaw/LogPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 10792, 309, 261, 2972, 2148, 480, 446, 13, 288, 13491, 509, 1057, 273, 1014, 18, 2827, 861, 2148, 12, 2972, 2148, 1769, 13491, 509, 1027, 273, 1014, 18, 492, 861, 2148, 12, 2972, 2148, 1769, 13491, 514, 18655, 273, 1014, 18, 588, 8516, 12, 2827, 1769, 13491, 514, 460, 273, 1408, 31, 13491, 309, 261, 1293, 461, 18, 14963, 5556, 12, 4766, 565, 1680, 4167, 2219, 2918, 18, 17201, 67, 4935, 67, 1985, 3719, 288, 18701, 29058, 1161, 273, 261, 46, 1841, 13, 1014, 18, 588, 4020, 6747, 12, 492, 16, 4766, 565, 1057, 1769, 18701, 309, 261, 2919, 1276, 21403, 13, 288, 27573, 460, 273, 14015, 46, 2224, 13, 1161, 2934, 588, 1528, 5621, 18701, 289, 13491, 289, 469, 288, 18701, 460, 273, 1014, 18, 24805, 861, 12, 492, 16, 1057, 2934, 10492, 5621, 13491, 289, 13491, 309, 261, 2827, 461, 8736, 863, 18, 12298, 653, 12, 1293, 461, 3719, 288, 18701, 1034, 1528, 18, 542, 1528, 12, 2188, 1528, 18, 588, 1528, 1435, 397, 315, 597, 315, 397, 27573, 7578, 8736, 863, 18, 588, 12, 1293, 461, 2934, 10492, 1435, 397, 27573, 315, 422, 2119, 397, 460, 397, 5862, 1769, 13491, 289, 10792, 289, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 10792, 309, 261, 2972, 2148, 480, 446, 13, 288, 13491, 509, 1057, 273, 1014, 18, 2827, 861, 2148, 12, 2972, 2148, 1769, 13491, 509, 1027, 273, 1014, 18, 492, 861, 2148, 12, 2972, 2148, 1769, 13491, 514, 18655, 273, 1014, 18, 588, 8516, 12, 2827, 1769, 13491, 514, 460, 273, 1408, 31, 13491, 309, 261, 1293, 461, 18, 14963, 5556, 12, 4766, 565, 1680, 4167, 2219, 2918, 18, 17201, 67, 4935, 67, 1985, 3719, 288, 18701, 29058, 1161, 273, 261, 46, 1841, 13, 1014, 18, 588, 4020, 6747, 12, 492, 16, 4766, 565, 1057, 1769, 18701, 309, 261, 2919, 1276, 21403, 13, 288, 27573, 460, 273, 14015, 46, 2224, 2 ]
checkBoxMultiKeyRocker.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
gridData = new GridData(GridData.FILL_HORIZONTAL); gridData.horizontalSpan = 2; checkBoxMultiKeyRocker.setLayoutData(gridData);
private Composite createAdvancedTab(TabFolder parent) { // The composite for this tab. final Composite composite = new Composite(parent, SWT.NULL); final GridLayout gridLayout = new GridLayout(); gridLayout.marginHeight = 5; gridLayout.marginWidth = 5; composite.setLayout(gridLayout); composite.setLayoutData(new GridData(GridData.FILL_BOTH)); // The multi key assit button. checkBoxMultiKeyAssist = new Button(composite, SWT.CHECK); checkBoxMultiKeyAssist.setText(Util.translateString(RESOURCE_BUNDLE, "checkBoxMultiKeyAssist.Text")); //$NON-NLS-1$ checkBoxMultiKeyAssist.setToolTipText(Util.translateString(RESOURCE_BUNDLE, "checkBoxMultiKeyAssist.ToolTipText")); //$NON-NLS-1$ checkBoxMultiKeyAssist.setFont(composite.getFont()); checkBoxMultiKeyAssist.setSelection( getPreferenceStore().getBoolean(IPreferenceConstants.MULTI_KEY_ASSIST)); checkBoxMultiKeyAssist.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); // The multi key assist time. final IPreferenceStore store = WorkbenchPlugin.getDefault().getPreferenceStore(); textMultiKeyAssistTime = new IntegerFieldEditor(IPreferenceConstants.MULTI_KEY_ASSIST_TIME, Util.translateString(RESOURCE_BUNDLE, "textMultiKeyAssistTime.Text"), composite); //$NON-NLS-1$ textMultiKeyAssistTime.setPreferenceStore(store); textMultiKeyAssistTime.setPreferencePage(this); textMultiKeyAssistTime.setTextLimit(2); textMultiKeyAssistTime.setErrorMessage(Util.translateString(RESOURCE_BUNDLE, "textMultiKeyAssistTime.ErrorMessage")); //$NON-NLS-1$ textMultiKeyAssistTime.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE); textMultiKeyAssistTime.setValidRange(0, Integer.MAX_VALUE); textMultiKeyAssistTime.setStringValue( Integer.toString(store.getInt(IPreferenceConstants.MULTI_KEY_ASSIST_TIME))); textMultiKeyAssistTime.setPropertyChangeListener(new IPropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { if (event.getProperty().equals(FieldEditor.IS_VALID)) setValid(textMultiKeyAssistTime.isValid()); } }); // The multi-key rocker button. checkBoxMultiKeyRocker = new Button(composite, SWT.CHECK); checkBoxMultiKeyRocker.setText(Util.translateString(RESOURCE_BUNDLE, "checkBoxMultiKeyRocker.Text")); //$NON-NLS-1$ checkBoxMultiKeyRocker.setToolTipText(Util.translateString(RESOURCE_BUNDLE, "checkBoxMultiKeyRocker.ToolTipText")); //$NON-NLS-1$ checkBoxMultiKeyRocker.setFont(composite.getFont()); checkBoxMultiKeyRocker.setSelection( getPreferenceStore().getBoolean(IPreferenceConstants.MULTI_KEY_ROCKER)); checkBoxMultiKeyRocker.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); return composite; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/4a6a0c1ba6e5e14fe8663036fd791735c80e6210/KeysPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/KeysPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 14728, 752, 23618, 5661, 12, 5661, 3899, 982, 13, 288, 202, 202, 759, 1021, 9635, 364, 333, 3246, 18, 202, 202, 6385, 14728, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 6385, 7145, 3744, 3068, 3744, 273, 394, 7145, 3744, 5621, 202, 202, 5222, 3744, 18, 10107, 2686, 273, 1381, 31, 202, 202, 5222, 3744, 18, 10107, 2384, 273, 1381, 31, 202, 202, 27676, 18, 542, 3744, 12, 5222, 3744, 1769, 202, 202, 27676, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 202, 202, 759, 1021, 3309, 498, 1551, 305, 3568, 18, 202, 202, 1893, 3514, 5002, 653, 2610, 376, 273, 394, 12569, 12, 27676, 16, 348, 8588, 18, 10687, 1769, 202, 202, 1893, 3514, 5002, 653, 2610, 376, 18, 542, 1528, 12, 1304, 18, 13929, 780, 12, 11395, 67, 30245, 16, 315, 1893, 3514, 5002, 653, 2610, 376, 18, 1528, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1893, 3514, 5002, 653, 2610, 376, 18, 542, 29250, 1528, 12, 1304, 18, 13929, 780, 12, 11395, 67, 30245, 16, 315, 1893, 3514, 5002, 653, 2610, 376, 18, 29250, 1528, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1893, 3514, 5002, 653, 2610, 376, 18, 542, 5711, 12, 27676, 18, 588, 5711, 10663, 202, 202, 1893, 3514, 5002, 653, 2610, 376, 18, 542, 6233, 12, 1082, 202, 588, 9624, 2257, 7675, 588, 5507, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 14728, 752, 23618, 5661, 12, 5661, 3899, 982, 13, 288, 202, 202, 759, 1021, 9635, 364, 333, 3246, 18, 202, 202, 6385, 14728, 9635, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 6385, 7145, 3744, 3068, 3744, 273, 394, 7145, 3744, 5621, 202, 202, 5222, 3744, 18, 10107, 2686, 273, 1381, 31, 202, 202, 5222, 3744, 18, 10107, 2384, 273, 1381, 31, 202, 202, 27676, 18, 542, 3744, 12, 5222, 3744, 1769, 202, 202, 27676, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 202, 202, 759, 1021, 3309, 498, 1551, 305, 3568, 18, 202, 202, 1893, 3514, 5002, 653, 2610, 376, 273, 2 ]
private void generate_checks() { /* do constraint checks */ Iterator i; if (Compiler.REPAIR) i=termination.constraintdependence.computeOrdering().iterator(); else i=state.vConstraints.iterator(); for (; i.hasNext();) { Constraint constraint; if (Compiler.REPAIR) constraint= (Constraint) ((GraphNode)i.next()).getOwner(); else constraint=(Constraint)i.next(); { final SymbolTable st = constraint.getSymbolTable(); CodeWriter cr = new StandardCodeWriter(outputaux); cr.pushSymbolTable(constraint.getSymbolTable()); cr.outputline("// checking " + escape(constraint.toString())); cr.startblock(); ListIterator quantifiers = constraint.quantifiers(); while (quantifiers.hasNext()) { Quantifier quantifier = (Quantifier) quantifiers.next(); quantifier.generate_open(cr); } cr.outputline("int maybe = 0;"); /* now we have to generate the guard test */ VarDescriptor constraintboolean = VarDescriptor.makeNew("constraintboolean"); constraint.getLogicStatement().generate(cr, constraintboolean); cr.outputline("if (maybe)"); cr.startblock(); cr.outputline("printf(\"maybe fail " + escape(constraint.toString()) + ". \\n\");"); //cr.outputline("exit(1);"); cr.endblock(); cr.outputline("else if (!" + constraintboolean.getSafeSymbol() + ")"); cr.startblock(); if (!Compiler.REPAIR||Compiler.GENERATEDEBUGHOOKS) cr.outputline("printf(\"fail " + escape(constraint.toString()) + ". \\n\");"); if (Compiler.REPAIR) { /* Do repairs */ /* Build new repair table */ cr.outputline("if ("+repairtable.getSafeSymbol()+")"); cr.outputline("delete "+repairtable.getSafeSymbol()+";"); cr.outputline(repairtable.getSafeSymbol()+"=new RepairHash();"); if (Compiler.GENERATEDEBUGHOOKS) cr.outputline("debughook();"); /* Compute cost of each repair */ VarDescriptor mincost=VarDescriptor.makeNew("mincost"); VarDescriptor mincostindex=VarDescriptor.makeNew("mincostindex"); Vector dnfconst=new Vector(); dnfconst.addAll((Set)termination.conjunctionmap.get(constraint)); if (dnfconst.size()<=1) { cr.outputline("int "+mincostindex.getSafeSymbol()+"=0;"); } if (dnfconst.size()>1) { cr.outputline("int "+mincostindex.getSafeSymbol()+";"); boolean first=true; for(int j=0;j<dnfconst.size();j++) { GraphNode gn=(GraphNode)dnfconst.get(j); Conjunction conj=((TermNode)gn.getOwner()).getConjunction(); if (removed.contains(gn)) continue; VarDescriptor costvar; if (first) { costvar=mincost; } else costvar=VarDescriptor.makeNew("cost"); for(int k=0;k<conj.size();k++) { DNFPredicate dpred=conj.get(k); Predicate p=dpred.getPredicate(); boolean negate=dpred.isNegated(); VarDescriptor predvalue=VarDescriptor.makeNew("Predicatevalue"); p.generate(cr,predvalue); if (k==0) cr.outputline("int "+costvar.getSafeSymbol()+"=0;"); if (negate) cr.outputline("if (maybe||"+predvalue.getSafeSymbol()+")"); else cr.outputline("if (maybe||!"+predvalue.getSafeSymbol()+")"); cr.outputline(costvar.getSafeSymbol()+"+="+cost.getCost(dpred)+";"); } if(!first) { cr.outputline("if ("+costvar.getSafeSymbol()+"<"+mincost.getSafeSymbol()+")"); cr.startblock(); cr.outputline(mincost.getSafeSymbol()+"="+costvar.getSafeSymbol()+";"); cr.outputline(mincostindex.getSafeSymbol()+"="+j+";"); cr.endblock(); } else cr.outputline(mincostindex.getSafeSymbol()+"="+j+";"); first=false; } } cr.outputline("switch("+mincostindex.getSafeSymbol()+") {"); for(int j=0;j<dnfconst.size();j++) { GraphNode gn=(GraphNode)dnfconst.get(j); Conjunction conj=((TermNode)gn.getOwner()).getConjunction(); if (removed.contains(gn)) continue; cr.outputline("case "+j+":"); cr.startblock(); for(int k=0;k<conj.size();k++) { DNFPredicate dpred=conj.get(k); Predicate p=dpred.getPredicate(); boolean negate=dpred.isNegated(); VarDescriptor predvalue=VarDescriptor.makeNew("Predicatevalue"); p.generate(cr,predvalue); if (negate) cr.outputline("if (maybe||"+predvalue.getSafeSymbol()+")"); else cr.outputline("if (maybe||!"+predvalue.getSafeSymbol()+")"); cr.startblock(); if (Compiler.GENERATEINSTRUMENT) cr.outputline("abstractcount++;"); if (p instanceof InclusionPredicate) generateinclusionrepair(conj,dpred, cr); else if (p instanceof ExprPredicate) { ExprPredicate ep=(ExprPredicate)p; if (ep.getType()==ExprPredicate.SIZE) generatesizerepair(conj,dpred,cr); else if (ep.getType()==ExprPredicate.COMPARISON) generatecomparisonrepair(conj,dpred,cr); } else throw new Error("Unrecognized Predicate"); cr.endblock(); } /* Update model */ cr.endblock(); cr.outputline("break;"); } cr.outputline("}"); cr.outputline("if ("+oldmodel.getSafeSymbol()+")"); cr.outputline("delete "+oldmodel.getSafeSymbol()+";"); cr.outputline(oldmodel.getSafeSymbol()+"="+newmodel.getSafeSymbol()+";"); cr.outputline("goto rebuild;"); /* Rebuild model and all */ } cr.endblock(); while (quantifiers.hasPrevious()) { Quantifier quantifier = (Quantifier) quantifiers.previous(); cr.endblock(); } cr.endblock(); cr.outputline(""); cr.outputline(""); } } CodeWriter cr = new StandardCodeWriter(outputaux); cr.startblock(); cr.outputline("if ("+repairtable.getSafeSymbol()+")"); cr.outputline("delete "+repairtable.getSafeSymbol()+";"); cr.outputline("if ("+oldmodel.getSafeSymbol()+")"); cr.outputline("delete "+oldmodel.getSafeSymbol()+";"); cr.outputline("delete "+newmodel.getSafeSymbol()+";"); cr.outputline("delete "+worklist.getSafeSymbol()+";"); cr.outputline("resettypemap();"); cr.outputline("break;"); cr.endblock(); cr.outputline("rebuild:"); cr.outputline(";"); }
2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/32bfda5c6823fd1bc1337f18afee0b0502328a23/RepairGenerator.java/clean/RepairCompiler/MCC/IR/RepairGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 67, 12366, 1435, 288, 3639, 1748, 741, 4954, 4271, 1195, 202, 3198, 277, 31, 202, 430, 261, 9213, 18, 862, 4066, 7937, 13, 202, 565, 277, 33, 9505, 367, 18, 13364, 5817, 802, 18, 9200, 20493, 7675, 9838, 5621, 202, 12107, 202, 565, 277, 33, 2019, 18, 90, 4878, 18, 9838, 5621, 202, 1884, 261, 31, 277, 18, 5332, 2134, 5621, 13, 288, 202, 565, 10770, 4954, 31, 202, 565, 309, 261, 9213, 18, 862, 4066, 7937, 13, 202, 202, 13364, 33, 261, 5806, 13, 14015, 4137, 907, 13, 77, 18, 4285, 1435, 2934, 588, 5541, 5621, 202, 565, 469, 202, 202, 13364, 28657, 5806, 13, 77, 18, 4285, 5621, 202, 7734, 288, 202, 202, 6385, 8565, 1388, 384, 273, 4954, 18, 588, 5335, 1388, 5621, 202, 202, 1085, 2289, 4422, 273, 394, 8263, 1085, 2289, 12, 2844, 18196, 1769, 202, 202, 3353, 18, 6206, 5335, 1388, 12, 13364, 18, 588, 5335, 1388, 10663, 202, 202, 3353, 18, 2844, 1369, 2932, 759, 6728, 315, 397, 4114, 12, 13364, 18, 10492, 1435, 10019, 7734, 4422, 18, 1937, 2629, 5621, 7734, 987, 3198, 10251, 3383, 273, 4954, 18, 17753, 3383, 5621, 7734, 1323, 261, 17753, 3383, 18, 5332, 2134, 10756, 288, 10792, 4783, 970, 1251, 10251, 1251, 273, 261, 19471, 1251, 13, 10251, 3383, 18, 4285, 5621, 10792, 10251, 1251, 18, 7163, 67, 3190, 12, 3353, 1769, 7734, 289, 7734, 4422, 18, 2844, 1369, 2932, 474, 6944, 273, 374, 4868, 1769, 4766, 3639, 1748, 2037, 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, 67, 12366, 1435, 288, 3639, 1748, 741, 4954, 4271, 1195, 202, 3198, 277, 31, 202, 430, 261, 9213, 18, 862, 4066, 7937, 13, 202, 565, 277, 33, 9505, 367, 18, 13364, 5817, 802, 18, 9200, 20493, 7675, 9838, 5621, 202, 12107, 202, 565, 277, 33, 2019, 18, 90, 4878, 18, 9838, 5621, 202, 1884, 261, 31, 277, 18, 5332, 2134, 5621, 13, 288, 202, 565, 10770, 4954, 31, 202, 565, 309, 261, 9213, 18, 862, 4066, 7937, 13, 202, 202, 13364, 33, 261, 5806, 13, 14015, 4137, 907, 13, 77, 18, 4285, 1435, 2934, 588, 5541, 5621, 202, 565, 469, 202, 202, 13364, 28657, 5806, 13, 77, 18, 4285, 5621, 202, 7734, 288, 202, 202, 2 ]
GraphModelConnection c = (GraphModelConnection) i.next();
IGraphModelConnection c = (IGraphModelConnection) i.next();
private List recursiveGetConnectionsFrom(NestedGraphModelNode currentNode, NestedGraphModelNode topNode) { List connectedFrom = new ArrayList(); List targetConnections = currentNode.getTargetConnections(); for (Iterator i = targetConnections.iterator(); i.hasNext();) { GraphModelConnection c = (GraphModelConnection) i.next(); //@tag bug(unreported(fix)) : it is possible for nested nodes to be connected to non nested nodes. if (!(c.getSource() instanceof NestedGraphModelNode)) continue; NestedGraphModelNode source = (NestedGraphModelNode) c.getSource(); if (topNode.getRelationshipBetweenNodes(source) != NestedGraphModelNode.ANCESTOR) connectedFrom.add(c); } for (Iterator i = currentNode.getChildren().iterator(); i.hasNext();) { connectedFrom.addAll(recursiveGetConnectionsFrom((NestedGraphModelNode) i.next(), topNode)); } return connectedFrom; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/a3a79bed35b871a171afff98eeddb6ea113e8052/NestedGraphModelNode.java/buggy/sandbox/org.eclipse.mylyn.zest.core/src/org/eclipse/mylyn/zest/core/internal/graphmodel/nested/NestedGraphModelNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 987, 5904, 967, 9314, 1265, 12, 8649, 4137, 1488, 907, 13425, 16, 19071, 4137, 1488, 907, 1760, 907, 13, 288, 202, 202, 682, 5840, 1265, 273, 394, 2407, 5621, 202, 202, 682, 1018, 9314, 273, 13425, 18, 588, 2326, 9314, 5621, 202, 202, 1884, 261, 3198, 277, 273, 1018, 9314, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 4137, 1488, 1952, 276, 273, 261, 4137, 1488, 1952, 13, 277, 18, 4285, 5621, 1082, 202, 759, 36, 2692, 7934, 12, 318, 266, 1798, 12, 904, 3719, 294, 518, 353, 3323, 364, 4764, 2199, 358, 506, 5840, 358, 1661, 4764, 2199, 18, 1082, 202, 430, 16051, 12, 71, 18, 588, 1830, 1435, 1276, 19071, 4137, 1488, 907, 3719, 1324, 31, 1082, 202, 8649, 4137, 1488, 907, 1084, 273, 261, 8649, 4137, 1488, 907, 13, 276, 18, 588, 1830, 5621, 1082, 202, 430, 261, 3669, 907, 18, 588, 8180, 11831, 3205, 12, 3168, 13, 480, 19071, 4137, 1488, 907, 18, 4722, 882, 916, 13, 9506, 202, 8537, 1265, 18, 1289, 12, 71, 1769, 202, 202, 97, 202, 202, 1884, 261, 3198, 277, 273, 13425, 18, 588, 4212, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 8537, 1265, 18, 1289, 1595, 12, 10543, 967, 9314, 1265, 12443, 8649, 4137, 1488, 907, 13, 277, 18, 4285, 9334, 1760, 907, 10019, 202, 202, 97, 202, 202, 2463, 5840, 1265, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 987, 5904, 967, 9314, 1265, 12, 8649, 4137, 1488, 907, 13425, 16, 19071, 4137, 1488, 907, 1760, 907, 13, 288, 202, 202, 682, 5840, 1265, 273, 394, 2407, 5621, 202, 202, 682, 1018, 9314, 273, 13425, 18, 588, 2326, 9314, 5621, 202, 202, 1884, 261, 3198, 277, 273, 1018, 9314, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 4137, 1488, 1952, 276, 273, 261, 4137, 1488, 1952, 13, 277, 18, 4285, 5621, 1082, 202, 759, 36, 2692, 7934, 12, 318, 266, 1798, 12, 904, 3719, 294, 518, 353, 3323, 364, 4764, 2199, 358, 506, 5840, 358, 1661, 4764, 2199, 18, 1082, 202, 430, 16051, 12, 71, 18, 588, 1830, 1435, 1276, 19071, 2 ]
return standardCodes.getData(type, e.type);
if(e.type == null) { return "NULL"; } else { String sc = standardCodes.getData(type, e.type); if(sc == null) { return e.type; } else { return sc; } }
public String text(NodeSet.NodeSetEntry e) { return standardCodes.getData(type, e.type); }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/388dc79784c2930f26e30ef359d1148fe73f365f/StandardCodeTexter.java/clean/tools/java/org/unicode/cldr/web/StandardCodeTexter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 977, 12, 907, 694, 18, 907, 694, 1622, 425, 13, 288, 3639, 309, 12, 73, 18, 723, 422, 446, 13, 288, 327, 315, 8560, 14432, 289, 469, 288, 514, 888, 273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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 977, 12, 907, 694, 18, 907, 694, 1622, 425, 13, 288, 3639, 309, 12, 73, 18, 723, 422, 446, 13, 288, 327, 315, 8560, 14432, 289, 469, 288, 514, 888, 273, 225, 4529, 6295, 18, 588, 751, 12, 723, 16, 425, 18, 723, 1769, 309, 12, 1017, 422, 446, 13, 288, 327, 425, 18, 723, 31, 289, 469, 288, 327, 888, 31, 289, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (ch == rtable.postfixLookupOperator && ! inEscapes && validPostfixLookupStart())
if (postfixMode && ch == rtable.postfixLookupOperator && ! inEscapes && validPostfixLookupStart(rtable))
public void readToken(int ch, boolean inEscapes, char readCase) throws java.io.IOException, SyntaxException { ReadTable rtable = ReadTable.getCurrent(); for (;; ch = read()) { if (ch < 0) { if (inEscapes) eofError("unexpected EOF between escapes"); else break; } ReadTableEntry entry = rtable.lookup(ch); if (entry == null) { if (inEscapes) { tokenBufferAppend(TOKEN_ESCAPE_CHAR); tokenBufferAppend(ch); continue; } unread(ch); break; } int kind = entry.getKind(); if (ch == rtable.postfixLookupOperator && ! inEscapes && validPostfixLookupStart()) kind = ReadTable.TERMINATING_MACRO; if (kind == ReadTable.SINGLE_ESCAPE) { ch = read(); if (ch < 0) eofError("unexpected EOF after single escape"); tokenBufferAppend(TOKEN_ESCAPE_CHAR); tokenBufferAppend(ch); seenEscapes = true; continue; } if (kind == ReadTable.MULTIPLE_ESCAPE) { inEscapes = ! inEscapes; continue; } if (inEscapes) { // Step 9: tokenBufferAppend(TOKEN_ESCAPE_CHAR); tokenBufferAppend(ch); } else { // Step 8: switch (kind) { case ReadTable.CONSTITUENT: // ... fall through ... case ReadTable.NON_TERMINATING_MACRO: if (readCase == 'U' || (readCase == 'I' && Character.isLowerCase((char) ch))) ch = Character.toUpperCase((char) ch); else if (readCase == 'D' || (readCase == 'I' && Character.isUpperCase((char) ch))) ch = Character.toLowerCase ((char) ch); tokenBufferAppend(ch); continue; case ReadTable.MULTIPLE_ESCAPE: inEscapes = true; seenEscapes = true; continue; case ReadTable.TERMINATING_MACRO: unread(ch); return; case ReadTable.WHITESPACE: // if (readPreservingWhitespace) FIXME unread(ch); return; } } } }
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/6cf919d3705207d6e2cacf938c58b9ed226887b6/LispReader.java/buggy/gnu/kawa/lispexpr/LispReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 855, 1345, 12, 474, 462, 16, 1250, 316, 30092, 16, 1149, 855, 2449, 13, 1377, 1216, 2252, 18, 1594, 18, 14106, 16, 11517, 503, 225, 288, 565, 2720, 1388, 436, 2121, 273, 2720, 1388, 18, 588, 3935, 5621, 565, 364, 261, 25708, 462, 273, 855, 10756, 1377, 288, 202, 430, 261, 343, 411, 374, 13, 202, 225, 288, 202, 565, 309, 261, 267, 30092, 13, 202, 1377, 14813, 668, 2932, 21248, 6431, 3086, 23802, 8863, 202, 565, 469, 202, 1377, 898, 31, 202, 225, 289, 202, 1994, 1388, 1622, 1241, 273, 436, 2121, 18, 8664, 12, 343, 1769, 202, 430, 261, 4099, 422, 446, 13, 202, 225, 288, 202, 565, 309, 261, 267, 30092, 13, 202, 1377, 288, 202, 202, 2316, 1892, 5736, 12, 8412, 67, 24849, 67, 7305, 1769, 202, 202, 2316, 1892, 5736, 12, 343, 1769, 202, 202, 17143, 31, 202, 1377, 289, 202, 565, 19541, 12, 343, 1769, 202, 565, 898, 31, 202, 225, 289, 202, 474, 3846, 273, 1241, 18, 588, 5677, 5621, 3639, 309, 261, 343, 422, 436, 2121, 18, 2767, 904, 6609, 5592, 597, 401, 316, 30092, 5411, 597, 923, 24505, 6609, 1685, 10756, 1850, 3846, 273, 2720, 1388, 18, 29516, 28054, 67, 10875, 1457, 31, 10402, 202, 430, 261, 9224, 422, 2720, 1388, 18, 20184, 67, 24849, 13, 202, 225, 288, 202, 565, 462, 273, 855, 5621, 202, 565, 309, 261, 343, 411, 374, 13, 202, 1377, 14813, 668, 2932, 21248, 6431, 1839, 2202, 4114, 8863, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 855, 1345, 12, 474, 462, 16, 1250, 316, 30092, 16, 1149, 855, 2449, 13, 1377, 1216, 2252, 18, 1594, 18, 14106, 16, 11517, 503, 225, 288, 565, 2720, 1388, 436, 2121, 273, 2720, 1388, 18, 588, 3935, 5621, 565, 364, 261, 25708, 462, 273, 855, 10756, 1377, 288, 202, 430, 261, 343, 411, 374, 13, 202, 225, 288, 202, 565, 309, 261, 267, 30092, 13, 202, 1377, 14813, 668, 2932, 21248, 6431, 3086, 23802, 8863, 202, 565, 469, 202, 1377, 898, 31, 202, 225, 289, 202, 1994, 1388, 1622, 1241, 273, 436, 2121, 18, 8664, 12, 343, 1769, 202, 430, 261, 4099, 422, 446, 13, 202, 225, 288, 202, 565, 309, 261, 267, 30092, 13, 202, 2 ]
public void generateKey(NLSSubstitution[] substitutions, String keyPrefix) { if (fState != EXTERNALIZED || ((fState == EXTERNALIZED) && hasChanged())) {
public void generateKey(NLSSubstitution[] substitutions) { if (fState != EXTERNALIZED || ((fState == EXTERNALIZED) && hasStateChanged())) {
public void generateKey(NLSSubstitution[] substitutions, String keyPrefix) { if (fState != EXTERNALIZED || ((fState == EXTERNALIZED) && hasChanged())) { int counter = 0; fKey = createKey(counter); while(true) { int i; for (i = 0; i < substitutions.length; i++) { NLSSubstitution substitution = substitutions[i]; if ((substitution == this) || (substitution.fState != EXTERNALIZED)) continue; if (substitution.hasChanged()) { if (substitution.getKey().equals(fKey)) { fKey = createKey(counter++); break; } } else { if (substitution.getKey().equals(getKeyWithPrefix(keyPrefix))) { fKey = createKey(counter++); break; } } } if (i == substitutions.length) return; } } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/a664535ef1d5fa986173c5b6b54d580c28bdfd0e/NLSSubstitution.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSSubstitution.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2103, 653, 12, 24924, 1260, 373, 14278, 8526, 23368, 16, 514, 28877, 13, 288, 377, 202, 430, 261, 74, 1119, 480, 5675, 11702, 24131, 747, 14015, 74, 1119, 422, 5675, 11702, 24131, 13, 597, 711, 5033, 1435, 3719, 288, 377, 1082, 377, 202, 202, 474, 3895, 273, 374, 31, 377, 202, 202, 74, 653, 273, 752, 653, 12, 7476, 1769, 377, 202, 202, 17523, 12, 3767, 13, 288, 377, 1082, 202, 474, 277, 31, 377, 1082, 202, 1884, 261, 77, 273, 374, 31, 277, 411, 23368, 18, 2469, 31, 277, 27245, 288, 377, 9506, 202, 24924, 1260, 373, 14278, 12785, 273, 23368, 63, 77, 15533, 377, 9506, 202, 430, 14015, 1717, 14278, 422, 333, 13, 747, 261, 1717, 14278, 18, 74, 1119, 480, 5675, 11702, 24131, 3719, 1324, 31, 377, 9506, 202, 430, 261, 1717, 14278, 18, 5332, 5033, 10756, 288, 377, 6862, 202, 430, 261, 1717, 14278, 18, 588, 653, 7675, 14963, 12, 74, 653, 3719, 288, 540, 6862, 202, 74, 653, 273, 752, 653, 12, 7476, 9904, 1769, 540, 6862, 202, 8820, 31, 540, 9506, 202, 97, 377, 9506, 202, 97, 469, 288, 377, 6862, 202, 430, 261, 1717, 14278, 18, 588, 653, 7675, 14963, 12, 588, 653, 1190, 2244, 12, 856, 2244, 20349, 288, 377, 25083, 202, 74, 653, 273, 752, 653, 12, 7476, 9904, 1769, 377, 25083, 202, 8820, 31, 377, 6862, 202, 97, 377, 9506, 202, 97, 377, 1082, 202, 97, 377, 1082, 202, 430, 261, 77, 422, 23368, 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, 2103, 653, 12, 24924, 1260, 373, 14278, 8526, 23368, 16, 514, 28877, 13, 288, 377, 202, 430, 261, 74, 1119, 480, 5675, 11702, 24131, 747, 14015, 74, 1119, 422, 5675, 11702, 24131, 13, 597, 711, 5033, 1435, 3719, 288, 377, 1082, 377, 202, 202, 474, 3895, 273, 374, 31, 377, 202, 202, 74, 653, 273, 752, 653, 12, 7476, 1769, 377, 202, 202, 17523, 12, 3767, 13, 288, 377, 1082, 202, 474, 277, 31, 377, 1082, 202, 1884, 261, 77, 273, 374, 31, 277, 411, 23368, 18, 2469, 31, 277, 27245, 288, 377, 9506, 202, 24924, 1260, 373, 14278, 12785, 273, 23368, 63, 77, 15533, 377, 9506, 202, 430, 14015, 1717, 14278, 422, 333, 13, 747, 2 ]
public static void bind(Class name, Object service) throws NamingException, NameAlreadyBoundException { getNameSpace().bind(name, service);
public static void bind(Class name, Object service) throws NamingException, NameAlreadyBoundException { getNameSpace().bind(name, service);
public static void bind(Class name, Object service) throws NamingException, NameAlreadyBoundException { getNameSpace().bind(name, service); }
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, 918, 1993, 12, 797, 508, 16, 1033, 1156, 13, 225, 202, 15069, 26890, 16, 1770, 9430, 3499, 503, 288, 3639, 1723, 3819, 7675, 4376, 12, 529, 16, 1156, 1769, 202, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1993, 12, 797, 508, 16, 1033, 1156, 13, 225, 202, 15069, 26890, 16, 1770, 9430, 3499, 503, 288, 3639, 1723, 3819, 7675, 4376, 12, 529, 16, 1156, 1769, 202, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
OPT_BasicBlock b1 = (OPT_BasicBlock)out1.getOutNodes().nextElement();
OPT_BasicBlock b1 = (OPT_BasicBlock)out1.getNormalOut().nextElement();
static OPT_Diamond buildDiamond(OPT_BasicBlock bb) { if (bb.getNumberOfNormalOut() != 2) return null; // Identify the two out nodes from bb. Enumeration outNodes = bb.getOutNodes(); OPT_BasicBlock out1 = (OPT_BasicBlock)outNodes.nextElement(); OPT_BasicBlock out2 = (OPT_BasicBlock)outNodes.nextElement(); int out1In = out1.getNumberOfIn(); int out2In = out2.getNumberOfIn(); if (out1In == 1 && out2In ==1) { // look for the case where the diamond has four non-empty blocks. if (out1.getNumberOfNormalOut() == 1 && out2.getNumberOfNormalOut() == 1) { OPT_BasicBlock b1 = (OPT_BasicBlock)out1.getOutNodes().nextElement(); OPT_BasicBlock b2 = (OPT_BasicBlock)out2.getOutNodes().nextElement(); if (b1 == b2) { if (b1.getNumberOfIn() == 2) { return fourElementDiamond(bb,out1,out2,b1); } } } } else if (out1In == 1 && out2In == 2) { // check for a 3-element diamond if (out1.getNumberOfNormalOut() == 1) { OPT_BasicBlock b1 = (OPT_BasicBlock)out1.getOutNodes().nextElement(); if (b1 == out2) { if (b1.getNumberOfIn() == 2) { return threeElementDiamond(bb,out1,out2); } } } } else if (out1In == 1 && out2In == 2) { // check for a 3-element diamond if (out2.getNumberOfNormalOut() == 1) { OPT_BasicBlock b2 = (OPT_BasicBlock)out2.getOutNodes().nextElement(); if (b2 == out1) { if (b2.getNumberOfIn() == 2) { return threeElementDiamond(bb,out2,out1); } } } } // didn't find a diamond return null; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/1dda5410520a0f500ffcd29f04308d88ddf71967/OPT_Diamond.java/buggy/rvm/src/vm/compilers/optimizing/optimizations/control/OPT_Diamond.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 16456, 67, 14521, 301, 1434, 1361, 14521, 301, 1434, 12, 15620, 67, 8252, 1768, 7129, 13, 288, 565, 309, 261, 9897, 18, 588, 9226, 5506, 1182, 1435, 480, 576, 13, 327, 446, 31, 565, 368, 25622, 326, 2795, 596, 2199, 628, 7129, 18, 565, 13864, 596, 3205, 273, 7129, 18, 588, 1182, 3205, 5621, 565, 16456, 67, 8252, 1768, 596, 21, 273, 261, 15620, 67, 8252, 1768, 13, 659, 3205, 18, 4285, 1046, 5621, 565, 16456, 67, 8252, 1768, 596, 22, 273, 261, 15620, 67, 8252, 1768, 13, 659, 3205, 18, 4285, 1046, 5621, 565, 509, 596, 21, 382, 273, 596, 21, 18, 588, 9226, 382, 5621, 565, 509, 596, 22, 382, 273, 596, 22, 18, 588, 9226, 382, 5621, 565, 309, 261, 659, 21, 382, 422, 404, 597, 596, 22, 382, 422, 21, 13, 288, 1377, 368, 2324, 364, 326, 648, 1625, 326, 4314, 301, 1434, 711, 12792, 1661, 17, 5531, 4398, 18, 1377, 309, 261, 659, 21, 18, 588, 9226, 5506, 1182, 1435, 422, 404, 597, 6647, 596, 22, 18, 588, 9226, 5506, 1182, 1435, 422, 404, 13, 288, 3639, 16456, 67, 8252, 1768, 324, 21, 273, 261, 15620, 67, 8252, 1768, 13, 659, 21, 18, 588, 5506, 1182, 7675, 4285, 1046, 5621, 3639, 16456, 67, 8252, 1768, 324, 22, 273, 261, 15620, 67, 8252, 1768, 13, 659, 22, 18, 588, 1182, 3205, 7675, 4285, 1046, 5621, 3639, 309, 261, 70, 21, 422, 324, 22, 13, 288, 1850, 309, 261, 70, 21, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 16456, 67, 14521, 301, 1434, 1361, 14521, 301, 1434, 12, 15620, 67, 8252, 1768, 7129, 13, 288, 565, 309, 261, 9897, 18, 588, 9226, 5506, 1182, 1435, 480, 576, 13, 327, 446, 31, 565, 368, 25622, 326, 2795, 596, 2199, 628, 7129, 18, 565, 13864, 596, 3205, 273, 7129, 18, 588, 1182, 3205, 5621, 565, 16456, 67, 8252, 1768, 596, 21, 273, 261, 15620, 67, 8252, 1768, 13, 659, 3205, 18, 4285, 1046, 5621, 565, 16456, 67, 8252, 1768, 596, 22, 273, 261, 15620, 67, 8252, 1768, 13, 659, 3205, 18, 4285, 1046, 5621, 565, 509, 596, 21, 382, 273, 596, 21, 18, 588, 9226, 382, 5621, 565, 509, 596, 22, 382, 273, 596, 22, 18, 588, 2 ]
noex = iVisited.getNoex();
noex = iVisited.getVisibility();
public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = ruby.getRubyClass(); if (rubyClass == null) { throw new TypeError(ruby, "No class to add method."); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // warn("redefining Object#initialize may cause infinite loop"); //} //if (node.nd_mid() == __id__ || node.nd_mid() == __send__) { // warn("redefining `%s' may cause serious problem", ((RubyId)node.nd_mid()).toName()); //} // ruby_class.setFrozen(true); ICallable method = rubyClass.searchMethod(iVisited.getName()); // RubyObject origin = body.getOrigin(); // if (body != null){ // if (ruby_verbose.isTrue() && ruby_class == origin && body.nd_cnt() == 0) { // rom.rb_warning("discarding old %s", ((RubyId)node.nd_mid()).toName()); // } // if (node.nd_noex() != 0) { /* toplevel */ /* should upgrade to rb_warn() if no super was called inside? */ // rom.rb_warning("overriding global function `%s'", ((RubyId)node.nd_mid()).toName()); // } // } Visibility noex = Visibility.PUBLIC; if (ruby.isScope(Constants.SCOPE_PRIVATE) || iVisited.getName().equals("initialize")) { noex = Visibility.PRIVATE; } else if (ruby.isScope(Constants.SCOPE_PROTECTED)) { noex = Visibility.PROTECTED; } else if (rubyClass == ruby.getClasses().getObjectClass()) { noex = iVisited.getNoex(); } /* FIXME Fix the undef stuff if (method != null && method.getImplementationClass() == rubyClass && (method.getVisibility() & Constants.NOEX_UNDEF) != 0) { noex |= Constants.NOEX_UNDEF; } */ // FIXME Create new method store class. // ScopeNode body = copyNodeScope((ScopeNode)iVisited.getBodyNode(), ruby.getNamespace()); DefaultMethod newMethod = new DefaultMethod(iVisited.getBodyNode(), (ArgsNode) iVisited.getArgsNode(), ruby.getNamespace(), noex); rubyClass.addMethod(iVisited.getName(), newMethod); if (ruby.getCurrentMethodScope() == Constants.SCOPE_MODFUNC) { rubyClass.getSingletonClass().addMethod(iVisited.getName(), new WrapperCallable(newMethod, Visibility.PUBLIC)); rubyClass.callMethod("singleton_method_added", builtins.toSymbol(iVisited.getName())); } if (rubyClass.isSingleton()) { rubyClass.getInstanceVariable("__attached__").callMethod("singleton_method_added", builtins.toSymbol(iVisited.getName())); } else { rubyClass.callMethod("method_added", builtins.toSymbol(iVisited.getName())); } }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/615c030e9e2e4f7129fe3e92d877dd15dd313c3d/EvaluateVisitor.java/clean/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 3262, 82, 907, 12, 3262, 82, 907, 277, 30019, 13, 288, 3639, 19817, 3120, 22155, 797, 273, 22155, 18, 588, 54, 10340, 797, 5621, 3639, 309, 261, 27768, 797, 422, 446, 13, 288, 5411, 604, 394, 3580, 12, 27768, 16, 315, 2279, 667, 358, 527, 707, 1199, 1769, 3639, 289, 3639, 368, 430, 261, 27768, 67, 1106, 422, 4170, 10340, 7675, 588, 921, 797, 1435, 597, 756, 18, 4880, 67, 13138, 1435, 422, 1208, 13, 288, 3639, 368, 1894, 2932, 266, 5649, 310, 1033, 7, 11160, 2026, 4620, 14853, 2798, 8863, 3639, 19363, 3639, 368, 430, 261, 2159, 18, 4880, 67, 13138, 1435, 422, 1001, 350, 972, 747, 756, 18, 4880, 67, 13138, 1435, 422, 1001, 4661, 972, 13, 288, 3639, 368, 1894, 2932, 266, 5649, 310, 12430, 87, 11, 2026, 4620, 703, 22774, 6199, 3113, 14015, 54, 10340, 548, 13, 2159, 18, 4880, 67, 13138, 1435, 2934, 869, 461, 10663, 3639, 19363, 3639, 368, 22155, 67, 1106, 18, 542, 42, 9808, 12, 3767, 1769, 3639, 467, 11452, 707, 273, 22155, 797, 18, 3072, 1305, 12, 77, 30019, 18, 17994, 10663, 3639, 368, 19817, 921, 4026, 273, 1417, 18, 588, 7571, 5621, 3639, 368, 309, 261, 3432, 480, 446, 15329, 3639, 368, 309, 261, 27768, 67, 11369, 18, 291, 5510, 1435, 597, 22155, 67, 1106, 422, 4026, 597, 1417, 18, 4880, 67, 13085, 1435, 422, 374, 13, 288, 3639, 368, 377, 24137, 18, 6731, 67, 8551, 2932, 31992, 310, 1592, 738, 87, 3113, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 3262, 82, 907, 12, 3262, 82, 907, 277, 30019, 13, 288, 3639, 19817, 3120, 22155, 797, 273, 22155, 18, 588, 54, 10340, 797, 5621, 3639, 309, 261, 27768, 797, 422, 446, 13, 288, 5411, 604, 394, 3580, 12, 27768, 16, 315, 2279, 667, 358, 527, 707, 1199, 1769, 3639, 289, 3639, 368, 430, 261, 27768, 67, 1106, 422, 4170, 10340, 7675, 588, 921, 797, 1435, 597, 756, 18, 4880, 67, 13138, 1435, 422, 1208, 13, 288, 3639, 368, 1894, 2932, 266, 5649, 310, 1033, 7, 11160, 2026, 4620, 14853, 2798, 8863, 3639, 19363, 3639, 368, 430, 261, 2159, 18, 4880, 67, 13138, 1435, 422, 1001, 350, 972, 747, 756, 18, 4880, 67, 13138, 1435, 422, 2 ]
input.close(); }
input.close(); }
protected void initMapping() throws IOException, ServletException { String value = null; // Link our mappings collection to this servlet instance mappings.setServlet(this); // Initialize the debugging detail level we will use int detail; try { value = getServletConfig().getInitParameter("detail"); detail = Integer.parseInt(value); } catch (Throwable t) { detail = 0; } // Initialize the validating XML parser flag value = getServletConfig().getInitParameter("validating"); if (value != null) { if (value.equalsIgnoreCase("true") || value.equalsIgnoreCase("yes")) validating = true; else validating = false; } // Initialize the name of our ActionFormBean implementation class value = getServletConfig().getInitParameter("formBean"); if (value != null) formBeanClass = value; // Initialize the name of our ActionForward implementation class value = getServletConfig().getInitParameter("forward"); if (value != null) forwardClass = value; // Initialize the name of our ActionMapping implementation class value = getServletConfig().getInitParameter("mapping"); if (value != null) mappingClass = value; // Initialize the context-relative path to our configuration resources value = getServletConfig().getInitParameter("config"); if (value != null) config = value; if (debug >= 1) log(internal.getMessage("configInit", config)); // Acquire an input stream to our configuration resource InputStream input = getServletContext().getResourceAsStream(config); if (input == null) throw new UnavailableException (internal.getMessage("configMissing", config)); // Build a digester to process our configuration resource Digester digester = initDigester(detail); // Parse the input stream to configure our mappings try { formBeans.setFast(false); forwards.setFast(false); mappings.setFast(false); digester.parse(input); mappings.setFast(true); forwards.setFast(true); formBeans.setFast(true); } catch (SAXException e) { throw new ServletException (internal.getMessage("configParse", config), e); } finally { input.close(); } }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/893cf1f05ff2aed2f868307f45763b5b3bc5a257/ActionServlet.java/clean/src/share/org/apache/struts/action/ActionServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1208, 3233, 1435, 1216, 1860, 16, 16517, 288, 202, 780, 460, 273, 446, 31, 3639, 368, 4048, 3134, 7990, 1849, 358, 333, 8100, 791, 3639, 7990, 18, 542, 4745, 12, 2211, 1769, 202, 759, 9190, 326, 10450, 7664, 1801, 732, 903, 999, 202, 474, 7664, 31, 202, 698, 288, 202, 565, 460, 273, 19136, 809, 7675, 588, 2570, 1662, 2932, 8992, 8863, 202, 565, 7664, 273, 2144, 18, 2670, 1702, 12, 1132, 1769, 202, 97, 1044, 261, 15155, 268, 13, 288, 202, 565, 7664, 273, 374, 31, 202, 97, 202, 759, 9190, 326, 18075, 3167, 2082, 2982, 202, 1132, 273, 19136, 809, 7675, 588, 2570, 1662, 2932, 877, 1776, 8863, 202, 430, 261, 1132, 480, 446, 13, 288, 202, 565, 309, 261, 1132, 18, 14963, 5556, 2932, 3767, 7923, 747, 202, 3639, 460, 18, 14963, 5556, 2932, 9707, 6, 3719, 202, 3639, 18075, 273, 638, 31, 202, 565, 469, 202, 3639, 18075, 273, 629, 31, 202, 97, 3639, 368, 9190, 326, 508, 434, 3134, 4382, 1204, 3381, 4471, 667, 3639, 460, 273, 19136, 809, 7675, 588, 2570, 1662, 2932, 687, 3381, 8863, 3639, 309, 261, 1132, 480, 446, 13, 5411, 646, 3381, 797, 273, 460, 31, 202, 759, 9190, 326, 508, 434, 3134, 4382, 8514, 4471, 667, 202, 1132, 273, 19136, 809, 7675, 588, 2570, 1662, 2932, 11565, 8863, 202, 430, 261, 1132, 480, 446, 13, 202, 565, 5104, 797, 273, 460, 31, 202, 759, 9190, 326, 508, 434, 3134, 4382, 3233, 4471, 667, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1208, 3233, 1435, 1216, 1860, 16, 16517, 288, 202, 780, 460, 273, 446, 31, 3639, 368, 4048, 3134, 7990, 1849, 358, 333, 8100, 791, 3639, 7990, 18, 542, 4745, 12, 2211, 1769, 202, 759, 9190, 326, 10450, 7664, 1801, 732, 903, 999, 202, 474, 7664, 31, 202, 698, 288, 202, 565, 460, 273, 19136, 809, 7675, 588, 2570, 1662, 2932, 8992, 8863, 202, 565, 7664, 273, 2144, 18, 2670, 1702, 12, 1132, 1769, 202, 97, 1044, 261, 15155, 268, 13, 288, 202, 565, 7664, 273, 374, 31, 202, 97, 202, 759, 9190, 326, 18075, 3167, 2082, 2982, 202, 1132, 273, 19136, 809, 7675, 588, 2570, 1662, 2932, 877, 1776, 8863, 202, 430, 261, 1132, 480, 446, 2 ]
buffer[1],
repair.recoveryOnNextStack ? buffer[1] : buffer[2],
private void secondaryDiagnosis(SecondaryRepairInfo repair) { switch(repair.code) { case SCOPE_CODE: { if (repair.stackPosition < stateStackTop) { reportError(DELETION_CODE, Parser.terminal_index[ERROR_SYMBOL], locationStack[repair.stackPosition], buffer[1]); } for (int i = 0; i < scopeStackTop; i++) { reportError(SCOPE_CODE, -scopeIndex[i], locationStack[scopePosition[i]], buffer[1], Parser.non_terminal_index[Parser.scope_lhs[scopeIndex[i]]]); } repair.symbol = Parser.scope_lhs[scopeIndex[scopeStackTop]] + NT_OFFSET; stateStackTop = scopePosition[scopeStackTop]; reportError(SCOPE_CODE, -scopeIndex[scopeStackTop], locationStack[scopePosition[scopeStackTop]], buffer[1], getNtermIndex(stack[stateStackTop], repair.symbol, repair.bufferPosition) ); break; } default: { reportError(repair.code, (repair.code == SECONDARY_CODE ? getNtermIndex(stack[repair.stackPosition], repair.symbol, repair.bufferPosition) : Parser.terminal_index[ERROR_SYMBOL]), locationStack[repair.stackPosition], buffer[repair.bufferPosition - 1]); stateStackTop = repair.stackPosition; } } }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/a45110537db794da9beaea8c7409e380466db842/DiagnoseParser.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 9946, 14058, 18050, 291, 12, 14893, 426, 6017, 966, 20994, 13, 288, 202, 202, 9610, 12, 266, 6017, 18, 710, 13, 288, 1082, 202, 3593, 19296, 67, 5572, 30, 288, 202, 5411, 309, 261, 266, 6017, 18, 3772, 2555, 411, 919, 2624, 3401, 13, 288, 202, 7734, 17887, 12, 1639, 30985, 67, 5572, 16, 202, 18701, 6783, 18, 15979, 67, 1615, 63, 3589, 67, 22093, 6487, 202, 18701, 2117, 2624, 63, 266, 6017, 18, 3772, 2555, 6487, 202, 18701, 1613, 63, 21, 19226, 202, 5411, 289, 202, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2146, 2624, 3401, 31, 277, 27245, 288, 202, 7734, 17887, 12, 19444, 67, 5572, 16, 202, 18701, 300, 4887, 1016, 63, 77, 6487, 202, 18701, 2117, 2624, 63, 4887, 2555, 63, 77, 65, 6487, 202, 18701, 1613, 63, 21, 6487, 202, 18701, 6783, 18, 5836, 67, 15979, 67, 1615, 63, 2678, 18, 4887, 67, 80, 4487, 63, 4887, 1016, 63, 77, 13563, 19226, 202, 5411, 289, 1082, 5411, 20994, 18, 7175, 273, 6783, 18, 4887, 67, 80, 4487, 63, 4887, 1016, 63, 4887, 2624, 3401, 13563, 397, 20064, 67, 11271, 31, 202, 5411, 919, 2624, 3401, 273, 2146, 2555, 63, 4887, 2624, 3401, 15533, 202, 5411, 17887, 12, 19444, 67, 5572, 16, 202, 13491, 300, 4887, 1016, 63, 4887, 2624, 3401, 6487, 202, 13491, 2117, 2624, 63, 4887, 2555, 63, 4887, 2624, 3401, 65, 6487, 202, 13491, 1613, 63, 21, 6487, 202, 13491, 11069, 6408, 1016, 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, 9946, 14058, 18050, 291, 12, 14893, 426, 6017, 966, 20994, 13, 288, 202, 202, 9610, 12, 266, 6017, 18, 710, 13, 288, 1082, 202, 3593, 19296, 67, 5572, 30, 288, 202, 5411, 309, 261, 266, 6017, 18, 3772, 2555, 411, 919, 2624, 3401, 13, 288, 202, 7734, 17887, 12, 1639, 30985, 67, 5572, 16, 202, 18701, 6783, 18, 15979, 67, 1615, 63, 3589, 67, 22093, 6487, 202, 18701, 2117, 2624, 63, 266, 6017, 18, 3772, 2555, 6487, 202, 18701, 1613, 63, 21, 19226, 202, 5411, 289, 202, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2146, 2624, 3401, 31, 277, 27245, 288, 202, 7734, 17887, 12, 19444, 67, 5572, 16, 202, 18701, 300, 2 ]
} } else { _numActive++; return pair.value;
} else { continue; }
public synchronized Object borrowObject() throws Exception { assertOpen(); long starttime = System.currentTimeMillis(); boolean newlyCreated = false; for(;;) { ObjectTimestampPair pair = null; // if there are any sleeping, just grab one of those try { pair = (ObjectTimestampPair)(_pool.removeFirst()); } catch(NoSuchElementException e) { ; /* ignored */ } // otherwise if(null == pair) { // check if we can create one // (note we know that the num sleeping is 0, else we wouldn't be here) if(_maxActive <= 0 || _numActive < _maxActive) { Object obj = _factory.makeObject(); pair = new ObjectTimestampPair(obj); newlyCreated = true; } else { // the pool is exhausted switch(_whenExhaustedAction) { case WHEN_EXHAUSTED_GROW: Object obj = _factory.makeObject(); pair = new ObjectTimestampPair(obj); break; case WHEN_EXHAUSTED_FAIL: throw new NoSuchElementException(); case WHEN_EXHAUSTED_BLOCK: try { if(_maxWait <= 0) { wait(); } else { wait(_maxWait); } } catch(InterruptedException e) { // ignored } if(_maxWait > 0 && ((System.currentTimeMillis() - starttime) >= _maxWait)) { throw new NoSuchElementException("Timeout waiting for idle object"); } else { continue; // keep looping } default: throw new IllegalArgumentException("whenExhaustedAction " + _whenExhaustedAction + " not recognized."); } } } _factory.activateObject(pair.value); if(_testOnBorrow && !_factory.validateObject(pair.value)) { _factory.destroyObject(pair.value); if(newlyCreated) { throw new NoSuchElementException("Could not create a validated object"); } // else keep looping } else { _numActive++; return pair.value; } } }
50977 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50977/9edfa6440c9902186229544c41e8449da42b6b9a/GenericObjectPool.java/clean/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1033, 29759, 921, 1435, 1216, 1185, 288, 3639, 1815, 3678, 5621, 3639, 1525, 23437, 273, 2332, 18, 2972, 28512, 5621, 3639, 1250, 10894, 6119, 273, 629, 31, 3639, 364, 12, 25708, 13, 288, 5411, 1033, 4921, 4154, 3082, 273, 446, 31, 5411, 368, 309, 1915, 854, 1281, 5329, 310, 16, 2537, 11086, 1245, 434, 5348, 5411, 775, 288, 7734, 3082, 273, 261, 921, 4921, 4154, 21433, 67, 6011, 18, 4479, 3759, 10663, 5411, 289, 1044, 12, 28341, 20826, 425, 13, 288, 7734, 274, 1748, 5455, 1195, 5411, 289, 5411, 368, 3541, 5411, 309, 12, 2011, 422, 3082, 13, 288, 7734, 368, 866, 309, 732, 848, 752, 1245, 7734, 368, 261, 7652, 732, 5055, 716, 326, 818, 5329, 310, 353, 374, 16, 469, 732, 4102, 82, 1404, 506, 2674, 13, 7734, 309, 24899, 1896, 3896, 1648, 374, 747, 389, 2107, 3896, 411, 389, 1896, 3896, 13, 288, 10792, 1033, 1081, 273, 389, 6848, 18, 6540, 921, 5621, 10792, 3082, 273, 394, 1033, 4921, 4154, 12, 2603, 1769, 10792, 10894, 6119, 273, 638, 31, 7734, 289, 469, 288, 10792, 368, 326, 2845, 353, 24948, 10792, 1620, 24899, 13723, 424, 3395, 7328, 1803, 13, 288, 13491, 648, 29707, 67, 2294, 19191, 5996, 2056, 67, 43, 11226, 30, 18701, 1033, 1081, 273, 389, 6848, 18, 6540, 921, 5621, 18701, 3082, 273, 394, 1033, 4921, 4154, 12, 2603, 1769, 18701, 898, 31, 13491, 648, 29707, 67, 2294, 19191, 5996, 2056, 67, 12319, 30, 18701, 604, 394, 23104, 5621, 13491, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1033, 29759, 921, 1435, 1216, 1185, 288, 3639, 1815, 3678, 5621, 3639, 1525, 23437, 273, 2332, 18, 2972, 28512, 5621, 3639, 1250, 10894, 6119, 273, 629, 31, 3639, 364, 12, 25708, 13, 288, 5411, 1033, 4921, 4154, 3082, 273, 446, 31, 5411, 368, 309, 1915, 854, 1281, 5329, 310, 16, 2537, 11086, 1245, 434, 5348, 5411, 775, 288, 7734, 3082, 273, 261, 921, 4921, 4154, 21433, 67, 6011, 18, 4479, 3759, 10663, 5411, 289, 1044, 12, 28341, 20826, 425, 13, 288, 7734, 274, 1748, 5455, 1195, 5411, 289, 5411, 368, 3541, 5411, 309, 12, 2011, 422, 3082, 13, 288, 7734, 368, 866, 309, 732, 848, 752, 1245, 7734, 368, 261, 7652, 732, 5055, 716, 326, 818, 2 ]
void initialiseCRC() {
void initialiseCRC() {
void initialiseCRC() { globalCrc = 0xffffffff; }
10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/CRC.java/buggy/src/main/java/org/codehaus/plexus/archiver/bzip2/CRC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 21301, 26803, 1435, 288, 3639, 2552, 39, 1310, 273, 374, 28857, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 21301, 26803, 1435, 288, 3639, 2552, 39, 1310, 273, 374, 28857, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void global() throws RecognitionException { Token id=null; String type = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:325:17: ( 'global' type= dotted_name id= ID ( ';' )? opt_eol ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:325:17: 'global' type= dotted_name id= ID ( ';' )? opt_eol { match(input,21,FOLLOW_21_in_global325); following.push(FOLLOW_dotted_name_in_global329); type=dotted_name(); following.pop(); id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_global333); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:325:49: ( ';' )? int alt11=2; int LA11_0 = input.LA(1); if ( LA11_0==15 ) { alt11=1; } else if ( LA11_0==-1||LA11_0==EOL||LA11_0==17||(LA11_0>=20 && LA11_0<=22)||LA11_0==28||LA11_0==30 ) { alt11=2; } else { NoViableAltException nvae = new NoViableAltException("325:49: ( \';\' )?", 11, 0, input); throw nvae; } switch (alt11) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:325:49: ';' { match(input,15,FOLLOW_15_in_global335); } break; } following.push(FOLLOW_opt_eol_in_global338); opt_eol(); following.pop(); packageDescr.addGlobal( id.getText(), type ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/fb2f51ad0fb80e03d0cc7f4644cb7a7e17027618/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2552, 1435, 1216, 9539, 288, 6647, 3155, 612, 33, 2011, 31, 3639, 514, 618, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 1578, 25, 30, 4033, 30, 261, 296, 6347, 11, 618, 33, 20965, 67, 529, 612, 33, 1599, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 1578, 25, 30, 4033, 30, 296, 6347, 11, 618, 33, 20965, 67, 529, 612, 33, 1599, 261, 7554, 7851, 2153, 67, 30951, 5411, 288, 5411, 845, 12, 2630, 16, 5340, 16, 29890, 67, 5340, 67, 267, 67, 6347, 1578, 25, 1769, 2398, 3751, 18, 6206, 12, 29890, 67, 9811, 2344, 67, 529, 67, 267, 67, 6347, 1578, 29, 1769, 5411, 618, 33, 9811, 2344, 67, 529, 5621, 5411, 3751, 18, 5120, 5621, 5411, 612, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 734, 16, 29890, 67, 734, 67, 267, 67, 6347, 3707, 23, 1769, 2398, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 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, 2552, 1435, 1216, 9539, 288, 6647, 3155, 612, 33, 2011, 31, 3639, 514, 618, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 1578, 25, 30, 4033, 30, 261, 296, 6347, 11, 618, 33, 20965, 67, 529, 612, 33, 1599, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 2 ]
if (! entry.isDirectory()) { zipFile(in, zOut, prefix+vPath, entry.getTime(),
if (!entry.isDirectory()) { zipFile(in, zOut, prefix + vPath, entry.getTime(),
protected void addZipEntries(ZipFileSet fs, DirectoryScanner ds, ZipOutputStream zOut, String prefix, String fullpath) throws IOException { log("adding zip entries: " + fullpath, Project.MSG_VERBOSE); if (prefix.length() > 0 && fullpath.length() > 0) { throw new BuildException("Both prefix and fullpath attributes must" + " not be set on the same fileset."); } ZipScanner zipScanner = (ZipScanner) ds; File zipSrc = fs.getSrc(); ZipEntry entry; java.util.zip.ZipEntry origEntry; ZipInputStream in = null; try { in = new ZipInputStream(new FileInputStream(zipSrc)); while ((origEntry = in.getNextEntry()) != null) { entry = new ZipEntry(origEntry); String vPath = entry.getName(); if (zipScanner.match(vPath)) { if (fullpath.length() > 0) { addParentDirs(null, fullpath, zOut, ""); zipFile(in, zOut, fullpath, entry.getTime(), zipSrc); } else { addParentDirs(null, vPath, zOut, prefix); if (! entry.isDirectory()) { zipFile(in, zOut, prefix+vPath, entry.getTime(), zipSrc); } } } } } finally { if (in != null) { in.close(); } } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/c7b5b643b25b20f5c96097b2c54e2e26a054f212/Zip.java/clean/src/main/org/apache/tools/ant/taskdefs/Zip.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 9141, 5400, 12, 29394, 694, 2662, 16, 8930, 11338, 3780, 16, 4766, 8603, 4632, 998, 1182, 16, 514, 1633, 16, 21394, 514, 15170, 13, 3639, 1216, 1860, 565, 288, 3639, 613, 2932, 3439, 3144, 3222, 30, 315, 397, 15170, 16, 5420, 18, 11210, 67, 21900, 1769, 3639, 309, 261, 3239, 18, 2469, 1435, 405, 374, 597, 15170, 18, 2469, 1435, 405, 374, 13, 288, 5411, 604, 394, 18463, 2932, 20240, 1633, 471, 15170, 1677, 1297, 6, 19694, 397, 315, 486, 506, 444, 603, 326, 1967, 1390, 278, 1199, 1769, 3639, 289, 3639, 8603, 11338, 3144, 11338, 273, 261, 9141, 11338, 13, 3780, 31, 3639, 1387, 3144, 7740, 273, 2662, 18, 588, 7740, 5621, 3639, 23652, 1241, 31, 3639, 2252, 18, 1367, 18, 4450, 18, 9141, 1622, 1647, 1622, 31, 3639, 8603, 4348, 316, 273, 446, 31, 3639, 775, 288, 5411, 316, 273, 394, 8603, 4348, 12, 2704, 11907, 12, 4450, 7740, 10019, 5411, 1323, 14015, 4949, 1622, 273, 316, 18, 588, 2134, 1622, 10756, 480, 446, 13, 288, 7734, 1241, 273, 394, 23652, 12, 4949, 1622, 1769, 7734, 514, 331, 743, 273, 1241, 18, 17994, 5621, 7734, 309, 261, 4450, 11338, 18, 1916, 12, 90, 743, 3719, 288, 10792, 309, 261, 2854, 803, 18, 2469, 1435, 405, 374, 13, 288, 13491, 527, 3054, 9872, 12, 2011, 16, 15170, 16, 998, 1182, 16, 1408, 1769, 13491, 19450, 12, 267, 16, 998, 1182, 16, 15170, 16, 1241, 18, 588, 950, 9334, 3144, 7740, 1769, 10792, 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, 527, 9141, 5400, 12, 29394, 694, 2662, 16, 8930, 11338, 3780, 16, 4766, 8603, 4632, 998, 1182, 16, 514, 1633, 16, 21394, 514, 15170, 13, 3639, 1216, 1860, 565, 288, 3639, 613, 2932, 3439, 3144, 3222, 30, 315, 397, 15170, 16, 5420, 18, 11210, 67, 21900, 1769, 3639, 309, 261, 3239, 18, 2469, 1435, 405, 374, 597, 15170, 18, 2469, 1435, 405, 374, 13, 288, 5411, 604, 394, 18463, 2932, 20240, 1633, 471, 15170, 1677, 1297, 6, 19694, 397, 315, 486, 506, 444, 603, 326, 1967, 1390, 278, 1199, 1769, 3639, 289, 3639, 8603, 11338, 3144, 11338, 273, 261, 9141, 11338, 13, 3780, 31, 3639, 1387, 3144, 7740, 273, 2662, 18, 588, 7740, 5621, 3639, 23652, 2 ]
Cursor cursor = DragSource.DefaultCopyNoDrop; myCurrentDragContext.setCursor(cursor);
myCurrentDragContext.setCursor(null);
private void onDragExit() { if (myCurrentDragContext != null) { Cursor cursor = DragSource.DefaultCopyNoDrop; myCurrentDragContext.setCursor(cursor); } myLastProcessedTarget.cleanUpOnLeave(); hideCurrentHighlighter(); //FabriqueStatusBar.setStatusText(""); myHightlighterShowRequest = null; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/1175c8c5dd00704d4c12e1b6f540c24696396592/DnDManagerImpl.java/buggy/source/com/intellij/ide/dnd/DnDManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 603, 11728, 6767, 1435, 288, 565, 309, 261, 4811, 3935, 11728, 1042, 480, 446, 13, 288, 1377, 13949, 3347, 273, 28425, 1830, 18, 1868, 2951, 2279, 7544, 31, 1377, 3399, 3935, 11728, 1042, 18, 542, 6688, 12, 9216, 1769, 565, 289, 565, 3399, 3024, 13533, 2326, 18, 6200, 1211, 1398, 21300, 5621, 565, 6853, 3935, 8573, 23624, 5621, 565, 368, 42, 378, 566, 1857, 1482, 5190, 18, 542, 1482, 1528, 2932, 8863, 565, 3399, 44, 750, 23624, 5706, 691, 273, 446, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 603, 11728, 6767, 1435, 288, 565, 309, 261, 4811, 3935, 11728, 1042, 480, 446, 13, 288, 1377, 13949, 3347, 273, 28425, 1830, 18, 1868, 2951, 2279, 7544, 31, 1377, 3399, 3935, 11728, 1042, 18, 542, 6688, 12, 9216, 1769, 565, 289, 565, 3399, 3024, 13533, 2326, 18, 6200, 1211, 1398, 21300, 5621, 565, 6853, 3935, 8573, 23624, 5621, 565, 368, 42, 378, 566, 1857, 1482, 5190, 18, 542, 1482, 1528, 2932, 8863, 565, 3399, 44, 750, 23624, 5706, 691, 273, 446, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
v.visitTypedInstruction(this); v.visitStackProducer(this); v.visitStackConsumer(this); v.visitConversionInstruction(this); v.visitD2F(this); }
v.visitTypedInstruction(this); v.visitStackProducer(this); v.visitStackConsumer(this); v.visitConversionInstruction(this); v.visitD2F(this); }
public void accept(Visitor v) { v.visitTypedInstruction(this); v.visitStackProducer(this); v.visitStackConsumer(this); v.visitConversionInstruction(this); v.visitD2F(this); }
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/d7c792e0a316dd3ac20a9fe9f758abdde9bd79fe/Bytecodes.java/buggy/joeq_core/joeq/Compiler/BytecodeAnalysis/Bytecodes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2791, 12, 7413, 331, 13, 288, 5411, 331, 18, 11658, 11985, 11983, 12, 2211, 1769, 5411, 331, 18, 11658, 2624, 12140, 12, 2211, 1769, 5411, 331, 18, 11658, 2624, 5869, 12, 2211, 1769, 5411, 331, 18, 11658, 6814, 11983, 12, 2211, 1769, 5411, 331, 18, 11658, 40, 22, 42, 12, 2211, 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,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 2791, 12, 7413, 331, 13, 288, 5411, 331, 18, 11658, 11985, 11983, 12, 2211, 1769, 5411, 331, 18, 11658, 2624, 12140, 12, 2211, 1769, 5411, 331, 18, 11658, 2624, 5869, 12, 2211, 1769, 5411, 331, 18, 11658, 6814, 11983, 12, 2211, 1769, 5411, 331, 18, 11658, 40, 22, 42, 12, 2211, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
removeReport(bugReport);
removeOfflineTaskData(bugReport);
private void internalSubmitBugReport(RepositoryReport bugReport, BugzillaReportSubmitForm form) { try { form.submitReportToRepository(); removeReport(bugReport); String handle = AbstractRepositoryTask.getHandle(bugReport.getRepositoryUrl(), bugReport.getId()); ITask task = MylarTaskListPlugin.getTaskListManager().getTaskList().getTask(handle); if (task != null) { Set<AbstractRepositoryQuery> queriesWithHandle = MylarTaskListPlugin.getTaskListManager().getTaskList() .getQueriesForHandle(task.getHandleIdentifier()); synchronize(queriesWithHandle, null, Job.SHORT, 0, true); if (task instanceof AbstractRepositoryTask) { synchronize((AbstractRepositoryTask) task, true, null); } } } catch (Exception e) { throw new RuntimeException(e); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d6adf902ecafbef942349464348e4435750dd099/BugzillaRepositoryConnector.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositoryConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2713, 11620, 19865, 4820, 12, 3305, 4820, 7934, 4820, 16, 16907, 15990, 4820, 11620, 1204, 646, 13, 288, 202, 202, 698, 288, 1082, 202, 687, 18, 9297, 4820, 774, 3305, 5621, 1082, 202, 4479, 4820, 12, 925, 4820, 1769, 1082, 202, 780, 1640, 273, 4115, 3305, 2174, 18, 588, 3259, 12, 925, 4820, 18, 588, 3305, 1489, 9334, 7934, 4820, 18, 26321, 10663, 1082, 202, 1285, 835, 1562, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 588, 2174, 12, 4110, 1769, 1082, 202, 430, 261, 4146, 480, 446, 13, 288, 9506, 202, 694, 32, 7469, 3305, 1138, 34, 6218, 1190, 3259, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 1435, 25083, 202, 18, 588, 9592, 1290, 3259, 12, 4146, 18, 588, 3259, 3004, 10663, 9506, 202, 87, 2600, 554, 12, 13748, 1190, 3259, 16, 446, 16, 3956, 18, 15993, 16, 374, 16, 638, 1769, 9506, 202, 430, 261, 4146, 1276, 4115, 3305, 2174, 13, 288, 6862, 202, 87, 2600, 554, 12443, 7469, 3305, 2174, 13, 1562, 16, 638, 16, 446, 1769, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 12849, 394, 3235, 12, 73, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2713, 11620, 19865, 4820, 12, 3305, 4820, 7934, 4820, 16, 16907, 15990, 4820, 11620, 1204, 646, 13, 288, 202, 202, 698, 288, 1082, 202, 687, 18, 9297, 4820, 774, 3305, 5621, 1082, 202, 4479, 4820, 12, 925, 4820, 1769, 1082, 202, 780, 1640, 273, 4115, 3305, 2174, 18, 588, 3259, 12, 925, 4820, 18, 588, 3305, 1489, 9334, 7934, 4820, 18, 26321, 10663, 1082, 202, 1285, 835, 1562, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 588, 2174, 12, 4110, 1769, 1082, 202, 430, 261, 4146, 480, 446, 13, 288, 9506, 202, 694, 32, 7469, 3305, 1138, 34, 6218, 1190, 3259, 273, 8005, 7901, 2174, 682, 3773, 2 ]
logError(Messages.getString("DatabaseJoin.Log.UnexpectedError")+debug+"] : "+e.toString());
logError(Messages.getString("DatabaseJoin.Log.UnexpectedError")+" : "+e.toString());
public void run() { logBasic(Messages.getString("DatabaseJoin.Log.StartingToRun")); //$NON-NLS-1$ try { while (processRow(meta, data) && !isStopped()); } catch(Exception e) { logError(Messages.getString("DatabaseJoin.Log.UnexpectedError")+debug+"] : "+e.toString()); //$NON-NLS-1$ //$NON-NLS-2$ logError(Const.getStackTracker(e)); setErrors(1); stopAll(); } finally { dispose(meta, data); logSummary(); markStop(); } }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/3f39d037ba2ddf06fc422d6ae1f3add16df6eae5/DatabaseJoin.java/buggy/src/be/ibridge/kettle/trans/step/databasejoin/DatabaseJoin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 202, 95, 202, 202, 1330, 8252, 12, 5058, 18, 588, 780, 2932, 4254, 4572, 18, 1343, 18, 11715, 774, 1997, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 698, 202, 202, 95, 1082, 202, 17523, 261, 2567, 1999, 12, 3901, 16, 501, 13, 597, 401, 291, 15294, 10663, 202, 202, 97, 202, 202, 14683, 12, 503, 425, 13, 202, 202, 95, 1082, 202, 1330, 668, 12, 5058, 18, 588, 780, 2932, 4254, 4572, 18, 1343, 18, 7762, 668, 7923, 9078, 294, 13773, 73, 18, 10492, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 5411, 20638, 12, 9661, 18, 588, 2624, 8135, 12, 73, 10019, 5411, 444, 4229, 12, 21, 1769, 1082, 202, 5681, 1595, 5621, 202, 202, 97, 202, 202, 23417, 202, 202, 95, 1082, 202, 2251, 4150, 12, 3901, 16, 501, 1769, 1082, 202, 1330, 4733, 5621, 1082, 202, 3355, 4947, 5621, 202, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 2932, 4254, 4572, 18, 1343, 18, 11715, 774, 1997, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 698, 202, 202, 95, 1082, 202, 17523, 261, 2567, 1999, 12, 3901, 16, 501, 13, 597, 401, 291, 15294, 10663, 202, 202, 97, 202, 202, 14683, 12, 503, 425, 13, 202, 202, 95, 1082, 202, 1330, 668, 12, 5058, 18, 588, 780, 2932, 4254, 4572, 18, 1343, 18, 7762, 668, 7923, 9078, 294, 13773, 73, 18, 10492, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 5411, 20638, 12, 9661, 18, 588, 2624, 8135, 12, 73, 2 ]
public void update(boolean force) { // long startTime= 0; // if (DEBUG) { // dumpStatistics(); // startTime= (new Date()).getTime(); // } if (isDirty() || force) { if (toolBarExist()) { int oldCount = toolBar.getItemCount(); // clean contains all active items without double separators IContributionItem[] items = getItems(); ArrayList clean = new ArrayList(items.length); IContributionItem separator = null; // long cleanStartTime= 0; // if (DEBUG) { // cleanStartTime= (new Date()).getTime(); // } for (int i = 0; i < items.length; ++i) { IContributionItem ci = items[i]; if (!ci.isVisible()) continue; if (ci.isSeparator()) { // delay creation until necessary // (handles both adjacent separators, and separator at end) separator = ci; } else { if (separator != null) { if (clean.size() > 0) // no separator if first item clean.add(separator); separator = null; } clean.add(ci); } } // if (DEBUG) { // System.out.println(" Time needed to build clean vector: " + ((new Date()).getTime() - cleanStartTime)); // } // determine obsolete items (removed or non active) ToolItem[] mi = toolBar.getItems(); ArrayList toRemove = new ArrayList(mi.length); for (int i = 0; i < mi.length; i++) { Object data = mi[i].getData(); if (data == null || !clean.contains(data) || (data instanceof IContributionItem && ((IContributionItem) data) .isDynamic())) { toRemove.add(mi[i]); } } // Turn redraw off if the number of items to be added // is above a certain threshold, to minimize flicker, // otherwise the toolbar can be seen to redraw after each item. // Do this before any modifications are made. // We assume each contribution item will contribute at least one toolbar item. boolean useRedraw = (clean.size() - (mi.length - toRemove .size())) >= 3; if (useRedraw) { toolBar.setRedraw(false); } // remove obsolete items for (int i = toRemove.size(); --i >= 0;) { ToolItem item = (ToolItem) toRemove.get(i); if (!item.isDisposed()) { Control ctrl = item.getControl(); if (ctrl != null) { item.setControl(null); ctrl.dispose(); } item.dispose(); } } // add new items IContributionItem src, dest; mi = toolBar.getItems(); int srcIx = 0; int destIx = 0; for (Iterator e = clean.iterator(); e.hasNext();) { src = (IContributionItem) e.next(); // get corresponding item in SWT widget if (srcIx < mi.length) dest = (IContributionItem) mi[srcIx].getData(); else dest = null; if (dest != null && src.equals(dest)) { srcIx++; destIx++; continue; } if (dest != null && dest.isSeparator() && src.isSeparator()) { mi[srcIx].setData(src); srcIx++; destIx++; continue; } int start = toolBar.getItemCount(); src.fill(toolBar, destIx); int newItems = toolBar.getItemCount() - start; for (int i = 0; i < newItems; i++) { ToolItem item = toolBar.getItem(destIx++); item.setData(src); } } // remove any old tool items not accounted for for (int i = mi.length; --i >= srcIx;) { ToolItem item = mi[i]; if (!item.isDisposed()) { Control ctrl = item.getControl(); if (ctrl != null) { item.setControl(null); ctrl.dispose(); } item.dispose(); } } setDirty(false); // turn redraw back on if we turned it off above if (useRedraw) { toolBar.setRedraw(true); } int newCount = toolBar.getItemCount(); relayout(toolBar, oldCount, newCount); } } // if (DEBUG) { // System.out.println(" Time needed for update: " + ((new Date()).getTime() - startTime)); // System.out.println(); // } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/95cd7fe82387f3f7959231b5ddc4a9efad83986a/ToolBarManager.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/action/ToolBarManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 12, 6494, 2944, 13, 288, 3639, 368, 202, 5748, 8657, 33, 374, 31, 3639, 368, 202, 430, 261, 9394, 13, 288, 3639, 368, 202, 202, 8481, 8569, 5621, 3639, 368, 202, 202, 1937, 950, 33, 261, 2704, 2167, 1435, 2934, 588, 950, 5621, 3639, 368, 202, 97, 202, 3639, 309, 261, 291, 10785, 1435, 747, 2944, 13, 288, 5411, 309, 261, 6738, 5190, 4786, 10756, 288, 7734, 509, 1592, 1380, 273, 5226, 5190, 18, 588, 30687, 5621, 7734, 368, 2721, 1914, 777, 2695, 1516, 2887, 1645, 14815, 7734, 467, 442, 4027, 1180, 8526, 1516, 273, 15515, 5621, 7734, 2407, 2721, 273, 394, 2407, 12, 3319, 18, 2469, 1769, 7734, 467, 442, 4027, 1180, 4182, 273, 446, 31, 7734, 368, 1082, 202, 5748, 2721, 13649, 33, 374, 31, 7734, 368, 1082, 202, 430, 261, 9394, 13, 288, 7734, 368, 9506, 202, 6200, 13649, 33, 261, 2704, 2167, 1435, 2934, 588, 950, 5621, 1171, 368, 1082, 202, 97, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 965, 77, 13, 288, 10792, 467, 442, 4027, 1180, 9039, 273, 1516, 63, 77, 15533, 10792, 309, 16051, 8450, 18, 291, 6207, 10756, 13491, 1324, 31, 10792, 309, 261, 8450, 18, 291, 6581, 10756, 288, 13491, 368, 4624, 6710, 3180, 4573, 7682, 368, 261, 24111, 3937, 16335, 14815, 16, 471, 4182, 622, 679, 13, 13491, 4182, 273, 9039, 31, 10792, 289, 469, 288, 13491, 309, 261, 11287, 480, 446, 13, 288, 18701, 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, 1071, 918, 1089, 12, 6494, 2944, 13, 288, 3639, 368, 202, 5748, 8657, 33, 374, 31, 3639, 368, 202, 430, 261, 9394, 13, 288, 3639, 368, 202, 202, 8481, 8569, 5621, 3639, 368, 202, 202, 1937, 950, 33, 261, 2704, 2167, 1435, 2934, 588, 950, 5621, 3639, 368, 202, 97, 202, 3639, 309, 261, 291, 10785, 1435, 747, 2944, 13, 288, 5411, 309, 261, 6738, 5190, 4786, 10756, 288, 7734, 509, 1592, 1380, 273, 5226, 5190, 18, 588, 30687, 5621, 7734, 368, 2721, 1914, 777, 2695, 1516, 2887, 1645, 14815, 7734, 467, 442, 4027, 1180, 8526, 1516, 273, 15515, 5621, 7734, 2407, 2721, 273, 394, 2407, 12, 3319, 18, 2469, 1769, 7734, 467, 442, 4027, 1180, 4182, 273, 2 ]
/*
public void testSnmpInterfaceNonUniqueKeys() throws Exception { if (!isDBTestEnabled()) { return; } m_installer.createSequences(); m_installer.updatePlPgsql(); m_installer.addStoredProcedures(); addTableFromSQL("distpoller"); addTableFromSQL("node"); addTableFromSQL("snmpinterface"); executeSQL("drop index snmpinterface_nodeid_ifindex_idx"); executeSQL("INSERT INTO node ( nodeId, nodeCreateTime ) " + "VALUES ( 1, now() )"); /* executeSQL("INSERT INTO snmpInterface ( nodeID, ipAddr, snmpIfIndex ) " + "VALUES ( 1, '0.0.0.0', 1 )"); executeSQL("INSERT INTO snmpInterface ( nodeID, ipAddr, snmpIfIndex ) " + "VALUES ( 1, '0.0.0.0', 1 )"); */ executeSQL("INSERT INTO snmpInterface ( nodeID, ipAddr, snmpIfIndex ) " + "VALUES ( 1, '0.0.0.1', 1 )"); executeSQL("INSERT INTO snmpInterface ( nodeID, ipAddr, snmpIfIndex ) " + "VALUES ( 1, '0.0.0.2', 1 )"); ThrowableAnticipator ta = new ThrowableAnticipator(); ta.anticipate(new Exception("Unique index " + "'snmpinterface_nodeid_ifindex_idx' " + "cannot be added to table " + "'snmpinterface' because 2 rows are not " + "unique. See the install guide for " + "details on how to correct this " + "problem. You can use the following SQL " + "to see which rows are not unique:\n" + "SELECT DISTINCT a.* FROM snmpinterface " + "a, snmpinterface b WHERE a.nodeID = " + "b.nodeID AND a.snmpIfIndex = " + "b.snmpIfIndex " + "AND a.ipAddr != b.ipAddr")); try { m_installer.checkIndexUniqueness(); } catch (Throwable t) { ta.throwableReceived(t); } ta.verifyAnticipated(); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/e14afda26b6a106ace58fd834660594638109533/InstallerDBTest.java/buggy/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10461, 1291, 1358, 3989, 6303, 2396, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 312, 67, 20163, 18, 2725, 1749, 52, 30175, 5621, 3639, 312, 67, 20163, 18, 1289, 18005, 626, 23382, 5621, 3639, 527, 1388, 1265, 3997, 2932, 4413, 3915, 749, 8863, 3639, 527, 1388, 1265, 3997, 2932, 2159, 8863, 3639, 527, 1388, 1265, 3997, 2932, 26527, 5831, 8863, 3639, 1836, 3997, 2932, 7285, 770, 15366, 5831, 67, 2159, 350, 67, 430, 1615, 67, 3465, 8863, 7734, 1836, 3997, 2932, 11356, 12421, 756, 261, 11507, 16, 756, 1684, 950, 262, 315, 10402, 397, 315, 16386, 261, 404, 16, 2037, 1435, 262, 8863, 7734, 1836, 3997, 2932, 11356, 12421, 15366, 1358, 261, 14871, 16, 2359, 3178, 16, 15366, 2047, 1016, 262, 315, 10402, 397, 315, 16386, 261, 404, 16, 296, 20, 18, 20, 18, 20, 18, 20, 2187, 404, 262, 8863, 3639, 1836, 3997, 2932, 11356, 12421, 15366, 1358, 261, 14871, 16, 2359, 3178, 16, 15366, 2047, 1016, 262, 315, 10402, 397, 315, 16386, 261, 404, 16, 296, 20, 18, 20, 18, 20, 18, 20, 2187, 404, 262, 8863, 10402, 1195, 3639, 1836, 3997, 2932, 11356, 12421, 15366, 1358, 261, 14871, 16, 2359, 3178, 16, 15366, 2047, 1016, 262, 315, 10402, 397, 315, 16386, 261, 404, 16, 296, 20, 18, 20, 18, 20, 18, 21, 2187, 404, 262, 8863, 3639, 1836, 3997, 2932, 11356, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10461, 1291, 1358, 3989, 6303, 2396, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 312, 67, 20163, 18, 2725, 1749, 52, 30175, 5621, 3639, 312, 67, 20163, 18, 1289, 18005, 626, 23382, 5621, 3639, 527, 1388, 1265, 3997, 2932, 4413, 3915, 749, 8863, 3639, 527, 1388, 1265, 3997, 2932, 2159, 8863, 3639, 527, 1388, 1265, 3997, 2932, 26527, 5831, 8863, 3639, 1836, 3997, 2932, 7285, 770, 15366, 5831, 67, 2159, 350, 67, 430, 1615, 67, 3465, 8863, 7734, 1836, 3997, 2932, 11356, 12421, 756, 261, 11507, 16, 756, 1684, 950, 262, 315, 10402, 397, 315, 16386, 2 ]
fDatatypeValidator = datatypeValidator;
public Field(Field.XPath xpath, DatatypeValidator datatypeValidator, IdentityConstraint identityConstraint) { fXPath = xpath; fDatatypeValidator = datatypeValidator; fIdentityConstraint = identityConstraint; } // <init>(Field.XPath,DatatypeValidator,IdentityConstraint)
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/d193f24a367ea37291fecfd902a4b0da65c27110/Field.java/buggy/src/org/apache/xerces/validators/schema/identity/Field.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2286, 12, 974, 18, 14124, 6748, 16, 21168, 5126, 11172, 5126, 16, 1171, 7808, 5806, 4215, 5806, 13, 288, 3639, 284, 14124, 273, 6748, 31, 9079, 284, 4334, 5806, 273, 4215, 5806, 31, 565, 289, 368, 411, 2738, 34, 12, 974, 18, 14124, 16, 20228, 5126, 16, 4334, 5806, 13, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2286, 12, 974, 18, 14124, 6748, 16, 21168, 5126, 11172, 5126, 16, 1171, 7808, 5806, 4215, 5806, 13, 288, 3639, 284, 14124, 273, 6748, 31, 9079, 284, 4334, 5806, 273, 4215, 5806, 31, 565, 289, 368, 411, 2738, 34, 12, 974, 18, 14124, 16, 20228, 5126, 16, 4334, 5806, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public int getConversationCount(HttpUrl url) {
public int getConversationCount() {
public int getConversationCount(HttpUrl url) { try { _rwl.readLock().acquire(); return _compared.size(); } catch (InterruptedException ie) { _logger.warning("Interrupted! " + ie); return -1; } finally { _rwl.readLock().release(); } }
8554 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8554/5cd0631e882b72a5ed80c126194f77856e1d210a/CompareModel.java/clean/src/org/owasp/webscarab/plugin/compare/CompareModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 509, 336, 15717, 1380, 1435, 288, 5411, 775, 288, 7734, 389, 86, 21504, 18, 896, 2531, 7675, 1077, 1039, 5621, 7734, 327, 389, 9877, 72, 18, 1467, 5621, 5411, 289, 1044, 261, 24485, 503, 9228, 13, 288, 7734, 389, 4901, 18, 8551, 2932, 24485, 5, 315, 397, 9228, 1769, 7734, 327, 300, 21, 31, 5411, 289, 3095, 288, 7734, 389, 86, 21504, 18, 896, 2531, 7675, 9340, 5621, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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503, 9228, 13, 288, 7734, 389, 4901, 18, 8551, 2932, 24485, 5, 315, 397, 9228, 1769, 7734, 327, 300, 21, 31, 5411, 289, 3095, 288, 7734, 389, 86, 21504, 18, 896, 2531, 7675, 9340, 5621, 5411, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ruby_class.getSingletonClass().addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC); ruby_class.funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } if (ruby_class.isSingleton()) { ruby_class.getInstanceVar("__attached__").funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol());
ruby.getRubyClass().getSingletonClass().addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC); ruby.getRubyClass().funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } if (ruby.getRubyClass().isSingleton()) { ruby.getRubyClass().getInstanceVar("__attached__").funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol());
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRuby().getOriginalMethods(); while (true) { if (node == null) { return getRuby().getNil(); } switch (node.nd_type()) { case NODE_BLOCK: while (node.nd_next() != null) { eval(self, node.nd_head()); node = node.nd_next(); } node = node.nd_head(); break; case NODE_POSTEXE: // rb_f_END(); node.nd_set_type(NODE_NIL); /* exec just once */ return getRuby().getNil(); /* begin .. end without clauses */ case NODE_BEGIN: node = node.nd_body(); break; /* nodes for speed-up(default match) */ case NODE_MATCH: //return rom.rb_reg_match2(node.nd_head().nd_lit()); return getRuby().getNil(); /* nodes for speed-up(literal match) */ case NODE_MATCH2: //return rom.rb_reg_match(eval(node.nd_recv()), eval(node.nd_value())); return getRuby().getNil(); /* nodes for speed-up(literal match) */ case NODE_MATCH3: //VALUE r = eval(node.nd_recv()); //VALUE l = eval(node.nd_value()); //if (r instanceof RubyString) { // return rom.rb_reg_match(l, r); //} else { // return rom.rb_funcall(r, match, 1, l); //} return getRuby().getNil(); /* node for speed-up(top-level loop for -n/-p) */ case NODE_OPT_N: while (true) { try { // while (!rb_gets().isNil() false) { // HACK +++ if (true) { // HACK --- try { eval(self, node.nd_body()); } catch (RedoException rExcptn) { } } break; } catch (NextException nExcptn) { } catch (BreakException bExcptn) { break; } } return getRuby().getNil(); case NODE_SELF: return self; case NODE_NIL: return getRuby().getNil(); case NODE_TRUE: return getRuby().getTrue(); case NODE_FALSE: return getRuby().getFalse(); case NODE_IF: // ruby_sourceline = node.nd_line(); cond = eval(self, node.nd_cond()); if (cond.isTrue()) { node = node.nd_body(); } else { node = node.nd_else(); } break; case NODE_WHEN: while (node != null) { NODE tag; if (node.nd_type() != NODE_WHEN) { break; } tag = node.nd_head(); while (tag != null) {/* if (trace_func) { call_trace_func("line", tag->nd_file, nd_line(tag), self, ruby_frame->last_func, ruby_frame->last_class); }*/ // ruby_sourcefile = tag.nd_file; // ruby_sourceline = tag.nd_line(); if (tag.nd_head().nd_type() == NODE_WHEN) { RubyObject obj = eval(self, tag.nd_head().nd_head()); if (!(obj instanceof RubyArray)) { obj = RubyArray.m_newArray(getRuby(), obj); } for (int i = 0; i < ((RubyArray)obj).length(); i++) { if (((RubyArray)obj).entry(i).isTrue()) { node = node.nd_body(); break; } } tag = tag.nd_next(); continue; } if (eval(self, tag.nd_head()).isTrue()) { node = node.nd_body(); break; } tag = tag.nd_next(); } node = node.nd_next(); } return getRuby().getNil(); case NODE_CASE: RubyObject obj = eval(self, node.nd_head()); node = node.nd_body(); while (node != null) { NODE tag; if (node.nd_type() != NODE_WHEN) { break; } tag = node.nd_head(); while (tag != null) {/* if (trace_func) { call_trace_func("line", tag->nd_file, nd_line(tag), self, ruby_frame->last_func, ruby_frame->last_class); } ruby_sourcefile = tag->nd_file; ruby_sourceline = nd_line(tag);*/ if (tag.nd_head().nd_type() == NODE_WHEN) { RubyObject obj2 = eval(self, tag.nd_head().nd_head()); if (!(obj2 instanceof RubyArray)) { obj2 = RubyArray.m_newArray(getRuby(), obj2); } for (int i = 0; i < ((RubyArray)obj).length(); i++) { RubyObject eqq = ((RubyArray)obj2).entry(i).funcall(getRuby().intern("==="), obj); if (eqq.isTrue()) { node = node.nd_body(); break; } } tag = tag.nd_next(); continue; } if (eval(self, tag.nd_head()).funcall(getRuby().intern("==="), obj).isTrue()) { node = node.nd_body(); break; } tag = tag.nd_next(); } node = node.nd_next(); } return getRuby().getNil(); case NODE_WHILE: while (eval(self, node.nd_cond()).isTrue()) { while (true) { try { eval(self, node.nd_body()); break; } catch (RedoException rExcptn) { } catch (NextException nExcptn) { break; } catch (BreakException bExcptn) { return getRuby().getNil(); } } } return getRuby().getNil(); case NODE_UNTIL: while (eval(self, node.nd_cond()).isFalse()) { while (true) { try { eval(self, node.nd_body()); break; } catch (RedoException rExcptn) { } catch (NextException nExcptn) { break; } catch (BreakException bExcptn) { return getRuby().getNil(); } } } return getRuby().getNil(); case NODE_BLOCK_PASS: //return block_pass(node); return null; case NODE_ITER: case NODE_FOR: rubyBlock.push(node.nd_var(), node.nd_body(), self); rubyIter.push(Iter.ITER_PRE); while (true) { try { if (node.nd_type() == NODE_ITER) { result = eval(self, node.nd_iter()); } else { // String file = // int line = rubyBlock.flags &= ~RubyBlock.BLOCK_D_SCOPE; RubyBlock tmpBlock = beginCallargs(); RubyObject recv = eval(self, node.nd_iter()); endCallArgs(tmpBlock); // = file; // = line; result = recv.getRubyClass().call(recv, ruby.intern("each"), null, 0); } break; } catch (RetryException rExcptn) { } catch (ReturnException rExcptn) { result = rExcptn.getReturnValue(); break; } catch (BreakException bExcptn) { result = ruby.getNil(); break; } } rubyIter.pop(); rubyBlock.pop(); return result; case NODE_BREAK: throw new BreakException(); case NODE_NEXT: throw new NextException(); case NODE_REDO: throw new RedoException(); case NODE_RETRY: throw new RetryException(); case NODE_RESTARGS: result = eval(self, node.nd_head()); if (!(result instanceof RubyArray)) { result = obj = RubyArray.m_newArray(getRuby(), result); } return result; case NODE_YIELD: if (node.nd_stts() != null) { result = eval(self, node.nd_stts()); if (node.nd_stts().nd_type() == NODE_RESTARGS && ((RubyArray)result).length() == 1) { result = ((RubyArray)result).entry(0); } } else { result = ruby.getNil(); } return yield0(result, null, null, false); case NODE_RESCUE:/* retry_entry: { volatile VALUE e_info = ruby_errinfo; PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { result = rb_eval(self, node->nd_head); } POP_TAG(); if (state == TAG_RAISE) { NODE * volatile resq = node->nd_resq; ruby_sourceline = nd_line(node); while (resq) { if (handle_rescue(self, resq)) { state = 0; PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { result = rb_eval(self, resq->nd_body); } POP_TAG(); if (state == TAG_RETRY) { state = 0; ruby_errinfo = Qnil; goto retry_entry; } if (state != TAG_RAISE) { ruby_errinfo = e_info; } break; } resq = resq->nd_head; /* next rescue */ /** } * } * else if (node->nd_else) { /* else clause given *//* if (!state) { /* no exception raised *//* result = rb_eval(self, node->nd_else); } } if (state) JUMP_TAG(state); } break;*/ case NODE_ENSURE:/* PUSH_TAG(PROT_NONE); if ((state = EXEC_TAG()) == 0) { result = eval(node.nd_head()); } POP_TAG(); if (node.nd_ensr()) { VALUE retval = prot_tag->retval; /* save retval *//* VALUE errinfo = ruby_errinfo; rb_eval(self, node->nd_ensr); return_value(retval); ruby_errinfo = errinfo; } if (state) JUMP_TAG(state); break;*/ case NODE_AND: cond = eval(self, node.nd_1st()); if (cond.isFalse()) { return cond; } node = node.nd_2nd(); break; case NODE_OR: cond = eval(self, node.nd_1st()); if (cond.isTrue()) { return cond; } node = node.nd_2nd(); break; case NODE_NOT: return RubyBoolean.m_newBoolean(getRuby(), eval(self, node.nd_1st()).isFalse()); case NODE_DOT2: case NODE_DOT3: result = RubyRange.m_newRange(getRuby(), eval(self, node.nd_beg()), eval(self, node.nd_end()), node.nd_type() == NODE_DOT3); if (node.nd_state() != 0) { return result; } if (node.nd_beg().nd_type() == NODE_LIT && (node.nd_beg().nd_lit() instanceof RubyFixnum) && node.nd_end().nd_type() == NODE_LIT && (node.nd_end().nd_lit() instanceof RubyFixnum)) { node.nd_set_type(NODE_LIT); node.nd_lit(result); } else { node.nd_state(1L); } return result; case NODE_FLIP2: /* like AWK */ /*if (ruby_scope->local_vars == 0) { rb_bug("unexpected local variable"); }*/ if (ruby.getRubyScope().getLocalVars(node.nd_cnt()).isFalse()) { if (eval(self, node.nd_beg()).isTrue()) { ruby.getRubyScope().setLocalVars(node.nd_cnt(), eval(self, node.nd_end()).isTrue() ? ruby.getFalse() : ruby.getTrue()); result = ruby.getTrue(); } else { result = ruby.getFalse(); } } else { if (eval(self, node.nd_end()).isTrue()) { ruby.getRubyScope().setLocalVars(node.nd_cnt(), ruby.getFalse()); } result = ruby.getTrue(); } return result; case NODE_FLIP3: /* like SED */ /*if (ruby_scope->local_vars == 0) { rb_bug("unexpected local variable"); }*/ if (ruby.getRubyScope().getLocalVars(node.nd_cnt()).isFalse()) { result = eval(self, node.nd_beg()).isTrue() ? ruby.getFalse() : ruby.getTrue(); ruby.getRubyScope().setLocalVars(node.nd_cnt(), result); } else { if (eval(self, node.nd_end()).isTrue()) { ruby.getRubyScope().setLocalVars(node.nd_cnt(), ruby.getFalse()); } result = ruby.getTrue(); } return result; case NODE_RETURN: if (node.nd_stts() != null) { result = eval(self, node.nd_stts()); } else { result = ruby.getNil(); } throw new ReturnException(result); case NODE_ARGSCAT: return ((RubyArray)eval(self, node.nd_head())).m_concat(eval(self, node.nd_body())); case NODE_ARGSPUSH: return ((RubyArray)eval(self, node.nd_head()).m_dup()).push(eval(self, node.nd_body())); case NODE_CALL: // TMP_PROTECT; RubyBlock tmpBlock = beginCallargs(); RubyObject recv = eval(self, node.nd_recv()); args = setupArgs(self, node.nd_args()); endCallArgs(tmpBlock); return recv.getRubyClass().call(recv, (RubyId)node.nd_mid(), args, 0); case NODE_FCALL: // TMP_PROTECT; tmpBlock = beginCallargs(); args = setupArgs(self, node.nd_args()); endCallArgs(tmpBlock); return self.getRubyClass().call(self, (RubyId)node.nd_mid(), args, 1); case NODE_VCALL: return self.getRubyClass().call(self, (RubyId)node.nd_mid(), null, 2); case NODE_SUPER: case NODE_ZSUPER: // TMP_PROTECT; if (getRubyFrame().getLastClass() == null) { throw new RubyNameException("superclass method '" + rubyFrame.getLastFunc().toName() + "' disabled"); } if (node.nd_type() == NODE_ZSUPER) { List argsList = getRubyFrame().getArgs(); args = (RubyObject[])argsList.toArray(new RubyObject[argsList.size()]); } else { tmpBlock = beginCallargs(); args = setupArgs(self, node.nd_args()); endCallArgs(tmpBlock); } rubyIter.push(rubyIter.getIter() != Iter.ITER_NOT ? Iter.ITER_PRE : Iter.ITER_NOT); result = getRubyFrame().getLastClass().getSuperClass().call(rubyFrame.getSelf(), rubyFrame.getLastFunc(), args, 3); rubyIter.pop(); return result; case NODE_SCOPE: NODE saved_cref = null; Frame frame = getRubyFrame(); frame.setTmp(getRubyFrame()); rubyFrame = frame; ruby.getRubyScope().push(); if (node.nd_rval() != null) { saved_cref = ruby_cref; ruby_cref = (NODE)node.nd_rval(); getRubyFrame().setCbase(node.nd_rval()); } if (node.nd_tbl() != null) { List tmp = Collections.nCopies(node.nd_tbl()[0].intValue() + 1, ruby.getNil()); ShiftableList vars = new ShiftableList(new ArrayList(tmp)); vars.set(0, (VALUE)node); vars.shift(1); getRuby().getRubyScope().setLocalVars(vars); getRuby().getRubyScope().setLocalTbl(node.nd_tbl()); } else { getRuby().getRubyScope().setLocalVars(null); getRuby().getRubyScope().setLocalTbl(null); } result = eval(self, node.nd_next()); ruby.getRubyScope().pop(); rubyFrame = frame.getTmp(); if (saved_cref != null) { ruby_cref = saved_cref; } return result; case NODE_OP_ASGN1: // TMP_PROTECT; recv = eval(self, node.nd_recv()); NODE rval = node.nd_args().nd_head(); args = setupArgs(self, node.nd_args().nd_next()); ArrayList argsList = new ArrayList(Arrays.asList(args)); argsList.remove(args.length - 1); RubyObject val = recv.funcall(getRuby().intern("[]"), (RubyObject[])argsList.toArray(new RubyObject[argsList.size()])); switch (node.nd_mid().intValue()) { case 0: /* OR */ if (val.isTrue()) { return val; } val = eval(self, rval); break; case 1: /* AND */ if (val.isFalse()) { return val; } val = eval(self, rval); break; default: val = val.funcall((RubyId)node.nd_mid(), eval(self, rval)); } args[args.length - 1] = val; return recv.funcall(getRuby().intern("[]="), args); case NODE_OP_ASGN2: ID id = node.nd_next().nd_vid(); recv = eval(self, node.nd_recv()); val = recv.funcall((RubyId)id, (RubyObject[])null); switch (node.nd_next().nd_mid().intValue()) { case 0: /* OR */ if (val.isTrue()) { return val; } val = eval(self, node.nd_value()); break; case 1: /* AND */ if (val.isFalse()) { return val; } val = eval(self, node.nd_value()); break; default: val = val.funcall((RubyId)node.nd_mid(), eval(self, node.nd_value())); } // HACK +++ val = recv.funcall((RubyId)node.nd_next().nd_aid(), val); // HACK --- return val; case NODE_OP_ASGN_AND: cond = eval(self, node.nd_head()); if (cond.isFalse()) { return cond; } node = node.nd_value(); break; case NODE_OP_ASGN_OR: cond = eval(self, node.nd_head()); if ((node.nd_aid() != null && !self.isInstanceVarDefined((RubyId)node.nd_aid())) || cond.isFalse()) { node = node.nd_value(); break; } return cond; case NODE_MASGN: return massign(self, node, eval(self, node.nd_value()), false); case NODE_LASGN: // if (ruby.ruby_scope.local_vars == null) { // rb_bug("unexpected local variable assignment"); // } result = eval(self, node.nd_value()); getRuby().getRubyScope().setLocalVars(node.nd_cnt(), result); return result; case NODE_DASGN: result = eval(self, node.nd_value()); RubyVarmap.assign(ruby, (RubyId)node.nd_vid(), result); return result; case NODE_DASGN_CURR: result = eval(self, node.nd_value()); RubyVarmap.assignCurrent(ruby, (RubyId)node.nd_vid(), result); return result; case NODE_GASGN: result = eval(self, node.nd_value()); ((RubyGlobalEntry)node.nd_entry()).set(result); return result; case NODE_IASGN: result = eval(self, node.nd_value()); self.setInstanceVar((RubyId)node.nd_vid(), result); return result; case NODE_CDECL: if (ruby_class == null) { throw new RubyTypeException("no class/module to define constant"); } result = eval(self, node.nd_value()); ruby_class.setConstant((RubyId)node.nd_vid(), result); return result; case NODE_CVDECL: if (ruby_cbase == null) { throw new RubyTypeException("no class/module to define class variable"); } result = eval(self, node.nd_value()); if (ruby_cbase.isSingleton()) { ruby_cbase.getInstanceVar("__attached__").getClassVarSingleton().declareClassVar((RubyId)node.nd_vid(), result); return result; } ruby_cbase.declareClassVar((RubyId)node.nd_vid(), result); return result; case NODE_CVASGN: result = eval(self, node.nd_value()); self.getClassVarSingleton().setClassVar((RubyId)node.nd_vid(), result); return result; case NODE_LVAR: //if (getRuby().ruby_scope.local_vars == null) { // rb_bug("unexpected local variable"); // } return (RubyObject)getRuby().getRubyScope().getLocalVars(node.nd_cnt()); case NODE_DVAR: return getDynamicVars().getRef((RubyId)node.nd_vid()); case NODE_GVAR: return ((RubyGlobalEntry)node.nd_entry()).get(); case NODE_IVAR: return self.getInstanceVar((RubyId)node.nd_vid()); case NODE_CONST: return getConstant((NODE)getRubyFrame().getCbase(), (RubyId)node.nd_vid(), self); case NODE_CVAR: /* normal method */ if (ruby_cbase == null) { return self.getRubyClass().getClassVar((RubyId)node.nd_vid()); } if (!ruby_cbase.isSingleton()) { return ruby_cbase.getClassVar((RubyId)node.nd_vid()); } return ruby_cbase.getInstanceVar("__attached__").getClassVarSingleton().getClassVar((RubyId)node.nd_vid()); case NODE_CVAR2: /* singleton method */ return self.getClassVarSingleton().getClassVar((RubyId)node.nd_vid()); case NODE_BLOCK_ARG: if (ruby.getRubyScope().getLocalVars() == null) { throw new RuntimeException("BUG: unexpected block argument"); } if (isBlockGiven()) { result = getRuby().getNil(); // Create Proc object ruby.getRubyScope().setLocalVars(node.nd_cnt(), result); return result; } else { return getRuby().getNil(); } case NODE_COLON2: value = eval(self, node.nd_head()); if (value instanceof RubyModule) { return ((RubyModule)value).getConstant((RubyId)node.nd_mid()); } else { return value.funcall((RubyId)node.nd_mid()); } case NODE_COLON3: return getRuby().getClasses().getObjectClass().getConstant((RubyId)node.nd_mid()); case NODE_NTH_REF: // return rom.rb_reg_nth_match(node.nd_nth(), MATCH_DATA); return null; case NODE_BACK_REF: /*switch ((char)node.nd_nth()) { case '&': return rom.rb_reg_last_match(MATCH_DATA); case '`': return rom.rb_reg_match_pre(MATCH_DATA); case '\'': return rom.rb_reg_match_post(MATCH_DATA); case '+': return rom.rb_reg_match_last(MATCH_DATA); default: rom.rb_bug("unexpected back-ref"); }*/ case NODE_HASH: RubyHash hash = RubyHash.m_newHash(ruby); NODE list = node.nd_head(); while(list != null) { RubyObject key = eval(self, list.nd_head()); list = list.nd_next(); if (list == null) { // HACK +++ throw new RubyArgumentException("odd number list for Hash"); // HACK --- } value = eval(self, list.nd_head()); hash.m_aset(key, value); list = list.nd_next(); } return hash; case NODE_ZARRAY: /* zero length list */ return RubyArray.m_newArray(getRuby()); case NODE_ARRAY: ArrayList ary = new ArrayList(node.nd_alen()); for (; node != null ; node = node.nd_next()) { ary.add(eval(self, node.nd_head())); } return RubyArray.m_newArray(getRuby(), ary); case NODE_STR: return ((RubyObject)node.nd_lit()).m_to_s(); case NODE_DSTR: case NODE_DXSTR: case NODE_DREGX: case NODE_DREGX_ONCE:/* NODE list = node.nd_next(); RubyString str = RubyString.m_newString(getRuby(), (RubyObject)node.nd_lit()); RubyString str2; while (list != null) { if (list.nd_head() != null) { switch (list.nd_head().nd_type()) { case NODE_STR: str2 = (RubyString)list.nd_head().nd_lit(); break; case NODE_EVSTR: result = ruby_errinfo; ruby_errinfo = Qnil; ruby_sourceline = nd_line(node); ruby_in_eval++; list.nd_head(compile(list.nd_head().nd_lit(), ruby_sourcefile,ruby_sourceline)); ruby_eval_tree = 0; ruby_in_eval--; if (ruby_nerrs > 0) { compile_error("string expansion"); } if (!NIL_P(result)) ruby_errinfo = result; /* fall through *//* default: str2 = (RubyString)rom.rb_obj_as_string(eval(list.nd_head())); break; } str.append(str2); str.infectObject(str2); } list = list.nd_next(); } switch (node.nd_type()) { case NODE_DREGX: return rom.rb_reg_new(str.getString(), str.getString().length(), node.nd_cflag()); case NODE_DREGX_ONCE: /* regexp expand once *//* VALUE result = rom.rb_reg_new(str.getString(), str.getString().length(), node.nd_cflag()); node.nd_set_type(NODE_LIT); node.nd_lit(result); return result; case NODE_DXSTR: return rom.rb_funcall(this, '`', 1, str); default: return str; }*/ return null; case NODE_XSTR: return self.funcall(getRuby().intern("`"), (RubyObject)node.nd_lit()); case NODE_LIT: return (RubyObject)node.nd_lit(); case NODE_ATTRSET: if (getRubyFrame().getArgs().size() != 1) { throw new RubyArgumentException("wrong # of arguments(" + rubyFrame.getArgs().size() + "for 1)"); } return self.setInstanceVar((RubyId)node.nd_vid(), (RubyObject)rubyFrame.getArgs().get(0)); case NODE_DEFN: if (node.nd_defn() != null) { int noex; if (ruby_class == null) { throw new RubyTypeException("no class to add method"); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { // rom.rb_warn("redefining Object#initialize may cause infinite loop"); //} //if (node.nd_mid() == __id__ || node.nd_mid() == __send__) { // rom.rb_warn("redefining `%s' may cause serious problem", ((RubyId)node.nd_mid()).toName()); //} // ruby_class.setFrozen(true); SearchMethodResult smr = ruby_class.searchMethod((RubyId)node.nd_mid()); NODE body = smr.getBody(); RubyObject origin = smr.getOrigin(); if (body != null){ // if (ruby_verbose.isTrue() && ruby_class == origin && body.nd_cnt() == 0) { // rom.rb_warning("discarding old %s", ((RubyId)node.nd_mid()).toName()); // } // if (node.nd_noex() != 0) { /* toplevel */ /* should upgrade to rb_warn() if no super was called inside? */ // rom.rb_warning("overriding global function `%s'", ((RubyId)node.nd_mid()).toName()); // } } if (isScope(SCOPE_PRIVATE) || node.nd_mid().equals(ruby.intern("initialize"))) { noex = NOEX_PRIVATE; } else if (isScope(SCOPE_PROTECTED)) { noex = NOEX_PROTECTED; } else if (ruby_class == getRuby().getClasses().getObjectClass()) { noex = node.nd_noex(); } else { noex = NOEX_PUBLIC; } if (body != null && origin == ruby_class && (body.nd_noex() & NOEX_UNDEF) != 0) { noex |= NOEX_UNDEF; } NODE defn = node.nd_defn().copyNodeScope(ruby_cref); ruby_class.addMethod((RubyId)node.nd_mid(), defn, noex); // rb_clear_cache_by_id(node.nd_mid()); if (actMethodScope == SCOPE_MODFUNC) { ruby_class.getSingletonClass().addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC); ruby_class.funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } if (ruby_class.isSingleton()) { ruby_class.getInstanceVar("__attached__").funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } else { ruby_class.funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); } } return getRuby().getNil(); case NODE_DEFS: if (node.nd_defn() != null) { recv = eval(self, node.nd_recv()); if (getRuby().getSecurityLevel() >= 4 && !recv.isTaint()) { throw new RubySecurityException("Insecure; can't define singleton method"); } /*if (FIXNUM_P(recv) || SYMBOL_P(recv)) { rb_raise(rb_eTypeError, "can't define singleton method \"%s\" for %s", rb_id2name(node.nd_mid()), rb_class2name(CLASS_OF(recv))); }*/ // not needed in jruby if (recv.isFrozen()) { throw new RubyFrozenException("object"); } rubyClass = recv.getSingletonClass(); NODE body = (NODE)rubyClass.getMethods().get((RubyId)node.nd_mid()); if (body != null) { if (getRuby().getSecurityLevel() >= 4) { throw new RubySecurityException("redefining method prohibited"); } /*if (RTEST(ruby_verbose)) { rb_warning("redefine %s", rb_id2name(node.nd_mid())); }*/ } NODE defn = node.nd_defn().copyNodeScope(ruby_cref); defn.nd_rval(ruby_cref); rubyClass.addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC | (body != null ? body.nd_noex() & NOEX_UNDEF : 0)); // rb_clear_cache_by_id(node.nd_mid()); recv.funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } return getRuby().getNil(); case NODE_UNDEF: if (ruby_class == null) { throw new RubyTypeException("no class to undef method"); } ruby_class.undef((RubyId)node.nd_mid()); return getRuby().getNil(); case NODE_ALIAS: if (ruby_class == null) { throw new RubyTypeException("no class to make alias"); } ruby_class.aliasMethod((RubyId)node.nd_new(), (RubyId)node.nd_old()); ruby_class.funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); return getRuby().getNil(); case NODE_VALIAS: RubyGlobalEntry.getGlobalEntry((RubyId)node.nd_old()).alias((RubyId)node.nd_new()); return getRuby().getNil(); case NODE_CLASS: RubyModule superClass; if (ruby_class == null) { throw new RubyTypeException("no outer class/module"); } if (node.nd_super() != null) { superClass = getSuperClass(self, node.nd_super()); } else { superClass = null; } rubyClass = null; // if ((ruby_class == getRuby().getObjectClass()) && rb_autoload_defined(node.nd_cname())) { // rb_autoload_load(node.nd_cname()); // } if (ruby_class.isConstantDefined((RubyId)node.nd_cname())) { rubyClass = (RubyClass)ruby_class.getConstant((RubyId)node.nd_cname()); } if (rubyClass != null) { if (!rubyClass.isClass()) { throw new RubyTypeException(((RubyId)node.nd_cname()).toName() + " is not a class"); } if (superClass != null) { RubyModule tmp = rubyClass.getSuperClass(); if (tmp.isSingleton()) { tmp = tmp.getSuperClass(); } while (tmp.isIncluded()) { tmp = tmp.getSuperClass(); } if (tmp != superClass) { superClass = tmp; //goto override_class; if (superClass == null) { superClass = getRuby().getClasses().getObjectClass(); } rubyClass = getRuby().defineClassId((RubyId)node.nd_cname(), (RubyClass)superClass); ruby_class.setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath((RubyClass)ruby_class, ((RubyId)node.nd_cname()).toName()); // end goto } } if (getRuby().getSecurityLevel() >= 4) { throw new RubySecurityException("extending class prohibited"); } // rb_clear_cache(); } else { //override_class: if (superClass == null) { superClass = getRuby().getClasses().getObjectClass(); } rubyClass = getRuby().defineClassId((RubyId)node.nd_cname(), (RubyClass)superClass); ruby_class.setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath((RubyClass)ruby_class, ((RubyId)node.nd_cname()).toName()); } if (ruby_wrapper != null) { rubyClass.getSingletonClass().includeModule(ruby_wrapper); rubyClass.includeModule(ruby_wrapper); } return setupModule(rubyClass, node.nd_body()); case NODE_MODULE: if (ruby_class == null) { throw new RubyTypeException("no outer class/module"); } RubyModule module = null; if ((ruby_class == getRuby().getClasses().getObjectClass()) && getRuby().isAutoloadDefined((RubyId)node.nd_cname())) { // getRuby().rb_autoload_load(node.nd_cname()); } if (ruby_class.isConstantDefined((RubyId)node.nd_cname())) { module = (RubyModule)ruby_class.getConstant((RubyId)node.nd_cname()); } if (module != null) { if (!(module instanceof RubyModule)) { throw new RubyTypeException(((RubyId)node.nd_cname()).toName() + " is not a module"); } if (getRuby().getSecurityLevel() >= 4) { throw new RubySecurityException("extending module prohibited"); } } else { module = getRuby().defineModuleId((RubyId)node.nd_cname()); ruby_class.setConstant((RubyId)node.nd_cname(), module); module.setClassPath(ruby_class, ((RubyId)node.nd_cname()).toName()); } if (ruby_wrapper != null) { module.getSingletonClass().includeModule(ruby_wrapper); module.includeModule(ruby_wrapper); } return setupModule(module, node.nd_body()); case NODE_SCLASS: rubyClass = (RubyClass)eval(self, node.nd_recv()); if (rubyClass.isSpecialConst()) { throw new RubyTypeException("no virtual class for " + rubyClass.getRubyClass().toName()); } if (getRuby().getSecurityLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException("Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } rubyClass = rubyClass.getSingletonClass(); if (ruby_wrapper != null) { rubyClass.getSingletonClass().includeModule(ruby_wrapper); rubyClass.includeModule(ruby_wrapper); } return setupModule(rubyClass, node.nd_body()); case NODE_DEFINED: // String buf; // String desc = is_defined(self, node.nd_head(), buf); // // if (desc) { // result = rb_str_new2(desc); // } else { // result = Qnil; // } case NODE_NEWLINE: // ruby_sourcefile = node.nd_file; // ruby_sourceline = node.nd_nth(); // if (trace_func) { // call_trace_func("line", ruby_sourcefile, ruby_sourceline, self, // ruby_frame.last_func(), // ruby_frame.last_class()); // } node = node.nd_next(); break; default: // rom.rb_bug("unknown node type %d", nd_type(node)); } } }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/clean/org/jruby/interpreter/RubyInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 5302, 12, 54, 10340, 921, 365, 16, 11922, 290, 13, 288, 3639, 11922, 756, 273, 290, 31, 7734, 19817, 921, 6941, 273, 446, 31, 3639, 19817, 921, 8526, 833, 273, 446, 31, 3639, 19817, 921, 460, 273, 446, 31, 3639, 19817, 921, 563, 273, 446, 31, 3639, 19817, 3120, 22155, 797, 273, 446, 31, 3639, 368, 509, 919, 31, 7734, 368, 19817, 8176, 4712, 24137, 273, 4170, 10340, 7675, 588, 8176, 4712, 5621, 7734, 1323, 261, 3767, 13, 288, 13491, 309, 261, 2159, 422, 446, 13, 288, 7734, 327, 4170, 10340, 7675, 588, 12616, 5621, 5411, 289, 13491, 1620, 261, 2159, 18, 4880, 67, 723, 10756, 288, 7734, 648, 11922, 67, 11403, 30, 10792, 1323, 261, 2159, 18, 4880, 67, 4285, 1435, 480, 446, 13, 288, 13491, 5302, 12, 2890, 16, 756, 18, 4880, 67, 1978, 10663, 13491, 756, 273, 756, 18, 4880, 67, 4285, 5621, 10792, 289, 10792, 756, 273, 756, 18, 4880, 67, 1978, 5621, 10792, 898, 31, 4766, 565, 648, 11922, 67, 3798, 2294, 41, 30, 10792, 368, 7138, 67, 74, 67, 4415, 5621, 10792, 756, 18, 4880, 67, 542, 67, 723, 12, 8744, 67, 50, 2627, 1769, 1748, 1196, 2537, 3647, 1195, 10792, 327, 4170, 10340, 7675, 588, 12616, 5621, 4766, 565, 1748, 2376, 6116, 679, 2887, 14093, 1195, 7734, 648, 11922, 67, 16061, 30, 10792, 756, 273, 756, 18, 4880, 67, 3432, 5621, 10792, 898, 31, 4766, 565, 1748, 2199, 364, 8632, 17, 416, 12, 1886, 845, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 5302, 12, 54, 10340, 921, 365, 16, 11922, 290, 13, 288, 3639, 11922, 756, 273, 290, 31, 7734, 19817, 921, 6941, 273, 446, 31, 3639, 19817, 921, 8526, 833, 273, 446, 31, 3639, 19817, 921, 460, 273, 446, 31, 3639, 19817, 921, 563, 273, 446, 31, 3639, 19817, 3120, 22155, 797, 273, 446, 31, 3639, 368, 509, 919, 31, 7734, 368, 19817, 8176, 4712, 24137, 273, 4170, 10340, 7675, 588, 8176, 4712, 5621, 7734, 1323, 261, 3767, 13, 288, 13491, 309, 261, 2159, 422, 446, 13, 288, 7734, 327, 4170, 10340, 7675, 588, 12616, 5621, 5411, 289, 13491, 1620, 261, 2159, 18, 4880, 67, 723, 10756, 288, 7734, 648, 11922, 67, 11403, 30, 10792, 1323, 2 ]
if( executable == null || executable.length() == 0 )
if( executable == null || executable.length() == 0 ) {
public void setExecutable( final String executable ) { if( executable == null || executable.length() == 0 ) return; m_executable = executable.replace( '/', File.separatorChar ) .replace( '\\', File.separatorChar ); }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/b95d90a13da3fb8d362982bc84652f1e03e8325e/Commandline.java/clean/proposal/myrmidon/src/todo/org/apache/tools/ant/types/Commandline.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 17709, 12, 727, 514, 9070, 262, 565, 288, 3639, 309, 12, 9070, 422, 446, 747, 9070, 18, 2469, 1435, 422, 374, 262, 288, 5411, 327, 31, 3639, 312, 67, 17751, 273, 9070, 18, 2079, 12, 2023, 16, 1387, 18, 11287, 2156, 262, 5411, 263, 2079, 12, 3718, 2187, 1387, 18, 11287, 2156, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 17709, 12, 727, 514, 9070, 262, 565, 288, 3639, 309, 12, 9070, 422, 446, 747, 9070, 18, 2469, 1435, 422, 374, 262, 288, 5411, 327, 31, 3639, 312, 67, 17751, 273, 9070, 18, 2079, 12, 2023, 16, 1387, 18, 11287, 2156, 262, 5411, 263, 2079, 12, 3718, 2187, 1387, 18, 11287, 2156, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertEqualContent(new File(System.getProperty("root"), "src/etc/testcases/taskdefs/fixcrlf/expected/crcrlf.dos"), new File(System.getProperty("root"), "src/etc/testcases/taskdefs/fixcrlf/result/crcrlf"));
public void testCrCrLfSequenceDos() throws IOException { executeTarget("testCrCrLfSequence-dos"); assertEqualContent(new File(System.getProperty("root"), "src/etc/testcases/taskdefs/fixcrlf/expected/crcrlf.dos"), new File(System.getProperty("root"), "src/etc/testcases/taskdefs/fixcrlf/result/crcrlf")); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/0fb6ce69c29faf80158c280c98e57e08327dd576/FixCrLfTest.java/buggy/src/testcases/org/apache/tools/ant/taskdefs/FixCrLfTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 12893, 12893, 48, 74, 4021, 40, 538, 1435, 1216, 1860, 288, 3639, 1836, 2326, 2932, 3813, 12893, 12893, 48, 74, 4021, 17, 19219, 8863, 3639, 1815, 5812, 1350, 12, 2704, 1387, 12, 3163, 18, 588, 1396, 2932, 3085, 6, 3631, 315, 4816, 19, 14175, 19, 3813, 22186, 19, 4146, 12537, 19, 904, 71, 1321, 74, 19, 3825, 19, 22988, 1321, 74, 18, 19219, 6, 3631, 21821, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 3085, 6, 3631, 315, 4816, 19, 14175, 19, 3813, 22186, 19, 4146, 12537, 19, 904, 71, 1321, 74, 19, 2088, 19, 22988, 1321, 74, 7923, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 12893, 12893, 48, 74, 4021, 40, 538, 1435, 1216, 1860, 288, 3639, 1836, 2326, 2932, 3813, 12893, 12893, 48, 74, 4021, 17, 19219, 8863, 3639, 1815, 5812, 1350, 12, 2704, 1387, 12, 3163, 18, 588, 1396, 2932, 3085, 6, 3631, 315, 4816, 19, 14175, 19, 3813, 22186, 19, 4146, 12537, 19, 904, 71, 1321, 74, 19, 3825, 19, 22988, 1321, 74, 18, 19219, 6, 3631, 21821, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 3085, 6, 3631, 315, 4816, 19, 14175, 19, 3813, 22186, 19, 4146, 12537, 19, 904, 71, 1321, 74, 19, 2088, 19, 22988, 1321, 74, 7923, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for ( int i = 0; i < totalRestores && current < needed; ++i ) { currentTechnique = getMethod.invoke( null, new Integer [] { new Integer(i) } ); currentTechniqueName = currentTechnique.toString();
if ( scriptPath.equals( "" ) && restoreSetting.equals( "" ) ) updateDisplay( ERROR_STATE, "No auto-restore settings found." );
private final boolean recover( int needed, String settingName, String currentName, String maximumName, String scriptProperty, String listProperty, Class techniqueList ) { try { Object [] empty = new Object[0]; Method currentMethod, maximumMethod; currentMethod = KoLCharacter.class.getMethod( currentName, new Class[0] ); maximumMethod = KoLCharacter.class.getMethod( maximumName, new Class[0] ); int maximum = ((Number)maximumMethod.invoke( null, empty )).intValue(); // First, check against the restore trigger to see if // any restoration needs to take place. double setting = Double.parseDouble( settings.getProperty( settingName ) ); if ( !BuffBotHome.isBuffBotActive() ) { needed = setting < 0 ? -1 : (int) Math.max( setting * (double) maximum, (double) needed ); if ( needed < 0 ) return true; } int last = -1; int current = ((Number)currentMethod.invoke( null, empty )).intValue(); // If a buffbot is currently running, only restore MP to // max when what you have is less than what you need. if ( BuffBotHome.isBuffBotActive() ) { if ( current < needed ) needed = maximum - 1; } else needed = needed >= maximum ? maximum - 1 : needed + 1; if ( current > needed ) return true; // Next, check against the restore target to see how // far you need to go. setting = Double.parseDouble( settings.getProperty( settingName + "Target" ) ); if ( !BuffBotHome.isBuffBotActive() ) { needed = setting < 0 ? -1 : (int) Math.max( setting * (double) maximum, (double) needed ); if ( needed < 0 ) return true; } last = -1; current = ((Number)currentMethod.invoke( null, empty )).intValue(); // If a buffbot is currently running, only restore MP to // max when what you have is less than what you need. if ( BuffBotHome.isBuffBotActive() ) { if ( current < needed ) needed = maximum - 1; } else needed = needed >= maximum ? maximum - 1 : needed + 1; if ( current > needed ) return true; // First, attempt to recover using the appropriate script, if it exists. // This uses a lot of excessive reflection, but the idea is that it // checks the current value of the stat against the needed value of // the stat and makes sure that there's a change with every iteration. // If there is no change, it exists the loop. String scriptPath = settings.getProperty( scriptProperty ).trim(); if ( !scriptPath.equals( "" ) ) { last = -1; while ( current < needed && last != current && !refusesContinue() ) { last = current; DEFAULT_SHELL.executeLine( scriptPath ); current = ((Number)currentMethod.invoke( null, empty )).intValue(); } } // If it gets this far, then you should attempt to recover // using the selected items. This involves a few extra // reflection methods. String restoreSetting = settings.getProperty( listProperty ).trim(); int totalRestores = ((Number)techniqueList.getMethod( "size", new Class[0] ).invoke( null, empty )).intValue(); Method getMethod = techniqueList.getMethod( "get", new Class [] { Integer.TYPE } ); // Iterate through every single restore item, checking to // see if the settings wish to use this item. If so, go ahead // and process the item's usage. Object currentTechnique; String currentTechniqueName; for ( int i = 0; i < totalRestores && current < needed; ++i ) { currentTechnique = getMethod.invoke( null, new Integer [] { new Integer(i) } ); currentTechniqueName = currentTechnique.toString(); if ( restoreSetting.indexOf( currentTechniqueName ) != -1 ) { last = -1; while ( current < needed && last != current && !refusesContinue() ) { last = current; recoverOnce( currentTechnique, currentTechniqueName, !restoreSetting.endsWith( currentTechniqueName ), needed ); current = ((Number)currentMethod.invoke( null, empty )).intValue(); } } } // Fall-through check, just in case you've reached the // desired value. if ( current >= needed && !refusesContinue() ) return true; // If you failed to auto-recover and there are no settings, // make sure the user is aware of this. if ( scriptPath.equals( "" ) && restoreSetting.equals( "" ) ) updateDisplay( ERROR_STATE, "No auto-restore settings found." ); // Now you know for certain that you did not reach the // desired value. There will be an error message that // is left over from previous attempts. this.currentState = ERROR_STATE; return false; } catch ( Exception e ) { // This should not happen. Therefore, print // a stack trace for debug purposes. StaticEntity.printStackTrace( e ); return false; } }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/dfb35d63002d9877a80e45d82c6f27528b4d76e2/KoLmafia.java/buggy/src/net/sourceforge/kolmafia/KoLmafia.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 1250, 5910, 12, 509, 3577, 16, 514, 3637, 461, 16, 514, 783, 461, 16, 514, 4207, 461, 16, 514, 2728, 1396, 16, 514, 666, 1396, 16, 1659, 17734, 2161, 682, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 921, 5378, 1008, 273, 394, 1033, 63, 20, 15533, 1082, 202, 1305, 783, 1305, 16, 4207, 1305, 31, 1082, 202, 2972, 1305, 273, 1475, 83, 48, 7069, 18, 1106, 18, 588, 1305, 12, 783, 461, 16, 394, 1659, 63, 20, 65, 11272, 1082, 202, 15724, 1305, 273, 1475, 83, 48, 7069, 18, 1106, 18, 588, 1305, 12, 4207, 461, 16, 394, 1659, 63, 20, 65, 11272, 1082, 202, 474, 4207, 273, 14015, 1854, 13, 15724, 1305, 18, 14407, 12, 446, 16, 1008, 262, 2934, 474, 620, 5621, 1082, 202, 759, 5783, 16, 866, 5314, 326, 5217, 3080, 358, 2621, 309, 1082, 202, 759, 1281, 3127, 22226, 4260, 358, 4862, 3166, 18, 25083, 202, 9056, 3637, 273, 3698, 18, 2670, 5265, 12, 1947, 18, 588, 1396, 12, 3637, 461, 262, 11272, 25083, 202, 430, 261, 401, 10642, 6522, 8684, 18, 291, 10642, 6522, 3896, 1435, 262, 1082, 202, 95, 9506, 202, 17471, 273, 3637, 411, 374, 692, 300, 21, 294, 261, 474, 13, 2361, 18, 1896, 12, 3637, 380, 261, 9056, 13, 4207, 16, 261, 9056, 13, 3577, 11272, 9506, 202, 430, 261, 3577, 411, 374, 262, 6862, 202, 2463, 638, 31, 1082, 202, 97, 1082, 202, 474, 1142, 273, 300, 21, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 1250, 5910, 12, 509, 3577, 16, 514, 3637, 461, 16, 514, 783, 461, 16, 514, 4207, 461, 16, 514, 2728, 1396, 16, 514, 666, 1396, 16, 1659, 17734, 2161, 682, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 921, 5378, 1008, 273, 394, 1033, 63, 20, 15533, 1082, 202, 1305, 783, 1305, 16, 4207, 1305, 31, 1082, 202, 2972, 1305, 273, 1475, 83, 48, 7069, 18, 1106, 18, 588, 1305, 12, 783, 461, 16, 394, 1659, 63, 20, 65, 11272, 1082, 202, 15724, 1305, 273, 1475, 83, 48, 7069, 18, 1106, 18, 588, 1305, 12, 4207, 461, 16, 394, 1659, 63, 20, 65, 11272, 1082, 202, 474, 4207, 273, 14015, 1854, 13, 2 ]
log.debug("xpath size:" + list.size());
public void setFeedback(ArrayList itemTextList, Item itemXml) { log.debug("item text size: " + itemTextList.size()); log.debug("item answer type: " + itemXml.getItemType()); // for any answers that are now in the template, create a feedback String xpath = "item/itemfeedback/flow/response_lid/render_choice"; int xpathIndex = 1; List list = itemXml.selectNodes(xpath); log.debug("xpath size:" + list.size()); Iterator nodeIter = list.iterator(); Iterator iter = itemTextList.iterator(); Set answerSet = new HashSet(); char label = 'A'; boolean first = true; while (iter.hasNext()) { ItemTextIfc itemTextIfc = (ItemTextIfc) iter.next(); if (first) // then do once { addCorrectAndIncorrectFeedback(itemXml, itemTextIfc); xpathIndex = 3; first = false; } answerSet = itemTextIfc.getAnswerSet(); Iterator aiter = answerSet.iterator(); while (aiter.hasNext()) { AnswerIfc answer = (AnswerIfc) aiter.next(); addAnswerFeedback(itemXml, xpathIndex, nodeIter, label, answer); label++; xpathIndex++; } addGeneralFeedback(itemXml, xpathIndex, itemTextIfc); } }
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/3f81d8a6d9a7c69c2709822170aa047b899334ae/ItemHelper12Impl.java/buggy/samigo/src/org/sakaiproject/tool/assessment/business/entity/helper/item/ItemHelper12Impl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 15888, 12, 19558, 761, 1528, 682, 16, 4342, 761, 4432, 13, 225, 288, 565, 613, 18, 4148, 2932, 1726, 977, 963, 30, 315, 397, 761, 1528, 682, 18, 1467, 10663, 565, 613, 18, 4148, 2932, 1726, 5803, 618, 30, 315, 397, 761, 4432, 18, 588, 22580, 10663, 565, 368, 364, 1281, 12415, 716, 854, 2037, 316, 326, 1542, 16, 752, 279, 10762, 565, 514, 6748, 273, 1377, 315, 1726, 19, 1726, 12571, 19, 2426, 19, 2740, 67, 80, 350, 19, 5902, 67, 11569, 14432, 565, 509, 6748, 1016, 273, 404, 31, 565, 987, 666, 273, 761, 4432, 18, 4025, 3205, 12, 18644, 1769, 4202, 4498, 756, 2360, 273, 666, 18, 9838, 5621, 565, 4498, 1400, 273, 761, 1528, 682, 18, 9838, 5621, 565, 1000, 5803, 694, 273, 394, 6847, 5621, 565, 1149, 1433, 273, 296, 37, 13506, 565, 1250, 1122, 273, 638, 31, 565, 1323, 261, 2165, 18, 5332, 2134, 10756, 565, 288, 1377, 4342, 1528, 4570, 761, 1528, 4570, 273, 261, 1180, 1528, 4570, 13, 1400, 18, 4285, 5621, 1377, 309, 261, 3645, 13, 368, 1508, 741, 3647, 1377, 288, 3639, 527, 16147, 1876, 16268, 15888, 12, 1726, 4432, 16, 761, 1528, 4570, 1769, 3639, 6748, 1016, 273, 890, 31, 3639, 1122, 273, 629, 31, 1377, 289, 1377, 5803, 694, 273, 761, 1528, 4570, 18, 588, 13203, 694, 5621, 1377, 4498, 279, 2165, 273, 5803, 694, 18, 9838, 5621, 1377, 1323, 261, 1540, 264, 18, 5332, 2134, 10756, 1377, 288, 3639, 21019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 15888, 12, 19558, 761, 1528, 682, 16, 4342, 761, 4432, 13, 225, 288, 565, 613, 18, 4148, 2932, 1726, 977, 963, 30, 315, 397, 761, 1528, 682, 18, 1467, 10663, 565, 613, 18, 4148, 2932, 1726, 5803, 618, 30, 315, 397, 761, 4432, 18, 588, 22580, 10663, 565, 368, 364, 1281, 12415, 716, 854, 2037, 316, 326, 1542, 16, 752, 279, 10762, 565, 514, 6748, 273, 1377, 315, 1726, 19, 1726, 12571, 19, 2426, 19, 2740, 67, 80, 350, 19, 5902, 67, 11569, 14432, 565, 509, 6748, 1016, 273, 404, 31, 565, 987, 666, 273, 761, 4432, 18, 4025, 3205, 12, 18644, 1769, 4202, 4498, 756, 2360, 273, 666, 18, 9838, 5621, 565, 4498, 1400, 2 ]
while(!start.isZero()) { scanRegion(scanner, start);
while (!start.isZero()) { scanRegion(scanner, start);
public void linearScan(LinearScan scanner) throws InlinePragma { if (Assert.VERIFY_ASSERTIONS) Assert._assert(allowScanning); /* Has this allocator ever allocated anything? */ if (initialRegion.isZero()) return; /* Loop through active regions or until the last region */ Address start = initialRegion; while(!start.isZero()) { scanRegion(scanner, start); // Scan this region start = start.plus(NEXT_REGION_OFFSET).loadAddress(); // Move on to next } }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/BumpPointer.java/buggy/MMTk/src/org/mmtk/utility/alloc/BumpPointer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 9103, 7972, 12, 15982, 7972, 7683, 13, 1216, 16355, 2050, 9454, 288, 565, 309, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 5452, 6315, 11231, 12, 5965, 1541, 10903, 1769, 565, 1748, 4393, 333, 26673, 14103, 11977, 6967, 35, 1195, 565, 309, 261, 6769, 5165, 18, 291, 7170, 10756, 327, 31, 565, 1748, 9720, 3059, 2695, 10085, 578, 3180, 326, 1142, 3020, 1195, 565, 5267, 787, 273, 2172, 5165, 31, 565, 1323, 12, 5, 1937, 18, 291, 7170, 10756, 288, 5411, 4135, 5165, 12, 26842, 16, 787, 1769, 3196, 10402, 368, 8361, 333, 3020, 1377, 787, 273, 787, 18, 10103, 12, 25539, 67, 28314, 67, 11271, 2934, 945, 1887, 5621, 368, 9933, 603, 358, 1024, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 9103, 7972, 12, 15982, 7972, 7683, 13, 1216, 16355, 2050, 9454, 288, 565, 309, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 5452, 6315, 11231, 12, 5965, 1541, 10903, 1769, 565, 1748, 4393, 333, 26673, 14103, 11977, 6967, 35, 1195, 565, 309, 261, 6769, 5165, 18, 291, 7170, 10756, 327, 31, 565, 1748, 9720, 3059, 2695, 10085, 578, 3180, 326, 1142, 3020, 1195, 565, 5267, 787, 273, 2172, 5165, 31, 565, 1323, 12, 5, 1937, 18, 291, 7170, 10756, 288, 5411, 4135, 5165, 12, 26842, 16, 787, 1769, 3196, 10402, 368, 8361, 333, 3020, 1377, 787, 273, 787, 18, 10103, 12, 25539, 67, 28314, 67, 11271, 2934, 945, 1887, 5621, 368, 9933, 603, 358, 2 ]
return _createMethod;
return createMethod;
public String getCreateMethod() { return _createMethod; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/56eeb0d4d18fb3e553e32d15e2c45dccd76eb958/UmlFactory.java/clean/src_new/org/argouml/model/uml/UmlFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 25667, 1305, 1435, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 25667, 1305, 1435, 288, 5411, 327, 752, 1305, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
out.println("rc += tightMarshalString1(" + getter + ", bs);");
out.println(" rc += tightMarshalString1(" + getter + ", bs);");
protected int generateTightMarshal1Body(PrintWriter out) { List properties = getProperties(); int baseSize = 0; 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("bs.writeBoolean(" + getter + ");"); } else if (type.equals("byte")) { baseSize += 1; } else if (type.equals("char")) { baseSize += 2; } else if (type.equals("short")) { baseSize += 2; } else if (type.equals("int")) { baseSize += 4; } else if (type.equals("long")) { out.println("rc+=tightMarshalLong1(wireFormat, " + getter + ", bs);"); } else if (type.equals("String")) { out.println("rc += tightMarshalString1(" + getter + ", bs);"); } else if (type.equals("byte[]")) { if (size == null) { out.println("rc += tightMarshalByteArray1(" + getter + ", bs);"); } else { out.println("rc += tightMarshalConstByteArray1(" + getter + ", bs, "+size.asInt()+");"); } } else if (type.equals("ByteSequence")) { out.println("rc += tightMarshalByteSequence1(" + getter + ", bs);"); } else if (propertyType.isArrayType()) { if (size != null) { out.println("rc += tightMarshalObjectArrayConstSize1(wireFormat, " + getter + ", bs, " + size.asInt() + ");"); } else { out.println("rc += tightMarshalObjectArray1(wireFormat, " + getter + ", bs);"); } } else if (isThrowable(propertyType)) { out.println("rc += tightMarshalThrowable1(wireFormat, " + getter + ", bs);"); } else { if (isCachedProperty(property)) { out.println("rc += tightMarshalCachedObject1(wireFormat, (DataStructure)" + getter + ", bs);"); } else { out.println("rc += tightMarshalNestedObject1(wireFormat, (DataStructure)" + getter + ", bs);"); } } } return baseSize; }
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, 509, 2103, 56, 750, 8105, 21, 2250, 12, 5108, 2289, 596, 13, 288, 3639, 987, 1790, 273, 9392, 5621, 3639, 509, 1026, 1225, 273, 374, 31, 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, 2038, 18, 2626, 5507, 2932, 397, 7060, 397, 315, 1769, 8863, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 7229, 6, 3719, 288, 7734, 1026, 1225, 1011, 404, 31, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 3001, 6, 3719, 288, 7734, 1026, 1225, 1011, 576, 31, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 6620, 6, 3719, 288, 7734, 1026, 1225, 1011, 576, 31, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 474, 6, 3719, 288, 7734, 1026, 1225, 1011, 1059, 31, 5411, 289, 5411, 469, 309, 261, 723, 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, 509, 2103, 56, 750, 8105, 21, 2250, 12, 5108, 2289, 596, 13, 288, 3639, 987, 1790, 273, 9392, 5621, 3639, 509, 1026, 1225, 273, 374, 31, 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, 2 ]
_loop1526:
_loop1530:
public final void io_phrase(AST _t) throws RecognitionException { AST io_phrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OSDIR: { AST __t1516 = _t; AST tmp1940_AST_in = (AST)_t; match(_t,OSDIR); _t = _t.getFirstChild(); AST tmp1941_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp1942_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOATTRLIST: { AST tmp1943_AST_in = (AST)_t; match(_t,NOATTRLIST); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1516; _t = _t.getNextSibling(); break; } case PRINTER: { AST __t1518 = _t; AST tmp1944_AST_in = (AST)_t; match(_t,PRINTER); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if (((_t.getType() >= LEXDATE && _t.getType() <= SYMMETRICENCRYPTIONALGORITHM))) { AST tmp1945_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } _t = __t1518; _t = _t.getNextSibling(); break; } case TERMINAL: { AST tmp1946_AST_in = (AST)_t; match(_t,TERMINAL); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case APPEND: case BINARY: case COLLATE: case CONVERT: case ECHO: case FILENAME: case KEEPMESSAGES: case LANDSCAPE: case MAP: case NOCONVERT: case NOECHO: case NOMAP: case NUMCOPIES: case PAGESIZE_KW: case PAGED: case PORTRAIT: case UNBUFFERED: case VALUE: case LOBDIR: { { _loop1521: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: { valueexpression(_t); _t = _retTree; break; } case FILENAME: { AST tmp1947_AST_in = (AST)_t; match(_t,FILENAME); _t = _t.getNextSibling(); break; } default: { break _loop1521; } } } while (true); } break; } default: { throw new NoViableAltException(_t); } } } { _loop1531: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp1948_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case BINARY: { AST tmp1949_AST_in = (AST)_t; match(_t,BINARY); _t = _t.getNextSibling(); break; } case COLLATE: { AST tmp1950_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getNextSibling(); break; } case CONVERT: { AST __t1523 = _t; AST tmp1951_AST_in = (AST)_t; match(_t,CONVERT); _t = _t.getFirstChild(); { _loop1526: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==SOURCE||_t.getType()==TARGET)) { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SOURCE: { AST tmp1952_AST_in = (AST)_t; match(_t,SOURCE); _t = _t.getNextSibling(); break; } case TARGET: { AST tmp1953_AST_in = (AST)_t; match(_t,TARGET); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } expression(_t); _t = _retTree; } else { break _loop1526; } } while (true); } _t = __t1523; _t = _t.getNextSibling(); break; } case LOBDIR: { AST __t1527 = _t; AST tmp1954_AST_in = (AST)_t; match(_t,LOBDIR); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; _t = __t1527; _t = _t.getNextSibling(); break; } case NOCONVERT: { AST tmp1955_AST_in = (AST)_t; match(_t,NOCONVERT); _t = _t.getNextSibling(); break; } case ECHO: { AST tmp1956_AST_in = (AST)_t; match(_t,ECHO); _t = _t.getNextSibling(); break; } case NOECHO: { AST tmp1957_AST_in = (AST)_t; match(_t,NOECHO); _t = _t.getNextSibling(); break; } case KEEPMESSAGES: { AST tmp1958_AST_in = (AST)_t; match(_t,KEEPMESSAGES); _t = _t.getNextSibling(); break; } case LANDSCAPE: { AST tmp1959_AST_in = (AST)_t; match(_t,LANDSCAPE); _t = _t.getNextSibling(); break; } case MAP: { AST __t1528 = _t; AST tmp1960_AST_in = (AST)_t; match(_t,MAP); _t = _t.getFirstChild(); anyorvalue(_t); _t = _retTree; _t = __t1528; _t = _t.getNextSibling(); break; } case NOMAP: { AST tmp1961_AST_in = (AST)_t; match(_t,NOMAP); _t = _t.getNextSibling(); break; } case NUMCOPIES: { AST __t1529 = _t; AST tmp1962_AST_in = (AST)_t; match(_t,NUMCOPIES); _t = _t.getFirstChild(); anyorvalue(_t); _t = _retTree; _t = __t1529; _t = _t.getNextSibling(); break; } case PAGED: { AST tmp1963_AST_in = (AST)_t; match(_t,PAGED); _t = _t.getNextSibling(); break; } case PAGESIZE_KW: { AST __t1530 = _t; AST tmp1964_AST_in = (AST)_t; match(_t,PAGESIZE_KW); _t = _t.getFirstChild(); anyorvalue(_t); _t = _retTree; _t = __t1530; _t = _t.getNextSibling(); break; } case PORTRAIT: { AST tmp1965_AST_in = (AST)_t; match(_t,PORTRAIT); _t = _t.getNextSibling(); break; } case UNBUFFERED: { AST tmp1966_AST_in = (AST)_t; match(_t,UNBUFFERED); _t = _t.getNextSibling(); break; } default: { break _loop1531; } } } while (true); } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2527, 67, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2527, 67, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5932, 4537, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3600, 2313, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3657, 7132, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4618, 4537, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 9053, 1853, 3657, 9803, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 10066, 15111, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 9053, 1853, 3657, 9452, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 11847, 15111, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 95, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2527, 67, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2527, 67, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5932, 4537, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3600, 2313, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3657, 7132, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4618, 4537, 1769, 1082, 2 ]
public StaticTagScript(TagFactory tagFactory) { super(tagFactory);
public StaticTagScript() {
public StaticTagScript(TagFactory tagFactory) { super(tagFactory); }
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/1d15e9a4daaf2cf5d10d0ffc119a8c036740cceb/StaticTagScript.java/buggy/src/java/org/apache/commons/jelly/impl/StaticTagScript.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10901, 1805, 3651, 12, 1805, 1733, 1047, 1733, 13, 288, 3639, 2240, 12, 2692, 1733, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10901, 1805, 3651, 12, 1805, 1733, 1047, 1733, 13, 288, 3639, 2240, 12, 2692, 1733, 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, -100, -100, -100, -100, -100 ]
assertEquals("[\"foo\", \"bar\"]", eval("$h.each_pair {|pair| p pair}")); assertEquals("{\"foo\"=>\"bar\"}", eval("p $h.each_pair {|pair| }"));
assertTrue(eval("$h.each_pair {|pair| p pair}").indexOf("[\"foo\", \"bar\"]") != -1); assertTrue(eval("p $h.each_pair {|pair| }").indexOf("{\"foo\"=>\"bar\"}") != -1);
public void testIterating() throws Exception { assertEquals("[\"foo\", \"bar\"]", eval("$h.each {|pair| p pair}")); assertEquals("{\"foo\"=>\"bar\"}", eval("p $h.each {|pair| }")); assertEquals("[\"foo\", \"bar\"]", eval("$h.each_pair {|pair| p pair}")); assertEquals("{\"foo\"=>\"bar\"}", eval("p $h.each_pair {|pair| }")); assertEquals("\"foo\"", eval("$h.each_key {|k| p k}")); assertEquals("{\"foo\"=>\"bar\"}", eval("p $h.each_key {|k| }")); assertEquals("\"bar\"", eval("$h.each_value {|v| p v}")); assertEquals("{\"foo\"=>\"bar\"}", eval("p $h.each_value {|v| }")); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b87fee1b90fc7a4ff567235e2fc1387d035bbf31/TestRubyHash.java/buggy/test/org/jruby/test/TestRubyHash.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2360, 1776, 1435, 1216, 1185, 288, 3639, 1815, 8867, 2932, 63, 2412, 11351, 22564, 1239, 3215, 2412, 65, 3113, 5302, 2932, 8, 76, 18, 13798, 288, 96, 6017, 96, 293, 3082, 1532, 10019, 3639, 1815, 8867, 2932, 95, 2412, 11351, 2412, 9207, 2412, 3215, 2412, 1532, 16, 5302, 2932, 84, 271, 76, 18, 13798, 288, 96, 6017, 96, 289, 7923, 1769, 3639, 1815, 8867, 2932, 63, 2412, 11351, 22564, 1239, 3215, 2412, 65, 3113, 5302, 2932, 8, 76, 18, 13798, 67, 6017, 288, 96, 6017, 96, 293, 3082, 1532, 10019, 3639, 1815, 8867, 2932, 95, 2412, 11351, 2412, 9207, 2412, 3215, 2412, 1532, 16, 5302, 2932, 84, 271, 76, 18, 13798, 67, 6017, 288, 96, 6017, 96, 289, 7923, 1769, 3639, 1815, 8867, 2932, 2412, 11351, 2412, 3113, 5302, 2932, 8, 76, 18, 13798, 67, 856, 288, 96, 79, 96, 293, 417, 1532, 10019, 3639, 1815, 8867, 2932, 95, 2412, 11351, 2412, 9207, 2412, 3215, 2412, 1532, 16, 5302, 2932, 84, 271, 76, 18, 13798, 67, 856, 288, 96, 79, 96, 289, 7923, 1769, 3639, 1815, 8867, 2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326, 981, 30, 377, 1071, 918, 1842, 2360, 1776, 1435, 1216, 1185, 288, 3639, 1815, 8867, 2932, 63, 2412, 11351, 22564, 1239, 3215, 2412, 65, 3113, 5302, 2932, 8, 76, 18, 13798, 288, 96, 6017, 96, 293, 3082, 1532, 10019, 3639, 1815, 8867, 2932, 95, 2412, 11351, 2412, 9207, 2412, 3215, 2412, 1532, 16, 5302, 2932, 84, 271, 76, 18, 13798, 288, 96, 6017, 96, 289, 7923, 1769, 3639, 1815, 8867, 2932, 63, 2412, 11351, 22564, 1239, 3215, 2412, 65, 3113, 5302, 2932, 8, 76, 18, 13798, 67, 6017, 288, 96, 6017, 96, 293, 3082, 1532, 10019, 3639, 1815, 8867, 2932, 95, 2412, 11351, 2412, 9207, 2412, 3215, 2412, 1532, 16, 5302, 2932, 84, 271, 76, 18, 13798, 67, 6017, 288, 96, 2 ]
public RubyString id2name() { return RubySymbol.getSymbol(runtime, value).to_s();
public IRubyObject id2name() { return RubySymbol.getSymbol(runtime, value).convertToString();
public RubyString id2name() { return RubySymbol.getSymbol(runtime, value).to_s(); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/cc20d41e6031b7e9c9ed46676d32e45334ed0d53/RubyFixnum.java/clean/src/org/jruby/RubyFixnum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 612, 22, 529, 1435, 288, 3639, 327, 19817, 5335, 18, 588, 5335, 12, 9448, 16, 460, 2934, 869, 67, 87, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 612, 22, 529, 1435, 288, 3639, 327, 19817, 5335, 18, 588, 5335, 12, 9448, 16, 460, 2934, 869, 67, 87, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Object result = client.execute("login", v);
Object result = getClientByUrl(url).execute("login", v);
public UserContext login(String userName, String password) { Vector v = new Vector(); v.add(userName); v.add(password); try { Object result = client.execute("login", v); if (!((String)result).equals(IKoboldServer.NO_RESULT)) { Element element = RPCMessageTransformer.decode((String)result); return new UserContext(element); } } catch (Exception exception) { log.error("login()", exception); } return null; }
9773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9773/c458fa0998db96545b3f2a5a2f8b3f21770c4023/SecureKoboldClient.java/clean/kobold/src/kobold.client.plam/src/kobold/client/plam/controller/SecureKoboldClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2177, 1042, 3925, 12, 780, 12065, 16, 514, 2201, 13, 288, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 90, 18, 1289, 12, 1355, 461, 1769, 202, 202, 90, 18, 1289, 12, 3664, 1769, 202, 202, 698, 288, 1082, 202, 921, 563, 273, 1004, 18, 8837, 2932, 5819, 3113, 331, 1769, 1082, 202, 430, 16051, 12443, 780, 13, 2088, 2934, 14963, 12, 45, 47, 947, 1673, 2081, 18, 3417, 67, 12289, 3719, 288, 9506, 202, 1046, 930, 273, 8295, 1079, 8319, 18, 3922, 12443, 780, 13, 2088, 1769, 9506, 202, 2463, 394, 2177, 1042, 12, 2956, 1769, 1082, 202, 97, 202, 202, 97, 1044, 261, 503, 1520, 13, 288, 1082, 202, 1330, 18, 1636, 2932, 5819, 1435, 3113, 1520, 1769, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2177, 1042, 3925, 12, 780, 12065, 16, 514, 2201, 13, 288, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 90, 18, 1289, 12, 1355, 461, 1769, 202, 202, 90, 18, 1289, 12, 3664, 1769, 202, 202, 698, 288, 1082, 202, 921, 563, 273, 1004, 18, 8837, 2932, 5819, 3113, 331, 1769, 1082, 202, 430, 16051, 12443, 780, 13, 2088, 2934, 14963, 12, 45, 47, 947, 1673, 2081, 18, 3417, 67, 12289, 3719, 288, 9506, 202, 1046, 930, 273, 8295, 1079, 8319, 18, 3922, 12443, 780, 13, 2088, 1769, 9506, 202, 2463, 394, 2177, 1042, 12, 2956, 1769, 1082, 202, 97, 202, 202, 97, 1044, 261, 503, 1520, 13, 288, 1082, 202, 1330, 18, 1636, 2 ]
String safeId = id.replace('\\', '_').replace('/', '_');
protected final XmlFile getConfigFile() { String safeId = id.replace('\\', '_').replace('/', '_'); return new XmlFile(XSTREAM,new File(Hudson.getInstance().getRootDir(),"users/"+ safeId +"/config.xml")); }
33411 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/33411/8477eb1a8b63ae642c6436a06f1f5c6802ae65f9/User.java/buggy/core/src/main/java/hudson/model/User.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 5714, 812, 4367, 812, 1435, 288, 9079, 327, 394, 5714, 812, 12, 60, 13693, 16, 2704, 1387, 12, 44, 1100, 816, 18, 588, 1442, 7675, 588, 27322, 9334, 6, 5577, 4898, 15, 4183, 548, 397, 6, 19, 1425, 18, 2902, 7923, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 5714, 812, 4367, 812, 1435, 288, 9079, 327, 394, 5714, 812, 12, 60, 13693, 16, 2704, 1387, 12, 44, 1100, 816, 18, 588, 1442, 7675, 588, 27322, 9334, 6, 5577, 4898, 15, 4183, 548, 397, 6, 19, 1425, 18, 2902, 7923, 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 ]
catch (IOException e)
catch ( IOException e )
public void writeImage( File dest ) throws IOException { if ( source == IImage.INVALID_IMAGE ) { logger.log( Level.SEVERE, "image source {0} is not valid!", id ); //$NON-NLS-1$ return; } InputStream input = getImageStream(); if ( null == input ) { logger.log( Level.SEVERE, "image source {0} is not found!", id ); //$NON-NLS-1$ return; } // if(!dest.exists()) // { String parent = new File( dest.getAbsolutePath( ) ).getParent( ); File parentDir = new File( parent ); if ( !parentDir.exists( ) ) parentDir.mkdirs( ); OutputStream output = null; try { output = new BufferedOutputStream( new FileOutputStream( dest ) ); copyStream( input, output ); } catch ( IOException ex ) { logger.log( Level.SEVERE, ex.getMessage( ), ex ); } finally { if ( input != null ) { try { input.close( ); } catch (IOException e) { logger.log( Level.SEVERE, e.getMessage( ), e ); } } if ( output != null ) { try { output.close( ); } catch (IOException e) { logger.log( Level.SEVERE, e.getMessage( ), e ); } } } // } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/4e5bdbf4992d60d94c4838190ed496a349f82918/Image.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/Image.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1045, 2040, 12, 1387, 1570, 262, 1216, 1860, 202, 95, 202, 202, 430, 261, 1084, 422, 467, 2040, 18, 9347, 67, 13603, 262, 202, 202, 95, 1082, 202, 4901, 18, 1330, 12, 4557, 18, 1090, 2204, 41, 16, 315, 2730, 1084, 288, 20, 97, 353, 486, 923, 5, 3113, 612, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 4348, 810, 273, 10567, 1228, 5621, 202, 202, 430, 261, 446, 422, 810, 262, 202, 202, 95, 1082, 202, 4901, 18, 1330, 12, 4557, 18, 1090, 2204, 41, 16, 315, 2730, 1084, 288, 20, 97, 353, 486, 1392, 5, 3113, 612, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 309, 12, 5, 10488, 18, 1808, 10756, 202, 202, 759, 288, 202, 202, 780, 982, 273, 394, 1387, 12, 1570, 18, 588, 10368, 743, 12, 262, 262, 18, 588, 3054, 12, 11272, 202, 202, 812, 982, 1621, 273, 394, 1387, 12, 982, 11272, 202, 202, 430, 261, 401, 2938, 1621, 18, 1808, 12, 262, 262, 1082, 202, 2938, 1621, 18, 24816, 8291, 12, 11272, 202, 202, 4632, 876, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 2844, 273, 394, 28649, 12, 394, 12942, 12, 1570, 262, 11272, 1082, 202, 3530, 1228, 12, 810, 16, 876, 11272, 202, 202, 97, 202, 202, 14683, 261, 1860, 431, 262, 202, 202, 95, 1082, 202, 4901, 18, 1330, 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, 1045, 2040, 12, 1387, 1570, 262, 1216, 1860, 202, 95, 202, 202, 430, 261, 1084, 422, 467, 2040, 18, 9347, 67, 13603, 262, 202, 202, 95, 1082, 202, 4901, 18, 1330, 12, 4557, 18, 1090, 2204, 41, 16, 315, 2730, 1084, 288, 20, 97, 353, 486, 923, 5, 3113, 612, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 4348, 810, 273, 10567, 1228, 5621, 202, 202, 430, 261, 446, 422, 810, 262, 202, 202, 95, 1082, 202, 4901, 18, 1330, 12, 4557, 18, 1090, 2204, 41, 16, 315, 2730, 1084, 288, 20, 97, 353, 486, 1392, 5, 3113, 612, 11272, 4329, 3993, 17, 5106, 17, 21, 2 ]
bugTask.setSyncState(state); MylarTaskListPlugin.getTaskListManager().getTaskList().notifyRepositoryInfoChanged(bugTask);
if (bugTask.getSyncState() != state) { bugTask.setSyncState(state); MylarTaskListPlugin.getTaskListManager().getTaskList().notifyRepositoryInfoChanged(bugTask); }
private static void offlineStatusChange(AbstractRepositoryReport report, BugzillaOfflineStatus status, boolean forceSynch) { RepositoryTaskSyncState state = null; if (status == BugzillaOfflineStatus.SAVED_WITH_OUTGOING_CHANGES) { state = RepositoryTaskSyncState.OUTGOING; } else if (status == BugzillaOfflineStatus.SAVED) { state = RepositoryTaskSyncState.SYNCHRONIZED; } else if (status == BugzillaOfflineStatus.SAVED_WITH_INCOMMING_CHANGES) { // if (forceSynch) { state = RepositoryTaskSyncState.INCOMING; // } else { // User opened (forceSynch = false) so no need to denote // incomming // state = RepositoryTaskSyncState.SYNCHRONIZED; // } } else if (status == BugzillaOfflineStatus.CONFLICT) { state = RepositoryTaskSyncState.CONFLICT; } else if (status == BugzillaOfflineStatus.DELETED) { state = RepositoryTaskSyncState.SYNCHRONIZED; } if (state == null) { // this means that we got a status that we didn't understand return; } String handle = AbstractRepositoryTask.getHandle(report.getRepositoryUrl(), report.getId()); ITask task = MylarTaskListPlugin.getTaskListManager().getTaskList().getTask(handle); if (task != null && task instanceof BugzillaTask) { final BugzillaTask bugTask = (BugzillaTask) task; bugTask.setSyncState(state); // PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {// public void run() { MylarTaskListPlugin.getTaskListManager().getTaskList().notifyRepositoryInfoChanged(bugTask);// }// }); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/a085e9ee5a3a4fa782be35cbc4ee144d08925a8a/BugzillaRepositoryConnector.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositoryConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 13493, 1482, 3043, 12, 7469, 3305, 4820, 2605, 16, 16907, 15990, 23106, 1482, 1267, 16, 1082, 202, 6494, 2944, 55, 2515, 13, 288, 202, 202, 3305, 2174, 4047, 1119, 919, 273, 446, 31, 202, 202, 430, 261, 2327, 422, 16907, 15990, 23106, 1482, 18, 5233, 12135, 67, 9147, 67, 5069, 16387, 1360, 67, 1792, 3388, 3991, 13, 288, 1082, 202, 2019, 273, 6281, 2174, 4047, 1119, 18, 5069, 16387, 1360, 31, 202, 202, 97, 469, 309, 261, 2327, 422, 16907, 15990, 23106, 1482, 18, 5233, 12135, 13, 288, 1082, 202, 2019, 273, 6281, 2174, 4047, 1119, 18, 7474, 50, 1792, 19359, 24131, 31, 202, 202, 97, 469, 309, 261, 2327, 422, 16907, 15990, 23106, 1482, 18, 5233, 12135, 67, 9147, 67, 706, 4208, 49, 1360, 67, 1792, 3388, 3991, 13, 288, 1082, 202, 759, 309, 261, 5734, 55, 2515, 13, 288, 1082, 202, 2019, 273, 6281, 2174, 4047, 1119, 18, 706, 4208, 1360, 31, 1082, 202, 759, 289, 469, 288, 1082, 202, 759, 2177, 10191, 261, 5734, 55, 2515, 273, 629, 13, 1427, 1158, 1608, 358, 5545, 1168, 1082, 202, 759, 316, 5702, 310, 1082, 202, 759, 919, 273, 6281, 2174, 4047, 1119, 18, 7474, 50, 1792, 19359, 24131, 31, 1082, 202, 759, 289, 202, 202, 97, 469, 309, 261, 2327, 422, 16907, 15990, 23106, 1482, 18, 14497, 29280, 13, 288, 1082, 202, 2019, 273, 6281, 2174, 4047, 1119, 18, 14497, 29280, 31, 202, 202, 97, 469, 309, 261, 2327, 422, 16907, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 13493, 1482, 3043, 12, 7469, 3305, 4820, 2605, 16, 16907, 15990, 23106, 1482, 1267, 16, 1082, 202, 6494, 2944, 55, 2515, 13, 288, 202, 202, 3305, 2174, 4047, 1119, 919, 273, 446, 31, 202, 202, 430, 261, 2327, 422, 16907, 15990, 23106, 1482, 18, 5233, 12135, 67, 9147, 67, 5069, 16387, 1360, 67, 1792, 3388, 3991, 13, 288, 1082, 202, 2019, 273, 6281, 2174, 4047, 1119, 18, 5069, 16387, 1360, 31, 202, 202, 97, 469, 309, 261, 2327, 422, 16907, 15990, 23106, 1482, 18, 5233, 12135, 13, 288, 1082, 202, 2019, 273, 6281, 2174, 4047, 1119, 18, 7474, 50, 1792, 19359, 24131, 31, 202, 202, 97, 469, 309, 261, 2327, 422, 16907, 15990, 23106, 2 ]
showType = ShowPluginsMenu.SHOW_RUNNING_PLUGINS;
this.showRunning = showRunning;
public RegistryBrowserContentProvider(TreeViewer viewer){ super(); this.viewer = viewer; showType = ShowPluginsMenu.SHOW_RUNNING_PLUGINS; }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/da9411dec7054667c47dca3c2ca1644866de8d9b/RegistryBrowserContentProvider.java/buggy/ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/registry/RegistryBrowserContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5438, 9132, 1350, 2249, 12, 2471, 18415, 14157, 15329, 202, 202, 9565, 5621, 202, 202, 2211, 18, 25256, 273, 14157, 31, 202, 202, 4500, 559, 273, 9674, 9461, 4599, 18, 16677, 67, 29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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5438, 9132, 1350, 2249, 12, 2471, 18415, 14157, 15329, 202, 202, 9565, 5621, 202, 202, 2211, 18, 25256, 273, 14157, 31, 202, 202, 4500, 559, 273, 9674, 9461, 4599, 18, 16677, 67, 29358, 67, 19415, 55, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} catch (Exception e) { ZimbraLog.mailbox.info( "Unable to convert TNEF attachment for message " + getId(), e);
} catch (Throwable t) { ZimbraLog.mailbox.warn( "MIME converter failed for message " + getId(), t);
public MimeMessage getMimeMessage() throws ServiceException { InputStream is = null; MimeMessage mm = null; try { is = getRawMessage(); mm = new MimeMessage(JMSession.getSession(), is); is.close(); try { for (Class visitor : MimeVisitor.getConverters()) ((MimeVisitor) visitor.newInstance()).accept(mm); } catch (Exception e) { // If the conversion bombs for any reason, revert to the original ZimbraLog.mailbox.info( "Unable to convert TNEF attachment for message " + getId(), e); is = getRawMessage(); mm = new MimeMessage(JMSession.getSession(), is); is.close(); } return mm; } catch (IOException e) { throw ServiceException.FAILURE("IOException while getting MimeMessage for item " + mId, e); } catch (MessagingException e) { throw ServiceException.FAILURE("MessagingException while getting MimeMessage for item " + mId, e); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/f2c35ee7fd864bd76c6892508fbb3491ef2f75b4/Appointment.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/Appointment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 22059, 1079, 2108, 494, 1079, 1435, 1216, 16489, 288, 3639, 5037, 353, 273, 446, 31, 3639, 22059, 1079, 9740, 273, 446, 31, 3639, 775, 288, 5411, 353, 273, 10547, 1079, 5621, 5411, 9740, 273, 394, 22059, 1079, 12, 46, 49, 2157, 18, 588, 2157, 9334, 353, 1769, 5411, 353, 18, 4412, 5621, 5411, 775, 288, 7734, 364, 261, 797, 8000, 294, 22059, 7413, 18, 588, 24615, 10756, 10792, 14015, 13320, 7413, 13, 8000, 18, 2704, 1442, 1435, 2934, 9436, 12, 7020, 1769, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 368, 971, 326, 4105, 28626, 2038, 364, 1281, 3971, 16, 15226, 358, 326, 2282, 7734, 2285, 381, 15397, 1343, 18, 4408, 2147, 18, 1376, 12, 10792, 315, 3370, 358, 1765, 399, 5407, 42, 6042, 364, 883, 315, 397, 2634, 9334, 425, 1769, 7734, 353, 273, 10547, 1079, 5621, 7734, 9740, 273, 394, 22059, 1079, 12, 46, 49, 2157, 18, 588, 2157, 9334, 353, 1769, 7734, 353, 18, 4412, 5621, 5411, 289, 13491, 327, 9740, 31, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 604, 16489, 18, 17623, 2932, 14106, 1323, 8742, 22059, 1079, 364, 761, 315, 397, 312, 548, 16, 425, 1769, 3639, 289, 1044, 261, 23389, 503, 425, 13, 288, 5411, 604, 16489, 18, 17623, 2932, 23389, 503, 1323, 8742, 22059, 1079, 364, 761, 315, 397, 312, 548, 16, 425, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 22059, 1079, 2108, 494, 1079, 1435, 1216, 16489, 288, 3639, 5037, 353, 273, 446, 31, 3639, 22059, 1079, 9740, 273, 446, 31, 3639, 775, 288, 5411, 353, 273, 10547, 1079, 5621, 5411, 9740, 273, 394, 22059, 1079, 12, 46, 49, 2157, 18, 588, 2157, 9334, 353, 1769, 5411, 353, 18, 4412, 5621, 5411, 775, 288, 7734, 364, 261, 797, 8000, 294, 22059, 7413, 18, 588, 24615, 10756, 10792, 14015, 13320, 7413, 13, 8000, 18, 2704, 1442, 1435, 2934, 9436, 12, 7020, 1769, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 368, 971, 326, 4105, 28626, 2038, 364, 1281, 3971, 16, 15226, 358, 326, 2282, 7734, 2285, 381, 15397, 1343, 18, 4408, 2147, 18, 1376, 12, 10792, 2 ]
setUserStatus(admin, username, UserDataConstants.STATUS_REVOKED,false);
setUserStatus(admin, username, UserDataConstants.STATUS_REVOKED);
public void revokeUser(Admin admin, String username, int reason) throws AuthorizationDeniedException, FinderException { debug(">revokeUser(" + username + ")"); UserDataPK pk = new UserDataPK(username); UserDataLocal data; try { data = home.findByPrimaryKey(pk); } catch (ObjectNotFoundException oe) { throw new EJBException(oe); } int caid = data.getCaId(); if (!authorizedToCA(admin, caid)) { logsession.log(admin, caid, LogEntry.MODULE_RA, new java.util.Date(), username, null, LogEntry.EVENT_ERROR_REVOKEDENDENTITY, "Administrator not authorized to revoke user with given CA."); throw new AuthorizationDeniedException("Administrator not authorized to revoke user with given CA."); } if (getGlobalConfiguration(admin).getEnableEndEntityProfileLimitations()) { if (!authorizedToEndEntityProfile(admin, data.getEndEntityProfileId(), AvailableAccessRules.REVOKE_RIGHTS)) { logsession.log(admin, caid, LogEntry.MODULE_RA, new java.util.Date(), username, null, LogEntry.EVENT_ERROR_REVOKEDENDENTITY, "Administrator not authorized"); throw new AuthorizationDeniedException("Not authorized to revoke user : " + username + "."); } } CertificateProfile prof = this.certificatesession.getCertificateProfile(admin, data.getCertificateProfileId()); Collection publishers; if (prof == null) { publishers = new ArrayList(); } else { publishers = prof.getPublisherList(); } try { setUserStatus(admin, username, UserDataConstants.STATUS_REVOKED,false); } catch (ApprovalException e) { throw new EJBException("This should never happen",e); } catch (WaitingForApprovalException e) { throw new EJBException("This should never happen",e); } certificatesession.setRevokeStatus(admin, username, publishers, reason); logsession.log(admin, caid, LogEntry.MODULE_RA, new java.util.Date(), username, null, LogEntry.EVENT_INFO_REVOKEDENDENTITY, ""); debug("<revokeUser()"); } // revokeUser
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/28e5842c88b16b61b311f03767ce3d06870ca00e/LocalUserAdminSessionBean.java/buggy/src/java/org/ejbca/core/ejb/ra/LocalUserAdminSessionBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 18007, 1299, 12, 4446, 3981, 16, 514, 2718, 16, 509, 3971, 13, 1216, 10234, 15877, 16, 19307, 503, 288, 3639, 1198, 2932, 34, 9083, 3056, 1299, 2932, 397, 2718, 397, 7310, 1769, 3639, 31109, 8784, 2365, 273, 394, 31109, 8784, 12, 5053, 1769, 3639, 31109, 2042, 501, 31, 3639, 775, 288, 5411, 501, 273, 6382, 18, 4720, 858, 11575, 12, 5465, 1769, 3639, 289, 1044, 261, 921, 3990, 320, 73, 13, 288, 5411, 604, 394, 12157, 503, 12, 15548, 1769, 3639, 289, 3639, 509, 3474, 350, 273, 501, 18, 588, 23508, 548, 5621, 3639, 309, 16051, 8434, 774, 3587, 12, 3666, 16, 3474, 350, 3719, 288, 5411, 5963, 893, 18, 1330, 12, 3666, 16, 3474, 350, 16, 30039, 18, 12194, 67, 2849, 16, 394, 2252, 18, 1367, 18, 1626, 9334, 2718, 16, 446, 16, 30039, 18, 10454, 67, 3589, 67, 862, 17691, 2056, 4415, 11101, 16, 315, 4446, 14207, 486, 10799, 358, 18007, 729, 598, 864, 6425, 1199, 1769, 5411, 604, 394, 10234, 15877, 2932, 4446, 14207, 486, 10799, 358, 18007, 729, 598, 864, 6425, 1199, 1769, 3639, 289, 3639, 309, 261, 588, 5160, 1750, 12, 3666, 2934, 588, 8317, 1638, 1943, 4029, 3039, 1012, 10756, 288, 5411, 309, 16051, 8434, 774, 1638, 1943, 4029, 12, 3666, 16, 501, 18, 588, 1638, 1943, 4029, 548, 9334, 15633, 1862, 4478, 18, 862, 17691, 41, 67, 11847, 55, 3719, 288, 7734, 5963, 893, 18, 1330, 12, 3666, 16, 3474, 350, 16, 30039, 18, 12194, 67, 2849, 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, 18007, 1299, 12, 4446, 3981, 16, 514, 2718, 16, 509, 3971, 13, 1216, 10234, 15877, 16, 19307, 503, 288, 3639, 1198, 2932, 34, 9083, 3056, 1299, 2932, 397, 2718, 397, 7310, 1769, 3639, 31109, 8784, 2365, 273, 394, 31109, 8784, 12, 5053, 1769, 3639, 31109, 2042, 501, 31, 3639, 775, 288, 5411, 501, 273, 6382, 18, 4720, 858, 11575, 12, 5465, 1769, 3639, 289, 1044, 261, 921, 3990, 320, 73, 13, 288, 5411, 604, 394, 12157, 503, 12, 15548, 1769, 3639, 289, 3639, 509, 3474, 350, 273, 501, 18, 588, 23508, 548, 5621, 3639, 309, 16051, 8434, 774, 3587, 12, 3666, 16, 3474, 350, 3719, 288, 5411, 5963, 893, 18, 1330, 12, 3666, 16, 3474, 350, 2 ]
if (jj_3R_291()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_300()) jj_scanpos = xsp;
if (jj_scan_token(BIT_OR)) return true; if (jj_3R_226()) return true;
final private boolean jj_3R_279() { if (jj_3R_291()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_300()) jj_scanpos = xsp; return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/ac9207dcb7a8bbf54f85da7f1bdae7d7162b86b3/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5324, 29, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5540, 21, 10756, 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, 19249, 10756, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5324, 29, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5540, 21, 10756, 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, 19249, 10756, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (allowNewContainerName) containerNameField.setFocus(); else treeViewer.getTree().setFocus();
if (allowNewContainerName) { containerNameField.setFocus(); } else { treeViewer.getTree().setFocus(); }
public void setInitialFocus() { if (allowNewContainerName) containerNameField.setFocus(); else treeViewer.getTree().setFocus(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ContainerSelectionGroup.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/misc/ContainerSelectionGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 4435, 9233, 1435, 288, 3639, 309, 261, 5965, 1908, 2170, 461, 13,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 4435, 9233, 1435, 288, 3639, 309, 261, 5965, 1908, 2170, 461, 13, 5411, 20408, 974, 18, 542, 9233, 5621, 3639, 469, 5411, 2151, 18415, 18, 588, 2471, 7675, 542, 9233, 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 ]
smtp.sendMailWait( fromEmail, toEmail ,header ,replyHeader+"\n"+text+"\n\n"+fromEmail );
smtp.sendMailWait( fromEmail, toEmail ,header ,replyHeader+"\n"+text );
public void sendReplieEmail( HttpServletRequest req, HttpServletResponse res, String toEmail, String fromEmail, String header, String text, String replyHeader) throws ServletException, IOException { String emptyString = ""; /* server info */ String host = req.getHeader("Host") ; String hostName = emptyString; try { hostName = InetAddress.getLocalHost().getHostName(); } catch ( SecurityException e ) { log( "checkConnect doesn't allow the operation" ); } /* mailserver info */ String mailserver = Utility.getDomainPref( "smtp_server", host ); String stringMailPort = Utility.getDomainPref( "smtp_port", host ); String stringMailtimeout = Utility.getDomainPref( "smtp_timeout", host ); // Handling of default-values is another area where java can't hold a candle to perl. int mailport = 25 ; try { mailport = Integer.parseInt( stringMailPort ); } catch (NumberFormatException ignored) { // Do nothing, let mailport stay at default. } int mailtimeout = 10000 ; try { mailtimeout = Integer.parseInt( stringMailtimeout ); } catch (NumberFormatException ignored) { // Do nothing, let mailtimeout stay at default. } SMTP smtp = new SMTP( mailserver, mailport, mailtimeout ); smtp.sendMailWait( fromEmail, toEmail ,header ,replyHeader+"\n"+text+"\n\n"+fromEmail ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/8af9574dd41c2dda3799702e91a1aad228c89352/BillBoardAdd.java/clean/servlets/billBoard/BillBoardAdd.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1366, 20043, 1385, 4134, 12, 9984, 1111, 16, 6862, 6862, 12446, 400, 16, 6862, 6862, 514, 358, 4134, 16, 6862, 6862, 514, 628, 4134, 16, 6862, 6862, 514, 1446, 16, 6862, 6862, 514, 977, 16, 17322, 514, 4332, 1864, 13, 225, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 780, 1008, 780, 273, 1408, 31, 202, 202, 20308, 1438, 1123, 1195, 202, 202, 780, 1479, 273, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 19266, 273, 1008, 780, 31, 202, 202, 698, 288, 1082, 202, 2564, 461, 273, 14218, 18, 588, 2042, 2594, 7675, 588, 20946, 5621, 1082, 202, 97, 1044, 261, 17780, 425, 262, 288, 1082, 202, 1330, 12, 315, 1893, 5215, 3302, 1404, 1699, 326, 1674, 6, 11272, 1082, 202, 97, 9506, 202, 20308, 4791, 3567, 1123, 1195, 202, 202, 780, 4791, 3567, 273, 13134, 18, 588, 3748, 23218, 12, 315, 20278, 67, 3567, 3113, 1479, 11272, 202, 202, 780, 533, 6759, 2617, 273, 13134, 18, 588, 3748, 23218, 12, 315, 20278, 67, 655, 3113, 1479, 11272, 202, 202, 780, 533, 6759, 4538, 273, 13134, 18, 588, 3748, 23218, 12, 315, 20278, 67, 4538, 3113, 1479, 11272, 9506, 202, 759, 2841, 2456, 434, 805, 17, 2372, 353, 4042, 5091, 1625, 2252, 848, 1404, 6887, 279, 15350, 298, 358, 1534, 80, 18, 202, 202, 474, 4791, 655, 273, 6969, 274, 202, 202, 698, 202, 202, 95, 1082, 202, 4408, 655, 273, 2144, 18, 2670, 1702, 12, 533, 6759, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1366, 20043, 1385, 4134, 12, 9984, 1111, 16, 6862, 6862, 12446, 400, 16, 6862, 6862, 514, 358, 4134, 16, 6862, 6862, 514, 628, 4134, 16, 6862, 6862, 514, 1446, 16, 6862, 6862, 514, 977, 16, 17322, 514, 4332, 1864, 13, 225, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 780, 1008, 780, 273, 1408, 31, 202, 202, 20308, 1438, 1123, 1195, 202, 202, 780, 1479, 273, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 19266, 273, 1008, 780, 31, 202, 202, 698, 288, 1082, 202, 2564, 461, 273, 14218, 18, 588, 2042, 2594, 7675, 588, 20946, 5621, 1082, 202, 97, 1044, 261, 17780, 425, 262, 288, 1082, 202, 1330, 12, 315, 2 ]
int testMetaId = Integer.parseInt( params.getProperty("META_ID") ); if ( !isUserAuthorized( req, res, testMetaId, user ) ) { return; }
int testMetaId = Integer.parseInt( params.getProperty("META_ID") ); if ( !isUserAuthorized( req, res, testMetaId, user ) ) { return; }
public void doGet(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 the standard parameters and validate them Properties params = super.getParameters(req) ; if (super.checkParameters(req, res, params) == false) return ; // Lets get an user object imcode.server.User user = super.getUserObj(req,res) ; if(user == null) return ; int testMetaId = Integer.parseInt( params.getProperty("META_ID") ); if ( !isUserAuthorized( req, res, testMetaId, user ) ) { return; } String action = req.getParameter("action") ; //log("ConfManager is in action...") ; if(action == null) { action = "" ; String header = "ConfManager servlet. " ; ConfError err = new ConfError(req,res,header,3) ; log(header + err.getErrorMsg()) ; return ; } // ********* NEW ******** if(action.equalsIgnoreCase("NEW")) { log("Lets add a conference"); HttpSession session = req.getSession(false) ; if (session != null) { // log("Ok nu stter vi metavrdena"); session.setAttribute("Conference.meta_id", params.getProperty("META_ID")) ; session.setAttribute("Conference.parent_meta_id", params.getProperty("PARENT_META_ID")) ; session.setAttribute("Conference.cookie_id", params.getProperty("COOKIE_ID")) ; } String url = "ConfCreator?action=NEW" ; //log("Redirect till:" + url) ; res.sendRedirect(url) ; return ; } // ********* VIEW ******** if(action.equalsIgnoreCase("VIEW")) { // Lets get userparameters Properties userParams = super.getUserParameters(user) ; String metaId = params.getProperty("META_ID") ; String userId = userParams.getProperty("USER_ID") ; RmiConf rmi = new RmiConf(user) ; // Lets detect which type of user we got String userType = userParams.getProperty("USER_TYPE") ; String loginType = userParams.getProperty("LOGIN_TYPE") ; // log("Usertype:" + userType) ; // log("loginType:" + userType) ; // We got 3 usertypes: 0= specialusers, 1=normal, 2=confernce // We got 3 logintypes: "Extern"=web users, "ip_access"= people from a certain ip nbr // and "verify" = people who has logged into the system if(! loginType.equalsIgnoreCase("VERIFY")) { // Lets store the standard metavalues in his session object HttpSession session = req.getSession(false) ; if (session != null) { // log("Ok nu stter vi metavrdena"); session.setAttribute("Conference.meta_id", params.getProperty("META_ID")) ; session.setAttribute("Conference.parent_meta_id", params.getProperty("PARENT_META_ID")) ; session.setAttribute("Conference.cookie_id", params.getProperty("COOKIE_ID")) ; session.setAttribute("Conference.viewedDiscList", new Properties()) ; log("OK, nu stter vi viewedDiscList") ; } String loginPage = MetaInfo.getServletPath(req) + "ConfLogin?login_type=login" ; //log("Redirect till:" + loginPage) ; res.sendRedirect(loginPage) ; return ; } log("Ok, anvndaren har loggat in, frbered honom fr konferensen" ) ; // Lets update the users sessionobject with a with a ok login to the conference // Send him to the manager with the ability to get in if(!super.prepareUserForConf(req, res, params, userId) ) { log("Error in prepareUserFor Conf" ) ; } return ; } // End of View // ********* CHANGE ******** if(action.equalsIgnoreCase("CHANGE")) { MetaInfo mInfo = new MetaInfo() ; String url = MetaInfo.getServletPath(req) + "ChangeExternalDoc2?" + mInfo.passMeta(params) + "&metadata=meta" ; //this.log("Redirects to:" + url) ; res.sendRedirect(url) ; return ; } // End if // ********* STATISTICS OBS. NOT USED IN PROGRAM, ONLY FOR TEST ******** if(action.equalsIgnoreCase("STATISTICS")) { // Lets get serverinformation String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("userserver",host) ; String ConfPoolServer = Utility.getDomainPref("conference_server",host) ; log("confpoolserver " + ConfPoolServer ) ; String metaId = req.getParameter("meta_id") ; String frDate = req.getParameter("from_date") ; String toDate = req.getParameter("to_date") ; String mode = req.getParameter("list_mode") ; // Lets fix the date stuff if( frDate.equals("0")) frDate = "1991-01-01 00:00" ; if( toDate.equals("0")) toDate = "2070-01-01 00:00" ; if( mode == null) mode = "1" ; StringBuffer sql = new StringBuffer() ; sql.append("AdminStatistics1" + " " + metaId + ", '" + frDate + "', '" ); sql.append(toDate + "', " + mode) ; log("AdminStatistics sql: " + sql.toString()) ; String[][] arr = ConfManager.getStatistics(ConfPoolServer, sql.toString()) ; log("AdminStatistics sql: " + arr.length) ; } // End if} // End doGet
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/ConfManager.java/clean/servlets/conf/ConfManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 202, 15069, 16517, 16, 1860, 288, 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, 225, 368, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 565, 6183, 859, 273, 2240, 18, 588, 2402, 12, 3658, 13, 274, 565, 309, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 327, 274, 202, 759, 511, 2413, 336, 392, 729, 733, 202, 225, 709, 710, 18, 3567, 18, 1299, 729, 273, 2240, 18, 588, 1299, 2675, 12, 3658, 16, 455, 13, 274, 202, 225, 309, 12, 1355, 422, 446, 13, 327, 274, 202, 225, 509, 1842, 2781, 548, 273, 2144, 18, 2670, 1702, 12, 859, 18, 588, 1396, 2932, 19294, 67, 734, 7923, 11272, 202, 225, 309, 261, 401, 291, 1299, 15341, 12, 1111, 16, 400, 16, 1842, 2781, 548, 16, 729, 262, 262, 288, 202, 202, 2463, 31, 202, 225, 289, 202, 202, 780, 1301, 273, 1111, 18, 588, 1662, 2932, 1128, 7923, 274, 202, 202, 759, 1330, 2932, 3976, 1318, 353, 316, 1301, 7070, 13, 274, 202, 202, 430, 12, 1128, 422, 446, 13, 288, 202, 1128, 273, 1408, 274, 202, 780, 1446, 273, 315, 3976, 1318, 8100, 18, 315, 274, 1082, 225, 9675, 668, 393, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 202, 202, 15069, 16517, 16, 1860, 288, 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, 225, 368, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 565, 6183, 859, 273, 2240, 18, 588, 2402, 12, 3658, 13, 274, 565, 309, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 327, 274, 202, 759, 511, 2413, 336, 392, 729, 733, 202, 225, 709, 710, 18, 3567, 18, 1299, 729, 273, 2 ]
Asserts.notNull(name); Asserts.notNull(oldName); Asserts.isTrue(name.startsWith("$")); Asserts.isTrue(oldName.startsWith("$"));
assert name != null; assert oldName != null; assert name.startsWith("$"); assert oldName.startsWith("$");
public void alias(String name, String oldName) { Asserts.notNull(name); Asserts.notNull(oldName); Asserts.isTrue(name.startsWith("$")); Asserts.isTrue(oldName.startsWith("$")); if (runtime.getSafeLevel() >= 4) { throw new SecurityError(runtime, "Insecure: can't alias global variable"); } GlobalVariable oldVariable = createIfNotDefined(oldName); GlobalVariable variable = (GlobalVariable)globalVariables.get(name); if (variable != null && oldVariable != variable && variable.isTracing()) { throw new RaiseException(runtime, "RuntimeError", "can't alias in tracer"); } globalVariables.put(name, oldVariable); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/GlobalVariables.java/buggy/src/org/jruby/internal/runtime/GlobalVariables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2308, 12, 780, 508, 16, 514, 22916, 13, 288, 3639, 5452, 87, 18, 902, 2041, 12, 529, 1769, 3639, 5452, 87, 18, 902, 2041, 12, 1673, 461, 1769, 3639, 5452, 87, 18, 291, 5510, 12, 529, 18, 17514, 1190, 2932, 8, 7923, 1769, 3639, 5452, 87, 18, 291, 5510, 12, 1673, 461, 18, 17514, 1190, 2932, 8, 7923, 1769, 3639, 309, 261, 9448, 18, 588, 9890, 2355, 1435, 1545, 1059, 13, 288, 5411, 604, 394, 6036, 668, 12, 9448, 16, 315, 382, 8869, 30, 848, 1404, 2308, 2552, 2190, 8863, 3639, 289, 3639, 8510, 3092, 1592, 3092, 273, 752, 10288, 8116, 12, 1673, 461, 1769, 3639, 8510, 3092, 2190, 273, 261, 5160, 3092, 13, 6347, 6158, 18, 588, 12, 529, 1769, 3639, 309, 261, 6105, 480, 446, 597, 1592, 3092, 480, 2190, 597, 2190, 18, 291, 3403, 10756, 288, 5411, 604, 394, 20539, 503, 12, 9448, 16, 315, 5576, 668, 3113, 315, 4169, 1404, 2308, 316, 13109, 8863, 3639, 289, 3639, 2552, 6158, 18, 458, 12, 529, 16, 1592, 3092, 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, 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5510, 12, 1673, 461, 18, 17514, 1190, 2932, 8, 7923, 1769, 3639, 309, 261, 9448, 18, 588, 9890, 2355, 1435, 1545, 1059, 13, 288, 5411, 604, 394, 6036, 668, 12, 9448, 16, 315, 382, 8869, 30, 848, 1404, 2308, 2552, 2190, 8863, 3639, 289, 3639, 8510, 3092, 1592, 3092, 273, 752, 10288, 8116, 12, 1673, 461, 1769, 3639, 8510, 3092, 2190, 273, 261, 5160, 3092, 13, 6347, 6158, 2 ]
JExpression[] args = new JExpression[params.length]; for (int i=0; i<args.length; i++) { args[i] = new JLocalVariableExpression(null, params[i]);
LinkedList args = new LinkedList(); for (int i=0; i<params.length; i++) { args.add(new JLocalVariableExpression(null, params[i]));
private JMethodDeclaration makeSJInit() { // start by cloning the original init function, so we can get // the signature right JMethodDeclaration result = (JMethodDeclaration) ObjectDeepCloner.deepCopy(origFilter.getInit()); // get the parameters JFormalParameter[] params = result.getParameters(); // now build up the body as a series of calls to the sub-streams LinkedList bodyList = new LinkedList(); for (ListIterator it = newFilters.listIterator(); it.hasNext(); ) { // build up the argument list JExpression[] args = new JExpression[params.length]; for (int i=0; i<args.length; i++) { args[i] = new JLocalVariableExpression(null, params[i]); } // make an init statement for the child bodyList.add(new SIRInitStatement(null, null, args, (SIRStream)it.next())); } // replace the body of the init function with statement list // we just made result.setBody(new JBlock(null, bodyList, null)); // return result return result; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/cd3a4a304cc69f1483b11cec633fae09177ffc92/StatelessDuplicate.java/clean/streams/src/at/dms/kjc/sir/lowering/fission/StatelessDuplicate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 1305, 6094, 1221, 55, 46, 2570, 1435, 288, 202, 759, 787, 635, 927, 22470, 326, 2282, 1208, 445, 16, 1427, 732, 848, 336, 202, 759, 326, 3372, 2145, 202, 46, 1305, 6094, 563, 273, 261, 46, 1305, 6094, 13, 202, 565, 1033, 13980, 2009, 31430, 18, 323, 5585, 12, 4949, 1586, 18, 588, 2570, 10663, 202, 759, 336, 326, 1472, 202, 46, 13985, 8526, 859, 273, 563, 18, 588, 2402, 5621, 202, 759, 2037, 1361, 731, 326, 1417, 487, 279, 4166, 434, 4097, 358, 326, 720, 17, 16320, 202, 13174, 682, 1417, 682, 273, 394, 10688, 5621, 202, 1884, 261, 682, 3198, 518, 273, 394, 5422, 18, 1098, 3198, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 202, 565, 368, 1361, 731, 326, 1237, 666, 202, 565, 804, 2300, 8526, 833, 273, 394, 804, 2300, 63, 2010, 18, 2469, 15533, 202, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1968, 18, 2469, 31, 277, 27245, 288, 202, 202, 1968, 63, 77, 65, 273, 394, 804, 2042, 3092, 2300, 12, 2011, 16, 859, 63, 77, 19226, 202, 565, 289, 202, 565, 368, 1221, 392, 1208, 3021, 364, 326, 1151, 202, 565, 1417, 682, 18, 1289, 12, 2704, 5705, 54, 2570, 3406, 12, 2011, 16, 446, 16, 9944, 1377, 833, 16, 261, 2320, 54, 1228, 13, 305, 18, 4285, 1435, 10019, 202, 97, 202, 759, 1453, 326, 1417, 434, 326, 1208, 445, 598, 3021, 666, 202, 759, 732, 2537, 7165, 202, 2088, 18, 542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 1305, 6094, 1221, 55, 46, 2570, 1435, 288, 202, 759, 787, 635, 927, 22470, 326, 2282, 1208, 445, 16, 1427, 732, 848, 336, 202, 759, 326, 3372, 2145, 202, 46, 1305, 6094, 563, 273, 261, 46, 1305, 6094, 13, 202, 565, 1033, 13980, 2009, 31430, 18, 323, 5585, 12, 4949, 1586, 18, 588, 2570, 10663, 202, 759, 336, 326, 1472, 202, 46, 13985, 8526, 859, 273, 563, 18, 588, 2402, 5621, 202, 759, 2037, 1361, 731, 326, 1417, 487, 279, 4166, 434, 4097, 358, 326, 720, 17, 16320, 202, 13174, 682, 1417, 682, 273, 394, 10688, 5621, 202, 1884, 261, 682, 3198, 518, 273, 394, 5422, 18, 1098, 3198, 5621, 518, 18, 5332, 2134, 5621, 262, 2 ]
return noex; }
return noex; }
public int getNoex() { return noex; }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 336, 2279, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 336, 2279, 338, 1435, 288, 1082, 202, 2463, 1158, 338, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sform.reflow(true);
form.reflow(true);
public void expansionStateChanged(ExpansionEvent e) { sform.reflow(true); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/9b13d7f9bed1baf18f525af681ce9d7de181aea2/TaskSummaryEditor.java/clean/org.eclipse.myly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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 17965, 1119, 5033, 12, 2966, 12162, 1133, 425, 13, 288, 9506, 202, 87, 687, 18, 1734, 821, 12, 3767, 1769, 1082, 202, 97, 9506, 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 ]
protected void int2alphaCount(int val, char [] aTable, FastStringBuffer stringBuf) { int radix = aTable.length; char[] table = new char[aTable.length]; // start table at 1, add last char at index 0. Reason explained above and below. int i; for (i=0; i<aTable.length-1;i++) table[i+1] = aTable[i]; table[0] = aTable[i]; // Create a buffer to hold the result // TODO: size of the table can be detereined by computing // logs of the radix. For now, we fake it. char buf[] = new char[100]; //some languages go left to right(ie. english), right to left (ie. Hebrew), //top to bottom (ie.Japanese), etc... Handle them differently //String orientation = thisBundle.getString(Constants.LANG_ORIENTATION); // next character to set in the buffer int charPos; charPos= buf.length -1 ; // work backward through buf[] // index in table of the last character that we stored int lookupIndex = 1; // start off with anything other than zero to make correction work // Correction number // // Correction can take on exactly two values: // // 0 if the next character is to be emitted is usual // // radix - 1 // if the next char to be emitted should be one less than // you would expect // // For example, consider radix 10, where 1="A" and 10="J" // // In this scheme, we count: A, B, C ... H, I, J (not A0 and certainly // not AJ), A1 // // So, how do we keep from emitting AJ for 10? After correctly emitting the // J, lookupIndex is zero. We now compute a correction number of 9 (radix-1). // In the following line, we'll compute (val+correction) % radix, which is, // (val+9)/10. By this time, val is 1, so we compute (1+9) % 10, which // is 10 % 10 or zero. So, we'll prepare to emit "JJ", but then we'll // later suppress the leading J as representing zero (in the mod system, // it can represent either 10 or zero). In summary, the correction value of // "radix-1" acts like "-1" when run through the mod operator, but with the // desireable characteristic that it never produces a negative number. int correction = 0; // TODO: throw error on out of range input do { // most of the correction calculation is explained above, the reason for the // term after the "|| " is that it correctly propagates carries across // multiple columns. correction = ((lookupIndex == 0) || (correction != 0 && lookupIndex == radix-1 )) ? (radix-1) : 0; // index in "table" of the next char to emit lookupIndex = (val+correction) % radix; // shift input by one "column" val = (val / radix); // if the next value we'd put out would be a leading zero, we're done. if (lookupIndex == 0 && val == 0) break; // put out the next character of output buf[charPos--] = table[lookupIndex]; // left to right or top to bottom } while (val > 0); stringBuf.append(buf, charPos+1, (buf.length - charPos -1)); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/77ad973f1d6ad8f28fd358f2ba4d4c63da65d953/ElemNumber.java/buggy/src/org/apache/xalan/templates/ElemNumber.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 509, 22, 5429, 1380, 12, 474, 1244, 16, 1149, 5378, 279, 1388, 16, 9545, 780, 1892, 533, 5503, 13, 225, 288, 225, 509, 19015, 273, 279, 1388, 18, 2469, 31, 225, 1149, 8526, 1014, 273, 394, 1149, 63, 69, 1388, 18, 2469, 15533, 225, 368, 787, 1014, 622, 404, 16, 527, 1142, 1149, 622, 770, 374, 18, 13558, 19765, 329, 5721, 471, 5712, 18, 225, 509, 277, 31, 225, 364, 261, 77, 33, 20, 31, 277, 32, 69, 1388, 18, 2469, 17, 21, 31, 77, 27245, 1082, 225, 1014, 63, 77, 15, 21, 65, 273, 279, 1388, 63, 77, 15533, 225, 1014, 63, 20, 65, 273, 279, 1388, 63, 77, 15533, 225, 368, 1788, 279, 1613, 358, 6887, 326, 563, 225, 368, 2660, 30, 225, 963, 434, 326, 1014, 848, 506, 3023, 822, 1920, 635, 20303, 225, 368, 5963, 434, 326, 19015, 18, 225, 2457, 2037, 16, 732, 10517, 518, 18, 225, 1149, 1681, 8526, 273, 394, 1149, 63, 6625, 15533, 225, 368, 19068, 8191, 1960, 2002, 358, 2145, 12, 1385, 18, 26858, 3631, 2145, 358, 2002, 261, 1385, 18, 8264, 6073, 91, 3631, 225, 368, 3669, 358, 5469, 261, 1385, 18, 46, 30472, 3392, 3631, 5527, 2777, 5004, 2182, 23621, 225, 368, 780, 9820, 273, 333, 3405, 18, 588, 780, 12, 2918, 18, 10571, 67, 916, 45, 2222, 2689, 1769, 225, 368, 1024, 3351, 358, 444, 316, 326, 1613, 225, 509, 1149, 1616, 31, 225, 1149, 1616, 33, 1681, 18, 2469, 300, 21, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 509, 22, 5429, 1380, 12, 474, 1244, 16, 1149, 5378, 279, 1388, 16, 9545, 780, 1892, 533, 5503, 13, 225, 288, 225, 509, 19015, 273, 279, 1388, 18, 2469, 31, 225, 1149, 8526, 1014, 273, 394, 1149, 63, 69, 1388, 18, 2469, 15533, 225, 368, 787, 1014, 622, 404, 16, 527, 1142, 1149, 622, 770, 374, 18, 13558, 19765, 329, 5721, 471, 5712, 18, 225, 509, 277, 31, 225, 364, 261, 77, 33, 20, 31, 277, 32, 69, 1388, 18, 2469, 17, 21, 31, 77, 27245, 1082, 225, 1014, 63, 77, 15, 21, 65, 273, 279, 1388, 63, 77, 15533, 225, 1014, 63, 20, 65, 273, 279, 1388, 63, 77, 15533, 225, 368, 1788, 279, 1613, 2 ]
case Id_charCodeAt: return wrap_double( jsFunction_charCodeAt(ScriptRuntime.toString(thisObj), args));
case Id_indexOf: return wrap_int(jsFunction_indexOf (ScriptRuntime.toString(thisObj), args));
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_fromCharCode: return jsStaticFunction_fromCharCode(args); case Id_constructor: return jsConstructor(args, thisObj == null); case Id_toString: return realThis(thisObj, f). jsFunction_toString(); case Id_valueOf: return realThis(thisObj, f). jsFunction_valueOf(); case Id_charAt: return jsFunction_charAt(ScriptRuntime.toString(thisObj), args); case Id_charCodeAt: return wrap_double( jsFunction_charCodeAt(ScriptRuntime.toString(thisObj), args)); case Id_indexOf: return wrap_int( jsFunction_indexOf(ScriptRuntime.toString(thisObj), args)); case Id_lastIndexOf: return wrap_int( jsFunction_lastIndexOf(ScriptRuntime.toString(thisObj), args)); case Id_split: return jsFunction_split(cx, ScriptRuntime.toString(thisObj), args, f); case Id_substring: return jsFunction_substring(cx, ScriptRuntime.toString(thisObj), args); case Id_toLowerCase: return jsFunction_toLowerCase(ScriptRuntime.toString(thisObj)); case Id_toUpperCase: return jsFunction_toUpperCase(ScriptRuntime.toString(thisObj)); case Id_substr: return jsFunction_substr(ScriptRuntime.toString(thisObj), args); case Id_concat: return jsFunction_concat(ScriptRuntime.toString(thisObj), args); case Id_slice: return jsFunction_slice(ScriptRuntime.toString(thisObj), args); case Id_bold: return realThis(thisObj, f). jsFunction_bold(); case Id_italics: return realThis(thisObj, f). jsFunction_italics(); case Id_fixed: return realThis(thisObj, f). jsFunction_fixed(); case Id_strike: return realThis(thisObj, f). jsFunction_strike(); case Id_small: return realThis(thisObj, f). jsFunction_small(); case Id_big: return realThis(thisObj, f). jsFunction_big(); case Id_blink: return realThis(thisObj, f). jsFunction_blink(); case Id_sup: return realThis(thisObj, f). jsFunction_sup(); case Id_sub: return realThis(thisObj, f). jsFunction_sub(); case Id_fontsize: return realThis(thisObj, f). jsFunction_fontsize(ScriptRuntime.toString(args, 0)); case Id_fontcolor: return realThis(thisObj, f). jsFunction_fontcolor(ScriptRuntime.toString(args, 0)); case Id_link: return realThis(thisObj, f). jsFunction_link(ScriptRuntime.toString(args, 0)); case Id_anchor: return realThis(thisObj, f). jsFunction_anchor(ScriptRuntime.toString(args, 0)); case Id_equals: return wrap_boolean( jsFunction_equals(ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_equalsIgnoreCase: return wrap_boolean( jsFunction_equalsIgnoreCase(ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_match: return jsFunction_match(cx, thisObj, args, f); case Id_search: return jsFunction_search(cx, thisObj, args, f); case Id_replace: return jsFunction_replace(cx, thisObj, args, f); } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeString.java/clean/js/rhino/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 2080, 20535, 30, 327, 5411, 3828, 5788, 2083, 67, 2080, 20535, 12, 1968, 1769, 3639, 648, 3124, 67, 12316, 30, 327, 5411, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 10492, 5621, 3639, 648, 3124, 67, 1132, 951, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 1132, 951, 5621, 3639, 648, 3124, 67, 3001, 861, 30, 327, 5411, 3828, 2083, 67, 3001, 861, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 1769, 3639, 648, 3124, 67, 3001, 1085, 861, 30, 327, 2193, 67, 9056, 12, 5411, 3828, 2083, 67, 3001, 1085, 861, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 3639, 648, 3124, 67, 31806, 30, 327, 2193, 67, 474, 12, 5411, 3828, 2083, 67, 31806, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 3639, 648, 3124, 67, 2722, 31985, 30, 327, 2193, 67, 474, 12, 5411, 3828, 2083, 67, 2722, 31985, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 3639, 648, 3124, 67, 4939, 30, 327, 5411, 3828, 2083, 67, 4939, 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, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 2080, 20535, 30, 327, 5411, 3828, 5788, 2083, 67, 2080, 20535, 12, 1968, 1769, 3639, 648, 3124, 67, 12316, 30, 327, 5411, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 10492, 5621, 3639, 648, 3124, 67, 1132, 951, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 2 ]
final String tName = CoreUtility.replaceFirst(info, LIST_TOKEN_REPLACEMENT, anObj.getAssociated(i, true));
final String tName = CoreUtility.replaceFirst(info, VALUE_TOKEN_REPLACEMENT, anObj.getAssociated(i, true));
public List<String> getStringListFromBonus(final PObject anObj) { final List<String> aList = new ArrayList<String>(); final String bInfoString = getBonusInfo(); final StringTokenizer aTok = new StringTokenizer(bInfoString, ","); int listindex = 0; while (aTok.hasMoreTokens()) { final String info = aTok.nextToken(); // Some BONUS statements use %LIST to represent // a possible list or selection made // Need to deconstruct for proper bonus stacking if (anObj.getAssociatedCount() > 0) { // There are three forms: // 1) has %LIST in the bonusName // 2) has %LIST in the bonusInfo // 3) has no %LIST at all // Must use getBonusName because it // contains the unaltered bonusType final String name = getBonusName(); if (name.indexOf(LIST_TOKEN_REPLACEMENT) >= 0) { for (int i = 0; i < anObj.getAssociatedCount(); ++i) { final StringBuffer ab = new StringBuffer(); final String tName = CoreUtility.replaceFirst(name, LIST_TOKEN_REPLACEMENT, anObj.getAssociated(i)); ab.append(tName).append('.'); ab.append(info); if (hasTypeString()) { ab.append(':').append(getTypeString()); } aList.add(ab.toString().toUpperCase()); } } else if (info.indexOf(LIST_TOKEN_REPLACEMENT) >= 0) { for (int i = 0; i < anObj.getAssociatedCount(true); ++i) { final StringBuffer ab = new StringBuffer(); final String tName = CoreUtility.replaceFirst(info, LIST_TOKEN_REPLACEMENT, anObj.getAssociated(i, true)); ab.append(getTypeOfBonus()).append('.'); ab.append(tName); if (hasTypeString()) { ab.append(':').append(getTypeString()); } aList.add(ab.toString().toUpperCase()); } } else { final int cnt = anObj.getAssociatedCount(); if (cnt <= listindex && info.equals(VALUE_TOKEN_REPLACEMENT)) { continue; } while (true) { final StringBuffer ab = new StringBuffer(); ab.append(getTypeOfBonus()).append('.'); if (info.equals(VALUE_TOKEN_REPLACEMENT)) { ab.append(anObj.getAssociated(listindex)); } else { ab.append(info); } if (hasTypeString()) { ab.append(':').append(getTypeString()); } listindex++; aList.add(ab.toString().toUpperCase()); // If we have processed all of the entries, or if this object // has multiple bonuses, don't add any more copies. if (aTok.countTokens() > 0 || listindex >= cnt || anObj.getBonusList().size() > 1) { break; } } } } else if (hasVariable()) { // Some bonuses have a variable as part // of their name, such as // BONUS:WEAPONPROF=AbcXyz|TOHIT|3 // so parse out the correct value final StringBuffer ab = new StringBuffer(); ab.append(getTypeOfBonus()); ab.append(getVariable()).append('.'); ab.append(info); if (hasTypeString()) { ab.append(':').append(getTypeString()); } aList.add(ab.toString().toUpperCase()); } else { final StringBuffer ab = new StringBuffer(); ab.append(getTypeOfBonus()).append('.'); ab.append(info); if (hasTypeString()) { ab.append(':').append(getTypeString()); } aList.add(ab.toString().toUpperCase()); } } return aList; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/088c15261d01327bce6f44925516d0287dc266cb/BonusObj.java/buggy/code/src/java/pcgen/core/bonus/BonusObj.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 32, 780, 34, 4997, 682, 1265, 38, 22889, 12, 6385, 453, 921, 392, 2675, 13, 202, 95, 202, 202, 6385, 987, 32, 780, 34, 279, 682, 273, 394, 2407, 32, 780, 34, 5621, 202, 202, 6385, 514, 324, 966, 780, 273, 2882, 22889, 966, 5621, 202, 202, 6385, 16370, 279, 20477, 273, 394, 16370, 12, 70, 966, 780, 16, 5753, 1769, 202, 202, 474, 666, 1615, 273, 374, 31, 202, 202, 17523, 261, 69, 20477, 18, 5332, 7417, 5157, 10756, 202, 202, 95, 1082, 202, 6385, 514, 1123, 273, 279, 20477, 18, 4285, 1345, 5621, 1082, 202, 759, 10548, 605, 673, 3378, 6317, 999, 738, 7085, 358, 2406, 1082, 202, 759, 279, 3323, 666, 578, 4421, 7165, 1082, 202, 759, 12324, 358, 443, 10062, 364, 5338, 324, 22889, 2110, 310, 1082, 202, 430, 261, 304, 2675, 18, 588, 19233, 1380, 1435, 405, 374, 13, 1082, 202, 95, 9506, 202, 759, 6149, 854, 8925, 10138, 30, 9506, 202, 759, 404, 13, 711, 738, 7085, 316, 326, 324, 22889, 461, 9506, 202, 759, 576, 13, 711, 738, 7085, 316, 326, 324, 22889, 966, 9506, 202, 759, 890, 13, 711, 1158, 738, 7085, 622, 777, 9506, 202, 759, 6753, 999, 2882, 22889, 461, 2724, 518, 9506, 202, 759, 1914, 326, 640, 22628, 329, 324, 22889, 559, 9506, 202, 6385, 514, 508, 273, 2882, 22889, 461, 5621, 9506, 202, 430, 261, 529, 18, 31806, 12, 7085, 67, 8412, 67, 21726, 3212, 13, 1545, 374, 13, 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, 987, 32, 780, 34, 4997, 682, 1265, 38, 22889, 12, 6385, 453, 921, 392, 2675, 13, 202, 95, 202, 202, 6385, 987, 32, 780, 34, 279, 682, 273, 394, 2407, 32, 780, 34, 5621, 202, 202, 6385, 514, 324, 966, 780, 273, 2882, 22889, 966, 5621, 202, 202, 6385, 16370, 279, 20477, 273, 394, 16370, 12, 70, 966, 780, 16, 5753, 1769, 202, 202, 474, 666, 1615, 273, 374, 31, 202, 202, 17523, 261, 69, 20477, 18, 5332, 7417, 5157, 10756, 202, 202, 95, 1082, 202, 6385, 514, 1123, 273, 279, 20477, 18, 4285, 1345, 5621, 1082, 202, 759, 10548, 605, 673, 3378, 6317, 999, 738, 7085, 358, 2406, 1082, 202, 759, 279, 3323, 666, 578, 2 ]
GradientPaint gp = (GradientPaint)paint;
GradientPaint gp = (GradientPaint) paint;
public void writeString(String string, double x, double y) throws IOException { Color color; Paint paint = getPaint(); if (paint instanceof Color) { color = (Color)paint; } else if (paint instanceof GradientPaint) { GradientPaint gp = (GradientPaint)paint; color = PrintColor.mixColor(gp.getColor1(), gp.getColor2()); } else { Color bkg = getBackground(); if (bkg == null) { color = Color.BLACK; } else { color = PrintColor.invert(bkg); } } if (!color.equals(textColor)) { textColor = color; os.writeTag(new SetTextColor(textColor)); } Font font = getFont(); Font unitFont = (Font)unitFontTable.get(font); if (!fontSet) { Integer fontIndex = (Integer) fontTable.get(font); if (fontIndex == null) { // for special fonts (Symbol, ZapfDingbats) we choose a standard font and // encode using unicode. String fontName = font.getName(); string = FontEncoder.getEncodedString(string, fontName); fontName = replaceFonts.getProperty(fontName, fontName); String windowsFontName = FontUtilities.getWindowsFontName(fontName); unitFont = new Font(windowsFontName, font.getStyle(), font.getSize()); unitFont = unitFont.deriveFont(font.getSize2D()*UNITS_PER_PIXEL*TWIPS); unitFontTable.put(font, unitFont); ExtLogFontW logFontW = new ExtLogFontW(unitFont); int handle = handleManager.getHandle(); os.writeTag(new ExtCreateFontIndirectW(handle,logFontW)); fontIndex = new Integer(handle); fontTable.put(font, fontIndex); } os.writeTag(new SelectObject(fontIndex.intValue())); fontSet = true; } int[] widths = new int[string.length()]; for (int i=0; i<widths.length; i++) { double w = unitFont.getStringBounds(string, i, i+1, getFontRenderContext()).getWidth(); widths[i] = (int)w; } AffineTransform t = font.getTransform(); if (!t.isIdentity()) { writeGraphicsSave(); writeTransform(t); } TextW text = new TextW(new Point(toUnit(x),toUnit(y)),string,0,dummy,widths); os.writeTag(new ExtTextOutW(imageBounds,EMFConstants.GM_ADVANCED,1,1,text)); if (!t.isIdentity()) { writeGraphicsRestore(); } }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/de061d5977b00047b242b52aea5bc47538b063c5/EMFGraphics2D.java/buggy/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFGraphics2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 12967, 12, 780, 533, 16, 1645, 619, 16, 1645, 677, 13, 1216, 1860, 288, 7734, 5563, 2036, 31, 3639, 30001, 12574, 273, 1689, 1598, 5621, 3639, 309, 261, 84, 1598, 1276, 5563, 13, 288, 5411, 2036, 273, 261, 2957, 13, 84, 1598, 31, 3639, 289, 469, 309, 261, 84, 1598, 1276, 25846, 12699, 13, 288, 5411, 25846, 12699, 4178, 273, 261, 15651, 12699, 13, 12574, 31, 5411, 2036, 273, 3038, 2957, 18, 14860, 2957, 12, 6403, 18, 588, 2957, 21, 9334, 4178, 18, 588, 2957, 22, 10663, 3639, 289, 469, 288, 5411, 5563, 324, 14931, 273, 336, 8199, 5621, 5411, 309, 261, 70, 14931, 422, 446, 13, 288, 7734, 2036, 273, 5563, 18, 14618, 3649, 31, 5411, 289, 469, 288, 7734, 2036, 273, 3038, 2957, 18, 267, 1097, 12, 70, 14931, 1769, 5411, 289, 3639, 289, 3639, 309, 16051, 3266, 18, 14963, 12, 955, 2957, 3719, 288, 5411, 977, 2957, 273, 2036, 31, 5411, 1140, 18, 2626, 1805, 12, 2704, 1000, 31061, 12, 955, 2957, 10019, 3639, 289, 3639, 10063, 3512, 273, 18776, 5621, 3639, 10063, 2836, 5711, 273, 261, 5711, 13, 4873, 5711, 1388, 18, 588, 12, 5776, 1769, 3639, 309, 16051, 5776, 694, 13, 288, 5411, 2144, 3512, 1016, 273, 261, 4522, 13, 3512, 1388, 18, 588, 12, 5776, 1769, 5411, 309, 261, 5776, 1016, 422, 446, 13, 288, 7734, 368, 364, 4582, 16450, 261, 5335, 16, 2285, 438, 74, 40, 310, 70, 2323, 13, 732, 9876, 279, 4529, 3512, 471, 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, 565, 1071, 918, 12967, 12, 780, 533, 16, 1645, 619, 16, 1645, 677, 13, 1216, 1860, 288, 7734, 5563, 2036, 31, 3639, 30001, 12574, 273, 1689, 1598, 5621, 3639, 309, 261, 84, 1598, 1276, 5563, 13, 288, 5411, 2036, 273, 261, 2957, 13, 84, 1598, 31, 3639, 289, 469, 309, 261, 84, 1598, 1276, 25846, 12699, 13, 288, 5411, 25846, 12699, 4178, 273, 261, 15651, 12699, 13, 12574, 31, 5411, 2036, 273, 3038, 2957, 18, 14860, 2957, 12, 6403, 18, 588, 2957, 21, 9334, 4178, 18, 588, 2957, 22, 10663, 3639, 289, 469, 288, 5411, 5563, 324, 14931, 273, 336, 8199, 5621, 5411, 309, 261, 70, 14931, 422, 446, 13, 288, 7734, 2036, 273, 5563, 18, 14618, 3649, 31, 2 ]
}
void handleStateRsp(Object sender, Digest digest, byte[] state) { if(digest == null) { if(log.isWarnEnabled()) log.warn("digest received from " + sender + " is null, skipping setting digest !"); } else { passDown(new Event(Event.SET_DIGEST, digest)); // set the digest (e.g. in NAKACK) } stop=System.currentTimeMillis(); if(state == null) { if(log.isWarnEnabled()) log.warn("state received from " + sender + " is null, will return null state to application"); } else log.debug("received state, size=" + state.length + " bytes. Time=" + (stop-start) + " milliseconds"); passUp(new Event(Event.GET_STATE_OK, state)); }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/3dbf2221432e58f7e5f2cbbc8d9711ec4787fa46/STATE_TRANSFER.java/buggy/src/org/jgroups/protocols/pbcast/STATE_TRANSFER.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 1119, 54, 1752, 12, 921, 5793, 16, 15864, 5403, 16, 1160, 8526, 919, 13, 288, 3639, 309, 12, 10171, 422, 446, 13, 288, 5411, 309, 12, 1330, 18, 291, 3160, 1526, 10756, 7734, 613, 18, 8935, 2932, 10171, 5079, 628, 315, 397, 5793, 397, 315, 353, 446, 16, 14195, 3637, 5403, 401, 8863, 9079, 469, 288, 5411, 1342, 4164, 12, 2704, 2587, 12, 1133, 18, 4043, 67, 2565, 27332, 16, 5403, 10019, 368, 444, 326, 5403, 261, 73, 18, 75, 18, 316, 423, 14607, 3649, 13, 9079, 2132, 33, 3163, 18, 2972, 28512, 5621, 3639, 309, 12, 2019, 422, 446, 13, 288, 5411, 309, 12, 1330, 18, 291, 3160, 1526, 10756, 7734, 613, 18, 8935, 2932, 2019, 5079, 628, 315, 397, 5793, 397, 315, 353, 446, 16, 903, 327, 446, 919, 358, 2521, 8863, 9079, 469, 5411, 613, 18, 4148, 2932, 15213, 919, 16, 963, 1546, 397, 919, 18, 2469, 397, 315, 1731, 18, 2647, 1546, 397, 261, 5681, 17, 1937, 13, 397, 315, 10993, 8863, 3639, 1342, 1211, 12, 2704, 2587, 12, 1133, 18, 3264, 67, 7998, 67, 3141, 16, 919, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 1119, 54, 1752, 12, 921, 5793, 16, 15864, 5403, 16, 1160, 8526, 919, 13, 288, 3639, 309, 12, 10171, 422, 446, 13, 288, 5411, 309, 12, 1330, 18, 291, 3160, 1526, 10756, 7734, 613, 18, 8935, 2932, 10171, 5079, 628, 315, 397, 5793, 397, 315, 353, 446, 16, 14195, 3637, 5403, 401, 8863, 9079, 469, 288, 5411, 1342, 4164, 12, 2704, 2587, 12, 1133, 18, 4043, 67, 2565, 27332, 16, 5403, 10019, 368, 444, 326, 5403, 261, 73, 18, 75, 18, 316, 423, 14607, 3649, 13, 9079, 2132, 33, 3163, 18, 2972, 28512, 5621, 3639, 309, 12, 2019, 422, 446, 13, 288, 5411, 309, 12, 1330, 18, 291, 3160, 1526, 10756, 7734, 613, 18, 8935, 2932, 2 ]
old = opt.getBackCol();
old = opt.getColorValueForKey("BACKGROUND_COLOR", Color.WHITE);
public AppOptions run() { Container content; JPanel genOpts, buttons, colours, options; content = getContentPane(); content.setLayout(new BorderLayout()); askSave = new JCheckBox(java.util.ResourceBundle.getBundle("global").getString("askSave")); askSave.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("askSaveTT")); askSave.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { opt.setAskSave(askSave.isSelected()); } }); // Panel erzeugen, Border hinzufgen, allgemeine Optionen genOpts = new JPanel(); genOpts.setBorder(new TitledBorder(java.util.ResourceBundle.getBundle("global").getString("common"))); genOpts.setLayout(new GridLayout(1,1)); genOpts.add(askSave); // Panel fr die Farboptionen colours = new JPanel(); colours.setBorder(new TitledBorder(java.util.ResourceBundle.getBundle("global").getString("colors"))); colours.setLayout(new GridLayout(5,2)); JButton lineCol, backCol, charCol, markCol, transCol; lineCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("lineColor")); lineCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("lineColorTT")); currLineCol = new JPanel(); currLineCol.setBackground(opt.getLineCol()); backCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("bg")); backCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("bgTT")); currBackCol = new JPanel(); charCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("transChars")); charCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("transCharsTT")); currCharCol = new JPanel(); markCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("markedState")); markCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("markedStateTT")); currMarkCol = new JPanel(); transCol = new JButton(java.util.ResourceBundle.getBundle("global").getString("specMark")); transCol.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("specMarkTT")); currTransCol = new JPanel(); colours.add(lineCol); colours.add(currLineCol); colours.add(backCol); colours.add(currBackCol); colours.add(charCol); colours.add(currCharCol); colours.add(markCol); colours.add(currMarkCol); colours.add(transCol); colours.add(currTransCol); lineCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getLineCol(); c = getColor(old); if (c!=null) { opt.setLineCol(c); update(); } } }); charCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getCharCol(); c = getColor(old); if (c!=null) { opt.setCharCol(c); update(); } } }); markCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getMarkCol(); c = getColor(old); if (c!=null) { opt.setMarkCol(c); update(); } } }); transCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getTransCol(); c = getColor(old); if (c!=null) { opt.setTransCol(c); update(); } } }); backCol.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Color c, old; old = opt.getBackCol(); c = getColor(old); if (c!=null) { opt.setBackCol(c); update(); } } }); // ok und cancel butten buttons = new JPanel(); buttons.setLayout(new GridLayout(1,3)); JButton okButton, defaultButton, cancelButton; // Optionen anzeigen update(); okButton = new JButton(java.util.ResourceBundle.getBundle("global").getString("OK")); defaultButton = new JButton(java.util.ResourceBundle.getBundle("global").getString("default")); cancelButton = new JButton(java.util.ResourceBundle.getBundle("global").getString("cancel")); defaultButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { opt.setDefault(); update(); } }); cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { opt.setOptionsFrom(old_opt); dispose(); } }); okButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { dispose(); } }); buttons.add(okButton); buttons.add(defaultButton); buttons.add(cancelButton); options = new JPanel(); options.setLayout(new GridLayout(2,1)); options.add(genOpts); options.add(colours); content.add(options, BorderLayout.CENTER); content.add(buttons, BorderLayout.SOUTH); setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); pack(); setLocation(70,70); setVisible(true); return opt; }
11750 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11750/e52bc9bb7a81f5b8a747c29cc00e1456e4c54c6e/OptionDlg.java/buggy/src/gui/dialogs/OptionDlg.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4677, 1320, 1086, 1435, 288, 3639, 4039, 913, 31, 3639, 24048, 3157, 5476, 16, 9502, 16, 645, 4390, 16, 702, 31, 7734, 913, 273, 5154, 8485, 5621, 7734, 913, 18, 542, 3744, 12, 2704, 30814, 10663, 7734, 6827, 4755, 273, 394, 804, 19174, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 835, 4755, 7923, 1769, 7734, 6827, 4755, 18, 542, 29250, 1528, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 835, 4755, 1470, 7923, 1769, 3639, 6827, 4755, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 288, 5411, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 7734, 2153, 18, 542, 23663, 4755, 12, 835, 4755, 18, 291, 7416, 10663, 5411, 289, 3639, 15549, 7734, 368, 23641, 6445, 31688, 275, 16, 13525, 366, 267, 94, 696, 4507, 16, 777, 75, 4698, 558, 2698, 275, 3639, 3157, 5476, 273, 394, 24048, 5621, 3639, 3157, 5476, 18, 542, 8107, 12, 2704, 399, 305, 1259, 8107, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 6054, 6, 3719, 1769, 3639, 3157, 5476, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 21, 10019, 7734, 3157, 5476, 18, 1289, 12, 835, 4755, 1769, 7734, 368, 23641, 3812, 10387, 478, 297, 1075, 375, 275, 7734, 645, 4390, 273, 394, 24048, 5621, 3639, 645, 4390, 18, 542, 8107, 12, 2704, 399, 305, 1259, 8107, 12, 6290, 18, 1367, 18, 18731, 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, 4677, 1320, 1086, 1435, 288, 3639, 4039, 913, 31, 3639, 24048, 3157, 5476, 16, 9502, 16, 645, 4390, 16, 702, 31, 7734, 913, 273, 5154, 8485, 5621, 7734, 913, 18, 542, 3744, 12, 2704, 30814, 10663, 7734, 6827, 4755, 273, 394, 804, 19174, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 835, 4755, 7923, 1769, 7734, 6827, 4755, 18, 542, 29250, 1528, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 835, 4755, 1470, 7923, 1769, 3639, 6827, 4755, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 288, 5411, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 7734, 2153, 18, 542, 23663, 4755, 2 ]