rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
sequence
attention_mask
sequence
labels
sequence
ci.charsetInfo = defaultCharsetInfo;
ci.charsetInfo = connection.getCharsetInfo();
static void setColumnCharset(ColInfo ci, byte[] defaultCollation, CharsetInfo defaultCharsetInfo) throws SQLException { if (ci.collation != null) { // TDS version will be 8.0 or higher in this case byte[] collation = ci.collation; int i; for (i = 0; i < 5; ++i) { if (collation[i] != defaultCollation[i]) { break; } } if (i == 5) { ci.charsetInfo = defaultCharsetInfo; } else { ci.charsetInfo = CharsetInfo.getCharset(collation); } } }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/9967a636690b97f06d7df3dfc4f6ea9b8df883b6/TdsData.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 25918, 9652, 12, 914, 966, 9039, 16, 4766, 1160, 8526, 805, 13535, 367, 16, 4766, 12080, 966, 805, 9652, 966, 13, 5411, 1216, 6483, 288, 3639, 309, 261, 8450, 18, 29992, 480, 446, 13, 288, 5411, 368, 399, 3948, 1177, 903, 506, 1725, 18, 20, 578, 10478, 316, 333, 648, 5411, 1160, 8526, 21277, 273, 9039, 18, 29992, 31, 5411, 509, 277, 31, 5411, 364, 261, 77, 273, 374, 31, 277, 411, 1381, 31, 965, 77, 13, 288, 7734, 309, 261, 29992, 63, 77, 65, 480, 805, 13535, 367, 63, 77, 5717, 288, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 309, 261, 77, 422, 1381, 13, 288, 7734, 9039, 18, 9999, 966, 273, 1459, 18, 588, 9652, 966, 5621, 5411, 289, 469, 288, 7734, 9039, 18, 9999, 966, 273, 12080, 966, 18, 588, 9652, 12, 29992, 1769, 5411, 289, 3639, 289, 565, 289, 2, 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, 760, 918, 25918, 9652, 12, 914, 966, 9039, 16, 4766, 1160, 8526, 805, 13535, 367, 16, 4766, 12080, 966, 805, 9652, 966, 13, 5411, 1216, 6483, 288, 3639, 309, 261, 8450, 18, 29992, 480, 446, 13, 288, 5411, 368, 399, 3948, 1177, 903, 506, 1725, 18, 20, 578, 10478, 316, 333, 648, 5411, 1160, 8526, 21277, 273, 9039, 18, 29992, 31, 5411, 509, 277, 31, 5411, 364, 261, 77, 273, 374, 31, 277, 411, 1381, 31, 965, 77, 13, 288, 7734, 309, 261, 29992, 63, 77, 65, 480, 805, 13535, 367, 63, 77, 5717, 288, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 309, 261, 77, 422, 1381, 13, 288, 7734, 9039, 18, 9999, 966, 273, 1459, 18, 2 ]
private void summarize(List<ISuite> suites) {
private void summarize(List<ISuite> suites) {
private void summarize(List<ISuite> suites) { tableStart("param"); out.print("<tr><th>Test</th>"); tableColumnStart("Methods<br/>Passed"); tableColumnStart("Scenarios<br/>Passed"); tableColumnStart("# skipped"); tableColumnStart("# failed"); tableColumnStart("Total<br/>Time"); tableColumnStart("Included<br/>Groups"); tableColumnStart("Excluded<br/>Groups"); out.println("</tr>"); NumberFormat formatter=new DecimalFormat("#,##0.0"); int qty_tests=0; int qty_pass_m=0; int qty_pass_s=0; int qty_skip=0; int qty_fail=0; long time_start=Long.MAX_VALUE; long time_end=Long.MIN_VALUE; for(ISuite suite : suites) { if(suites.size()>1) { titleRow( suite.getName(), 7); } Map<String,ISuiteResult> tests=suite.getResults(); for(ISuiteResult r : tests.values()) { qty_tests+=1; ITestContext overview=r.getTestContext(); startSummaryRow(overview.getName()); int q=getMethodSet(overview.getPassedTests()).size(); qty_pass_m+=q; summaryCell(q); q=overview.getPassedTests().size(); qty_pass_s+=q; summaryCell(q); q=getMethodSet(overview.getSkippedTests()).size(); qty_skip+=q; summaryCell(q); q=getMethodSet(overview.getFailedTests()).size(); qty_fail+=q; summaryCell(q); time_start= Math.min( overview.getStartDate().getTime(), time_start); time_end= Math.max( overview.getEndDate().getTime(), time_end); summaryCell( formatter.format( (overview.getEndDate().getTime()-overview.getStartDate().getTime())/1000.) +" seconds"); summaryCell(overview.getIncludedGroups()); summaryCell(overview.getExcludedGroups()); out.println("</tr>"); } } if(qty_tests>1) { out.println("<tr class=\"total\"><td>Total</td>"); summaryCell(qty_pass_m); summaryCell(qty_pass_s); summaryCell(qty_skip); summaryCell(qty_fail); summaryCell(formatter.format((time_end-time_start)/1000.)+" seconds"); out.println("<td colspan=\"2\">&nbsp;</td></tr>"); out.println("</table>"); } }
46463 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46463/cebdf50099bfd930b28e224ace6eab7b69b8cf31/EmailableReporter.java/buggy/src/main/org/testng/reporters/EmailableReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 28712, 12, 682, 32, 5127, 9519, 34, 27208, 13, 225, 288, 565, 1014, 1685, 2932, 891, 8863, 565, 596, 18, 1188, 2932, 32, 313, 4438, 451, 34, 4709, 1757, 451, 2984, 1769, 565, 1014, 1494, 1685, 2932, 4712, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 1541, 18087, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 7, 9700, 8863, 565, 1014, 1494, 1685, 2932, 7, 2535, 8863, 565, 1014, 1494, 1685, 2932, 5269, 32, 2848, 21259, 950, 8863, 565, 1014, 1494, 1685, 2932, 19323, 32, 2848, 21259, 3621, 8863, 565, 1014, 1494, 1685, 2932, 16461, 32, 2848, 21259, 3621, 8863, 565, 596, 18, 8222, 2932, 1757, 313, 2984, 1769, 565, 29587, 4453, 33, 2704, 29665, 2932, 7, 16, 1189, 20, 18, 20, 8863, 565, 509, 26667, 67, 16341, 33, 20, 31, 565, 509, 26667, 67, 5466, 67, 81, 33, 20, 31, 565, 509, 26667, 67, 5466, 67, 87, 33, 20, 31, 565, 509, 26667, 67, 7457, 33, 20, 31, 565, 509, 26667, 67, 6870, 33, 20, 31, 565, 1525, 813, 67, 1937, 33, 3708, 18, 6694, 67, 4051, 31, 565, 1525, 813, 67, 409, 33, 3708, 18, 6236, 67, 4051, 31, 565, 364, 12, 5127, 9519, 11371, 294, 27208, 13, 288, 1377, 309, 12, 26560, 2997, 18, 1467, 1435, 34, 21, 13, 288, 3639, 2077, 1999, 12, 1850, 11371, 18, 17994, 9334, 1850, 2371, 1769, 1377, 289, 1377, 1635, 32, 780, 16, 5127, 9519, 1253, 34, 7434, 33, 30676, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 28712, 12, 682, 32, 5127, 9519, 34, 27208, 13, 225, 288, 565, 1014, 1685, 2932, 891, 8863, 565, 596, 18, 1188, 2932, 32, 313, 4438, 451, 34, 4709, 1757, 451, 2984, 1769, 565, 1014, 1494, 1685, 2932, 4712, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 1541, 18087, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 7, 9700, 8863, 565, 1014, 1494, 1685, 2932, 7, 2535, 8863, 565, 1014, 1494, 1685, 2932, 5269, 32, 2848, 21259, 950, 8863, 565, 1014, 1494, 1685, 2932, 19323, 32, 2848, 21259, 3621, 8863, 565, 1014, 1494, 1685, 2932, 16461, 32, 2848, 21259, 3621, 8863, 565, 596, 18, 8222, 2932, 1757, 313, 2984, 1769, 565, 29587, 4453, 2 ]
localRuntimeUrl + " rmi: 1 jvm");
localRuntimeUrl + " 1 jvm ic2d");
public ProcessDefinitionPanel() { setBorder(javax.swing.BorderFactory.createTitledBorder( "Create new process")); setLayout(new java.awt.BorderLayout()); ProActiveRuntime part; try { part = RuntimeFactory.getDefaultRuntime(); localRuntimeUrl = part.getURL(); } catch (ProActiveException e1) { e1.printStackTrace(); } parametersField = new javax.swing.JTextField("ic2d " + localRuntimeUrl + " rmi: 1 jvm"); // defines fields in the north panel { javax.swing.JPanel northPanel = new javax.swing.JPanel(new java.awt.BorderLayout()); javax.swing.JPanel labelPanel = new javax.swing.JPanel(new java.awt.GridLayout( 0, 1)); javax.swing.JPanel fieldPanel = new javax.swing.JPanel(new java.awt.GridLayout( 0, 1)); labelPanel.add(new javax.swing.JLabel("hostname ", javax.swing.JLabel.RIGHT)); fieldPanel.add(hostnameField); labelPanel.add(new javax.swing.JLabel("username ", javax.swing.JLabel.RIGHT)); fieldPanel.add(usernameField); labelPanel.add(new javax.swing.JLabel("java command path ", javax.swing.JLabel.RIGHT)); fieldPanel.add(javaPathField); labelPanel.add(new javax.swing.JLabel("policy file path ", javax.swing.JLabel.RIGHT)); fieldPanel.add(policyFileField); labelPanel.add(new javax.swing.JLabel("classname to start ", javax.swing.JLabel.RIGHT)); fieldPanel.add(classnameField); labelPanel.add(new javax.swing.JLabel( "parameters of the class ", javax.swing.JLabel.RIGHT)); fieldPanel.add(parametersField); northPanel.add(labelPanel, java.awt.BorderLayout.WEST); northPanel.add(fieldPanel, java.awt.BorderLayout.CENTER); add(northPanel, java.awt.BorderLayout.NORTH); } { // defines text areas in the center panel javax.swing.JPanel labelPanel = new javax.swing.JPanel(new java.awt.GridLayout( 0, 1)); javax.swing.JPanel fieldPanel = new javax.swing.JPanel(new java.awt.GridLayout( 0, 1)); labelPanel.add(new javax.swing.JLabel("classpath ", javax.swing.JLabel.RIGHT)); fieldPanel.add(createScrollWrapper(classpathField)); classpathField.setLineWrap(true); labelPanel.add(new javax.swing.JLabel("environment ", javax.swing.JLabel.RIGHT)); fieldPanel.add(createScrollWrapper(environmentField)); environmentField.setLineWrap(false); add(labelPanel, java.awt.BorderLayout.WEST); add(fieldPanel, java.awt.BorderLayout.CENTER); } // defines start button in the south panel { javax.swing.JButton b = new javax.swing.JButton( "Start new process"); b.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed( java.awt.event.ActionEvent e) { String hostname = filterEmptyString(hostnameField.getText()); String username = filterEmptyString(usernameField.getText()); String javaPath = filterEmptyString(javaPathField.getText()); String policyFile = filterEmptyString(policyFileField.getText()); String classname = filterEmptyString(classnameField.getText()); String classpath = filterEmptyString(classpathField.getText()); String parameters = filterEmptyString(parametersField.getText()); String[] environment = stringToStringArray(environmentField.getText()); JVMProcessWrapper w = createJVMProcess(environment, javaPath, policyFile, classpath, classname, parameters, hostname, username); processesListModel.addProcess(w); w.startProcess(); } }); b.setToolTipText("Start a process based on the above specs"); add(b, java.awt.BorderLayout.SOUTH); } }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/c32d644fb1599cc6d46c14d935f57fb922d36a58/ProcessControlPanel.java/clean/src/org/objectweb/proactive/ic2d/gui/process/ProcessControlPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 4389, 1852, 5537, 1435, 288, 5411, 25715, 12, 28384, 18, 5328, 310, 18, 8107, 1733, 18, 2640, 56, 305, 1259, 8107, 12, 10792, 315, 1684, 394, 1207, 7923, 1769, 5411, 18479, 12, 2704, 2252, 18, 2219, 88, 18, 8107, 3744, 10663, 5411, 1186, 3896, 5576, 1087, 31, 5411, 775, 288, 7734, 1087, 273, 2509, 1733, 18, 588, 1868, 5576, 5621, 7734, 1191, 5576, 1489, 273, 1087, 18, 588, 1785, 5621, 5411, 289, 1044, 261, 626, 3896, 503, 425, 21, 13, 288, 7734, 425, 21, 18, 1188, 6332, 5621, 5411, 289, 5411, 1472, 974, 273, 394, 6863, 18, 5328, 310, 18, 46, 16157, 2932, 335, 22, 72, 315, 397, 10792, 1191, 5576, 1489, 397, 315, 404, 13555, 13579, 22, 72, 8863, 5411, 368, 11164, 1466, 316, 326, 21435, 6594, 2398, 288, 7734, 6863, 18, 5328, 310, 18, 46, 5537, 21435, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 12, 2704, 2252, 18, 2219, 88, 18, 8107, 3744, 10663, 7734, 6863, 18, 5328, 310, 18, 46, 5537, 1433, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 12, 2704, 2252, 18, 2219, 88, 18, 6313, 3744, 12, 18701, 374, 16, 404, 10019, 7734, 6863, 18, 5328, 310, 18, 46, 5537, 652, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 12, 2704, 2252, 18, 2219, 88, 18, 6313, 3744, 12, 18701, 374, 16, 404, 10019, 7734, 1433, 5537, 18, 1289, 12, 2704, 6863, 18, 5328, 310, 18, 46, 2224, 2932, 10358, 3104, 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, 540, 1071, 4389, 1852, 5537, 1435, 288, 5411, 25715, 12, 28384, 18, 5328, 310, 18, 8107, 1733, 18, 2640, 56, 305, 1259, 8107, 12, 10792, 315, 1684, 394, 1207, 7923, 1769, 5411, 18479, 12, 2704, 2252, 18, 2219, 88, 18, 8107, 3744, 10663, 5411, 1186, 3896, 5576, 1087, 31, 5411, 775, 288, 7734, 1087, 273, 2509, 1733, 18, 588, 1868, 5576, 5621, 7734, 1191, 5576, 1489, 273, 1087, 18, 588, 1785, 5621, 5411, 289, 1044, 261, 626, 3896, 503, 425, 21, 13, 288, 7734, 425, 21, 18, 1188, 6332, 5621, 5411, 289, 5411, 1472, 974, 273, 394, 6863, 18, 5328, 310, 18, 46, 16157, 2932, 335, 22, 72, 315, 397, 10792, 1191, 5576, 1489, 397, 315, 404, 13555, 13579, 2 ]
previewCanvas.loadImage( ImageManager.getInstance( ).loadImage( fullPath ) );
previewCanvas.loadImage( ImageManager.getInstance( ) .loadImage( fullPath ) );
public void widgetSelected( SelectionEvent event ) { FileDialog fileChooser = new FileDialog( getShell( ), SWT.OPEN ); fileChooser.setText( Messages.getString( "ImageBuilder.Chooser.Title" ) ); //$NON-NLS-1$ fileChooser.setFilterExtensions( IMAGE_FILEFILTERS ); try { String fullPath = fileChooser.open( ); if ( fullPath != null ) { String fileName = fileChooser.getFileName( ); if ( fileName != null ) { if ( embeddedImageList.indexOf( fileName ) != -1 ) { ExceptionHandler.openMessageBox( DLG_TITLE_IMPORT_FAIL, DLG_ERROR_MSG_FILE_EXISTS, SWT.ICON_WARNING ); return; } if ( checkExtensions( fileName ) == false ) { ExceptionHandler.openErrorMessageBox( Messages.getString( "EmbeddedImagesNodeProvider.FileNameError.Title" ), Messages.getString( "EmbeddedImagesNodeProvider.FileNameError.Message" ) ); return; } previewCanvas.loadImage( ImageManager.getInstance( ).loadImage( fullPath ) ); BirtImageLoader imageLoader = new BirtImageLoader( ); EmbeddedImage image = imageLoader.save( getModuleHandle( ), fullPath, fileName ); embeddedImageList.add( image.getName( ) ); embeddedImageList.select( embeddedImageList.indexOf( image.getName( ) ) ); updateButtons( ); } } } catch ( Throwable e ) { preview( ); if ( e instanceof OutOfMemoryError ) { e = GUIException.createGUIException( ReportPlugin.REPORT_UI, e ); } ExceptionHandler.handle( e, DLG_TITLE_LOADING_FAIL, DLG_ERROR_MSG_LOADING_FAIL ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/f06fb5699fc635c9c62b83fb721c2da353cf68a6/ImageBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ImageBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 871, 262, 1082, 202, 95, 9506, 202, 812, 6353, 585, 17324, 273, 394, 1387, 6353, 12, 7932, 1165, 12, 262, 16, 348, 8588, 18, 11437, 11272, 9506, 202, 768, 17324, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 2040, 1263, 18, 17324, 18, 4247, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 768, 17324, 18, 542, 1586, 7513, 12, 10757, 67, 3776, 11126, 55, 11272, 9506, 202, 698, 9506, 202, 95, 6862, 202, 780, 11225, 273, 585, 17324, 18, 3190, 12, 11272, 6862, 202, 430, 261, 11225, 480, 446, 262, 6862, 202, 95, 25083, 202, 780, 3968, 273, 585, 17324, 18, 588, 4771, 12, 11272, 25083, 202, 430, 261, 3968, 480, 446, 262, 25083, 202, 95, 6862, 1082, 202, 430, 261, 7488, 2040, 682, 18, 31806, 12, 3968, 262, 480, 300, 21, 262, 6862, 1082, 202, 95, 6862, 9506, 202, 18894, 18, 3190, 27647, 12, 463, 48, 43, 67, 14123, 67, 20445, 67, 12319, 16, 6862, 25083, 202, 8914, 43, 67, 3589, 67, 11210, 67, 3776, 67, 21205, 16, 6862, 25083, 202, 55, 8588, 18, 21745, 67, 9511, 11272, 6862, 9506, 202, 2463, 31, 6862, 1082, 202, 97, 6862, 6862, 25083, 202, 430, 261, 866, 7513, 12, 3968, 262, 422, 629, 262, 6862, 1082, 202, 95, 6862, 9506, 202, 18894, 18, 3190, 14935, 3514, 12, 4838, 18, 588, 780, 12, 315, 14980, 8946, 907, 2249, 18, 4771, 668, 18, 4247, 6, 262, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 871, 262, 1082, 202, 95, 9506, 202, 812, 6353, 585, 17324, 273, 394, 1387, 6353, 12, 7932, 1165, 12, 262, 16, 348, 8588, 18, 11437, 11272, 9506, 202, 768, 17324, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 2040, 1263, 18, 17324, 18, 4247, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 768, 17324, 18, 542, 1586, 7513, 12, 10757, 67, 3776, 11126, 55, 11272, 9506, 202, 698, 9506, 202, 95, 6862, 202, 780, 11225, 273, 585, 17324, 18, 3190, 12, 11272, 6862, 202, 430, 261, 11225, 480, 446, 262, 6862, 202, 95, 25083, 202, 780, 3968, 273, 585, 17324, 18, 588, 4771, 12, 2 ]
public org.quickfix.field.MDReqID getMDReqID() throws FieldNotFound { org.quickfix.field.MDReqID value = new org.quickfix.field.MDReqID();
public quickfix.field.MDReqID getMDReqID() throws FieldNotFound { quickfix.field.MDReqID value = new quickfix.field.MDReqID();
public org.quickfix.field.MDReqID getMDReqID() throws FieldNotFound { org.quickfix.field.MDReqID value = new org.quickfix.field.MDReqID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MarketDataRequestReject.java/buggy/src/java/src/quickfix/fix42/MarketDataRequestReject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 6188, 6113, 734, 2108, 40, 6113, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 6188, 6113, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 6188, 6113, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 6188, 6113, 734, 2108, 40, 6113, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 6188, 6113, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 6188, 6113, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case SyslogDefs.LOG_EMERG: return "Critical"; case SyslogDefs.LOG_ALERT: return "Major"; case SyslogDefs.LOG_CRIT: return "Major"; case SyslogDefs.LOG_ERR: return "Minor";
case SyslogDefs.LOG_EMERG: return "Emergency"; case SyslogDefs.LOG_ALERT: return "Alert"; case SyslogDefs.LOG_CRIT: return "Critical"; case SyslogDefs.LOG_ERR: return "Error";
getPriorityName( int level ) { switch ( level ) { case SyslogDefs.LOG_EMERG: return "Critical"; case SyslogDefs.LOG_ALERT: return "Major"; case SyslogDefs.LOG_CRIT: return "Major"; case SyslogDefs.LOG_ERR: return "Minor"; case SyslogDefs.LOG_WARNING: return "Warning"; case SyslogDefs.LOG_NOTICE: return "Normal"; case SyslogDefs.LOG_INFO: return "Normal"; case SyslogDefs.LOG_DEBUG: return "Normal"; //This is a really lazy way of mapping syslog //to OpenNMS, but it should conform to thinking... /* case SyslogDefs.LOG_EMERG: return "1"; case SyslogDefs.LOG_ALERT: return "1"; case SyslogDefs.LOG_CRIT: return "2"; case SyslogDefs.LOG_ERR: return "2"; case SyslogDefs.LOG_WARNING: return "3"; case SyslogDefs.LOG_NOTICE: return "4"; case SyslogDefs.LOG_INFO: return "5"; case SyslogDefs.LOG_DEBUG: return "5";*/ } return "unknown level='" + level + "'"; }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/8413966d549b67facf8b0f9858549e892a771f72/SyslogDefs.java/buggy/opennms-services/src/main/java/org/opennms/netmgt/syslogd/SyslogDefs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 588, 8183, 461, 12, 509, 1801, 262, 202, 202, 95, 202, 202, 9610, 261, 1801, 262, 1082, 202, 95, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 3375, 654, 43, 30, 202, 202, 2463, 315, 30286, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 1013, 11539, 30, 202, 202, 2463, 315, 17581, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 5093, 1285, 30, 202, 202, 2463, 315, 17581, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 9712, 30, 202, 202, 2463, 315, 19549, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 9511, 30, 202, 2463, 315, 6210, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 20559, 30, 202, 202, 2463, 315, 5506, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 5923, 30, 202, 202, 2463, 315, 5506, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 9394, 30, 202, 202, 2463, 315, 5506, 14432, 10792, 368, 2503, 353, 279, 8654, 7962, 4031, 434, 2874, 16718, 5411, 368, 869, 3502, 50, 3537, 16, 1496, 518, 1410, 20156, 358, 15507, 310, 2777, 3639, 1748, 5411, 648, 16995, 1330, 14554, 18, 4842, 67, 3375, 654, 43, 30, 1377, 327, 315, 21, 14432, 5411, 648, 16995, 1330, 14554, 18, 4842, 67, 1013, 11539, 30, 1377, 327, 315, 21, 14432, 5411, 648, 16995, 1330, 14554, 18, 4842, 67, 5093, 1285, 30, 4202, 327, 315, 22, 14432, 5411, 648, 16995, 1330, 14554, 18, 4842, 67, 9712, 30, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 588, 8183, 461, 12, 509, 1801, 262, 202, 202, 95, 202, 202, 9610, 261, 1801, 262, 1082, 202, 95, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 3375, 654, 43, 30, 202, 202, 2463, 315, 30286, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 1013, 11539, 30, 202, 202, 2463, 315, 17581, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 5093, 1285, 30, 202, 202, 2463, 315, 17581, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 9712, 30, 202, 202, 2463, 315, 19549, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 9511, 30, 202, 2463, 315, 6210, 14432, 1082, 202, 3593, 16995, 1330, 14554, 18, 4842, 67, 20559, 2 ]
QueryRequest.WHAT_IS_NEW_GGEP_VALUE);
FeatureSearchData.WHAT_IS_NEW);
public void testLeafQueryRoutesCorrectly() throws Exception { drainAll(); // send the query QueryRequest whatIsNewQuery = new QueryRequest(GUID.makeGuid(), (byte)2, QueryRequest.WHAT_IS_NEW_QUERY_STRING, "", null, null, null, false, Message.N_UNKNOWN, false, QueryRequest.WHAT_IS_NEW_GGEP_VALUE); LEAF.send(whatIsNewQuery); LEAF.flush(); // give time to process Thread.sleep(5000); // UP 1 should get this query QueryRequest rQuery = (QueryRequest) getFirstInstanceOfMessageType(ULTRAPEER_1, QueryRequest.class); assertNotNull(rQuery); assertEquals(new GUID(rQuery.getGUID()), new GUID(whatIsNewQuery.getGUID())); // UP 2 should NOT get this query rQuery = (QueryRequest) getFirstInstanceOfMessageType(ULTRAPEER_2, QueryRequest.class); assertNull(rQuery); }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/5572354c930cbf30c60ffa9b6bc1985b981dc8eb/ServerSideWhatIsRoutingTest.java/buggy/components/gnutella-core/src/test/java/com/limegroup/gnutella/ServerSideWhatIsRoutingTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 9858, 1138, 8110, 16147, 715, 1435, 1216, 1185, 288, 3639, 15427, 1595, 5621, 3639, 368, 1366, 326, 843, 3639, 2770, 691, 4121, 2520, 1908, 1138, 273, 2398, 394, 2770, 691, 12, 17525, 18, 6540, 22549, 9334, 261, 7229, 13, 22, 16, 17311, 2770, 691, 18, 12557, 789, 67, 5127, 67, 12917, 67, 10753, 67, 5804, 16, 23453, 446, 16, 17311, 446, 16, 446, 16, 629, 16, 2350, 18, 50, 67, 14737, 16, 629, 16, 11794, 7881, 2979, 751, 18, 12557, 789, 67, 5127, 67, 12917, 1769, 3639, 5380, 6799, 18, 4661, 12, 23770, 2520, 1908, 1138, 1769, 3639, 5380, 6799, 18, 11330, 5621, 3639, 368, 8492, 813, 358, 1207, 3639, 4884, 18, 19607, 12, 25, 3784, 1769, 3639, 368, 7376, 404, 1410, 336, 333, 843, 3639, 2770, 691, 436, 1138, 273, 2398, 261, 1138, 691, 13, 7521, 1442, 951, 24563, 12, 2274, 2849, 1423, 654, 67, 21, 16, 4766, 7682, 2770, 691, 18, 1106, 1769, 3639, 25395, 12, 86, 1138, 1769, 3639, 1815, 8867, 12, 2704, 20322, 12, 86, 1138, 18, 588, 17525, 1435, 3631, 8227, 394, 20322, 12, 23770, 2520, 1908, 1138, 18, 588, 17525, 1435, 10019, 3639, 368, 7376, 576, 1410, 4269, 336, 333, 843, 3639, 436, 1138, 273, 261, 1138, 691, 13, 7521, 1442, 951, 24563, 12, 2274, 2849, 1423, 654, 67, 22, 16, 4766, 17311, 2770, 691, 18, 1106, 1769, 3639, 1815, 2041, 12, 86, 1138, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 9858, 1138, 8110, 16147, 715, 1435, 1216, 1185, 288, 3639, 15427, 1595, 5621, 3639, 368, 1366, 326, 843, 3639, 2770, 691, 4121, 2520, 1908, 1138, 273, 2398, 394, 2770, 691, 12, 17525, 18, 6540, 22549, 9334, 261, 7229, 13, 22, 16, 17311, 2770, 691, 18, 12557, 789, 67, 5127, 67, 12917, 67, 10753, 67, 5804, 16, 23453, 446, 16, 17311, 446, 16, 446, 16, 629, 16, 2350, 18, 50, 67, 14737, 16, 629, 16, 11794, 7881, 2979, 751, 18, 12557, 789, 67, 5127, 67, 12917, 1769, 3639, 5380, 6799, 18, 4661, 12, 23770, 2520, 1908, 1138, 1769, 3639, 5380, 6799, 18, 11330, 5621, 3639, 368, 8492, 813, 358, 1207, 3639, 4884, 18, 19607, 12, 25, 2 ]
umbilical.ping(taskid);
if (!umbilical.ping(taskid)) { LOG.log(Level.WARNING, "Parent died. Exiting "+taskid); System.exit(66); } remainingRetries = MAX_RETRIES;
public void run() { while (true) { try { umbilical.ping(taskid); } catch (Throwable t) { LOG.log(Level.WARNING, "Parent died. Exiting "+taskid, t); System.exit(1); } try { Thread.sleep(1000); } catch (InterruptedException e) { } } }
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/6cff2e236f3161f7627bbc44162fa89d655242c3/TaskTracker.java/clean/src/java/org/apache/hadoop/mapred/TaskTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9079, 1071, 918, 1086, 1435, 288, 7734, 1323, 261, 3767, 13, 288, 5375, 775, 288, 10792, 309, 16051, 3592, 330, 1706, 18, 1382, 12, 4146, 350, 3719, 288, 2018, 18, 1330, 12, 2355, 18, 9511, 16, 315, 3054, 302, 2092, 18, 225, 9500, 310, 13773, 4146, 350, 1769, 2332, 18, 8593, 12, 6028, 1769, 289, 4463, 13656, 273, 4552, 67, 862, 6566, 3991, 31, 5375, 289, 1044, 261, 15155, 268, 13, 288, 10792, 2018, 18, 1330, 12, 2355, 18, 9511, 16, 315, 3054, 302, 2092, 18, 225, 9500, 310, 13773, 4146, 350, 16, 268, 1769, 10792, 2332, 18, 8593, 12, 21, 1769, 5375, 289, 5375, 775, 288, 10792, 4884, 18, 19607, 12, 18088, 1769, 5375, 289, 1044, 261, 24485, 503, 425, 13, 288, 5375, 289, 7734, 289, 2868, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9079, 1071, 918, 1086, 1435, 288, 7734, 1323, 261, 3767, 13, 288, 5375, 775, 288, 10792, 309, 16051, 3592, 330, 1706, 18, 1382, 12, 4146, 350, 3719, 288, 2018, 18, 1330, 12, 2355, 18, 9511, 16, 315, 3054, 302, 2092, 18, 225, 9500, 310, 13773, 4146, 350, 1769, 2332, 18, 8593, 12, 6028, 1769, 289, 4463, 13656, 273, 4552, 67, 862, 6566, 3991, 31, 5375, 289, 1044, 261, 15155, 268, 13, 288, 10792, 2018, 18, 1330, 12, 2355, 18, 9511, 16, 315, 3054, 302, 2092, 18, 225, 9500, 310, 13773, 4146, 350, 16, 268, 1769, 10792, 2332, 18, 8593, 12, 21, 1769, 5375, 289, 5375, 775, 288, 10792, 4884, 18, 19607, 12, 18088, 1769, 5375, 289, 1044, 261, 24485, 2 ]
public void run ()
public void run()
public void run () { try { String line; while ((line = reader.readLine()) != null) { this.handler.logOutput(line, stderr); synchronized (this.stop) { if (stop.booleanValue()) return; } } } catch (IOException ioe) { this.handler.logOutput (ioe.toString (), true); } }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/ProcessPanelWorker.java/clean/src/lib/com/izforge/izpack/installer/ProcessPanelWorker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1086, 1435, 1377, 288, 3639, 775, 3639, 288, 1850, 514, 980, 31, 1850, 1323, 14015, 1369, 273, 2949, 18, 896, 1670, 10756, 480, 446, 13, 1850, 288, 5411, 333, 18, 4176, 18, 1330, 1447, 12, 1369, 16, 4514, 1769, 13491, 3852, 261, 2211, 18, 5681, 13, 5411, 288, 2868, 309, 261, 5681, 18, 6494, 620, 10756, 7734, 327, 31, 5411, 289, 1850, 289, 3639, 289, 3639, 1044, 261, 14106, 10847, 13, 3639, 288, 1850, 333, 18, 4176, 18, 1330, 1447, 261, 1594, 73, 18, 10492, 1832, 16, 638, 1769, 3639, 289, 2868, 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,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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1086, 1435, 1377, 288, 3639, 775, 3639, 288, 1850, 514, 980, 31, 1850, 1323, 14015, 1369, 273, 2949, 18, 896, 1670, 10756, 480, 446, 13, 1850, 288, 5411, 333, 18, 4176, 18, 1330, 1447, 12, 1369, 16, 4514, 1769, 13491, 3852, 261, 2211, 18, 5681, 13, 5411, 288, 2868, 309, 261, 5681, 18, 6494, 620, 10756, 7734, 327, 31, 5411, 289, 1850, 289, 3639, 289, 3639, 1044, 261, 14106, 10847, 13, 3639, 288, 1850, 333, 18, 4176, 18, 1330, 1447, 261, 1594, 73, 18, 10492, 1832, 16, 638, 1769, 3639, 289, 2868, 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 ]
public byte getByte (int parameterIndex) throws SQLException { }
public byte getByte(int parameterIndex) throws SQLException { return 0; }
public byte getByte (int parameterIndex) throws SQLException { // XXX-Not Implemented }
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/6a061da272f04e1463864065f87f1f3fd61d6162/CallableStatement.java/buggy/src/interfaces/jdbc/postgresql/CallableStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1160, 20999, 261, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 759, 11329, 17, 1248, 18788, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1160, 20999, 261, 474, 25412, 13, 1216, 6483, 202, 95, 202, 202, 759, 11329, 17, 1248, 18788, 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 ]
if ( numbers == null || numbers.length == 0 ) { return; } ArrayList list = new ArrayList( ); int size = numbers.length; int height = 0; int minRownumber = numbers[0]; for ( int i = 0; i < size; i++ ) { if ( minRownumber > numbers[i] ) { minRownumber = numbers[i]; } height = height + TableUtil.caleVisualHeight( this, getRow( numbers[i] ) ); list.add( new DummyRowEditPart( getRow( numbers[i] ) ) ); } for ( int i = 0; i < size; i++ ) { int columnNumber = getTableAdapter( ).getColumnCount( ); for ( int j = 0; j < columnNumber; j++ ) { TableCellEditPart part = getCell( numbers[i], j + 1 ); if ( part != null ) { list.add( part ); } } } int y = TableUtil.caleY( this, minRownumber ); Rectangle rect = new Rectangle( 0, y, TableUtil.getTableContentsWidth( this ), height ); setSelectRowAndColumnRect( rect ); getViewer( ).setSelection( new StructuredSelection( list ) ); setSelectRowAndColumnRect( null );
selectRow( numbers, true );
public void selectRow( int[] numbers ) { if ( numbers == null || numbers.length == 0 ) { return; } ArrayList list = new ArrayList( ); int size = numbers.length; int height = 0; int minRownumber = numbers[0]; // add row object in the list first for ( int i = 0; i < size; i++ ) { if ( minRownumber > numbers[i] ) { minRownumber = numbers[i]; } height = height + TableUtil.caleVisualHeight( this, getRow( numbers[i] ) ); list.add( new DummyRowEditPart( getRow( numbers[i] ) ) ); } for ( int i = 0; i < size; i++ ) { int columnNumber = getTableAdapter( ).getColumnCount( ); for ( int j = 0; j < columnNumber; j++ ) { TableCellEditPart part = getCell( numbers[i], j + 1 ); if ( part != null ) { list.add( part ); } } } int y = TableUtil.caleY( this, minRownumber ); Rectangle rect = new Rectangle( 0, y, TableUtil.getTableContentsWidth( this ), height ); setSelectRowAndColumnRect( rect ); getViewer( ).setSelection( new StructuredSelection( list ) ); setSelectRowAndColumnRect( null ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/02f2ebe438da6154cc114e039e7e72d3cbc7a18d/TableEditPart.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/TableEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2027, 1999, 12, 509, 8526, 5600, 262, 202, 95, 202, 202, 430, 261, 5600, 422, 446, 747, 5600, 18, 2469, 422, 374, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 19558, 666, 273, 394, 2407, 12, 11272, 202, 202, 474, 963, 273, 5600, 18, 2469, 31, 202, 202, 474, 2072, 273, 374, 31, 202, 202, 474, 1131, 54, 995, 1226, 273, 5600, 63, 20, 15533, 202, 202, 759, 527, 1027, 733, 316, 326, 666, 1122, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 963, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 430, 261, 1131, 54, 995, 1226, 405, 5600, 63, 77, 65, 262, 1082, 202, 95, 9506, 202, 1154, 54, 995, 1226, 273, 5600, 63, 77, 15533, 1082, 202, 97, 1082, 202, 4210, 273, 2072, 6862, 202, 15, 3555, 1304, 18, 1869, 25780, 2686, 12, 333, 16, 11835, 12, 5600, 63, 77, 65, 262, 11272, 1082, 202, 1098, 18, 1289, 12, 394, 28622, 1999, 4666, 1988, 12, 11835, 12, 5600, 63, 77, 65, 262, 262, 11272, 202, 202, 97, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 963, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 474, 1057, 1854, 273, 5638, 4216, 12, 262, 18, 588, 1494, 1380, 12, 11272, 1082, 202, 1884, 261, 509, 525, 273, 374, 31, 525, 411, 1057, 1854, 31, 525, 9904, 262, 1082, 202, 95, 9506, 202, 1388, 4020, 4666, 1988, 1087, 273, 16458, 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, 2027, 1999, 12, 509, 8526, 5600, 262, 202, 95, 202, 202, 430, 261, 5600, 422, 446, 747, 5600, 18, 2469, 422, 374, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 19558, 666, 273, 394, 2407, 12, 11272, 202, 202, 474, 963, 273, 5600, 18, 2469, 31, 202, 202, 474, 2072, 273, 374, 31, 202, 202, 474, 1131, 54, 995, 1226, 273, 5600, 63, 20, 15533, 202, 202, 759, 527, 1027, 733, 316, 326, 666, 1122, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 963, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 430, 261, 1131, 54, 995, 1226, 405, 5600, 63, 77, 65, 262, 1082, 202, 2 ]
String found = new String(text.array,text.offset + _start,_length); String subst = _replace(occur,found); if(smartCaseReplace && ignoreCase)
String found = new String(text.array, text.offset + occur.start, occur.end - occur.start); int length = replaceOne(buffer,occur,offset,found, smartCaseReplace); if(length == -1) offset += occur.end; else
private static int _replace(View view, Buffer buffer, SearchMatcher matcher, int start, int end, boolean smartCaseReplace) throws Exception { int occurCount = 0; boolean endOfLine = (buffer.getLineEndOffset( buffer.getLineOfOffset(end)) - 1 == end); Segment text = new Segment(); int offset = start;loop: for(int counter = 0; ; counter++) { buffer.getText(offset,end - offset,text); boolean startOfLine = (buffer.getLineStartOffset( buffer.getLineOfOffset(offset)) == offset); SearchMatcher.Match occur = matcher.nextMatch( new CharIndexedSegment(text,false), startOfLine,endOfLine,counter == 0, false); if(occur == null) break loop; int _start = occur.start; int _length = occur.end - occur.start; String found = new String(text.array,text.offset + _start,_length); String subst = _replace(occur,found); if(smartCaseReplace && ignoreCase) { int strCase = TextUtilities.getStringCase(found); if(strCase == TextUtilities.LOWER_CASE) subst = subst.toLowerCase(); else if(strCase == TextUtilities.UPPER_CASE) subst = subst.toUpperCase(); else if(strCase == TextUtilities.TITLE_CASE) subst = TextUtilities.toTitleCase(subst); } if(subst != null) { buffer.remove(offset + _start,_length); buffer.insert(offset + _start,subst); occurCount++; offset += _start + subst.length(); end += (subst.length() - found.length()); } else offset += _start + _length; } return occurCount; } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/8132f40ac532f2d0b9538c59d8536d131020e674/SearchAndReplace.java/clean/org/gjt/sp/jedit/search/SearchAndReplace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 509, 389, 2079, 12, 1767, 1476, 16, 3525, 1613, 16, 202, 202, 2979, 6286, 4546, 16, 509, 787, 16, 509, 679, 16, 202, 202, 6494, 13706, 2449, 5729, 13, 202, 202, 15069, 1185, 202, 95, 202, 202, 474, 3334, 1380, 273, 374, 31, 202, 202, 6494, 20706, 1670, 273, 261, 4106, 18, 588, 1670, 1638, 2335, 12, 1082, 202, 4106, 18, 588, 1670, 951, 2335, 12, 409, 3719, 300, 404, 422, 679, 1769, 202, 202, 4131, 977, 273, 394, 10807, 5621, 202, 202, 474, 1384, 273, 787, 31, 6498, 30, 202, 202, 1884, 12, 474, 3895, 273, 374, 31, 274, 3895, 27245, 202, 202, 95, 1082, 202, 4106, 18, 588, 1528, 12, 3348, 16, 409, 300, 1384, 16, 955, 1769, 1082, 202, 6494, 787, 951, 1670, 273, 261, 4106, 18, 588, 1670, 1685, 2335, 12, 9506, 202, 4106, 18, 588, 1670, 951, 2335, 12, 3348, 3719, 422, 1384, 1769, 1082, 202, 2979, 6286, 18, 2060, 3334, 273, 4546, 18, 4285, 2060, 12, 9506, 202, 2704, 3703, 15034, 4131, 12, 955, 16, 5743, 3631, 9506, 202, 1937, 951, 1670, 16, 409, 951, 1670, 16, 7476, 422, 374, 16, 9506, 202, 5743, 1769, 1082, 202, 430, 12, 26635, 422, 446, 13, 9506, 202, 8820, 2798, 31, 1082, 202, 474, 389, 1937, 273, 3334, 18, 1937, 31, 1082, 202, 474, 389, 2469, 273, 3334, 18, 409, 300, 3334, 18, 1937, 31, 1082, 202, 780, 1392, 273, 394, 514, 12, 955, 18, 1126, 16, 955, 18, 3348, 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, 509, 389, 2079, 12, 1767, 1476, 16, 3525, 1613, 16, 202, 202, 2979, 6286, 4546, 16, 509, 787, 16, 509, 679, 16, 202, 202, 6494, 13706, 2449, 5729, 13, 202, 202, 15069, 1185, 202, 95, 202, 202, 474, 3334, 1380, 273, 374, 31, 202, 202, 6494, 20706, 1670, 273, 261, 4106, 18, 588, 1670, 1638, 2335, 12, 1082, 202, 4106, 18, 588, 1670, 951, 2335, 12, 409, 3719, 300, 404, 422, 679, 1769, 202, 202, 4131, 977, 273, 394, 10807, 5621, 202, 202, 474, 1384, 273, 787, 31, 6498, 30, 202, 202, 1884, 12, 474, 3895, 273, 374, 31, 274, 3895, 27245, 202, 202, 95, 1082, 202, 4106, 18, 588, 1528, 12, 3348, 16, 409, 2 ]
Vector errorParsVector = new Vector();
List tags = new ArrayList();
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { /* server info */ IMCServiceInterface imcref = ApplicationServer.getIMCServiceInterface(); /* mailserver info */ imcode.server.SystemData sysData = imcref.getSystemData(); String eMailServerMaster = sysData.getServerMasterAddress(); String emailFromServer = sysData.getServerMasterAddress(); String mailFrom = eMailServerMaster; String mailserver = Utility.getDomainPref("smtp_server"); String stringMailPort = Utility.getDomainPref("smtp_port"); String stringMailtimeout = Utility.getDomainPref("smtp_timeout"); // 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 = 60000; try { mailtimeout = Integer.parseInt(stringMailtimeout); } catch (NumberFormatException ignored) { // Do nothing, let mailtimeout stay at default. } String emptyString = ""; /* user info */ String postedLoginName; String firstName = emptyString; String lastName = emptyString; String password = emptyString; String userEmail = emptyString; String returnFileBody = emptyString; String serverMasterMailBody = emptyString; String returnString = emptyString; Vector errorParsVector = new Vector(); /* condition variabels */ boolean validLoginName = false; boolean sendMailToUser = false; postedLoginName = req.getParameter("login_name"); validLoginName = (!(postedLoginName == null || postedLoginName.length() == 0)); if (validLoginName) { String sqlProcedureName = "PermissionsGetPermission"; String[] queryResult = imcref.sqlProcedure(sqlProcedureName, new String[]{postedLoginName, "" + PasswordMailReminder.PASSWORD_PERMISSION_ID}); UserDomainObject user = imcref.getImcmsAuthenticatorAndUserAndRoleMapper().getUser(postedLoginName); if ((queryResult != null) && (queryResult.length > 0)) { firstName = queryResult[1]; lastName = queryResult[2]; userEmail = queryResult[3]; boolean userHasOnlyRolesWithPermissionToGetPasswordSentByMail = !("0".equals(queryResult[4])); if (userHasOnlyRolesWithPermissionToGetPasswordSentByMail) { if ((userEmail != null) && (validateEmail(userEmail))) { sendMailToUser = true; password = queryResult[0]; returnFileBody = PasswordMailReminder.RETURNING_DOCUMENT_SENT; serverMasterMailBody = PasswordMailReminder.SENT_USER_PASSWORD; } else { returnFileBody = PasswordMailReminder.RETURNING_DOCUMENT_NO_EMAIL; serverMasterMailBody = PasswordMailReminder.USER_HAS_NO_EMAIL; } } else { returnFileBody = PasswordMailReminder.RETURNING_DOCUMENT_NO_RIGHT; serverMasterMailBody = PasswordMailReminder.USER_HAS_NOT_RIGHT; } } else { returnFileBody = PasswordMailReminder.RETURNING_DOCUMENT_NO_USER_NAME; serverMasterMailBody = PasswordMailReminder.USER_DONT_EXIST; } /* send mail */ // try { SMTP smtp = new SMTP(mailserver, mailport, mailtimeout); if (sendMailToUser) { Vector parsVector = new Vector(); parsVector.add("#firstname#"); parsVector.add(firstName); parsVector.add("#lastname#"); parsVector.add(lastName); parsVector.add("#password#"); parsVector.add(password); String userMessage = imcref.getAdminTemplate( PasswordMailReminder.USER_MAIL_BODY, user, parsVector ); smtp.sendMailWait(mailFrom, userEmail, null, userMessage); } Vector parsVector = new Vector(); String host = req.getServerName(); parsVector.add("#username#"); parsVector.add(postedLoginName); parsVector.add("#email#"); parsVector.add(userEmail); parsVector.add("#host#"); parsVector.add(host); String serverMasterMessage = imcref.getAdminTemplate( serverMasterMailBody, user, parsVector ); smtp.sendMailWait(emailFromServer, eMailServerMaster, null, serverMasterMessage); returnString = imcref.getAdminTemplate( returnFileBody, user, null ); } else { String errorString = imcref.getAdminTemplate( PasswordMailReminder.ERROR_STRING, null, null ); errorParsVector.add("#errorininput#"); errorParsVector.add(errorString); returnString = imcref.getAdminTemplate( PasswordMailReminder.RETURNING_DOCUMENT_INPUT, null, errorParsVector ); } Utility.setDefaultHtmlContentType( res ); ServletOutputStream out = res.getOutputStream(); out.print(returnString); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/b976789bcdac9619701cad04fe7784d23a9df4cd/PasswordMailReminder.java/buggy/server/src/com/imcode/imcms/servlet/PasswordMailReminder.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, 3639, 1748, 1438, 1123, 1195, 3639, 6246, 39, 18348, 709, 71, 1734, 273, 4257, 2081, 18, 588, 3445, 39, 18348, 5621, 3639, 1748, 4791, 3567, 1123, 1195, 3639, 709, 710, 18, 3567, 18, 3163, 751, 2589, 751, 273, 709, 71, 1734, 18, 588, 3163, 751, 5621, 3639, 514, 425, 6759, 2081, 7786, 273, 2589, 751, 18, 588, 2081, 7786, 1887, 5621, 3639, 514, 2699, 1265, 2081, 273, 2589, 751, 18, 588, 2081, 7786, 1887, 5621, 3639, 514, 4791, 1265, 273, 425, 6759, 2081, 7786, 31, 3639, 514, 4791, 3567, 273, 13134, 18, 588, 3748, 23218, 2932, 20278, 67, 3567, 8863, 3639, 514, 533, 6759, 2617, 273, 13134, 18, 588, 3748, 23218, 2932, 20278, 67, 655, 8863, 3639, 514, 533, 6759, 4538, 273, 13134, 18, 588, 3748, 23218, 2932, 20278, 67, 4538, 8863, 3639, 368, 2841, 2456, 434, 805, 17, 2372, 353, 4042, 5091, 1625, 2252, 848, 1404, 6887, 279, 15350, 298, 358, 1534, 80, 18, 3639, 509, 4791, 655, 273, 6969, 31, 3639, 775, 288, 5411, 4791, 655, 273, 2144, 18, 2670, 1702, 12, 1080, 6759, 2617, 1769, 3639, 289, 1044, 261, 1854, 9291, 5455, 13, 288, 5411, 368, 2256, 5083, 16, 2231, 4791, 655, 23449, 622, 805, 18, 3639, 289, 3639, 509, 4791, 4538, 273, 1666, 2787, 31, 3639, 775, 288, 5411, 4791, 4538, 273, 2144, 18, 2670, 1702, 12, 1080, 6759, 4538, 1769, 3639, 289, 1044, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 16517, 16, 1860, 288, 3639, 1748, 1438, 1123, 1195, 3639, 6246, 39, 18348, 709, 71, 1734, 273, 4257, 2081, 18, 588, 3445, 39, 18348, 5621, 3639, 1748, 4791, 3567, 1123, 1195, 3639, 709, 710, 18, 3567, 18, 3163, 751, 2589, 751, 273, 709, 71, 1734, 18, 588, 3163, 751, 5621, 3639, 514, 425, 6759, 2081, 7786, 273, 2589, 751, 18, 588, 2081, 7786, 1887, 5621, 3639, 514, 2699, 1265, 2081, 273, 2589, 751, 18, 588, 2081, 7786, 1887, 5621, 3639, 514, 4791, 1265, 273, 425, 6759, 2081, 7786, 31, 3639, 514, 4791, 3567, 273, 13134, 18, 588, 3748, 23218, 2932, 20278, 67, 3567, 8863, 3639, 2 ]
public void removeServer(int server_row){ try{ m_admin.unregister_server(m_servers[server_row].name); }catch(Exception _e){ handleException (_e); } fetchServers();
public void removeServer(String name){ removeServer(indexForServerName(name));
public void removeServer(int server_row){ try{ m_admin.unregister_server(m_servers[server_row].name); }catch(Exception _e){ handleException (_e); } fetchServers(); }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/18367b9c8638a766302195ae097901c5637ea11f/ImRModel.java/buggy/src/org/jacorb/imr/util/ImRModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 2081, 12, 474, 1438, 67, 492, 15329, 202, 698, 95, 202, 565, 312, 67, 3666, 18, 318, 4861, 67, 3567, 12, 81, 67, 14247, 63, 3567, 67, 492, 8009, 529, 1769, 202, 97, 14683, 12, 503, 389, 73, 15329, 202, 565, 20879, 261, 67, 73, 1769, 202, 97, 202, 5754, 11913, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 2081, 12, 474, 1438, 67, 492, 15329, 202, 698, 95, 202, 565, 312, 67, 3666, 18, 318, 4861, 67, 3567, 12, 81, 67, 14247, 63, 3567, 67, 492, 8009, 529, 1769, 202, 97, 14683, 12, 503, 389, 73, 15329, 202, 565, 20879, 261, 67, 73, 1769, 202, 97, 202, 5754, 11913, 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 ]
identifierPtr -= length; System.arraycopy(identifierStack, identifierPtr + 1, tokens, 0, length);
this.identifierPtr -= length; System.arraycopy(this.identifierStack, this.identifierPtr + 1, tokens, 0, length);
protected NameReference getUnspecifiedReferenceOptimized() { /* build a (unspecified) NameReference which may be qualified The optimization occurs for qualified reference while we are certain in this case the last item of the qualified name is a field access. This optimization is IMPORTANT while it results that when a NameReference is build, the type checker should always look for that it is not a type reference */ int length; NameReference ref; if ((length = identifierLengthStack[identifierLengthPtr--]) == 1) { // single variable reference ref = new SingleNameReference( identifierStack[identifierPtr], identifierPositionStack[identifierPtr--]); ref.bits &= ~ASTNode.RestrictiveFlagMASK; ref.bits |= LOCAL | FIELD; return ref; } //Qualified-variable-reference //In fact it is variable-reference DOT field-ref , but it would result in a type //conflict tha can be only reduce by making a superclass (or inetrface ) between //nameReference and FiledReference or putting FieldReference under NameReference //or else..........This optimisation is not really relevant so just leave as it is char[][] tokens = new char[length][]; identifierPtr -= length; System.arraycopy(identifierStack, identifierPtr + 1, tokens, 0, length); long[] positions = new long[length]; System.arraycopy(identifierPositionStack, identifierPtr + 1, positions, 0, length); ref = new QualifiedNameReference( tokens, positions, (int) (identifierPositionStack[identifierPtr + 1] >> 32), // sourceStart (int) identifierPositionStack[identifierPtr + length]); // sourceEnd ref.bits &= ~ASTNode.RestrictiveFlagMASK; ref.bits |= LOCAL | FIELD; return ref;}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/72d09911302484497c2776b017dc226fd10250ec/Parser.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 1770, 2404, 10833, 13827, 2404, 13930, 1235, 1435, 288, 202, 20308, 1361, 279, 261, 318, 13827, 13, 1770, 2404, 1492, 2026, 506, 9348, 202, 1986, 14850, 9938, 364, 9348, 2114, 1323, 732, 854, 202, 7593, 530, 316, 333, 648, 326, 1142, 761, 434, 326, 9348, 508, 353, 202, 69, 652, 2006, 18, 1220, 14850, 353, 21840, 6856, 1323, 518, 1686, 202, 19056, 1347, 279, 1770, 2404, 353, 1361, 16, 326, 618, 12489, 1410, 3712, 202, 7330, 364, 716, 518, 353, 486, 279, 618, 2114, 1195, 202, 474, 769, 31, 202, 461, 2404, 1278, 31, 202, 430, 14015, 2469, 273, 2756, 1782, 2624, 63, 5644, 1782, 5263, 413, 5717, 422, 404, 13, 288, 202, 202, 759, 2202, 2190, 2114, 202, 202, 1734, 273, 1875, 202, 2704, 10326, 461, 2404, 12, 9506, 202, 5644, 2624, 63, 5644, 5263, 6487, 4697, 202, 5644, 2555, 2624, 63, 5644, 5263, 413, 19226, 3196, 202, 1734, 18, 6789, 12058, 4871, 9053, 907, 18, 29371, 688, 4678, 11704, 31, 202, 202, 1734, 18, 6789, 5626, 15234, 571, 9921, 31, 202, 202, 2463, 1278, 31, 202, 97, 202, 759, 8708, 17, 6105, 17, 6180, 202, 759, 382, 5410, 518, 353, 2190, 17, 6180, 15772, 652, 17, 1734, 269, 1496, 518, 4102, 563, 316, 279, 618, 202, 759, 20340, 286, 69, 848, 506, 1338, 5459, 635, 10480, 279, 12098, 261, 280, 316, 16354, 865, 262, 3086, 202, 759, 529, 2404, 471, 1387, 72, 2404, 578, 29379, 2286, 2404, 3613, 1770, 2404, 202, 759, 280, 469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 1770, 2404, 10833, 13827, 2404, 13930, 1235, 1435, 288, 202, 20308, 1361, 279, 261, 318, 13827, 13, 1770, 2404, 1492, 2026, 506, 9348, 202, 1986, 14850, 9938, 364, 9348, 2114, 1323, 732, 854, 202, 7593, 530, 316, 333, 648, 326, 1142, 761, 434, 326, 9348, 508, 353, 202, 69, 652, 2006, 18, 1220, 14850, 353, 21840, 6856, 1323, 518, 1686, 202, 19056, 1347, 279, 1770, 2404, 353, 1361, 16, 326, 618, 12489, 1410, 3712, 202, 7330, 364, 716, 518, 353, 486, 279, 618, 2114, 1195, 202, 474, 769, 31, 202, 461, 2404, 1278, 31, 202, 430, 14015, 2469, 273, 2756, 1782, 2624, 63, 5644, 1782, 5263, 413, 5717, 422, 404, 13, 288, 202, 202, 759, 2202, 2190, 2114, 2 ]
java.io.StringWriter out = new java.io.StringWriter();
java.io.StringWriter out = new java.io.StringWriter();
protected void processDTD() throws XMLStreamException { try { String internalDTD = new String(buf, posStart, posEnd - posStart); int start = internalDTD.indexOf('['); int end = internalDTD.lastIndexOf(']'); if (start == -1 || end == -1 || end <= start) return; String expectedDTD = internalDTD.substring(start+1,end); DTDParser dtdParser = new DTDParser( new java.io.StringReader(expectedDTD)); DTD dtd = dtdParser.parse(); java.io.StringWriter out = new java.io.StringWriter(); // Get general entities Vector v = dtd.getItemsByType( (new com.wutka.dtd.DTDEntity()).getClass()); Enumeration e = v.elements(); while(e.hasMoreElements()) { DTDEntity entity = (DTDEntity) e.nextElement(); if (!entity.isParsed()) defineEntityReplacementText(entity.getName(), entity.getValue()); } // Get default attributes v = dtd.getItemsByType( (new com.wutka.dtd.DTDAttlist()).getClass()); e = v.elements(); while(e.hasMoreElements()) { DTDAttlist list = (DTDAttlist) e.nextElement(); DTDAttribute[] atts = list.getAttribute(); for (int i=0; i < atts.length; i++) { DTDAttribute att = atts[i]; if (att.getDefaultValue() != null) { if (defaultAttributes == null) defaultAttributes = new HashMap(); defaultAttributes.put(list.getName(), list); } } } } catch (IOException ioe) { System.out.println(ioe); ioe.printStackTrace(); throw new XMLStreamException(ioe); } }
2047 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2047/b4d373a4e6b17b6d6cfaaa6ed6787389d3446af6/MXParser.java/buggy/dev/src/com/bea/xml/stream/MXParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1207, 25728, 1435, 565, 1216, 21526, 225, 288, 565, 775, 288, 3639, 514, 2713, 25728, 273, 394, 514, 12, 4385, 16, 949, 1685, 16, 949, 1638, 300, 949, 1685, 1769, 3639, 509, 787, 273, 2713, 25728, 18, 31806, 2668, 3292, 1769, 3639, 509, 679, 273, 2713, 25728, 18, 2722, 31985, 2668, 3864, 1769, 3639, 309, 261, 1937, 422, 300, 21, 747, 679, 422, 300, 21, 747, 679, 1648, 787, 13, 327, 31, 3639, 514, 2665, 25728, 273, 2713, 25728, 18, 28023, 12, 1937, 15, 21, 16, 409, 1769, 3639, 10696, 40, 2678, 3681, 72, 2678, 273, 394, 10696, 40, 2678, 12, 17311, 394, 2252, 18, 1594, 18, 780, 2514, 12, 3825, 25728, 10019, 3639, 10696, 40, 3681, 72, 273, 3681, 72, 2678, 18, 2670, 5621, 3639, 2252, 18, 1594, 18, 780, 2289, 596, 273, 394, 2252, 18, 1594, 18, 780, 2289, 5621, 3639, 368, 968, 7470, 5140, 3639, 5589, 331, 273, 3681, 72, 18, 588, 3126, 14145, 12, 5411, 261, 2704, 532, 18, 91, 322, 7282, 18, 31834, 18, 9081, 1639, 1628, 1435, 2934, 588, 797, 10663, 3639, 13864, 425, 273, 331, 18, 6274, 5621, 3639, 1323, 12, 73, 18, 5332, 7417, 3471, 10756, 288, 1850, 10696, 1639, 1628, 1522, 273, 261, 9081, 1639, 1628, 13, 425, 18, 4285, 1046, 5621, 1850, 309, 16051, 1096, 18, 291, 11257, 10756, 5411, 4426, 1943, 15201, 1528, 12, 1096, 18, 17994, 9334, 4766, 3639, 1522, 18, 24805, 10663, 3639, 289, 3639, 368, 968, 805, 1677, 3639, 331, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1207, 25728, 1435, 565, 1216, 21526, 225, 288, 565, 775, 288, 3639, 514, 2713, 25728, 273, 394, 514, 12, 4385, 16, 949, 1685, 16, 949, 1638, 300, 949, 1685, 1769, 3639, 509, 787, 273, 2713, 25728, 18, 31806, 2668, 3292, 1769, 3639, 509, 679, 273, 2713, 25728, 18, 2722, 31985, 2668, 3864, 1769, 3639, 309, 261, 1937, 422, 300, 21, 747, 679, 422, 300, 21, 747, 679, 1648, 787, 13, 327, 31, 3639, 514, 2665, 25728, 273, 2713, 25728, 18, 28023, 12, 1937, 15, 21, 16, 409, 1769, 3639, 10696, 40, 2678, 3681, 72, 2678, 273, 394, 10696, 40, 2678, 12, 17311, 394, 2252, 18, 1594, 18, 780, 2514, 12, 3825, 25728, 10019, 3639, 10696, 40, 2 ]
break;
continue Loop;
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; String[] strings = idata.itsStringTable; int pc = 0; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; Loop: for (;;) { try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); int pcNew = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcNew >= 0) { // Has catch block doCatch = true; } } if (pcNew < 0) { pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcNew < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // Notify instruction observer if necessary // and point pc and pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = pcNew; continue Loop; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); javaException = new JavaScriptException(value, idata.itsSourceFile, sourceLine); exceptionPC = pc - 1; if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getJavaCatchPC(iCode); continue Loop; } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); stack[stackTop--] = null; continue Loop; } pc += 2; break; } case Token.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_RETSUB : { int slot = (iCode[pc] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 1 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } int newPC; Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; newPC = getJavaCatchPC(iCode); } else { // Normal return from GOSUB newPC = (int)sDbl[LOCAL_SHFT + slot]; } pcPrevBranch = pc = newPC; continue Loop; } case Token.POP : stack[stackTop] = null; stackTop--; break; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; break; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; break; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; break; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; break; } case Token.BINDNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; } case Token.SETNAME : { String name = strings[getIndex(iCode, pc)]; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, name); pc += 2; break; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); break; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case Icode_PROPINC : case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, name, scope, op == Icode_PROPINC); break; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); break; } case Token.LOCAL_SAVE : { int slot = (iCode[pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; --stackTop; ++pc; break; } case Token.LOCAL_LOAD : { int slot = (iCode[pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; ++pc; break; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); int count = getIndex(iCode, pc + 4); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 6; break; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; } case Icode_TYPEOFNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; } case Icode_NAME_AND_THIS : { String name = strings[getIndex(iCode, pc)]; boolean skipGetThis = (0 != iCode[pc + 2]); stackTop = do_nameAndThis(stack, stackTop, scope, name, skipGetThis); pc += 3; break; } case Token.STRING : stack[++stackTop] = strings[getIndex(iCode, pc)]; pc += 2; break; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; break; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; break; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc)]; pc += 2; break; case Token.NAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.name(scope, name); pc += 2; break; } case Icode_NAMEINC : case Icode_NAMEDEC : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, name, op == Icode_NAMEINC); pc += 2; break; } case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; break; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case Token.NULL : stack[++stackTop] = null; break; case Token.THIS : stack[++stackTop] = thisObj; break; case Token.THISFN : stack[++stackTop] = fnOrScript; break; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; break; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; break; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; break; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; break; case Token.CATCH_SCOPE : { String name = strings[getIndex(iCode, pc)]; stack[stackTop] = ScriptRuntime.newCatchScope(name, stack[stackTop]); pc += 2; break; } case Token.ENUM_INIT : { int slot = (iCode[pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.enumInit(lhs, scope); ++pc; break; } case Token.ENUM_NEXT : case Token.ENUM_ID : { int slot = (iCode[pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); ++pc; break; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); break; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; break; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; break; } case Icode_SCOPE : stack[++stackTop] = scope; break; case Icode_CLOSURE : { int i = getIndex(iCode, pc); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; break; } case Token.REGEXP : { int i = getIndex(iCode, pc); Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[i]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[i]; } stack[++stackTop] = regexp; pc += 2; break; } case Icode_LITERAL_NEW : { int i = getInt(iCode, pc); ++stackTop; stack[stackTop] = new Object[i]; sDbl[stackTop] = 0; pc += 4; break; } case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; break; } case Token.ARRAYLIT : case Token.OBJECTLIT : { int offset = getInt(iCode, pc); Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.ARRAYLIT) { int[] skipIndexces = null; if (offset >= 0) { skipIndexces = (int[])idata.literalIds[offset]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } else { Object[] ids = (Object[])idata.literalIds[offset]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } stack[stackTop] = val; pc += 4; break; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; break; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } // end of interpreter switch } } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } javaException = ex; exceptionPC = pc; pc = getJavaCatchPC(iCode); continue Loop; } } cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/34e9dc56b7553f450b9015c8f4135584139686cf/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
GetCompletionCallback myCB = new USKProxyCompletionCallback(usk, ctx.uskManager, cb); SingleFileFetcher sf = new SingleFileFetcher(parent, myCB, clientMetadata, usk.getSSK(edition), metaStrings, usk.getURI().addMetaStrings(metaStrings), 0, ctx, actx, maxRetries, recursionLevel, dontTellClientGet, token, false, returnBucket, isFinal); return sf;
if(edition > usk.suggestedEdition) { if(logMINOR) Logger.minor(SingleFileFetcher.class, "Redirecting to edition "+edition); cb.onFailure(new FetchException(FetchException.PERMANENT_REDIRECT, usk.copy(edition).getURI().addMetaStrings(metaStrings)), null); return null; } else { GetCompletionCallback myCB = new USKProxyCompletionCallback(usk, ctx.uskManager, cb); SingleFileFetcher sf = new SingleFileFetcher(parent, myCB, clientMetadata, usk.getSSK(), metaStrings, usk.getURI().addMetaStrings(metaStrings), 0, ctx, actx, maxRetries, recursionLevel, dontTellClientGet, token, false, returnBucket, isFinal); return sf; }
private static ClientGetState uskCreate(BaseClientGetter parent, GetCompletionCallback cb, ClientMetadata clientMetadata, USK usk, LinkedList metaStrings, FetcherContext ctx, ArchiveContext actx, int maxRetries, int recursionLevel, boolean dontTellClientGet, Object token, boolean isEssential, Bucket returnBucket, boolean isFinal) throws FetchException { if(usk.suggestedEdition >= 0) { // Return the latest known version but at least suggestedEdition. long edition = ctx.uskManager.lookup(usk); if(edition <= usk.suggestedEdition) { // Background fetch - start background fetch first so can pick up updates in the datastore during registration. ctx.uskManager.startTemporaryBackgroundFetcher(usk); edition = ctx.uskManager.lookup(usk); // Transition to SingleFileFetcher GetCompletionCallback myCB = new USKProxyCompletionCallback(usk, ctx.uskManager, cb); // Want to update the latest known good iff the fetch succeeds. SingleFileFetcher sf = new SingleFileFetcher(parent, myCB, clientMetadata, usk.getSSK(edition), metaStrings, usk.getURI().addMetaStrings(metaStrings), 0, ctx, actx, maxRetries, recursionLevel, dontTellClientGet, token, false, returnBucket, isFinal); return sf; } else { cb.onFailure(new FetchException(FetchException.PERMANENT_REDIRECT, usk.copy(edition).getURI().addMetaStrings(metaStrings)), null); return null; } } else { // Do a thorough, blocking search USKFetcher fetcher = ctx.uskManager.getFetcher(usk.copy(-usk.suggestedEdition), ctx, parent, false); if(isEssential) parent.addMustSucceedBlocks(1); fetcher.addCallback(new MyUSKFetcherCallback(parent, cb, clientMetadata, usk, metaStrings, ctx, actx, maxRetries, recursionLevel, dontTellClientGet, token, returnBucket)); return fetcher; } }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/3ee7d7b42bb8bbd126e170321a48a0658fa2347f/SingleFileFetcher.java/clean/src/freenet/client/async/SingleFileFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 2445, 967, 1119, 584, 79, 1684, 12, 2171, 1227, 8461, 982, 16, 968, 11238, 2428, 2875, 16, 2445, 2277, 1004, 2277, 16, 587, 11129, 584, 79, 16, 10688, 2191, 7957, 16, 8065, 264, 1042, 1103, 16, 13124, 1042, 1328, 92, 16, 509, 30222, 16, 509, 13917, 2355, 16, 1250, 14046, 21009, 1227, 967, 16, 1033, 1147, 16, 1250, 353, 41, 1049, 2001, 16, 7408, 327, 4103, 16, 1250, 29200, 13, 1216, 8065, 503, 288, 202, 202, 430, 12, 407, 79, 18, 87, 28892, 41, 1460, 1545, 374, 13, 288, 1082, 202, 759, 2000, 326, 4891, 4846, 1177, 1496, 622, 4520, 22168, 41, 1460, 18, 1082, 202, 5748, 28432, 273, 1103, 18, 407, 79, 1318, 18, 8664, 12, 407, 79, 1769, 1082, 202, 430, 12, 329, 608, 1648, 584, 79, 18, 87, 28892, 41, 1460, 13, 288, 9506, 202, 759, 8977, 2158, 300, 787, 5412, 2158, 1122, 1427, 848, 6002, 731, 4533, 316, 326, 9290, 4982, 7914, 18, 9506, 202, 5900, 18, 407, 79, 1318, 18, 1937, 11685, 8199, 16855, 12, 407, 79, 1769, 9506, 202, 329, 608, 273, 1103, 18, 407, 79, 1318, 18, 8664, 12, 407, 79, 1769, 9506, 202, 759, 16515, 358, 10326, 812, 16855, 9506, 202, 967, 11238, 2428, 3399, 8876, 273, 6862, 202, 2704, 587, 11129, 3886, 11238, 2428, 12, 407, 79, 16, 1103, 18, 407, 79, 1318, 16, 2875, 1769, 9506, 202, 759, 678, 970, 358, 1089, 326, 4891, 4846, 7494, 21437, 326, 2158, 21933, 18, 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, 1152, 760, 2445, 967, 1119, 584, 79, 1684, 12, 2171, 1227, 8461, 982, 16, 968, 11238, 2428, 2875, 16, 2445, 2277, 1004, 2277, 16, 587, 11129, 584, 79, 16, 10688, 2191, 7957, 16, 8065, 264, 1042, 1103, 16, 13124, 1042, 1328, 92, 16, 509, 30222, 16, 509, 13917, 2355, 16, 1250, 14046, 21009, 1227, 967, 16, 1033, 1147, 16, 1250, 353, 41, 1049, 2001, 16, 7408, 327, 4103, 16, 1250, 29200, 13, 1216, 8065, 503, 288, 202, 202, 430, 12, 407, 79, 18, 87, 28892, 41, 1460, 1545, 374, 13, 288, 1082, 202, 759, 2000, 326, 4891, 4846, 1177, 1496, 622, 4520, 22168, 41, 1460, 18, 1082, 202, 5748, 28432, 273, 1103, 18, 407, 79, 1318, 18, 2 ]
String value = normalize(ivalue, DatatypeValidator.COLLAPSE);
String value = normalize(ivalue, XSSimpleType.WS_COLLAPSE);
private Object validate(String attr, String ivalue, int dvIndex, XSDocumentInfo schemaDoc) throws InvalidDatatypeValueException { if (ivalue == null) return null; String value = normalize(ivalue, DatatypeValidator.COLLAPSE); Object retValue = value; Vector memberType; int choice; switch (dvIndex) { case DT_BOOLEAN: if (value.equals(SchemaSymbols.ATTVAL_FALSE) || value.equals(SchemaSymbols.ATTVAL_FALSE_0)) { retValue = Boolean.FALSE; } else if (value.equals(SchemaSymbols.ATTVAL_TRUE) || value.equals(SchemaSymbols.ATTVAL_TRUE_1)) { retValue = Boolean.TRUE; } else { throw new InvalidDatatypeValueException("the value '"+value+"' is not a valid boolean"); } break; case DT_NONNEGINT: try { retValue = fXIntPool.getXInt(Integer.parseInt(value)); } catch (NumberFormatException e) { throw new InvalidDatatypeValueException("the value '"+value+"' is not a valid nonNegativeInteger"); } if (((XInt)retValue).intValue() < 0) throw new InvalidDatatypeValueException("the value '"+value+"' is not a valid nonNegativeInteger"); break; case DT_BLOCK: // block = (#all | List of (substitution | extension | restriction | list | union)) choice = 0; if (value.equals (SchemaSymbols.ATTVAL_POUNDALL)) { choice = SchemaSymbols.SUBSTITUTION|SchemaSymbols.EXTENSION| SchemaSymbols.RESTRICTION|SchemaSymbols.LIST| SchemaSymbols.UNION; } else { StringTokenizer t = new StringTokenizer (value, " "); while (t.hasMoreTokens()) { String token = t.nextToken (); if (token.equals (SchemaSymbols.ATTVAL_SUBSTITUTION)) { choice |= SchemaSymbols.SUBSTITUTION; } else if (token.equals (SchemaSymbols.ATTVAL_EXTENSION)) { choice |= SchemaSymbols.EXTENSION; } else if (token.equals (SchemaSymbols.ATTVAL_RESTRICTION)) { choice |= SchemaSymbols.RESTRICTION; } else if (token.equals (SchemaSymbols.ATTVAL_LIST)) { choice |= SchemaSymbols.LIST; } else if (token.equals (SchemaSymbols.ATTVAL_UNION)) { choice |= SchemaSymbols.RESTRICTION; } else { throw new InvalidDatatypeValueException("the value '"+value+"' must match (#all | List of (substitution | extension | restriction | list | union))"); } } } retValue = fXIntPool.getXInt(choice); break; case DT_BLOCK1: case DT_FINAL: // block = (#all | List of (extension | restriction)) // final = (#all | List of (extension | restriction)) choice = 0; if (value.equals (SchemaSymbols.ATTVAL_POUNDALL)) { //choice = SchemaSymbols.EXTENSION|SchemaSymbols.RESTRICTION; // REVISIT: if #all, then make the result the combination of // everything: substitution/externsion/restriction/list/union. // would this be a problem? // the reason doing so is that when final/blockFinal on <schema> // is #all, it's not always the same as the conbination of those // values allowed by final/blockFinal. // for example, finalDefault="#all" is not always the same as // finalDefault="extension restriction". // if finalDefault="#all", final on any simple type would be // "extension restriction list union". choice = SchemaSymbols.SUBSTITUTION|SchemaSymbols.EXTENSION| SchemaSymbols.RESTRICTION|SchemaSymbols.LIST| SchemaSymbols.UNION; } else { StringTokenizer t = new StringTokenizer (value, " "); while (t.hasMoreTokens()) { String token = t.nextToken (); if (token.equals (SchemaSymbols.ATTVAL_EXTENSION)) { choice |= SchemaSymbols.EXTENSION; } else if (token.equals (SchemaSymbols.ATTVAL_RESTRICTION)) { choice |= SchemaSymbols.RESTRICTION; } else { throw new InvalidDatatypeValueException("the value '"+value+"' must match (#all | List of (extension | restriction))"); } } } retValue = fXIntPool.getXInt(choice); break; case DT_FINAL1: // final = (#all | (list | union | restriction)) choice = 0; if (value.equals (SchemaSymbols.ATTVAL_POUNDALL)) { //choice = SchemaSymbols.RESTRICTION|SchemaSymbols.LIST| // SchemaSymbols.UNION; // REVISIT: if #all, then make the result the combination of // everything: substitution/externsion/restriction/list/union. // would this be a problem? // same reason as above DT_BLOCK1/DT_FINAL choice = SchemaSymbols.SUBSTITUTION|SchemaSymbols.EXTENSION| SchemaSymbols.RESTRICTION|SchemaSymbols.LIST| SchemaSymbols.UNION; } else if (value.equals (SchemaSymbols.ATTVAL_LIST)) { choice = SchemaSymbols.LIST; } else if (value.equals (SchemaSymbols.ATTVAL_UNION)) { choice = SchemaSymbols.UNION; } else if (value.equals (SchemaSymbols.ATTVAL_RESTRICTION)) { choice = SchemaSymbols.RESTRICTION; } else { throw new InvalidDatatypeValueException("the value '"+value+"' must match (#all | (list | union | restriction))"); } retValue = fXIntPool.getXInt(choice); break; case DT_FORM: // form = (qualified | unqualified) if (value.equals (SchemaSymbols.ATTVAL_QUALIFIED)) retValue = INT_QUALIFIED; else if (value.equals (SchemaSymbols.ATTVAL_UNQUALIFIED)) retValue = INT_UNQUALIFIED; else throw new InvalidDatatypeValueException("the value '"+value+"' must match (qualified | unqualified)"); break; case DT_MAXOCCURS: // maxOccurs = (nonNegativeInteger | unbounded) if (value.equals(SchemaSymbols.ATTVAL_UNBOUNDED)) { retValue = INT_UNBOUNDED; } else { try { retValue = validate(attr, value, DT_NONNEGINT, schemaDoc); } catch (NumberFormatException e) { throw new InvalidDatatypeValueException("the value '"+value+"' must match (nonNegativeInteger | unbounded)"); } } break; case DT_MAXOCCURS1: // maxOccurs = 1 if (value.equals("1")) retValue = fXIntPool.getXInt(1); else throw new InvalidDatatypeValueException("the value '"+value+"' must be '1'"); break; case DT_MEMBERTYPES: // memberTypes = List of QName memberType = new Vector(); try { StringTokenizer t = new StringTokenizer (value, " "); while (t.hasMoreTokens()) { String token = t.nextToken (); retValue = fExtraDVs[DT_QNAME].validate(token, schemaDoc.fValidationContext); // REVISIT: should have the datatype validators return // the object representation of the value. retValue = resolveQName(token, schemaDoc); memberType.addElement(retValue); } retValue = memberType; } catch (InvalidDatatypeValueException ide) { throw new InvalidDatatypeValueException("the value '"+value+"' must match (List of QName)"); } break; case DT_MINOCCURS1: // minOccurs = (0 | 1) if (value.equals("0")) retValue = fXIntPool.getXInt(0); else if (value.equals("1")) retValue = fXIntPool.getXInt(1); else throw new InvalidDatatypeValueException("the value '"+value+"' must be '0' or '1'"); break; case DT_NAMESPACE: // namespace = ((##any | ##other) | List of (anyURI | (##targetNamespace | ##local)) ) XSWildcardDecl wildcard = null; if (value.equals(SchemaSymbols.ATTVAL_TWOPOUNDANY)) { // ##any wildcard = WC_ANY; } else if (value.equals(SchemaSymbols.ATTVAL_TWOPOUNDOTHER)) { // ##other wildcard = new XSWildcardDecl(); wildcard.fType = XSWildcardDecl.WILDCARD_OTHER; wildcard.fNamespaceList = new String[2]; wildcard.fNamespaceList[0] = schemaDoc.fTargetNamespace; wildcard.fNamespaceList[1] = null; } else { // list wildcard = new XSWildcardDecl(); wildcard.fType = XSWildcardDecl.WILDCARD_LIST; // tokenize StringTokenizer tokens = new StringTokenizer(value); String[] namespaceList = new String[tokens.countTokens()]; int nsNum = 0; String token; String tempNamespace; try { while (tokens.hasMoreTokens()) { token = tokens.nextToken(); if (token.equals(SchemaSymbols.ATTVAL_TWOPOUNDLOCAL)) { tempNamespace = null; } else if (token.equals(SchemaSymbols.ATTVAL_TWOPOUNDTARGETNS)) { tempNamespace = schemaDoc.fTargetNamespace; } else { // we have found namespace URI here // need to add it to the symbol table fExtraDVs[DT_ANYURI].validate(token, schemaDoc.fValidationContext); tempNamespace = fSymbolTable.addSymbol(token); } //check for duplicate namespaces in the list int j = 0; for (; j < nsNum; j++) { if (tempNamespace == namespaceList[j]) break; } if (j == nsNum) { // this means traversed whole for loop // i.e. not a duplicate namespace namespaceList[nsNum++] = tempNamespace; } } } catch (InvalidDatatypeValueException ide) { throw new InvalidDatatypeValueException("the value '"+value+"' must match ((##any | ##other) | List of (anyURI | (##targetNamespace | ##local)) )"); } // resize the array, so there is no empty entry if (nsNum == namespaceList.length) { wildcard.fNamespaceList = namespaceList; } else { wildcard.fNamespaceList = new String[nsNum]; System.arraycopy(namespaceList, 0, wildcard.fNamespaceList, 0, nsNum); } } retValue = wildcard; break; case DT_PROCESSCONTENTS: // processContents = (lax | skip | strict) if (value.equals (SchemaSymbols.ATTVAL_STRICT)) retValue = INT_ANY_STRICT; else if (value.equals (SchemaSymbols.ATTVAL_LAX)) retValue = INT_ANY_LAX; else if (value.equals (SchemaSymbols.ATTVAL_SKIP)) retValue = INT_ANY_SKIP; else throw new InvalidDatatypeValueException("the value '"+value+"' must match (lax | skip | strict)"); break; case DT_PUBLIC: // public = A public identifier, per ISO 8879 // REVISIT: how to validate "public"??? fExtraDVs[DT_TOKEN].validate(value, schemaDoc.fValidationContext); break; case DT_USE: // use = (optional | prohibited | required) if (value.equals (SchemaSymbols.ATTVAL_OPTIONAL)) retValue = INT_USE_OPTIONAL; else if (value.equals (SchemaSymbols.ATTVAL_REQUIRED)) retValue = INT_USE_REQUIRED; else if (value.equals (SchemaSymbols.ATTVAL_PROHIBITED)) retValue = INT_USE_PROHIBITED; else throw new InvalidDatatypeValueException("the value '"+value+"' must match (optional | prohibited | required)"); break; case DT_WHITESPACE: // value = preserve | replace | collapse if (value.equals (SchemaSymbols.ATTVAL_PRESERVE)) retValue = INT_WS_PRESERVE; else if (value.equals (SchemaSymbols.ATTVAL_REPLACE)) retValue = INT_WS_REPLACE; else if (value.equals (SchemaSymbols.ATTVAL_COLLAPSE)) retValue = INT_WS_COLLAPSE; else throw new InvalidDatatypeValueException("the value '"+value+"' must match (preserve | replace | collapse)"); break; } return retValue; }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/5b0cf65d1d2e090172d69189c96c522d6a30ac2c/XSAttributeChecker.java/buggy/src/org/apache/xerces/impl/xs/traversers/XSAttributeChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 1954, 12, 780, 1604, 16, 514, 277, 1132, 16, 509, 12494, 1016, 16, 18701, 1139, 55, 2519, 966, 1963, 1759, 13, 1216, 1962, 20228, 9738, 288, 3639, 309, 261, 427, 391, 422, 446, 13, 5411, 327, 446, 31, 540, 514, 460, 273, 3883, 12, 427, 391, 16, 1139, 1260, 2052, 559, 18, 2651, 67, 4935, 48, 2203, 1090, 1769, 3639, 1033, 21236, 273, 460, 31, 3639, 5589, 3140, 559, 31, 3639, 509, 6023, 31, 3639, 1620, 261, 15679, 1016, 13, 288, 3639, 648, 10696, 67, 17900, 30, 5411, 309, 261, 1132, 18, 14963, 12, 3078, 14821, 18, 789, 56, 2669, 67, 21053, 13, 747, 7734, 460, 18, 14963, 12, 3078, 14821, 18, 789, 56, 2669, 67, 21053, 67, 20, 3719, 288, 7734, 21236, 273, 3411, 18, 21053, 31, 5411, 289, 469, 309, 261, 1132, 18, 14963, 12, 3078, 14821, 18, 789, 56, 2669, 67, 18724, 13, 747, 15604, 460, 18, 14963, 12, 3078, 14821, 18, 789, 56, 2669, 67, 18724, 67, 21, 3719, 288, 7734, 21236, 273, 3411, 18, 18724, 31, 5411, 289, 469, 288, 7734, 604, 394, 1962, 20228, 9738, 2932, 5787, 460, 2119, 15, 1132, 15, 5187, 353, 486, 279, 923, 1250, 8863, 5411, 289, 5411, 898, 31, 3639, 648, 10696, 67, 3993, 5407, 43, 3217, 30, 5411, 775, 288, 7734, 21236, 273, 284, 60, 1702, 2864, 18, 588, 60, 1702, 12, 4522, 18, 2670, 1702, 12, 1132, 10019, 5411, 289, 1044, 261, 1854, 9291, 425, 13, 288, 7734, 604, 394, 1962, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 1954, 12, 780, 1604, 16, 514, 277, 1132, 16, 509, 12494, 1016, 16, 18701, 1139, 55, 2519, 966, 1963, 1759, 13, 1216, 1962, 20228, 9738, 288, 3639, 309, 261, 427, 391, 422, 446, 13, 5411, 327, 446, 31, 540, 514, 460, 273, 3883, 12, 427, 391, 16, 1139, 1260, 2052, 559, 18, 2651, 67, 4935, 48, 2203, 1090, 1769, 3639, 1033, 21236, 273, 460, 31, 3639, 5589, 3140, 559, 31, 3639, 509, 6023, 31, 3639, 1620, 261, 15679, 1016, 13, 288, 3639, 648, 10696, 67, 17900, 30, 5411, 309, 261, 1132, 18, 14963, 12, 3078, 14821, 18, 789, 56, 2669, 67, 21053, 13, 747, 7734, 460, 18, 14963, 12, 3078, 14821, 18, 789, 56, 2669, 67, 2 ]
log.info("Started " + objectName);
log.debug("Started " + objectName);
public void doStart() throws Exception { log.info("Started " + objectName); }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/a2608ecf073f21457f97954cda18ce59a88fe2c6/ProtocolGBean.java/buggy/modules/mail/src/java/org/apache/geronimo/mail/ProtocolGBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 1685, 1435, 1216, 1185, 288, 3639, 613, 18, 4148, 2932, 9217, 315, 397, 12282, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 741, 1685, 1435, 1216, 1185, 288, 3639, 613, 18, 4148, 2932, 9217, 315, 397, 12282, 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 ]
assertTrue("extend not added to base", !Model.getUseCasesHelper().getExtendedUseCases(base).isEmpty());
assertTrue("extend not added to base", !Model.getUseCasesHelper().getExtendingUseCases(base).isEmpty());
public void testBuildExtend1() { Object base = Model.getUseCasesFactory().createUseCase(); Object extension = Model.getUseCasesFactory().createUseCase(); Object point = Model.getUseCasesFactory() .buildExtensionPoint(base); Object extend = Model.getUseCasesFactory() .buildExtend(base, extension, point); assertTrue("extensionpoint not added to base", !Model.getFacade().getExtensionPoints(base).isEmpty()); //TODO: Check that extended use cases are getExtends2 (else use getExtendingUseCases) assertTrue("extend not added to base", !Model.getUseCasesHelper().getExtendedUseCases(base).isEmpty()); //TODO: Check that this is ok to use getExtends, and not getExtends2 assertTrue("extend not added to extension", !Model.getFacade().getExtends(extension).isEmpty()); assertTrue("extend not added to correct extensionpoint", (Model.getFacade().getExtensionPoints(extend).contains(point) && Model.getFacade().getExtensionPoints(extend).size() == 1)); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/432f4ce1b93b35e5c7095e51a6352d2e566d93ca/TestUseCasesFactory.java/clean/tests/org/argouml/model/uml/TestUseCasesFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3116, 16675, 21, 1435, 288, 3639, 1033, 1026, 273, 3164, 18, 588, 3727, 30744, 1733, 7675, 2640, 3727, 2449, 5621, 3639, 1033, 2710, 273, 3164, 18, 588, 3727, 30744, 1733, 7675, 2640, 3727, 2449, 5621, 3639, 1033, 1634, 273, 3164, 18, 588, 3727, 30744, 1733, 1435, 2398, 202, 18, 3510, 3625, 2148, 12, 1969, 1769, 3639, 1033, 2133, 273, 3164, 18, 588, 3727, 30744, 1733, 1435, 2398, 202, 18, 3510, 16675, 12, 1969, 16, 2710, 16, 1634, 1769, 3639, 1815, 5510, 2932, 6447, 1153, 486, 3096, 358, 1026, 3113, 1082, 282, 401, 1488, 18, 588, 12467, 7675, 588, 3625, 5636, 12, 1969, 2934, 291, 1921, 10663, 3639, 368, 6241, 30, 2073, 716, 7021, 999, 6088, 854, 336, 19581, 22, 261, 12107, 999, 336, 2482, 2846, 3727, 30744, 13, 4202, 1815, 5510, 2932, 14313, 486, 3096, 358, 1026, 3113, 401, 1488, 18, 588, 3727, 30744, 2276, 7675, 588, 2482, 2846, 3727, 30744, 12, 1969, 2934, 291, 1921, 10663, 4202, 368, 6241, 30, 2073, 716, 333, 353, 1529, 358, 999, 336, 19581, 16, 471, 486, 336, 19581, 22, 3639, 1815, 5510, 2932, 14313, 486, 3096, 358, 2710, 3113, 1082, 282, 401, 1488, 18, 588, 12467, 7675, 588, 19581, 12, 6447, 2934, 291, 1921, 10663, 3639, 1815, 5510, 2932, 14313, 486, 3096, 358, 3434, 2710, 1153, 3113, 1082, 282, 261, 1488, 18, 588, 12467, 7675, 588, 3625, 5636, 12, 14313, 2934, 12298, 12, 1153, 13, 1082, 565, 597, 3164, 18, 588, 12467, 7675, 588, 3625, 5636, 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, 3116, 16675, 21, 1435, 288, 3639, 1033, 1026, 273, 3164, 18, 588, 3727, 30744, 1733, 7675, 2640, 3727, 2449, 5621, 3639, 1033, 2710, 273, 3164, 18, 588, 3727, 30744, 1733, 7675, 2640, 3727, 2449, 5621, 3639, 1033, 1634, 273, 3164, 18, 588, 3727, 30744, 1733, 1435, 2398, 202, 18, 3510, 3625, 2148, 12, 1969, 1769, 3639, 1033, 2133, 273, 3164, 18, 588, 3727, 30744, 1733, 1435, 2398, 202, 18, 3510, 16675, 12, 1969, 16, 2710, 16, 1634, 1769, 3639, 1815, 5510, 2932, 6447, 1153, 486, 3096, 358, 1026, 3113, 1082, 282, 401, 1488, 18, 588, 12467, 7675, 588, 3625, 5636, 12, 1969, 2934, 291, 1921, 10663, 3639, 368, 6241, 30, 2073, 716, 7021, 999, 6088, 2 ]
public SendAction ( Map mnemonics ) { super ("Send",null); mnemonics.put( this, new Integer ('S')); setEnabled (false);
public SendAction(Map mnemonics) { super("Send", null); mnemonics.put(this, new Integer('S')); setEnabled(false);
public SendAction ( Map mnemonics ) { super ("Send",null); mnemonics.put( this, new Integer ('S')); setEnabled (false); }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/e7311a9aa2ac478953975abaa1c0c14e8201c062/PatchEdit.java/clean/JSynthLib/core/PatchEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 2479, 1803, 261, 1635, 12883, 4758, 2102, 262, 3639, 288, 5411, 2240, 7566, 3826, 3113, 2011, 1769, 202, 565, 12883, 4758, 2102, 18, 458, 12, 333, 16, 394, 2144, 7707, 55, 6134, 1769, 5411, 12888, 261, 5743, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 2479, 1803, 261, 1635, 12883, 4758, 2102, 262, 3639, 288, 5411, 2240, 7566, 3826, 3113, 2011, 1769, 202, 565, 12883, 4758, 2102, 18, 458, 12, 333, 16, 394, 2144, 7707, 55, 6134, 1769, 5411, 12888, 261, 5743, 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, -100, -100, -100, -100, -100 ]
null, "setAccesskey");
null, "setAccesskeyExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[25]; try { result[0] = new PropertyDescriptor("accesskey", ELResetTag.class, null, "setAccesskey"); result[1] = new PropertyDescriptor("alt", ELResetTag.class, null, "setAlt"); result[2] = new PropertyDescriptor("altKey", ELResetTag.class, null, "setAltKey"); // This attribute has a non-standard mapping. result[3] = new PropertyDescriptor("disabled", ELResetTag.class, null, "setDisabledExpr"); result[4] = new PropertyDescriptor("onblur", ELResetTag.class, null, "setOnblur"); result[5] = new PropertyDescriptor("onchange", ELResetTag.class, null, "setOnchange"); result[6] = new PropertyDescriptor("onclick", ELResetTag.class, null, "setOnclick"); result[7] = new PropertyDescriptor("ondblclick", ELResetTag.class, null, "setOndblclick"); result[8] = new PropertyDescriptor("onfocus", ELResetTag.class, null, "setOnfocus"); result[9] = new PropertyDescriptor("onkeydown", ELResetTag.class, null, "setOnkeydown"); result[10] = new PropertyDescriptor("onkeypress", ELResetTag.class, null, "setOnkeypress"); result[11] = new PropertyDescriptor("onkeyup", ELResetTag.class, null, "setOnkeyup"); result[12] = new PropertyDescriptor("onmousedown", ELResetTag.class, null, "setOnmousedown"); result[13] = new PropertyDescriptor("onmousemove", ELResetTag.class, null, "setOnmousemove"); result[14] = new PropertyDescriptor("onmouseout", ELResetTag.class, null, "setOnmouseout"); result[15] = new PropertyDescriptor("onmouseover", ELResetTag.class, null, "setOnmouseover"); result[16] = new PropertyDescriptor("onmouseup", ELResetTag.class, null, "setOnmouseup"); result[17] = new PropertyDescriptor("property", ELResetTag.class, null, "setProperty"); result[18] = new PropertyDescriptor("style", ELResetTag.class, null, "setStyle"); result[19] = new PropertyDescriptor("styleClass", ELResetTag.class, null, "setStyleClass"); result[20] = new PropertyDescriptor("styleId", ELResetTag.class, null, "setStyleId"); result[21] = new PropertyDescriptor("tabindex", ELResetTag.class, null, "setTabindex"); result[22] = new PropertyDescriptor("title", ELResetTag.class, null, "setTitle"); result[23] = new PropertyDescriptor("titleKey", ELResetTag.class, null, "setTitleKey"); result[24] = new PropertyDescriptor("value", ELResetTag.class, null, "setValue"); } catch (IntrospectionException ex) { ex.printStackTrace(); } return (result); }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELResetTagBeanInfo.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELResetTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 2947, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 4742, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 2390, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 2390, 653, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 653, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 9278, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 8853, 4742, 8863, 5411, 563, 63, 24, 65, 273, 394, 26761, 2932, 265, 27065, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1398, 27065, 8863, 5411, 563, 63, 25, 65, 273, 394, 26761, 2932, 265, 3427, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1398, 3427, 8863, 5411, 563, 63, 26, 65, 273, 394, 26761, 2932, 265, 7475, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1398, 7475, 8863, 5411, 563, 63, 27, 65, 273, 394, 26761, 2932, 1434, 3083, 7475, 3113, 4766, 9079, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 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, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 2947, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 4742, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 2390, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 2390, 653, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 653, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 2 ]
for (int i = 0; i < array.length; i++) { v.addElement(array[i]); } }
for (int i = 0; i < array.length; i++) { v.addElement(array[i]); } }
public static final void addAll(Vector v, Object[] array) { for (int i = 0; i < array.length; i++) { v.addElement(array[i]); } }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/XOMUtil.java/buggy/src/main/mondrian/xom/XOMUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 918, 5428, 12, 5018, 331, 16, 1033, 8526, 526, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 526, 18, 2469, 31, 277, 27245, 288, 1082, 202, 90, 18, 1289, 1046, 12, 1126, 63, 77, 19226, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 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, 727, 918, 5428, 12, 5018, 331, 16, 1033, 8526, 526, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 526, 18, 2469, 31, 277, 27245, 288, 1082, 202, 90, 18, 1289, 1046, 12, 1126, 63, 77, 19226, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private final boolean drawRaster (ColorModel cm, Raster r, AffineTransform imageToUser, Color bgcolor)
private final boolean drawRaster(ColorModel cm, Raster r, AffineTransform imageToUser, Color bgcolor)
private final boolean drawRaster (ColorModel cm, Raster r, AffineTransform imageToUser, Color bgcolor) { if (r == null) return false; SampleModel sm = r.getSampleModel (); DataBuffer db = r.getDataBuffer (); if (db == null || sm == null) return false; if (cm == null) cm = ColorModel.getRGBdefault (); double[] i2u = new double[6]; if (imageToUser != null) imageToUser.getMatrix(i2u); else { i2u[0] = 1; i2u[1] = 0; i2u[2] = 0; i2u[3] = 1; i2u[4] = 0; i2u[5] = 0; } int pixels[] = null; if (sm.getDataType () == DataBuffer.TYPE_INT && db instanceof DataBufferInt && db.getNumBanks () == 1) { // single bank, ARGB-ints buffer in sRGB space DataBufferInt dbi = (DataBufferInt)db; pixels = dbi.getData (); } else pixels = r.getPixels (0, 0, r.getWidth (), r.getHeight (), pixels); ColorSpace cs = cm.getColorSpace (); if (cs != null && cs.getType () != ColorSpace.CS_sRGB) { int pixels2[] = new int[pixels.length]; for (int i = 0; i < pixels2.length; i++) pixels2[i] = cm.getRGB (pixels[i]); pixels = pixels2; } // change all transparent pixels in the image to the // specified bgcolor if (cm.hasAlpha()) { if (bgcolor != null) for (int i = 0; i < pixels.length; i++) { if (cm.getAlpha (pixels[i]) == 0) pixels[i] = bgcolor.getRGB (); } } else for (int i = 0; i < pixels.length; i++) pixels[i] |= 0xFF000000; drawPixels (pixels, r.getWidth (), r.getHeight (), r.getWidth (), i2u); if (isBufferedImageGraphics ()) updateBufferedImage(); return true; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/b23a69766b998a4a095a0e59631aa072d973a7fe/GdkGraphics2D.java/clean/gnu/java/awt/peer/gtk/GdkGraphics2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3724, 18637, 261, 2957, 1488, 5003, 16, 30757, 436, 16, 19694, 23906, 558, 4059, 1316, 774, 1299, 16, 19694, 5563, 31509, 13, 225, 288, 565, 309, 261, 86, 422, 446, 13, 1377, 327, 629, 31, 565, 11474, 1488, 3029, 273, 436, 18, 588, 8504, 1488, 261, 1769, 565, 1910, 1892, 1319, 273, 436, 18, 588, 751, 1892, 261, 1769, 565, 309, 261, 1966, 422, 446, 747, 3029, 422, 446, 13, 1377, 327, 629, 31, 565, 309, 261, 7670, 422, 446, 13, 1377, 5003, 273, 5563, 1488, 18, 588, 11343, 1886, 261, 1769, 565, 1645, 8526, 277, 22, 89, 273, 394, 1645, 63, 26, 15533, 565, 309, 261, 2730, 774, 1299, 480, 446, 13, 1377, 1316, 774, 1299, 18, 588, 4635, 12, 77, 22, 89, 1769, 565, 469, 1377, 288, 3639, 277, 22, 89, 63, 20, 65, 273, 404, 31, 277, 22, 89, 63, 21, 65, 273, 374, 31, 3639, 277, 22, 89, 63, 22, 65, 273, 374, 31, 277, 22, 89, 63, 23, 65, 273, 404, 31, 3639, 277, 22, 89, 63, 24, 65, 273, 374, 31, 277, 22, 89, 63, 25, 65, 273, 374, 31, 1377, 289, 565, 509, 8948, 8526, 273, 446, 31, 565, 309, 261, 4808, 18, 588, 6273, 1832, 422, 1910, 1892, 18, 2399, 67, 3217, 597, 3639, 1319, 1276, 1910, 1892, 1702, 597, 3639, 1319, 18, 588, 2578, 16040, 87, 1832, 422, 404, 13, 1377, 288, 3639, 368, 2202, 11218, 16, 6052, 5887, 17, 28142, 1613, 316, 272, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3724, 18637, 261, 2957, 1488, 5003, 16, 30757, 436, 16, 19694, 23906, 558, 4059, 1316, 774, 1299, 16, 19694, 5563, 31509, 13, 225, 288, 565, 309, 261, 86, 422, 446, 13, 1377, 327, 629, 31, 565, 11474, 1488, 3029, 273, 436, 18, 588, 8504, 1488, 261, 1769, 565, 1910, 1892, 1319, 273, 436, 18, 588, 751, 1892, 261, 1769, 565, 309, 261, 1966, 422, 446, 747, 3029, 422, 446, 13, 1377, 327, 629, 31, 565, 309, 261, 7670, 422, 446, 13, 1377, 5003, 273, 5563, 1488, 18, 588, 11343, 1886, 261, 1769, 565, 1645, 8526, 277, 22, 89, 273, 394, 1645, 63, 26, 15533, 565, 309, 261, 2730, 774, 1299, 480, 446, 13, 1377, 1316, 2 ]
public void set(RubyObject value, String id, RubyObject data, RubyGlobalEntry entry);
public void set(Ruby ruby, RubyGlobalEntry entry, RubyObject value);
public void set(RubyObject value, String id, RubyObject data, RubyGlobalEntry entry);
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/4e4bb40b2eb2d38881d15ca8ef7cda4c34323793/RubyGlobalEntry.java/buggy/org/jruby/runtime/RubyGlobalEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 444, 12, 54, 10340, 921, 460, 16, 514, 612, 16, 19817, 921, 501, 16, 19817, 5160, 1622, 1241, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 444, 12, 54, 10340, 921, 460, 16, 514, 612, 16, 19817, 921, 501, 16, 19817, 5160, 1622, 1241, 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 ]
public Matrix4f setIdentity() {
public Matrix setIdentity() {
public Matrix4f setIdentity() { m00 = 1.0f; m01 = 0.0f; m02 = 0.0f; m03 = 0.0f; m10 = 0.0f; m11 = 1.0f; m12 = 0.0f; m13 = 0.0f; m20 = 0.0f; m21 = 0.0f; m22 = 1.0f; m23 = 0.0f; m30 = 0.0f; m31 = 0.0f; m32 = 0.0f; m33 = 1.0f; return this; }
5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/d4c92b230933ff4870ed6ec2e40a01330b9a90c6/Matrix4f.java/clean/src/java/org/lwjgl/vector/Matrix4f.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7298, 24, 74, 444, 4334, 1435, 288, 202, 202, 81, 713, 273, 404, 18, 20, 74, 31, 202, 202, 81, 1611, 273, 374, 18, 20, 74, 31, 202, 202, 81, 3103, 273, 374, 18, 20, 74, 31, 202, 202, 81, 4630, 273, 374, 18, 20, 74, 31, 202, 202, 81, 2163, 273, 374, 18, 20, 74, 31, 202, 202, 81, 2499, 273, 404, 18, 20, 74, 31, 202, 202, 81, 2138, 273, 374, 18, 20, 74, 31, 202, 202, 81, 3437, 273, 374, 18, 20, 74, 31, 202, 202, 81, 3462, 273, 374, 18, 20, 74, 31, 202, 202, 81, 5340, 273, 374, 18, 20, 74, 31, 202, 202, 81, 3787, 273, 404, 18, 20, 74, 31, 202, 202, 81, 4366, 273, 374, 18, 20, 74, 31, 202, 202, 81, 5082, 273, 374, 18, 20, 74, 31, 202, 202, 81, 6938, 273, 374, 18, 20, 74, 31, 202, 202, 81, 1578, 273, 374, 18, 20, 74, 31, 202, 202, 81, 3707, 273, 404, 18, 20, 74, 31, 9506, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7298, 24, 74, 444, 4334, 1435, 288, 202, 202, 81, 713, 273, 404, 18, 20, 74, 31, 202, 202, 81, 1611, 273, 374, 18, 20, 74, 31, 202, 202, 81, 3103, 273, 374, 18, 20, 74, 31, 202, 202, 81, 4630, 273, 374, 18, 20, 74, 31, 202, 202, 81, 2163, 273, 374, 18, 20, 74, 31, 202, 202, 81, 2499, 273, 404, 18, 20, 74, 31, 202, 202, 81, 2138, 273, 374, 18, 20, 74, 31, 202, 202, 81, 3437, 273, 374, 18, 20, 74, 31, 202, 202, 81, 3462, 273, 374, 18, 20, 74, 31, 202, 202, 81, 5340, 273, 374, 18, 20, 74, 31, 202, 202, 81, 3787, 273, 404, 18, 20, 74, 2 ]
Fractal.getComponentParametersController(getFcItfOwner())
Fractive.getComponentParametersController(getFcItfOwner())
private void parallelBindFc(String clientItfName, Interface serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { ProActiveInterface clientItf = (ProActiveInterface) getFcItfOwner() .getFcInterface(clientItfName); // 1. parallel.serverItf -- > subcomponent.serverItf // check : // - whether the client interface is actually a server interface for the parallel component boolean condition1 = !((InterfaceType) clientItf.getFcItfType()).isFcClientItf(); // - whether the targeted server interface belongs to an internal component boolean condition2 = ((ProActiveContentController) (Fractal.getContentController(getFcItfOwner()))).isSubComponent(serverItf.getFcItfOwner()); if (condition1 && condition2) { if (ProActiveGroup.isGroup(clientItf.getFcItfImpl())) { // we do not set the delegatee to null, the delegatee being a group, // but we remove all the elements of this group Group group = ProActiveGroup.getGroup(clientItf.getFcItfImpl()); group.add(serverItf); } else { throw new IllegalBindingException( "illegal binding : server interface " + clientItfName + " of parallel component " + Fractal.getComponentParametersController(getFcItfOwner()) .getComponentParameters().getName() + " should be a collective interface"); } } else if (!condition1 && !condition2) { // 2. parallel.clientItf --> othercomponent.serverItf // it is a standard composite binding compositeBindFc(clientItfName, serverItf); } else { throw new IllegalBindingException("illegal binding of " + Fractal.getComponentParametersController(getFcItfOwner()) .getComponentParameters().getName() + '.' + clientItfName); } // if (!((InterfaceType) serverItf.getFcItfType()).isFcClientItf()) { // // standard case for a composite binding : parallel.clientItf --> othercomponent.serverItf // compositeBindFc(clientItfName, serverItf); // } else { // System.out.println(); // //SHOULD BE A GROUP PROXY??? // // parallel.serverItf--> subcomponent.serverItf // // where subcomponent.serverItf is a group // // if (serverItf.) // } }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/bbc1d088ae52eae09663135caa7bb0eabdd0f47f/ProActiveBindingController.java/clean/src/org/objectweb/proactive/core/component/controller/ProActiveBindingController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 7230, 3357, 42, 71, 12, 780, 1004, 45, 6632, 461, 16, 6682, 1438, 45, 6632, 13, 3639, 1216, 5823, 1358, 503, 16, 2141, 5250, 503, 16, 2398, 2141, 15315, 13279, 503, 288, 3639, 1186, 3896, 1358, 1004, 45, 6632, 273, 261, 626, 3896, 1358, 13, 2812, 71, 45, 6632, 5541, 1435, 4766, 27573, 263, 588, 42, 71, 1358, 12, 2625, 45, 6632, 461, 1769, 3639, 368, 404, 18, 7230, 18, 3567, 45, 6632, 1493, 405, 720, 4652, 18, 3567, 45, 6632, 3639, 368, 866, 294, 540, 368, 225, 202, 17, 2856, 326, 1004, 1560, 353, 6013, 279, 1438, 1560, 364, 326, 7230, 1794, 3639, 1250, 2269, 21, 273, 401, 12443, 1358, 559, 13, 1004, 45, 6632, 18, 588, 42, 71, 45, 6632, 559, 1435, 2934, 291, 42, 71, 1227, 45, 6632, 5621, 3639, 368, 300, 2856, 326, 20715, 1438, 1560, 11081, 358, 392, 2713, 1794, 1850, 1250, 2269, 22, 273, 14015, 626, 3896, 1350, 2933, 13, 261, 42, 14266, 287, 18, 588, 1350, 2933, 12, 588, 42, 71, 45, 6632, 5541, 1435, 3719, 2934, 291, 1676, 1841, 12, 3567, 45, 6632, 18, 588, 42, 71, 45, 6632, 5541, 10663, 3639, 309, 261, 4175, 21, 597, 2269, 22, 13, 288, 5411, 309, 261, 626, 3896, 1114, 18, 291, 1114, 12, 2625, 45, 6632, 18, 588, 42, 71, 45, 6632, 2828, 1435, 3719, 288, 7734, 368, 732, 741, 486, 444, 326, 7152, 73, 358, 446, 16, 326, 7152, 73, 3832, 279, 1041, 16, 1171, 368, 1496, 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, 7230, 3357, 42, 71, 12, 780, 1004, 45, 6632, 461, 16, 6682, 1438, 45, 6632, 13, 3639, 1216, 5823, 1358, 503, 16, 2141, 5250, 503, 16, 2398, 2141, 15315, 13279, 503, 288, 3639, 1186, 3896, 1358, 1004, 45, 6632, 273, 261, 626, 3896, 1358, 13, 2812, 71, 45, 6632, 5541, 1435, 4766, 27573, 263, 588, 42, 71, 1358, 12, 2625, 45, 6632, 461, 1769, 3639, 368, 404, 18, 7230, 18, 3567, 45, 6632, 1493, 405, 720, 4652, 18, 3567, 45, 6632, 3639, 368, 866, 294, 540, 368, 225, 202, 17, 2856, 326, 1004, 1560, 353, 6013, 279, 1438, 1560, 364, 326, 7230, 1794, 3639, 1250, 2269, 21, 273, 401, 12443, 1358, 559, 13, 1004, 45, 6632, 2 ]
if(origSFI == null && metadata != null) return;
if((origSFI == null) && (metadata != null)) return;
public void start() throws InserterException { if(origSFI == null && metadata != null) return; origSFI.start(); origSFI = null; }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/SimpleManifestPutter.java/buggy/src/freenet/client/async/SimpleManifestPutter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 787, 1435, 1216, 657, 550, 387, 503, 288, 1082, 202, 430, 12, 4949, 55, 1653,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 787, 1435, 1216, 657, 550, 387, 503, 288, 1082, 202, 430, 12, 4949, 55, 1653, 422, 446, 597, 1982, 480, 446, 13, 327, 31, 1082, 202, 4949, 55, 1653, 18, 1937, 5621, 1082, 202, 4949, 55, 1653, 273, 446, 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 ]
TransactionManager tm = new TransactionManager(Constants.WS_AT, new EndpointReference("http:
TransactionManager tm = new TransactionManager(Constants.WS_AT, new EndpointReference("http:
public void testEchoXMLSync() throws Exception { TransactionManager tm = new TransactionManager(Constants.WS_AT, new EndpointReference("http://localhost:8082/axis/services/ActivationCoordinator")); //Thread.sleep(100000); tm.begin(); }
2720 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2720/8c140ee149d534073bfc620994a7a7fbd5ea60c9/CreateCoordinationContextTest.java/clean/test/org/apache/kandula/integration/CreateCoordinationContextTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19704, 4201, 4047, 1435, 1216, 1185, 288, 3639, 5947, 1318, 6118, 273, 394, 5947, 1318, 12, 2918, 18, 2651, 67, 789, 16, 394, 6961, 2404, 2932, 2505, 2207, 13014, 30, 3672, 11149, 19, 4890, 19, 8387, 19, 14857, 25307, 7923, 1769, 3639, 368, 3830, 18, 19607, 12, 21, 11706, 1769, 3639, 6118, 18, 10086, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19704, 4201, 4047, 1435, 1216, 1185, 288, 3639, 5947, 1318, 6118, 273, 394, 5947, 1318, 12, 2918, 18, 2651, 67, 789, 16, 394, 6961, 2404, 2932, 2505, 2207, 13014, 30, 3672, 11149, 19, 4890, 19, 8387, 19, 14857, 25307, 7923, 1769, 3639, 368, 3830, 18, 19607, 12, 21, 11706, 1769, 3639, 6118, 18, 10086, 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 ]
Iterator iter = tables.iterator();
writeDotHeader(includeImplied ? "impliedTwoDegreesRelationshipsGraph" : (twoDegreesOfSeparation ? "twoDegreesRelationshipsGraph" : "oneDegreeRelationshipsGraph"), out);
public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter = tables.iterator(); while (iter.hasNext()) { Table table = (Table)iter.next(); if (!table.isOrphan(includeImplied)) { formatter.writeNode(table, "tables/", true, false, false, out); ++numWritten; } } Set relationships = new TreeSet(); iter = tables.iterator(); while (iter.hasNext()) relationships.addAll(formatter.getRelationships((Table)iter.next(), includeImplied)); iter = relationships.iterator(); while (iter.hasNext()) out.writeln(iter.next().toString()); out.writeln("}"); return numWritten; }
52841 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52841/48ee8bdf64b2c24381c7773bc379b8466bc08aec/DotFormatter.java/buggy/src/net/sourceforge/schemaspy/view/DotFormatter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1045, 17185, 12, 2532, 4606, 16, 1250, 2341, 2828, 2092, 16, 5377, 2289, 596, 13, 1216, 1860, 288, 3639, 17502, 1388, 5074, 4453, 273, 394, 17502, 1388, 5074, 5621, 3639, 509, 818, 12643, 273, 374, 31, 3639, 1045, 10412, 1864, 12, 6702, 2828, 2092, 692, 315, 454, 17185, 4137, 6, 294, 315, 7688, 17185, 4137, 3113, 596, 1769, 3639, 1045, 10412, 1864, 12, 6702, 2828, 2092, 692, 315, 381, 3110, 11710, 24400, 17185, 4137, 6, 294, 261, 15415, 24400, 951, 5097, 4302, 692, 315, 15415, 24400, 17185, 4137, 6, 294, 315, 476, 22885, 17185, 4137, 6, 3631, 596, 1769, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 5411, 3555, 1014, 273, 261, 1388, 13, 2165, 18, 4285, 5621, 5411, 309, 16051, 2121, 18, 291, 30509, 12, 6702, 2828, 2092, 3719, 288, 7734, 4453, 18, 2626, 907, 12, 2121, 16, 315, 9373, 19, 3113, 638, 16, 629, 16, 629, 16, 596, 1769, 7734, 965, 2107, 12643, 31, 5411, 289, 3639, 289, 3639, 1000, 11499, 273, 394, 19461, 5621, 3639, 1400, 273, 4606, 18, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 5411, 11499, 18, 1289, 1595, 12, 12354, 18, 588, 17185, 12443, 1388, 13, 2165, 18, 4285, 9334, 2341, 2828, 2092, 10019, 3639, 1400, 273, 11499, 18, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 5411, 596, 18, 5363, 292, 82, 12, 2165, 18, 4285, 7675, 10492, 10663, 3639, 596, 18, 5363, 292, 82, 2932, 1532, 1769, 3639, 327, 818, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1045, 17185, 12, 2532, 4606, 16, 1250, 2341, 2828, 2092, 16, 5377, 2289, 596, 13, 1216, 1860, 288, 3639, 17502, 1388, 5074, 4453, 273, 394, 17502, 1388, 5074, 5621, 3639, 509, 818, 12643, 273, 374, 31, 3639, 1045, 10412, 1864, 12, 6702, 2828, 2092, 692, 315, 454, 17185, 4137, 6, 294, 315, 7688, 17185, 4137, 3113, 596, 1769, 3639, 1045, 10412, 1864, 12, 6702, 2828, 2092, 692, 315, 381, 3110, 11710, 24400, 17185, 4137, 6, 294, 261, 15415, 24400, 951, 5097, 4302, 692, 315, 15415, 24400, 17185, 4137, 6, 294, 315, 476, 22885, 17185, 4137, 6, 3631, 596, 1769, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 5411, 3555, 1014, 273, 261, 1388, 13, 2165, 2 ]
public boolean matches(Map headers)
public boolean matches(FieldTable headers)
public boolean matches(Map headers) { if(headers == null) { return required.isEmpty() && matches.isEmpty(); } else { return matchAny ? or(headers) : and(headers); } }
45585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45585/9cad5792c8fa0203114d63a1851b0a9181c967f5/HeadersBinding.java/buggy/qpid/java/broker/src/main/java/org/apache/qpid/server/exchange/HeadersBinding.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1885, 12, 974, 1388, 1607, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1885, 12, 974, 1388, 1607, 13, 565, 288, 3639, 309, 12, 2485, 422, 446, 13, 3639, 288, 5411, 327, 1931, 18, 291, 1921, 1435, 597, 1885, 18, 291, 1921, 5621, 3639, 289, 3639, 469, 3639, 288, 5411, 327, 845, 2961, 692, 578, 12, 2485, 13, 294, 471, 12, 2485, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (method.equals("CONNECT") || method.equals("GET") || method.equals("HEAD")) {
if (method.equals("CONNECT") || method.equals("GET") || method.equals("HEAD") || method.equals("TRACE")) {
public void read(InputStream is) throws IOException { this.is = is; String line = readLine(is); String[] parts = line.split(" "); if (parts.length == 0) { System.err.println("Empty request!"); } else if (parts.length == 2 || parts.length == 3) { setMethod(parts[0]); if (getMethod().equalsIgnoreCase("CONNECT")) { setURL("https://" + parts[1] + "/"); } else { setURL(parts[1]); } } else { throw new IOException("Invalid request line reading from the InputStream"); } if (parts.length == 3) { setVersion(parts[2]); } else { setVersion("HTTP/0.9"); } super.read(is); if (method.equals("CONNECT") || method.equals("GET") || method.equals("HEAD")) { // These methods cannot include a body setContentStream(null); setContent(null); } }
31053 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31053/61ac0c01f78287ede6ce7c47bf4569ed2412edb5/Request.java/buggy/src/org/owasp/webscarab/model/Request.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 12, 4348, 353, 13, 1216, 1860, 288, 3639, 333, 18, 291, 273, 353, 31, 3639, 514, 980, 273, 12273, 12, 291, 1769, 3639, 514, 8526, 2140, 273, 980, 18, 4939, 2932, 315, 1769, 3639, 309, 261, 6019, 18, 2469, 422, 374, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 1921, 590, 4442, 1769, 3639, 289, 469, 309, 261, 6019, 18, 2469, 422, 576, 747, 2140, 18, 2469, 422, 890, 13, 288, 5411, 19539, 12, 6019, 63, 20, 19226, 5411, 309, 261, 588, 1305, 7675, 14963, 5556, 2932, 11032, 6, 3719, 288, 7734, 444, 1785, 2932, 4528, 14334, 397, 2140, 63, 21, 65, 397, 4016, 1769, 5411, 289, 469, 288, 7734, 444, 1785, 12, 6019, 63, 21, 19226, 5411, 289, 3639, 289, 469, 288, 5411, 604, 394, 1860, 2932, 1941, 590, 980, 6453, 628, 326, 5037, 8863, 3639, 289, 3639, 309, 261, 6019, 18, 2469, 422, 890, 13, 288, 5411, 16770, 12, 6019, 63, 22, 19226, 3639, 289, 469, 288, 5411, 16770, 2932, 3693, 19, 20, 18, 29, 8863, 3639, 289, 3639, 2240, 18, 896, 12, 291, 1769, 3639, 309, 261, 2039, 18, 14963, 2932, 11032, 7923, 747, 707, 18, 14963, 2932, 3264, 7923, 747, 707, 18, 14963, 2932, 12458, 7923, 747, 707, 18, 14963, 2932, 23827, 6, 3719, 288, 5411, 368, 8646, 2590, 2780, 2341, 279, 1417, 5411, 10651, 1228, 12, 2011, 1769, 5411, 10651, 12, 2011, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 12, 4348, 353, 13, 1216, 1860, 288, 3639, 333, 18, 291, 273, 353, 31, 3639, 514, 980, 273, 12273, 12, 291, 1769, 3639, 514, 8526, 2140, 273, 980, 18, 4939, 2932, 315, 1769, 3639, 309, 261, 6019, 18, 2469, 422, 374, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 1921, 590, 4442, 1769, 3639, 289, 469, 309, 261, 6019, 18, 2469, 422, 576, 747, 2140, 18, 2469, 422, 890, 13, 288, 5411, 19539, 12, 6019, 63, 20, 19226, 5411, 309, 261, 588, 1305, 7675, 14963, 5556, 2932, 11032, 6, 3719, 288, 7734, 444, 1785, 2932, 4528, 14334, 397, 2140, 63, 21, 65, 397, 4016, 1769, 5411, 289, 469, 288, 7734, 444, 1785, 12, 6019, 2 ]
MakeCorePlugin.getDefault().getDiscoveryManager().updateDiscoveredInfo(pathInfo, null);
List resourceDelta = new ArrayList(1); resourceDelta.add(project); MakeCorePlugin.getDefault().getDiscoveryManager().updateDiscoveredInfo(pathInfo, resourceDelta);
public synchronized void updateScannerConfiguration(IProgressMonitor monitor) throws CoreException { if (monitor == null) { monitor = new NullProgressMonitor(); } IDiscoveredPathInfo pathInfo = MakeCorePlugin.getDefault().getDiscoveryManager().getDiscoveredInfo(project); if (pathInfo instanceof IPerProjectDiscoveredPathInfo) { IPerProjectDiscoveredPathInfo projectPathInfo = (IPerProjectDiscoveredPathInfo) pathInfo; monitor.beginTask(MakeMessages.getString("ScannerInfoCollector.Processing"), 100); //$NON-NLS-1$ if (pathInfo != null) { monitor.subTask(MakeMessages.getString("ScannerInfoCollector.Processing")); //$NON-NLS-1$ if (scannerConfigNeedsUpdate(projectPathInfo)) { monitor.worked(50); monitor.subTask(MakeMessages.getString("ScannerInfoCollector.Updating") + project.getName()); //$NON-NLS-1$ try { // update scanner configuration MakeCorePlugin.getDefault().getDiscoveryManager().updateDiscoveredInfo(pathInfo, null); monitor.worked(50); } catch (CoreException e) { MakeCorePlugin.log(e); } } } monitor.done(); scPersisted = true; } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/fb26e4691f62afa275255119036721980746f45b/PerProjectSICollector.java/clean/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/scannerconfig2/PerProjectSICollector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1089, 11338, 1750, 12, 45, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 3639, 1599, 291, 16810, 743, 966, 17058, 273, 4344, 4670, 3773, 18, 588, 1868, 7675, 588, 11918, 1318, 7675, 588, 28851, 966, 12, 4406, 1769, 3639, 309, 261, 803, 966, 1276, 467, 2173, 4109, 28851, 743, 966, 13, 288, 5411, 467, 2173, 4109, 28851, 743, 966, 1984, 743, 966, 273, 261, 45, 2173, 4109, 28851, 743, 966, 13, 17058, 31, 13491, 6438, 18, 10086, 2174, 12, 6464, 5058, 18, 588, 780, 2932, 11338, 966, 7134, 18, 7798, 6, 3631, 2130, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 309, 261, 803, 966, 480, 446, 13, 288, 7734, 6438, 18, 1717, 2174, 12, 6464, 5058, 18, 588, 780, 2932, 11338, 966, 7134, 18, 7798, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 309, 261, 26842, 809, 26419, 1891, 12, 4406, 743, 966, 3719, 288, 10792, 6438, 18, 1252, 329, 12, 3361, 1769, 10792, 6438, 18, 1717, 2174, 12, 6464, 5058, 18, 588, 780, 2932, 11338, 966, 7134, 18, 17858, 7923, 397, 1984, 18, 17994, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 10792, 775, 288, 13491, 368, 1089, 7683, 1664, 13491, 987, 1058, 9242, 273, 394, 2407, 12, 21, 1769, 1058, 9242, 18, 1289, 12, 4406, 1769, 4344, 4670, 3773, 18, 588, 1868, 7675, 588, 11918, 1318, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1089, 11338, 1750, 12, 45, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 3639, 1599, 291, 16810, 743, 966, 17058, 273, 4344, 4670, 3773, 18, 588, 1868, 7675, 588, 11918, 1318, 7675, 588, 28851, 966, 12, 4406, 1769, 3639, 309, 261, 803, 966, 1276, 467, 2173, 4109, 28851, 743, 966, 13, 288, 5411, 467, 2173, 4109, 28851, 743, 966, 1984, 743, 966, 273, 261, 45, 2173, 4109, 28851, 743, 966, 13, 17058, 31, 13491, 6438, 18, 10086, 2174, 12, 6464, 5058, 18, 588, 780, 2932, 11338, 966, 7134, 18, 7798, 6, 3631, 2130, 1769, 2 ]
public BooleanWeight2(Searcher searcher) { super(searcher); }
public BooleanWeight2(Searcher searcher) throws IOException { super(searcher); }
public BooleanWeight2(Searcher searcher) { super(searcher); }
50125 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50125/e4bd7151061f409e2881de2fd0cde649af13e7c5/BooleanQuery.java/clean/src/java/org/apache/lucene/search/BooleanQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3411, 6544, 22, 12, 2979, 264, 27349, 13, 288, 225, 2240, 12, 3072, 264, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3072, 264, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return 107; }
return 107; }
public int getVersionOfFirstRelease(){ return 107; }
55939 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55939/f13d81739af31354f83b14c9490772258666d61b/JukesCantorDistance.java/buggy/Source/mesquite/distance/JukesCantorDistance/JukesCantorDistance.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9785, 202, 482, 509, 8343, 951, 3759, 7391, 1435, 95, 202, 377, 202, 202, 2463, 1728, 27, 31, 21114, 377, 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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 981, 30, 9785, 202, 482, 509, 8343, 951, 3759, 7391, 1435, 95, 202, 377, 202, 202, 2463, 1728, 27, 31, 21114, 377, 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 ]
settings), settings);
settings));
public JavaLanguage() { super("JAVA", "text/java"); myFormattingModelBuilder = new FormattingModelBuilder() { public FormattingModel createModel(final PsiElement element, final CodeStyleSettings settings) { return new PsiBasedFormattingModel(element.getContainingFile(), AbstractJavaBlock.createJavaBlock(SourceTreeToPsiMap.psiElementToTree(element), settings), settings); } }; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8440b555a5532a243be03bd555d1348ef20331b3/JavaLanguage.java/buggy/source/com/intellij/lang/java/JavaLanguage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5110, 3779, 1435, 288, 565, 2240, 2932, 27264, 3113, 315, 955, 19, 6290, 8863, 565, 3399, 23974, 1488, 1263, 273, 394, 4077, 1787, 1488, 1263, 1435, 288, 1377, 1071, 4077, 1787, 1488, 15552, 12, 6385, 453, 7722, 1046, 930, 16, 727, 3356, 2885, 2628, 1947, 13, 288, 3639, 327, 394, 453, 7722, 9802, 23974, 1488, 12, 2956, 18, 588, 24344, 812, 9334, 4115, 5852, 1768, 18, 2640, 5852, 1768, 12, 1830, 2471, 774, 52, 7722, 863, 18, 24275, 1046, 774, 2471, 12, 2956, 3631, 28524, 4766, 1850, 1947, 10019, 1377, 289, 565, 289, 31,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5110, 3779, 1435, 288, 565, 2240, 2932, 27264, 3113, 315, 955, 19, 6290, 8863, 565, 3399, 23974, 1488, 1263, 273, 394, 4077, 1787, 1488, 1263, 1435, 288, 1377, 1071, 4077, 1787, 1488, 15552, 12, 6385, 453, 7722, 1046, 930, 16, 727, 3356, 2885, 2628, 1947, 13, 288, 3639, 327, 394, 453, 7722, 9802, 23974, 1488, 12, 2956, 18, 588, 24344, 812, 9334, 4115, 5852, 1768, 18, 2640, 5852, 1768, 12, 1830, 2471, 774, 52, 7722, 863, 18, 24275, 1046, 774, 2471, 12, 2956, 3631, 28524, 4766, 1850, 1947, 10019, 1377, 289, 565, 289, 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 ]
{ try { if(emptyCell) { os.write(RtfWriter.openGroup); os.write(RtfWriter.closeGroup); } else { os.write(RtfWriter.openGroup); Iterator cellIterator = store.getChunks().iterator(); while(cellIterator.hasNext()) { Element element = (Element) cellIterator.next(); element.process(writer); } os.write(RtfWriter.closeGroup); } os.write(RtfWriter.openGroup); os.write(RtfWriter.escape); os.write(cellEnd); os.write(RtfWriter.closeGroup); } catch(IOException e) { return false; } return true; }
{ try { switch(store.horizontalAlignment()) { case Element.ALIGN_LEFT : os.write(RtfWriter.escape); os.write(cellHorizontalAlignLeft); break; case Element.ALIGN_CENTER : os.write(RtfWriter.escape); os.write(cellHorizontalAlignCenter); break; case Element.ALIGN_RIGHT : os.write(RtfWriter.escape); os.write(cellHorizontalAlignRight); break; case Element.ALIGN_JUSTIFIED : os.write(RtfWriter.escape); os.write(cellHorizontalAlignJustified); break; } os.write(RtfWriter.escape); os.write(cellInTable); if(emptyCell) { os.write(RtfWriter.openGroup); } else { os.write(RtfWriter.openGroup); Iterator cellIterator = store.getChunks().iterator(); while(cellIterator.hasNext()) { Element element = (Element) cellIterator.next(); element.process(writer); } } os.write(RtfWriter.escape); os.write(cellEnd); os.write(RtfWriter.closeGroup); os.write((byte)'\n'); } catch(IOException e) { return false; } return true; }
public boolean writeCellContent(OutputStream os) throws DocumentException { try { if(emptyCell) { os.write(RtfWriter.openGroup); os.write(RtfWriter.closeGroup); } else { os.write(RtfWriter.openGroup); Iterator cellIterator = store.getChunks().iterator(); while(cellIterator.hasNext()) { Element element = (Element) cellIterator.next(); element.process(writer); } os.write(RtfWriter.closeGroup); } os.write(RtfWriter.openGroup); os.write(RtfWriter.escape); os.write(cellEnd); os.write(RtfWriter.closeGroup); } catch(IOException e) { return false; } return true; }
6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/0b04663d2974e5a85037d82e2f9e0613ea48178b/RtfCell.java/buggy/src/com/lowagie/text/rtf/RtfCell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1045, 4020, 1350, 12, 4632, 1140, 13, 1216, 4319, 503, 225, 288, 565, 775, 1377, 288, 202, 430, 12, 5531, 4020, 13, 202, 225, 288, 202, 565, 1140, 18, 2626, 12, 54, 6632, 2289, 18, 3190, 1114, 1769, 202, 565, 1140, 18, 2626, 12, 54, 6632, 2289, 18, 4412, 1114, 1769, 202, 225, 289, 202, 12107, 202, 225, 288, 202, 565, 1140, 18, 2626, 12, 54, 6632, 2289, 18, 3190, 1114, 1769, 202, 565, 4498, 2484, 3198, 273, 1707, 18, 588, 14975, 7675, 9838, 5621, 202, 565, 1323, 12, 3855, 3198, 18, 5332, 2134, 10756, 202, 1377, 288, 202, 202, 1046, 930, 273, 261, 1046, 13, 2484, 3198, 18, 4285, 5621, 202, 202, 2956, 18, 2567, 12, 6299, 1769, 202, 1377, 289, 202, 565, 1140, 18, 2626, 12, 54, 6632, 2289, 18, 4412, 1114, 1769, 202, 225, 289, 202, 538, 18, 2626, 12, 54, 6632, 2289, 18, 3190, 1114, 1769, 202, 538, 18, 2626, 12, 54, 6632, 2289, 18, 6939, 1769, 202, 538, 18, 2626, 12, 3855, 1638, 1769, 202, 538, 18, 2626, 12, 54, 6632, 2289, 18, 4412, 1114, 1769, 1377, 289, 565, 1044, 12, 14106, 425, 13, 1377, 288, 202, 2463, 629, 31, 1377, 289, 565, 327, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1045, 4020, 1350, 12, 4632, 1140, 13, 1216, 4319, 503, 225, 288, 565, 775, 1377, 288, 202, 430, 12, 5531, 4020, 13, 202, 225, 288, 202, 565, 1140, 18, 2626, 12, 54, 6632, 2289, 18, 3190, 1114, 1769, 202, 565, 1140, 18, 2626, 12, 54, 6632, 2289, 18, 4412, 1114, 1769, 202, 225, 289, 202, 12107, 202, 225, 288, 202, 565, 1140, 18, 2626, 12, 54, 6632, 2289, 18, 3190, 1114, 1769, 202, 565, 4498, 2484, 3198, 273, 1707, 18, 588, 14975, 7675, 9838, 5621, 202, 565, 1323, 12, 3855, 3198, 18, 5332, 2134, 10756, 202, 1377, 288, 202, 202, 1046, 930, 273, 261, 1046, 13, 2484, 3198, 18, 4285, 5621, 202, 202, 2956, 18, 2567, 2 ]
setDivergence(capsule.readFloat("divergence", 0f));
public void read(JMEImporter e) throws IOException { super.read(e); InputCapsule capsule = e.getCapsule(this); strength = capsule.readFloat("strength", 1f); axis = (Line)capsule.readSavable("axis", new Line(new Vector3f(), new Vector3f(Vector3f.UNIT_Y))); random = capsule.readBoolean("random", false); transformWithScene = capsule.readBoolean("transformWithScene", true); setDivergence(capsule.readFloat("divergence", 0f)); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/469cdf25435780813e869ad1de79d545e6385c12/SimpleParticleInfluenceFactory.java/clean/src/com/jmex/effects/particles/SimpleParticleInfluenceFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 855, 12, 46, 958, 21927, 425, 13, 1216, 1860, 288, 5411, 2240, 18, 896, 12, 73, 1769, 5411, 2741, 24193, 725, 15788, 725, 273, 425, 18, 588, 24193, 725, 12, 2211, 1769, 5411, 21638, 273, 15788, 725, 18, 896, 4723, 2932, 334, 13038, 3113, 404, 74, 1769, 5411, 2654, 273, 261, 1670, 13, 22984, 725, 18, 896, 55, 842, 429, 2932, 4890, 3113, 394, 5377, 12, 2704, 5589, 23, 74, 9334, 7734, 394, 5589, 23, 74, 12, 5018, 23, 74, 18, 15736, 67, 61, 3719, 1769, 5411, 2744, 273, 15788, 725, 18, 896, 5507, 2932, 9188, 3113, 629, 1769, 5411, 2510, 1190, 14370, 273, 15788, 725, 18, 896, 5507, 2932, 6547, 1190, 14370, 3113, 638, 1769, 10402, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 855, 12, 46, 958, 21927, 425, 13, 1216, 1860, 288, 5411, 2240, 18, 896, 12, 73, 1769, 5411, 2741, 24193, 725, 15788, 725, 273, 425, 18, 588, 24193, 725, 12, 2211, 1769, 5411, 21638, 273, 15788, 725, 18, 896, 4723, 2932, 334, 13038, 3113, 404, 74, 1769, 5411, 2654, 273, 261, 1670, 13, 22984, 725, 18, 896, 55, 842, 429, 2932, 4890, 3113, 394, 5377, 12, 2704, 5589, 23, 74, 9334, 7734, 394, 5589, 23, 74, 12, 5018, 23, 74, 18, 15736, 67, 61, 3719, 1769, 5411, 2744, 273, 15788, 725, 18, 896, 5507, 2932, 9188, 3113, 629, 1769, 5411, 2510, 1190, 14370, 273, 15788, 725, 18, 896, 5507, 2932, 6547, 1190, 14370, 3113, 638, 1769, 2 ]
protected void notifyFolderListeners(int type, Folder folder) {
protected void notifyFolderListeners(int type) {
protected void notifyFolderListeners(int type, Folder folder) { Iterator it = _folderListeners.iterator(); FolderEvent event = new FolderEvent(this, folder, type); while (it.hasNext()) { FolderListener listener = (FolderListener) it.next(); event.dispatch(listener); } }
8608 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8608/6cb08879b7bab85bd63c251e85695eefb6285f45/Folder.java/clean/javamail/src/java/javax/mail/Folder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5066, 3899, 5583, 12, 474, 618, 13, 288, 3639, 4498, 518, 273, 389, 5609, 5583, 18, 9838, 5621, 3639, 12623, 1133, 871, 273, 394, 12623, 1133, 12, 2211, 16, 3009, 16, 618, 1769, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 12623, 2223, 2991, 273, 261, 3899, 2223, 13, 518, 18, 4285, 5621, 5411, 871, 18, 10739, 12, 12757, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5066, 3899, 5583, 12, 474, 618, 13, 288, 3639, 4498, 518, 273, 389, 5609, 5583, 18, 9838, 5621, 3639, 12623, 1133, 871, 273, 394, 12623, 1133, 12, 2211, 16, 3009, 16, 618, 1769, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 12623, 2223, 2991, 273, 261, 3899, 2223, 13, 518, 18, 4285, 5621, 5411, 871, 18, 10739, 12, 12757, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
c.getGraphics().drawString( "" + box.list_count, box.x - 15, box.y + box.height / 2 + 8 );
drawText(c,box,type);
public static void paint( Context c, Box box ) { String type = c.css.getStringProperty( box.node, "list-style-type" ); if ( type.equals( "none" ) ) { return; } String image = c.css.getStringProperty( box.node, "list-style-image" ); Image img = null; if ( !image.equals( "none" ) ) { try { //u.p("loading: " + image); img = ImageUtil.loadImage( c, image ); } catch ( Exception ex ) { u.p( ex ); } //u.p("image = " + img); if ( img != null ) { int rad = 8; int baseline = box.height; c.getGraphics().drawImage( img, box.x - img.getWidth( null ) - 2, box.y + baseline / 2 - img.getHeight( null ) / 2 + 2, null ); return; } } if ( type.equals( "disc" ) ) { int rad = 8;// change this to use the glyph height int baseline = box.height;// change this to use the real baseline c.getGraphics().fillOval( box.x - rad - 2, box.y + baseline / 2 - rad / 2 + 2, rad, rad ); return; } if ( type.equals( "square" ) ) { int rad = 8;// change this to use the glyph height int baseline = box.height;// change this to use the real baseline c.getGraphics().fillRect( box.x - rad - 2, box.y + baseline / 2 - rad / 2 + 2, rad, rad ); return; } if ( type.equals( "circle" ) ) { int rad = 8;// change this to use the glyph height int baseline = box.height;// change this to use the real baseline c.getGraphics().drawOval( box.x - rad - 2, box.y + baseline / 2 - rad / 2 + 2, rad, rad ); return; } if ( type.equals( "lower-greek" ) ) { type = "decimal"; } if ( type.equals( "decimal-leading-zero" ) ) { type = "decimal"; } if ( type.equals( "decimal" ) ) { c.getGraphics().drawString( "" + box.list_count, box.x - 15, box.y + box.height / 2 + 8 ); return; } if ( type.equals( "lower-latin" ) ) { c.getGraphics().drawString( "" + toLatin( box.list_count ).toLowerCase(), box.x - 15, box.y + box.height / 2 + 8 ); return; } if ( type.equals( "upper-latin" ) ) { c.getGraphics().drawString( "" + toLatin( box.list_count ).toUpperCase(), box.x - 15, box.y + box.height / 2 + 8 ); return; } if ( type.equals( "lower-roman" ) ) { c.getGraphics().drawString( "" + toRoman( box.list_count ).toLowerCase(), box.x - 15, box.y + box.height / 2 + 8 ); return; } if ( type.equals( "upper-roman" ) ) { c.getGraphics().drawString( "" + toRoman( box.list_count ).toUpperCase(), box.x - 15, box.y + box.height / 2 + 8 ); return; } }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/b8ec7bbd87872ee5ec335fe20a53f57e92850c9c/ListItemPainter.java/clean/src/java/org/xhtmlrenderer/render/ListItemPainter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 12574, 12, 1772, 276, 16, 8549, 3919, 262, 288, 3639, 514, 618, 273, 276, 18, 5212, 18, 588, 780, 1396, 12, 3919, 18, 2159, 16, 315, 1098, 17, 4060, 17, 723, 6, 11272, 3639, 309, 261, 618, 18, 14963, 12, 315, 6102, 6, 262, 262, 288, 5411, 327, 31, 3639, 289, 3639, 514, 1316, 273, 276, 18, 5212, 18, 588, 780, 1396, 12, 3919, 18, 2159, 16, 315, 1098, 17, 4060, 17, 2730, 6, 11272, 3639, 3421, 3774, 273, 446, 31, 3639, 309, 261, 401, 2730, 18, 14963, 12, 315, 6102, 6, 262, 262, 288, 5411, 775, 288, 7734, 368, 89, 18, 84, 2932, 15174, 30, 315, 397, 1316, 1769, 7734, 3774, 273, 3421, 1304, 18, 945, 2040, 12, 276, 16, 1316, 11272, 5411, 289, 1044, 261, 1185, 431, 262, 288, 7734, 582, 18, 84, 12, 431, 11272, 5411, 289, 5411, 368, 89, 18, 84, 2932, 2730, 273, 315, 397, 3774, 1769, 5411, 309, 261, 3774, 480, 446, 262, 288, 7734, 509, 6719, 273, 1725, 31, 7734, 509, 14243, 273, 3919, 18, 4210, 31, 7734, 276, 18, 588, 17558, 7675, 9446, 2040, 12, 3774, 16, 3919, 18, 92, 300, 3774, 18, 588, 2384, 12, 446, 262, 300, 576, 16, 3919, 18, 93, 397, 14243, 342, 576, 300, 3774, 18, 588, 2686, 12, 446, 262, 342, 576, 397, 576, 16, 446, 11272, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 309, 261, 618, 18, 14963, 12, 315, 2251, 71, 6, 262, 262, 288, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 12574, 12, 1772, 276, 16, 8549, 3919, 262, 288, 3639, 514, 618, 273, 276, 18, 5212, 18, 588, 780, 1396, 12, 3919, 18, 2159, 16, 315, 1098, 17, 4060, 17, 723, 6, 11272, 3639, 309, 261, 618, 18, 14963, 12, 315, 6102, 6, 262, 262, 288, 5411, 327, 31, 3639, 289, 3639, 514, 1316, 273, 276, 18, 5212, 18, 588, 780, 1396, 12, 3919, 18, 2159, 16, 315, 1098, 17, 4060, 17, 2730, 6, 11272, 3639, 3421, 3774, 273, 446, 31, 3639, 309, 261, 401, 2730, 18, 14963, 12, 315, 6102, 6, 262, 262, 288, 5411, 775, 288, 7734, 368, 89, 18, 84, 2932, 15174, 30, 315, 397, 1316, 1769, 7734, 3774, 273, 3421, 1304, 2 ]
System.out.println("Got a response");
public void processResponse(ResponseEvent responseReceivedEvent) { System.out.println("Got a response"); Response response = (Response) responseReceivedEvent.getResponse(); Transaction tid = responseReceivedEvent.getClientTransaction(); System.out.println( "Response received with client transaction id " + tid + ":\n" + response); try { if (response.getStatusCode() == Response.OK && ((CSeqHeader) response.getHeader(CSeqHeader.NAME)) .getMethod() .equals( Request.INVITE)) { Dialog dialog = tid.getDialog(); // Save the tags for the dialog here. Request request = tid.getRequest(); dialog.sendAck(request); } Dialog dialog = tid.getDialog(); System.out.println("Dalog State = " + dialog.getState()); } catch (Exception ex) { ex.printStackTrace(); System.exit(0); } }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/Shootme.java/clean/src/examples/multi/Shootme.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1207, 1064, 12, 1064, 1133, 766, 8872, 1133, 13, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 15617, 279, 766, 8863, 202, 202, 1064, 766, 273, 261, 1064, 13, 766, 8872, 1133, 18, 588, 1064, 5621, 202, 202, 3342, 11594, 273, 766, 8872, 1133, 18, 588, 1227, 3342, 5621, 202, 202, 3163, 18, 659, 18, 8222, 12, 1082, 202, 6, 1064, 5079, 598, 1004, 2492, 612, 315, 9506, 202, 15, 11594, 9506, 202, 15, 315, 5581, 82, 6, 9506, 202, 15, 766, 1769, 202, 202, 698, 288, 1082, 202, 430, 261, 2740, 18, 588, 14041, 1435, 422, 2306, 18, 3141, 9506, 202, 10, 10, 14015, 39, 6926, 1864, 13, 766, 18, 588, 1864, 12, 39, 6926, 1864, 18, 1985, 3719, 6862, 202, 18, 588, 1305, 1435, 6862, 202, 18, 14963, 12, 6862, 202, 691, 18, 706, 58, 5398, 3719, 288, 9506, 202, 6353, 6176, 273, 11594, 18, 588, 6353, 5621, 9506, 202, 759, 7074, 326, 2342, 364, 326, 6176, 2674, 18, 9506, 202, 691, 590, 273, 11594, 18, 588, 691, 5621, 9506, 202, 12730, 18, 4661, 11931, 12, 2293, 1769, 1082, 202, 97, 1082, 202, 6353, 6176, 273, 11594, 18, 588, 6353, 5621, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 40, 6238, 3287, 273, 315, 397, 6176, 18, 588, 1119, 10663, 202, 202, 97, 1044, 261, 503, 431, 13, 288, 1082, 202, 338, 18, 1188, 6332, 5621, 1082, 202, 3163, 18, 8593, 12, 20, 1769, 202, 202, 97, 202, 97, 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, 225, 202, 482, 918, 1207, 1064, 12, 1064, 1133, 766, 8872, 1133, 13, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 15617, 279, 766, 8863, 202, 202, 1064, 766, 273, 261, 1064, 13, 766, 8872, 1133, 18, 588, 1064, 5621, 202, 202, 3342, 11594, 273, 766, 8872, 1133, 18, 588, 1227, 3342, 5621, 202, 202, 3163, 18, 659, 18, 8222, 12, 1082, 202, 6, 1064, 5079, 598, 1004, 2492, 612, 315, 9506, 202, 15, 11594, 9506, 202, 15, 315, 5581, 82, 6, 9506, 202, 15, 766, 1769, 202, 202, 698, 288, 1082, 202, 430, 261, 2740, 18, 588, 14041, 1435, 422, 2306, 18, 3141, 9506, 202, 10, 10, 14015, 39, 6926, 1864, 13, 766, 18, 588, 1864, 12, 2 ]
Logger.error(this, "Caught IOException on chkStore.seek("+byteOffset+")");
Logger.error(this, "Caught IOException on chkStore.seek("+byteOffset+ ')');
private boolean writeNewBlock(long blockNum, byte[] header, byte[] data, Transaction t, DatabaseEntry routingkeyDBE) throws DatabaseException, IOException { long byteOffset = blockNum*(dataBlockSize+headerBlockSize); StoreBlock storeBlock = new StoreBlock(this, blockNum); DatabaseEntry blockDBE = new DatabaseEntry(); storeBlockTupleBinding.objectToEntry(storeBlock, blockDBE); try { chkDB.put(t,routingkeyDBE,blockDBE); } catch (DatabaseException e) { DatabaseEntry blockNumEntry = new DatabaseEntry(); DatabaseEntry found = new DatabaseEntry(); longTupleBinding.objectToEntry(new Long(blockNum), blockNumEntry); OperationStatus success = chkDB_blockNum.get(t, blockNumEntry, found, LockMode.DEFAULT); if(success == OperationStatus.KEYEXIST || success == OperationStatus.SUCCESS) { System.err.println("Trying to overwrite block "+blockNum+" but already used"); return false; } else { Logger.minor(this, "Key doesn't exist for block num "+blockNum+" but caught "+e, e); throw e; } } synchronized(chkStore) { try { chkStore.seek(byteOffset); } catch (IOException ioe) { if(byteOffset > (2*1024*1024*1024)) { Logger.error(this, "Environment does not support files bigger than 2 GB?"); System.out.println("Environment does not support files bigger than 2 GB? (exception to follow)"); } Logger.error(this, "Caught IOException on chkStore.seek("+byteOffset+")"); throw ioe; } chkStore.write(header); chkStore.write(data); } return true; }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/62fd59041864b4ed1f43adc676de6bfb5ea977f3/BerkeleyDBFreenetStore.java/buggy/src/freenet/store/BerkeleyDBFreenetStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1045, 1908, 1768, 12, 5748, 1203, 2578, 16, 1160, 8526, 1446, 16, 1160, 8526, 501, 16, 5947, 268, 16, 5130, 1622, 7502, 856, 2290, 41, 13, 1216, 27215, 16, 1860, 288, 202, 202, 5748, 1160, 2335, 273, 1203, 2578, 21556, 892, 22506, 15, 3374, 22506, 1769, 202, 202, 2257, 1768, 1707, 1768, 273, 394, 4994, 1768, 12, 2211, 16, 1203, 2578, 1769, 202, 202, 4254, 1622, 1203, 2290, 41, 273, 394, 5130, 1622, 5621, 202, 202, 2233, 1768, 9038, 5250, 18, 1612, 774, 1622, 12, 2233, 1768, 16, 1203, 2290, 41, 1769, 202, 202, 698, 288, 1082, 202, 27038, 2290, 18, 458, 12, 88, 16, 16529, 856, 2290, 41, 16, 2629, 2290, 41, 1769, 202, 202, 97, 1044, 261, 4254, 503, 425, 13, 288, 1082, 202, 4254, 1622, 1203, 2578, 1622, 273, 394, 5130, 1622, 5621, 1082, 202, 4254, 1622, 1392, 273, 394, 5130, 1622, 5621, 1082, 202, 5748, 9038, 5250, 18, 1612, 774, 1622, 12, 2704, 3407, 12, 2629, 2578, 3631, 1203, 2578, 1622, 1769, 25083, 202, 2988, 1482, 2216, 273, 4697, 202, 27038, 2290, 67, 2629, 2578, 18, 588, 12, 88, 16, 1203, 2578, 1622, 16, 1392, 16, 3488, 2309, 18, 5280, 1769, 1082, 202, 430, 12, 4768, 422, 22004, 18, 3297, 11838, 747, 2216, 422, 22004, 18, 12778, 13, 288, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 18038, 358, 6156, 1203, 13773, 2629, 2578, 9078, 1496, 1818, 1399, 8863, 9506, 202, 2463, 629, 31, 1082, 202, 97, 469, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1045, 1908, 1768, 12, 5748, 1203, 2578, 16, 1160, 8526, 1446, 16, 1160, 8526, 501, 16, 5947, 268, 16, 5130, 1622, 7502, 856, 2290, 41, 13, 1216, 27215, 16, 1860, 288, 202, 202, 5748, 1160, 2335, 273, 1203, 2578, 21556, 892, 22506, 15, 3374, 22506, 1769, 202, 202, 2257, 1768, 1707, 1768, 273, 394, 4994, 1768, 12, 2211, 16, 1203, 2578, 1769, 202, 202, 4254, 1622, 1203, 2290, 41, 273, 394, 5130, 1622, 5621, 202, 202, 2233, 1768, 9038, 5250, 18, 1612, 774, 1622, 12, 2233, 1768, 16, 1203, 2290, 41, 1769, 202, 202, 698, 288, 1082, 202, 27038, 2290, 18, 458, 12, 88, 16, 16529, 856, 2290, 41, 16, 2629, 2290, 41, 1769, 202, 2 ]
SocketException(String message)
SocketException()
SocketException(String message){ super(message);}
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/daca25b853b52ea5035f6979a325fe030df38870/SocketException.java/buggy/libjava/java/net/SocketException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 8758, 503, 12, 780, 883, 15329, 225, 2240, 12, 2150, 1769, 97, 2, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 8758, 503, 12, 780, 883, 15329, 225, 2240, 12, 2150, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ChemObject chemObject = new ChemObject();
ChemObject chemObject = builder.newChemObject();
public void testShallowCopy() { ChemObject chemObject = new ChemObject(); Object clone = chemObject.clone(); assertNotNull(clone); assertTrue(clone instanceof ChemObject); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/2569471249d8066c9cb1c037569a570e039ed288/ChemObjectTest.java/clean/src/org/openscience/cdk/test/ChemObjectTest.java
[ 1, 8585, 326, 22398, 316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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, 565, 1071, 918, 1842, 1555, 5965, 2951, 1435, 288, 3639, 26542, 921, 19028, 921, 273, 2089, 18, 2704, 20200, 921, 5621, 3639, 1033, 3236, 273, 19028, 921, 18, 14056, 5621, 3639, 25395, 12, 14056, 1769, 3639, 1815, 5510, 12, 14056, 1276, 26542, 921, 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 ]
public void setName (Symbol name)
public void setName (String name)
public void setName (Symbol name) { this.name = name; }
37648 /local/tlutelli/issta_data/temp/all_java3context/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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 6788, 261, 780, 508, 13, 225, 288, 565, 333, 18, 529, 273, 508, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
switch ( eDerivedStructuralFeatureID( eFeature ) )
switch ( featureID )
public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.STYLE__FONT : return font != null; case AttributePackage.STYLE__COLOR : return color != null; case AttributePackage.STYLE__BACKGROUND_COLOR : return backgroundColor != null; case AttributePackage.STYLE__BACKGROUND_IMAGE : return backgroundImage != null; case AttributePackage.STYLE__PADDING : return padding != null; } return eDynamicIsSet( eFeature ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/StyleImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/StyleImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20372, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 25221, 294, 9506, 202, 2463, 3512, 480, 446, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 10989, 294, 9506, 202, 2463, 2036, 480, 446, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 8720, 20166, 67, 10989, 294, 9506, 202, 2463, 22508, 480, 446, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 8720, 20166, 67, 13603, 294, 9506, 202, 2463, 5412, 2040, 480, 446, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 52, 26710, 294, 9506, 202, 2463, 4992, 480, 446, 31, 202, 202, 97, 202, 202, 2463, 425, 9791, 15737, 12, 425, 4595, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 25221, 294, 9506, 202, 2463, 3512, 480, 446, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 10989, 294, 9506, 202, 2463, 2036, 480, 446, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 8720, 20166, 67, 10989, 294, 9506, 202, 2463, 22508, 480, 446, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 8720, 20166, 67, 13603, 294, 9506, 202, 2463, 5412, 2040, 480, 446, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 972, 52, 26710, 294, 9506, 202, 2 ]
log.error(ioError);
System.err.println(ioError);
public static void main(String[] args) { String config="config.txt"; BufferedReader fileReader; String line; boolean sender=false; int num_msgs=1000; int msg_size=500; int num_senders=1; long log_interval=1000; ConnectionFactory factory; InitialContext ctx; TopicConnection conn; TopicSession session; TopicPublisher pub; Topic topic; String topic_name="topic/testTopic"; for(int i=0; i < args.length; i++) { if("-sender".equals(args[i])) { sender=true; continue; } if("-receiver".equals(args[i])) { sender=false; continue; } if("-config".equals(args[i])) { config=args[++i]; continue; } help(); return; } try { fileReader=new BufferedReader(new FileReader(config)); while((line=fileReader.readLine()) != null) { if(line.startsWith("#")) continue; else if(line.startsWith("NUM_MSGS=")) { num_msgs=Integer.parseInt(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("MSG_SIZE=")) { msg_size=Integer.parseInt(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("GRPMEMBERS=")) { grpMembers=Integer.parseInt(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("NUM_SENDERS=")) { num_senders=Integer.parseInt(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("LOG_INTERVAL=")) { log_interval=Long.parseLong(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("TOPIC=")) { topic_name=line.substring(line.indexOf('=') + 1, line.indexOf(';')); } else if(line.startsWith("GNUPLOT_OUTPUT=")) { // only parse if not yet set by -Dgnuplot_output=true option (overrides file) if(System.getProperty("gnuplot_output") == null) { String gnuplot_output=line.substring(line.indexOf('=') + 1, line.indexOf(';')).trim(); if(gnuplot_output != null) System.setProperty("gnuplot_output", gnuplot_output); } } } fileReader.close(); System.out.println("Javagroups test:"); String s="Initial params parsing completed. Starting test" + " with these values:\n" + "Sender:" + sender + " num_msgs:" + num_msgs + " Size(bytes):" + msg_size + " # Mbrs:" + grpMembers + " Senders: " + num_senders + "\nLog interval: " + log_interval + '\n'; System.out.println(s); Logger.getLogger(Test.class).info("main(): " + s); ctx=new InitialContext(); factory=(ConnectionFactory)ctx.lookup("ConnectionFactory"); conn=((TopicConnectionFactory)factory).createTopicConnection(); session=conn.createTopicSession(false, Session.AUTO_ACKNOWLEDGE); topic=(Topic)ctx.lookup(topic_name); pub=session.createPublisher(topic); new JmsTester(conn, session, topic, pub, sender, num_msgs, msg_size, grpMembers, num_senders, log_interval).initialize(); } catch(FileNotFoundException notFound) { log.error("File not found.\n" + notFound); } catch(IOException ioError) { log.error(ioError); } catch(Exception ex) { ex.printStackTrace(); } }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/13de68466e3cf7fde6ee0bde0cee09a33e837e89/Test.java/clean/tests/other/org/jgroups/tests/adaptjms/Test.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 514, 642, 1546, 1425, 18, 5830, 14432, 3639, 10633, 585, 2514, 31, 3639, 514, 980, 31, 3639, 1250, 5793, 33, 5743, 31, 3639, 509, 818, 67, 27439, 33, 18088, 31, 3639, 509, 1234, 67, 1467, 33, 12483, 31, 3639, 509, 818, 67, 4661, 414, 33, 21, 31, 3639, 1525, 282, 613, 67, 6624, 33, 18088, 31, 3639, 4050, 1733, 3272, 31, 3639, 10188, 1042, 1103, 31, 3639, 11789, 1952, 1487, 31, 3639, 11789, 2157, 1339, 31, 3639, 11789, 15960, 5634, 31, 3639, 11789, 3958, 31, 3639, 514, 3958, 67, 529, 1546, 10476, 19, 3813, 6657, 14432, 3639, 364, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 309, 2932, 17, 15330, 9654, 14963, 12, 1968, 63, 77, 22643, 288, 7734, 5793, 33, 3767, 31, 7734, 1324, 31, 5411, 289, 5411, 309, 2932, 17, 24454, 9654, 14963, 12, 1968, 63, 77, 22643, 288, 7734, 5793, 33, 5743, 31, 7734, 1324, 31, 5411, 289, 5411, 309, 2932, 17, 1425, 9654, 14963, 12, 1968, 63, 77, 22643, 288, 7734, 642, 33, 1968, 63, 9904, 77, 15533, 7734, 1324, 31, 5411, 289, 5411, 2809, 5621, 5411, 327, 31, 3639, 289, 3639, 775, 288, 5411, 585, 2514, 33, 2704, 10633, 12, 2704, 23010, 12, 1425, 10019, 5411, 1323, 12443, 1369, 33, 768, 2514, 18, 896, 1670, 10756, 480, 446, 13, 288, 7734, 309, 12, 1369, 18, 17514, 1190, 2932, 17133, 3719, 10792, 1324, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 514, 642, 1546, 1425, 18, 5830, 14432, 3639, 10633, 585, 2514, 31, 3639, 514, 980, 31, 3639, 1250, 5793, 33, 5743, 31, 3639, 509, 818, 67, 27439, 33, 18088, 31, 3639, 509, 1234, 67, 1467, 33, 12483, 31, 3639, 509, 818, 67, 4661, 414, 33, 21, 31, 3639, 1525, 282, 613, 67, 6624, 33, 18088, 31, 3639, 4050, 1733, 3272, 31, 3639, 10188, 1042, 1103, 31, 3639, 11789, 1952, 1487, 31, 3639, 11789, 2157, 1339, 31, 3639, 11789, 15960, 5634, 31, 3639, 11789, 3958, 31, 3639, 514, 3958, 67, 529, 1546, 10476, 19, 3813, 6657, 14432, 3639, 364, 12, 474, 277, 33, 20, 31, 277, 411, 833, 2 ]
if (set instanceof AggregateWorkingSet) aggregateSets.add(set); else standardSets.add(set);
if (set instanceof AggregateWorkingSet) { aggregateSets.add(set); } else { standardSets.add(set); }
protected void saveWorkingSetState(IMemento memento) { Iterator iterator = workingSets.iterator(); // break the sets into aggregates and non aggregates. The aggregates should be saved after the non-aggregates // so that on restoration all necessary aggregate components can be found. ArrayList standardSets = new ArrayList(); ArrayList aggregateSets = new ArrayList(); while (iterator.hasNext()) { IWorkingSet set = (IWorkingSet) iterator.next(); if (set instanceof AggregateWorkingSet) // do we need an isAggregate method? would it otherwise be useful? aggregateSets.add(set); else standardSets.add(set); } saveWorkingSetState(memento, standardSets); saveWorkingSetState(memento, aggregateSets); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/AbstractWorkingSetManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/AbstractWorkingSetManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1923, 14836, 694, 1119, 12, 3445, 820, 83, 312, 820, 83, 13, 288, 3639, 4498, 2775, 273, 5960, 2785, 18, 9838, 5621, 7734, 368, 898, 326, 1678, 1368, 29389, 471, 1661, 29389, 18, 225, 1021, 29389, 1410, 506, 5198, 1839, 326, 1661, 17, 10751, 815, 3639, 368, 1427, 716, 603, 3127, 22226, 777, 4573, 7047, 4085, 848, 506, 1392, 18, 7734, 2407, 4529, 2785, 273, 394, 2407, 5621, 3639, 2407, 7047, 2785, 273, 394, 2407, 5621, 3639, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 540, 202, 202, 45, 14836, 694, 444, 273, 261, 45, 14836, 694, 13, 2775, 18, 4285, 5621, 540, 202, 202, 430, 261, 542, 1276, 18059, 14836, 694, 13, 368, 741, 732, 1608, 392, 353, 11490, 707, 35, 225, 4102, 518, 3541, 506, 5301, 35, 540, 1082, 202, 18573, 2785, 18, 1289, 12, 542, 1769, 540, 202, 202, 12107, 540, 1082, 202, 10005, 2785, 18, 1289, 12, 542, 1769, 3639, 289, 3639, 1923, 14836, 694, 1119, 12, 81, 820, 83, 16, 4529, 2785, 1769, 3639, 1923, 14836, 694, 1119, 12, 81, 820, 83, 16, 7047, 2785, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 5621, 7734, 368, 898, 326, 1678, 1368, 29389, 471, 1661, 29389, 18, 225, 1021, 29389, 1410, 506, 5198, 1839, 326, 1661, 17, 10751, 815, 3639, 368, 1427, 716, 603, 3127, 22226, 777, 4573, 7047, 4085, 848, 506, 1392, 18, 7734, 2407, 4529, 2785, 273, 394, 2407, 5621, 3639, 2407, 7047, 2785, 273, 394, 2407, 5621, 3639, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 540, 202, 202, 45, 14836, 694, 444, 273, 261, 45, 14836, 694, 13, 2775, 18, 4285, 5621, 540, 202, 202, 430, 261, 542, 1276, 18059, 14836, 694, 13, 368, 741, 732, 2 ]
ContainerGenerator generator = new ContainerGenerator(destination); generator.generateContainer(new SubProgressMonitor(monitor, 10)); IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 75); copy(resources, destination, subMonitor); } catch (CoreException e) { recordError(e);
AbstractWorkspaceOperation op = getUndoableCopyOrMoveOperation( resources, destination); op.setModelProviderIds(getModelProviderIds()); PlatformUI.getWorkbench().getOperationSupport() .getOperationHistory().execute(op, monitor, WorkspaceUndoUtil.getUIInfoAdapter(messageShell)); } catch (ExecutionException e) { if (e.getCause() instanceof CoreException) { recordError((CoreException)e.getCause()); } else { IDEWorkbenchPlugin.log(e.getMessage(), e); displayError(e.getMessage()); }
private boolean performCopy(IResource[] resources, IPath destination, IProgressMonitor monitor) { try { ContainerGenerator generator = new ContainerGenerator(destination); generator.generateContainer(new SubProgressMonitor(monitor, 10)); IProgressMonitor subMonitor = new SubProgressMonitor(monitor, 75); copy(resources, destination, subMonitor); } catch (CoreException e) { recordError(e); // log error return false; } finally { monitor.done(); } return true; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/53cada7d6d0463cdcb3aed320ea380f4aae64087/CopyFilesAndFoldersOperation.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 3073, 2951, 12, 45, 1420, 8526, 2703, 16, 467, 743, 2929, 16, 1082, 202, 45, 5491, 7187, 6438, 13, 288, 202, 202, 698, 288, 1082, 202, 2170, 3908, 4456, 273, 394, 4039, 3908, 12, 10590, 1769, 1082, 202, 8812, 18, 7163, 2170, 12, 2704, 2592, 5491, 7187, 12, 10259, 16, 1728, 10019, 1082, 202, 45, 5491, 7187, 720, 7187, 273, 394, 2592, 5491, 7187, 12, 10259, 16, 18821, 1769, 1082, 202, 3530, 12, 4683, 16, 2929, 16, 720, 7187, 1769, 202, 202, 97, 1044, 261, 25341, 425, 13, 288, 1082, 202, 3366, 668, 12, 73, 1769, 368, 613, 555, 1082, 202, 2463, 629, 31, 202, 202, 97, 3095, 288, 1082, 202, 10259, 18, 8734, 5621, 202, 202, 97, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 3073, 2951, 12, 45, 1420, 8526, 2703, 16, 467, 743, 2929, 16, 1082, 202, 45, 5491, 7187, 6438, 13, 288, 202, 202, 698, 288, 1082, 202, 2170, 3908, 4456, 273, 394, 4039, 3908, 12, 10590, 1769, 1082, 202, 8812, 18, 7163, 2170, 12, 2704, 2592, 5491, 7187, 12, 10259, 16, 1728, 10019, 1082, 202, 45, 5491, 7187, 720, 7187, 273, 394, 2592, 5491, 7187, 12, 10259, 16, 18821, 1769, 1082, 202, 3530, 12, 4683, 16, 2929, 16, 720, 7187, 1769, 202, 202, 97, 1044, 261, 25341, 425, 13, 288, 1082, 202, 3366, 668, 12, 73, 1769, 368, 613, 555, 1082, 202, 2463, 629, 31, 202, 202, 97, 3095, 288, 1082, 202, 10259, 18, 8734, 5621, 2 ]
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentException("magic"); } // version if (k[4] != 0x01) { throw new IllegalArgumentException("version"); } int i = 5; int l; byte[] buffer; // p l = k[i++] << 24 | (k[i++] & 0xFF) << 16 | (k[i++] & 0xFF) << 8 | (k[i++] & 0xFF); buffer = new byte[l]; System.arraycopy(k, i, buffer, 0, l); i += l; BigInteger p = new BigInteger(1, buffer); // q l = k[i++] << 24 | (k[i++] & 0xFF) << 16 | (k[i++] & 0xFF) << 8 | (k[i++] & 0xFF); buffer = new byte[l]; System.arraycopy(k, i, buffer, 0, l); i += l; BigInteger q = new BigInteger(1, buffer); // g l = k[i++] << 24 | (k[i++] & 0xFF) << 16 | (k[i++] & 0xFF) << 8 | (k[i++] & 0xFF); buffer = new byte[l]; System.arraycopy(k, i, buffer, 0, l); i += l; BigInteger g = new BigInteger(1, buffer); // y l = k[i++] << 24 | (k[i++] & 0xFF) << 16 | (k[i++] & 0xFF) << 8 | (k[i++] & 0xFF); buffer = new byte[l]; System.arraycopy(k, i, buffer, 0, l); i += l; BigInteger y = new BigInteger(1, buffer); return new DSSPublicKey(p, q, g, y); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/DSSKeyPairRawCodec.java/buggy/core/src/classpath/gnu/gnu/java/security/key/dss/DSSKeyPairRawCodec.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9632, 3922, 9632, 12, 7229, 8526, 79, 15329, 759, 11179, 430, 12, 79, 63, 20, 65, 5, 33, 4243, 18, 49, 22247, 67, 10821, 67, 40, 1260, 67, 14939, 67, 3297, 63, 20, 12369, 96, 79, 63, 21, 65, 5, 33, 4243, 18, 49, 22247, 67, 10821, 67, 40, 1260, 67, 14939, 67, 3297, 63, 21, 12369, 96, 79, 63, 22, 65, 5, 33, 4243, 18, 49, 22247, 67, 10821, 67, 40, 1260, 67, 14939, 67, 3297, 63, 22, 12369, 96, 79, 63, 23, 65, 5, 33, 4243, 18, 49, 22247, 67, 10821, 67, 40, 1260, 67, 14939, 67, 3297, 63, 23, 5717, 95, 12849, 2704, 31237, 2932, 11179, 8863, 97, 759, 1589, 430, 12, 79, 63, 24, 65, 5, 33, 20, 92, 1611, 15329, 12849, 2704, 31237, 2932, 1589, 8863, 97, 474, 77, 33, 25, 31, 474, 80, 31, 7229, 8526, 4106, 31, 759, 412, 33, 79, 63, 77, 9904, 65, 17685, 3247, 96, 12, 79, 63, 77, 9904, 65, 10, 20, 6356, 13, 17685, 2313, 96, 12, 79, 63, 77, 9904, 65, 10, 20, 6356, 13, 17685, 28, 96, 12, 79, 63, 77, 9904, 65, 10, 20, 6356, 1769, 4106, 33, 2704, 7229, 63, 80, 15533, 3163, 18, 1126, 3530, 12, 79, 16, 77, 16, 4106, 16, 20, 16, 80, 1769, 77, 15, 33, 80, 31, 24198, 84, 33, 2704, 24198, 12, 21, 16, 4106, 1769, 759, 1217, 33, 79, 63, 77, 9904, 65, 17685, 3247, 96, 12, 79, 63, 77, 9904, 65, 10, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9632, 3922, 9632, 12, 7229, 8526, 79, 15329, 759, 11179, 430, 12, 79, 63, 20, 65, 5, 33, 4243, 18, 49, 22247, 67, 10821, 67, 40, 1260, 67, 14939, 67, 3297, 63, 20, 12369, 96, 79, 63, 21, 65, 5, 33, 4243, 18, 49, 22247, 67, 10821, 67, 40, 1260, 67, 14939, 67, 3297, 63, 21, 12369, 96, 79, 63, 22, 65, 5, 33, 4243, 18, 49, 22247, 67, 10821, 67, 40, 1260, 67, 14939, 67, 3297, 63, 22, 12369, 96, 79, 63, 23, 65, 5, 33, 4243, 18, 49, 22247, 67, 10821, 67, 40, 1260, 67, 14939, 67, 3297, 63, 23, 5717, 95, 12849, 2704, 31237, 2932, 11179, 8863, 97, 759, 1589, 430, 12, 79, 63, 24, 2 ]
return awtFont.getSize2D();
return size;
public float getSize() { return awtFont.getSize2D(); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/ec5c7e43ea8c69519830a03c30ca27a7c284ae65/AWTGVTFont.java/clean/sources/org/apache/batik/gvt/font/AWTGVTFont.java
[ 1, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1431, 9950, 1435, 288, 3639, 327, 963, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public IUndoContext[] getContexts() {
public final IUndoContext[] getContexts() {
public IUndoContext[] getContexts() { return (IUndoContext[]) contexts.toArray(new IUndoContext[contexts .size()]); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/febaf92160fd09a23955a4d76d4df8c38ac49098/AbstractOperation.java/clean/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/AbstractOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 31224, 1042, 8526, 6474, 87, 1435, 288, 202, 202, 2463, 261, 45, 31224, 1042, 63, 5717, 5781, 18, 31447, 12, 2704, 467, 31224, 1042, 63, 18332, 9506, 202, 18, 1467, 1435, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 31224, 1042, 8526, 6474, 87, 1435, 288, 202, 202, 2463, 261, 45, 31224, 1042, 63, 5717, 5781, 18, 31447, 12, 2704, 467, 31224, 1042, 63, 18332, 9506, 202, 18, 1467, 1435, 19226, 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 ]
B = unHex(str.charAt(k + 1)) * 16
B = unHex(str.charAt(k + 1)) * 16
private static String decode(Context cx, String str, String reservedSet) { int start, k = 0; char C, H; int V; int B; char[] octets = new char[6]; StringBuffer R; int j, n; R = new StringBuffer(); while (k < str.length()) { C = str.charAt(k); if (C == '%') { start = k; if ((k + 2) >= str.length()) throw cx.reportRuntimeError0("msg.bad.uri"); if (!isHex(str.charAt(k + 1)) || !isHex(str.charAt(k + 2))) throw cx.reportRuntimeError0("msg.bad.uri"); B = unHex(str.charAt(k + 1)) * 16 + unHex(str.charAt(k + 2)); k += 2; if ((B & 0x80) == 0) C = (char)B; else { n = 1; while ((B & (0x80 >>> n)) != 0) n++; if ((n == 1) || (n > 6)) throw cx.reportRuntimeError0("msg.bad.uri"); octets[0] = (char)B; if ((k + 3 * (n - 1)) >= str.length()) throw cx.reportRuntimeError0("msg.bad.uri"); for (j = 1; j < n; j++) { k++; if (str.charAt(k) != '%') throw cx.reportRuntimeError0("msg.bad.uri"); if (!isHex(str.charAt(k + 1)) || !isHex(str.charAt(k + 2))) throw cx.reportRuntimeError0("msg.bad.uri"); B = unHex(str.charAt(k + 1)) * 16 + unHex(str.charAt(k + 2)); if ((B & 0xC0) != 0x80) throw cx.reportRuntimeError0("msg.bad.uri"); k += 2; octets[j] = (char)B; } V = utf8ToOneUcs4Char(octets, n); if (V >= 0x10000) { V -= 0x10000; if (V > 0xFFFFF) throw cx.reportRuntimeError0("msg.bad.uri"); C = (char)((V & 0x3FF) + 0xDC00); H = (char)((V >>> 10) + 0xD800); R.append(H); } else C = (char)V; } if (reservedSet.indexOf(C) != -1) { for (int x = 0; x < (k - start + 1); x++) R.append(str.charAt(start + x)); } else R.append(C); } else R.append(C); k++; } return R.toString(); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/5c6a10b4e7eedcdaa0b23264bede49775fe775d6/NativeGlobal.java/buggy/src/org/mozilla/javascript/NativeGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 2495, 12, 1042, 9494, 16, 514, 609, 16, 514, 8735, 694, 13, 288, 3639, 509, 787, 16, 417, 273, 374, 31, 3639, 1149, 385, 16, 670, 31, 3639, 509, 776, 31, 3639, 509, 605, 31, 3639, 1149, 8526, 25497, 273, 394, 1149, 63, 26, 15533, 3639, 6674, 534, 31, 3639, 509, 525, 16, 290, 31, 3639, 534, 273, 394, 6674, 5621, 3639, 1323, 261, 79, 411, 609, 18, 2469, 10756, 288, 5411, 385, 273, 609, 18, 3001, 861, 12, 79, 1769, 5411, 309, 261, 39, 422, 1995, 6134, 288, 7734, 787, 273, 417, 31, 7734, 309, 14015, 79, 397, 576, 13, 1545, 609, 18, 2469, 10756, 10792, 604, 9494, 18, 6006, 5576, 668, 20, 2932, 3576, 18, 8759, 18, 1650, 8863, 7734, 309, 16051, 291, 7037, 12, 701, 18, 3001, 861, 12, 79, 397, 404, 3719, 747, 401, 291, 7037, 12, 701, 18, 3001, 861, 12, 79, 397, 576, 20349, 10792, 604, 9494, 18, 6006, 5576, 668, 20, 2932, 3576, 18, 8759, 18, 1650, 8863, 7734, 605, 273, 640, 7037, 12, 701, 18, 3001, 861, 12, 79, 397, 404, 3719, 380, 2872, 397, 640, 7037, 12, 701, 18, 3001, 861, 12, 79, 397, 576, 10019, 7734, 417, 1011, 576, 31, 7734, 309, 14015, 38, 473, 374, 92, 3672, 13, 422, 374, 13, 10792, 385, 273, 261, 3001, 13, 38, 31, 7734, 469, 288, 10792, 290, 273, 404, 31, 10792, 1323, 14015, 38, 473, 261, 20, 92, 3672, 4080, 290, 3719, 480, 374, 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, 3238, 760, 514, 2495, 12, 1042, 9494, 16, 514, 609, 16, 514, 8735, 694, 13, 288, 3639, 509, 787, 16, 417, 273, 374, 31, 3639, 1149, 385, 16, 670, 31, 3639, 509, 776, 31, 3639, 509, 605, 31, 3639, 1149, 8526, 25497, 273, 394, 1149, 63, 26, 15533, 3639, 6674, 534, 31, 3639, 509, 525, 16, 290, 31, 3639, 534, 273, 394, 6674, 5621, 3639, 1323, 261, 79, 411, 609, 18, 2469, 10756, 288, 5411, 385, 273, 609, 18, 3001, 861, 12, 79, 1769, 5411, 309, 261, 39, 422, 1995, 6134, 288, 7734, 787, 273, 417, 31, 7734, 309, 14015, 79, 397, 576, 13, 1545, 609, 18, 2469, 10756, 10792, 604, 9494, 18, 6006, 5576, 668, 20, 2932, 2 ]
results.append(" onsubmit=\""); results.append(onsubmit); results.append("\""); }
results.append(" onsubmit=\""); results.append(onsubmit); results.append("\""); }
public int doStartTag() throws JspException { // Save the name, scope and type property values so that we can restore // them in doEndTag(). Needed to allow tag reuse to work correctly. savedName = name; savedScope = scope; savedType = type; // Look up the form bean name, scope, and type if necessary lookup(); // Create an appropriate "form" element based on our parameters HttpServletResponse response = (HttpServletResponse) pageContext.getResponse(); StringBuffer results = new StringBuffer("<form"); results.append(" name=\""); results.append(name); results.append("\""); results.append(" method=\""); results.append(method); results.append("\" action=\""); results.append(response.encodeURL(getActionMappingURL())); results.append("\""); if (styleClass != null) { results.append(" class=\""); results.append(styleClass); results.append("\""); } if (enctype != null) { results.append(" enctype=\""); results.append(enctype); results.append("\""); } if (onreset != null) { results.append(" onreset=\""); results.append(onreset); results.append("\""); } if (onsubmit != null) { results.append(" onsubmit=\""); results.append(onsubmit); results.append("\""); } if (style != null) { results.append(" style=\""); results.append(style); results.append("\""); } if (styleId != null) { results.append(" id=\""); results.append(styleId); results.append("\""); } if (target != null) { results.append(" target=\""); results.append(target); results.append("\""); } results.append(">"); // Add a transaction token (if present in our session) HttpSession session = pageContext.getSession(); if (session != null) { String token = (String) session.getAttribute(Action.TRANSACTION_TOKEN_KEY); if (token != null) { results.append("<input type=\"hidden\" name=\""); results.append(Constants.TOKEN_KEY); results.append("\" value=\""); results.append(token); results.append("\">"); } } // Print this field to our output writer ResponseUtils.write(pageContext, results.toString()); // Store this tag itself as a page attribute pageContext.setAttribute(Constants.FORM_KEY, this, PageContext.REQUEST_SCOPE); // Locate or create the bean associated with our form int scope = PageContext.SESSION_SCOPE; if ("request".equals(this.scope)) scope = PageContext.REQUEST_SCOPE; Object bean = pageContext.getAttribute(name, scope); if (bean == null) { bean = RequestUtils.createActionForm ((HttpServletRequest) pageContext.getRequest(), mapping, appConfig, servlet); if (bean instanceof ActionForm) { ((ActionForm) bean).reset (mapping, (HttpServletRequest) pageContext.getRequest()); } if (bean == null) { throw new JspException (messages.getMessage("formTag.create", type)); } pageContext.setAttribute(name, bean, scope); } pageContext.setAttribute(Constants.BEAN_KEY, bean, PageContext.REQUEST_SCOPE); // Continue processing this page return (EVAL_BODY_INCLUDE); }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/75dbcd0b077c69b0f9ec51c98e6552a114bc07ea/FormTag.java/clean/src/share/org/apache/struts/taglib/html/FormTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 368, 7074, 326, 508, 16, 2146, 471, 618, 1272, 924, 1427, 716, 732, 848, 5217, 3639, 368, 2182, 316, 741, 25633, 7675, 26480, 358, 1699, 1047, 11827, 358, 1440, 8783, 18, 3639, 5198, 461, 273, 508, 31, 3639, 5198, 3876, 273, 2146, 31, 3639, 5198, 559, 273, 618, 31, 3639, 368, 10176, 731, 326, 646, 3931, 508, 16, 2146, 16, 471, 618, 309, 4573, 3639, 3689, 5621, 565, 368, 1788, 392, 5505, 315, 687, 6, 930, 2511, 603, 3134, 1472, 565, 12446, 766, 273, 1377, 261, 2940, 29910, 13, 21442, 18, 588, 1064, 5621, 565, 6674, 1686, 273, 394, 6674, 2932, 32, 687, 8863, 565, 1686, 18, 6923, 2932, 508, 5189, 8863, 565, 1686, 18, 6923, 12, 529, 1769, 565, 1686, 18, 6923, 2932, 8530, 1769, 565, 1686, 18, 6923, 2932, 707, 5189, 8863, 565, 1686, 18, 6923, 12, 2039, 1769, 3639, 1686, 18, 6923, 2932, 2412, 1301, 5189, 8863, 3639, 1686, 18, 6923, 12, 2740, 18, 3015, 1785, 12, 588, 1803, 3233, 1785, 1435, 10019, 3639, 1686, 18, 6923, 2932, 8530, 1769, 3639, 309, 261, 4060, 797, 480, 446, 13, 288, 5411, 1686, 18, 6923, 2932, 667, 5189, 8863, 5411, 1686, 18, 6923, 12, 4060, 797, 1769, 5411, 1686, 18, 6923, 2932, 8530, 1769, 3639, 289, 565, 309, 261, 275, 12387, 480, 446, 13, 288, 3639, 1686, 18, 6923, 2932, 570, 12387, 5189, 8863, 3639, 1686, 18, 6923, 12, 275, 12387, 1769, 3639, 1686, 18, 6923, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 368, 7074, 326, 508, 16, 2146, 471, 618, 1272, 924, 1427, 716, 732, 848, 5217, 3639, 368, 2182, 316, 741, 25633, 7675, 26480, 358, 1699, 1047, 11827, 358, 1440, 8783, 18, 3639, 5198, 461, 273, 508, 31, 3639, 5198, 3876, 273, 2146, 31, 3639, 5198, 559, 273, 618, 31, 3639, 368, 10176, 731, 326, 646, 3931, 508, 16, 2146, 16, 471, 618, 309, 4573, 3639, 3689, 5621, 565, 368, 1788, 392, 5505, 315, 687, 6, 930, 2511, 603, 3134, 1472, 565, 12446, 766, 273, 1377, 261, 2940, 29910, 13, 21442, 18, 588, 1064, 5621, 565, 6674, 1686, 273, 394, 6674, 2932, 32, 687, 8863, 565, 1686, 18, 6923, 2932, 2 ]
int index = subspace.getIndex(start); int remainder = subspace.spaceRemaining(start); if (Assert.VERIFY_ASSERTIONS) Assert._assert(remainder <= blockSize); if (length <= remainder) { tiles[index].addSpace(streamID, length); } else { tiles[index].addSpace(streamID, remainder); length -= remainder; index++; while (length >= blockSize) { tiles[index].addSpace(streamID, blockSize); length -= blockSize; index++; } tiles[index].addSpace(streamID, length); } }
int index = subspace.getIndex(start); int remainder = subspace.spaceRemaining(start); if (Assert.VERIFY_ASSERTIONS) Assert._assert(remainder <= blockSize); if (length <= remainder) { tiles[index].addSpace(streamID, length); } else { tiles[index].addSpace(streamID, remainder); length -= remainder; index++; while (length >= blockSize) { tiles[index].addSpace(streamID, blockSize); length -= blockSize; index++; } tiles[index].addSpace(streamID, length); } }
public static void distributeSpace(AbstractTile[] tiles, Subspace subspace, int blockSize, int streamID, Address start, int length) { int index = subspace.getIndex(start); int remainder = subspace.spaceRemaining(start); if (Assert.VERIFY_ASSERTIONS) Assert._assert(remainder <= blockSize); if (length <= remainder) { // fits in this tile tiles[index].addSpace(streamID, length); //checkspace(index, length, "traceObject fits in first tile"); } else { tiles[index].addSpace(streamID, remainder); //checkspace(index,remainder,"traceObject remainder put in first tile"); length -= remainder; index++; while (length >= blockSize) { tiles[index].addSpace(streamID, blockSize); //checkspace(index, blockSize, "traceObject subsequent tile"); length -= blockSize; index++; } tiles[index].addSpace(streamID, length); //checkspace(index, length, "traceObject last tile"); } }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/57a34fa3e6e607d84b46e06082997a4771a25a85/AbstractDriver.java/buggy/MMTk/src/org/mmtk/utility/gcspy/drivers/AbstractDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 918, 25722, 3819, 12, 7469, 9337, 8526, 12568, 16, 1171, 9079, 2592, 2981, 720, 2981, 16, 1171, 9079, 509, 13766, 16, 1171, 9079, 509, 1407, 734, 16, 1171, 9079, 5267, 787, 16, 1171, 9079, 509, 769, 13, 288, 377, 509, 770, 273, 720, 2981, 18, 588, 1016, 12, 1937, 1769, 377, 509, 10022, 273, 720, 2981, 18, 2981, 11429, 12, 1937, 1769, 377, 309, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 5452, 6315, 11231, 12, 2764, 25407, 1648, 13766, 1769, 377, 309, 261, 2469, 1648, 10022, 13, 288, 225, 368, 13351, 316, 333, 4769, 4202, 12568, 63, 1615, 8009, 1289, 3819, 12, 3256, 734, 16, 769, 1769, 4202, 368, 1893, 2981, 12, 1615, 16, 769, 16, 315, 5129, 921, 13351, 316, 1122, 4769, 8863, 377, 289, 469, 288, 4202, 12568, 63, 1615, 8009, 1289, 3819, 12, 3256, 734, 16, 10022, 1769, 4202, 368, 1893, 2981, 12, 1615, 16, 2764, 25407, 10837, 5129, 921, 10022, 1378, 316, 1122, 4769, 8863, 4202, 769, 3947, 10022, 31, 4202, 770, 9904, 31, 4202, 1323, 261, 2469, 1545, 13766, 13, 288, 540, 12568, 63, 1615, 8009, 1289, 3819, 12, 3256, 734, 16, 13766, 1769, 540, 368, 1893, 2981, 12, 1615, 16, 13766, 16, 315, 5129, 921, 10815, 4769, 8863, 540, 769, 3947, 13766, 31, 540, 770, 9904, 31, 4202, 289, 4202, 12568, 63, 1615, 8009, 1289, 3819, 12, 3256, 734, 16, 769, 1769, 4202, 368, 1893, 2981, 12, 1615, 16, 769, 16, 315, 5129, 921, 1142, 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, 760, 918, 25722, 3819, 12, 7469, 9337, 8526, 12568, 16, 1171, 9079, 2592, 2981, 720, 2981, 16, 1171, 9079, 509, 13766, 16, 1171, 9079, 509, 1407, 734, 16, 1171, 9079, 5267, 787, 16, 1171, 9079, 509, 769, 13, 288, 377, 509, 770, 273, 720, 2981, 18, 588, 1016, 12, 1937, 1769, 377, 509, 10022, 273, 720, 2981, 18, 2981, 11429, 12, 1937, 1769, 377, 309, 261, 8213, 18, 23756, 67, 8423, 11539, 1146, 55, 13, 5452, 6315, 11231, 12, 2764, 25407, 1648, 13766, 1769, 377, 309, 261, 2469, 1648, 10022, 13, 288, 225, 368, 13351, 316, 333, 4769, 4202, 12568, 63, 1615, 8009, 1289, 3819, 12, 3256, 734, 16, 769, 1769, 4202, 368, 1893, 2981, 12, 1615, 2 ]
IOption[] opts = tool.getOptions();
opts = tool.getOptions();
public void reset() { // We just need to remove all Options ITool[] tools = getTools(); for (int i = 0; i < tools.length; i++) { ITool tool = tools[i]; IOption[] opts = tool.getOptions(); for (int j = 0; j < opts.length; j++) { tool.removeOption(opts[j]); } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/0119b876950a205bdddabaad5e05a45b2a4dc387/Configuration.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Configuration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2715, 1435, 288, 202, 202, 759, 1660, 2537, 1608, 358, 1206, 777, 5087, 202, 202, 45, 6364, 8526, 8513, 273, 336, 10348, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 8513, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 6364, 5226, 273, 8513, 63, 77, 15533, 1082, 202, 45, 1895, 8526, 1500, 273, 5226, 18, 588, 1320, 5621, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 1500, 18, 2469, 31, 525, 27245, 288, 9506, 202, 6738, 18, 4479, 1895, 12, 4952, 63, 78, 19226, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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, 225, 202, 482, 918, 2715, 1435, 288, 202, 202, 759, 1660, 2537, 1608, 358, 1206, 777, 5087, 202, 202, 45, 6364, 8526, 8513, 273, 336, 10348, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 8513, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 6364, 5226, 273, 8513, 63, 77, 15533, 1082, 202, 45, 1895, 8526, 1500, 273, 5226, 18, 588, 1320, 5621, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 1500, 18, 2469, 31, 525, 27245, 288, 9506, 202, 6738, 18, 4479, 1895, 12, 4952, 63, 78, 19226, 1082, 202, 97, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
AdventureDatabase.retrieveItem( BORIS );
private static List retrieveScubaGear( boolean isCheckOnly ) { List requirements = new ArrayList(); KoLRequest request = null; // The three hero keys are needed to get the SCUBA gear if ( hasItem( SCUBA ) ) return requirements; // Next, handle the three hero keys, which involve // answering the riddles with the forms of fish. if ( !hasItem( BORIS ) && !hasItem( BOWL ) && !hasItem( HOSE_BOWL ) ) requirements.add( BORIS ); else if ( !hasItem( BOWL ) && !hasItem( HOSE_BOWL ) ) { AdventureDatabase.retrieveItem( BORIS ); KoLmafia.updateDisplay( "Inserting Boris's key..." ); request = new KoLRequest( client, "lair2.php" ); request.addFormField( "preaction", "key" ); request.addFormField( "whichkey", String.valueOf( BORIS.getItemID() ) ); request.run(); if ( request.responseText.indexOf( "prepreaction" ) != -1 ) { request = new KoLRequest( client, "lair2.php" ); request.addFormField( "prepreaction", "sorcriddle1" ); request.addFormField( "answer", "fish" ); request.run(); } } if ( !hasItem( JARLSBERG ) && !hasItem( TANK ) && !hasItem( HOSE_TANK ) ) requirements.add( JARLSBERG ); else if ( !hasItem( TANK ) && !hasItem( HOSE_TANK ) ) { AdventureDatabase.retrieveItem( JARLSBERG ); KoLmafia.updateDisplay( "Inserting Jarlsberg's key..." ); request = new KoLRequest( client, "lair2.php" ); request.addFormField( "preaction", "key" ); request.addFormField( "whichkey", String.valueOf( JARLSBERG.getItemID() ) ); request.run(); if ( request.responseText.indexOf( "prepreaction" ) != -1 ) { request = new KoLRequest( client, "lair2.php" ); request.addFormField( "prepreaction", "sorcriddle2" ); request.addFormField( "answer", "phish" ); request.run(); } } if ( !hasItem( SNEAKY_PETE ) && !hasItem( HOSE ) && !hasItem( HOSE_TANK ) && !hasItem( HOSE_BOWL ) ) requirements.add( SNEAKY_PETE ); else if ( !hasItem( HOSE ) && !hasItem( HOSE_TANK ) && !hasItem( HOSE_BOWL ) ) { AdventureDatabase.retrieveItem( SNEAKY_PETE ); KoLmafia.updateDisplay( "Inserting Sneaky Pete's key..." ); request = new KoLRequest( client, "lair2.php" ); request.addFormField( "preaction", "key" ); request.addFormField( "whichkey", String.valueOf( SNEAKY_PETE.getItemID() ) ); request.run(); if ( request.responseText.indexOf( "prepreaction" ) != -1 ) { request = new KoLRequest( client, "lair2.php" ); request.addFormField( "prepreaction", "sorcriddle3" ); request.addFormField( "answer", "fsh" ); request.run(); } } // Equip the SCUBA gear. Attempting to retrieve it // will automatically create it. if ( hasItem( SCUBA ) ) { AdventureDatabase.retrieveItem( SCUBA ); DEFAULT_SHELL.executeLine( "equip acc1 makeshift SCUBA gear" ); KoLmafia.updateDisplay( "Pressing switch beyond odor..." ); (new KoLRequest( client, "lair2.php?action=odor" )).run(); } return requirements; }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/c6fd9f3480c754ba215cb337bd4e9a1b12401511/SorceressLair.java/buggy/src/net/sourceforge/kolmafia/SorceressLair.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 987, 4614, 1541, 373, 27196, 2091, 12, 1250, 353, 1564, 3386, 262, 202, 95, 202, 202, 682, 8433, 273, 394, 2407, 5621, 202, 202, 47, 83, 48, 691, 590, 273, 446, 31, 202, 202, 759, 1021, 8925, 366, 2439, 1311, 854, 3577, 358, 336, 326, 8795, 3457, 37, 30142, 202, 202, 430, 261, 711, 1180, 12, 8795, 3457, 37, 262, 262, 1082, 202, 2463, 8433, 31, 202, 202, 759, 4804, 16, 1640, 326, 8925, 366, 2439, 1311, 16, 1492, 2198, 5390, 202, 202, 759, 5803, 310, 326, 436, 1873, 1040, 598, 326, 10138, 434, 284, 1468, 18, 202, 202, 430, 261, 401, 5332, 1180, 12, 605, 916, 5127, 262, 597, 401, 5332, 1180, 12, 605, 7306, 48, 262, 597, 401, 5332, 1180, 12, 11705, 1090, 67, 5315, 59, 48, 262, 262, 1082, 202, 16175, 18, 1289, 12, 605, 916, 5127, 11272, 202, 202, 12107, 309, 261, 401, 5332, 1180, 12, 605, 7306, 48, 262, 597, 401, 5332, 1180, 12, 11705, 1090, 67, 5315, 59, 48, 262, 262, 202, 202, 95, 1082, 202, 1871, 616, 594, 4254, 18, 17466, 1180, 12, 605, 916, 5127, 11272, 1082, 202, 47, 83, 48, 81, 1727, 1155, 18, 2725, 4236, 12, 315, 4600, 310, 605, 280, 291, 1807, 498, 7070, 11272, 1082, 202, 2293, 273, 394, 1475, 83, 48, 691, 12, 1004, 16, 315, 80, 1826, 22, 18, 2684, 6, 11272, 1082, 202, 2293, 18, 1289, 27317, 12, 315, 1484, 1128, 3113, 315, 856, 6, 11272, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 987, 4614, 1541, 373, 27196, 2091, 12, 1250, 353, 1564, 3386, 262, 202, 95, 202, 202, 682, 8433, 273, 394, 2407, 5621, 202, 202, 47, 83, 48, 691, 590, 273, 446, 31, 202, 202, 759, 1021, 8925, 366, 2439, 1311, 854, 3577, 358, 336, 326, 8795, 3457, 37, 30142, 202, 202, 430, 261, 711, 1180, 12, 8795, 3457, 37, 262, 262, 1082, 202, 2463, 8433, 31, 202, 202, 759, 4804, 16, 1640, 326, 8925, 366, 2439, 1311, 16, 1492, 2198, 5390, 202, 202, 759, 5803, 310, 326, 436, 1873, 1040, 598, 326, 10138, 434, 284, 1468, 18, 202, 202, 430, 261, 401, 5332, 1180, 12, 605, 916, 5127, 262, 597, 401, 5332, 1180, 12, 605, 2 ]
char dispChar = LispCharacter.getValue(args[0]); char subChar = LispCharacter.getValue(args[1]); LispObject function = args[2]; Readtable readtable; if (args.length == 4) readtable = checkReadtable(args[3]); else readtable = getCurrentReadtable(); return readtable.setDispatchMacroCharacter(dispChar, subChar, function);
CharacterInputStream stream = length > 0 ? checkCharacterInputStream(args[0]) : getStandardInput(); boolean eofError = length > 1 ? (args[1] != NIL) : true; LispObject eofValue = length > 2 ? args[2] : NIL; boolean recursive = length > 3 ? (args[3] != NIL) : false; return stream.readChar(eofError, eofValue);
public LispObject execute(LispObject[] args) throws ConditionThrowable { if (args.length < 3 || args.length > 4) signal(new WrongNumberOfArgumentsException(this)); char dispChar = LispCharacter.getValue(args[0]); char subChar = LispCharacter.getValue(args[1]); LispObject function = args[2]; Readtable readtable; if (args.length == 4) readtable = checkReadtable(args[3]); else readtable = getCurrentReadtable(); return readtable.setDispatchMacroCharacter(dispChar, subChar, function); }
8279 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8279/1c5458ff27fae2a1bd243562beff3741c5d8ddeb/Primitives.java/clean/j/src/org/armedbear/lisp/Primitives.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 511, 23831, 921, 1836, 12, 48, 23831, 921, 8526, 833, 13, 1216, 7949, 15155, 3639, 288, 5411, 309, 261, 1968, 18, 2469, 411, 890, 747, 833, 18, 2469, 405, 1059, 13, 7734, 4277, 12, 2704, 24668, 9226, 4628, 503, 12, 2211, 10019, 5411, 1149, 16232, 2156, 273, 511, 23831, 7069, 18, 24805, 12, 1968, 63, 20, 19226, 5411, 1149, 720, 2156, 273, 511, 23831, 7069, 18, 24805, 12, 1968, 63, 21, 19226, 5411, 511, 23831, 921, 445, 273, 833, 63, 22, 15533, 5411, 2720, 2121, 855, 2121, 31, 5411, 309, 261, 1968, 18, 2469, 422, 1059, 13, 7734, 855, 2121, 273, 866, 1994, 2121, 12, 1968, 63, 23, 19226, 5411, 469, 7734, 855, 2121, 273, 5175, 1994, 2121, 5621, 5411, 327, 855, 2121, 18, 542, 5325, 17392, 7069, 12, 25453, 2156, 16, 720, 2156, 16, 445,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 511, 23831, 921, 1836, 12, 48, 23831, 921, 8526, 833, 13, 1216, 7949, 15155, 3639, 288, 5411, 309, 261, 1968, 18, 2469, 411, 890, 747, 833, 18, 2469, 405, 1059, 13, 7734, 4277, 12, 2704, 24668, 9226, 4628, 503, 12, 2211, 10019, 5411, 1149, 16232, 2156, 273, 511, 23831, 7069, 18, 24805, 12, 1968, 63, 20, 19226, 5411, 1149, 720, 2156, 273, 511, 23831, 7069, 18, 24805, 12, 1968, 63, 21, 19226, 5411, 511, 23831, 921, 445, 273, 833, 63, 22, 15533, 5411, 2720, 2121, 855, 2121, 31, 5411, 309, 261, 1968, 18, 2469, 422, 1059, 13, 7734, 855, 2121, 273, 866, 1994, 2121, 12, 1968, 63, 23, 19226, 5411, 469, 7734, 855, 2121, 273, 5175, 1994, 2 ]
for(int i=0;i<n;i++)
int[] packetIndexes = new int[k]; for(int i=0;i<packetIndexes.length;i++) packetIndexes[i] = -1; int idx = 0; for(int i=0;i<k;i++)
public void realDecode(SplitfileBlock[] dataBlockStatus, SplitfileBlock[] checkBlockStatus, int blockLength, BucketFactory bf) throws IOException { Logger.minor(this, "Doing decode: "+dataBlockStatus.length+" data blocks, "+checkBlockStatus.length+" check blocks, block length "+blockLength+" with "+this); if(dataBlockStatus.length + checkBlockStatus.length != n) throw new IllegalArgumentException(); if(dataBlockStatus.length != k) throw new IllegalArgumentException(); Buffer[] packets = new Buffer[k]; Bucket[] buckets = new Bucket[n]; DataInputStream[] readers = new DataInputStream[k]; OutputStream[] writers = new OutputStream[k]; int[] toDecode = new int[n-k]; int numberToDecode = 0; // can be less than n-k byte[] realBuffer = new byte[n * STRIPE_SIZE]; for(int i=0;i<n;i++) packets[i] = new Buffer(realBuffer, i*STRIPE_SIZE, STRIPE_SIZE); for(int i=0;i<dataBlockStatus.length;i++) { buckets[i] = dataBlockStatus[i].getData(); long sz = buckets[i].size(); if(sz < blockLength) { if(i != dataBlockStatus.length-1) throw new IllegalArgumentException("All buckets except the last must be the full size"); if(sz < blockLength) buckets[i] = pad(buckets[i], blockLength, bf, (int) sz); else throw new IllegalArgumentException("Too big: "+sz+" bigger than "+blockLength); } if(buckets[i] == null) { buckets[i] = bf.makeBucket(blockLength); writers[i] = buckets[i].getOutputStream(); readers[i] = null; toDecode[numberToDecode++] = i; } else { writers[i] = null; readers[i] = new DataInputStream(buckets[i].getInputStream()); } } for(int i=0;i<checkBlockStatus.length;i++) { buckets[i+k] = checkBlockStatus[i].getData(); if(buckets[i+k] == null) { buckets[i+k] = bf.makeBucket(blockLength); writers[i+k] = buckets[i+k].getOutputStream(); readers[i+k] = null; toDecode[numberToDecode++] = i+k; } else { writers[i+k] = null; readers[i+k] = new DataInputStream(buckets[i+k].getInputStream()); } } if(numberToDecode != toDecode.length) { int[] newToDecode = new int[numberToDecode]; System.arraycopy(toDecode, 0, newToDecode, 0, numberToDecode); toDecode = newToDecode; } if(numberToDecode > 0) { // Do the (striped) decode for(int offset=0;offset<blockLength;offset+=STRIPE_SIZE) { // Read the data in first for(int i=0;i<n;i++) { if(readers[i] != null) { readers[i].readFully(realBuffer, i*STRIPE_SIZE, STRIPE_SIZE); } } // Do the decode // Not shuffled code.decode(packets, toDecode); // packets now contains an array of decoded blocks, in order // Write the data out for(int i=0;i<n;i++) { if(writers[i] != null) writers[i].write(realBuffer, i*STRIPE_SIZE, STRIPE_SIZE); } } } for(int i=0;i<n;i++) { if(writers[i] != null) writers[i].close(); if(readers[i] != null) readers[i].close(); } // Set new buckets only after have a successful decode. // Note that the last data bucket will be overwritten padded. for(int i=0;i<dataBlockStatus.length;i++) { dataBlockStatus[i].setData(buckets[i]); } for(int i=0;i<checkBlockStatus.length;i++) { checkBlockStatus[i].setData(buckets[i+k]); } }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/923f3296489fa89e5c0d76399b6de451cd594133/StandardOnionFECCodec.java/clean/src/freenet/client/StandardOnionFECCodec.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2863, 6615, 12, 5521, 768, 1768, 8526, 501, 1768, 1482, 16, 5385, 768, 1768, 8526, 866, 1768, 1482, 16, 509, 25367, 16, 7408, 1733, 16222, 13, 1216, 1860, 288, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 3244, 310, 2495, 30, 13773, 892, 1768, 1482, 18, 2469, 9078, 501, 4398, 16, 13773, 1893, 1768, 1482, 18, 2469, 9078, 866, 4398, 16, 1203, 769, 13773, 2629, 1782, 9078, 598, 13773, 2211, 1769, 202, 202, 430, 12, 892, 1768, 1482, 18, 2469, 397, 866, 1768, 1482, 18, 2469, 480, 290, 13, 1082, 202, 12849, 394, 2754, 5621, 202, 202, 430, 12, 892, 1768, 1482, 18, 2469, 480, 417, 13, 1082, 202, 12849, 394, 2754, 5621, 202, 202, 1892, 8526, 12640, 273, 394, 3525, 63, 79, 15533, 202, 202, 4103, 8526, 9169, 273, 394, 7408, 63, 82, 15533, 202, 202, 751, 4348, 8526, 16527, 273, 394, 29382, 63, 79, 15533, 202, 202, 4632, 8526, 18656, 273, 394, 8962, 63, 79, 15533, 202, 202, 474, 8526, 358, 6615, 273, 394, 509, 63, 82, 17, 79, 15533, 202, 202, 474, 1300, 774, 6615, 273, 374, 31, 368, 848, 506, 5242, 2353, 290, 17, 79, 9506, 202, 7229, 8526, 2863, 1892, 273, 394, 1160, 63, 82, 380, 2347, 2259, 1423, 67, 4574, 15533, 9506, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 82, 31, 77, 27245, 1082, 202, 28717, 63, 77, 65, 273, 394, 3525, 12, 7688, 1892, 16, 277, 14, 15765, 1423, 67, 4574, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2863, 6615, 12, 5521, 768, 1768, 8526, 501, 1768, 1482, 16, 5385, 768, 1768, 8526, 866, 1768, 1482, 16, 509, 25367, 16, 7408, 1733, 16222, 13, 1216, 1860, 288, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 3244, 310, 2495, 30, 13773, 892, 1768, 1482, 18, 2469, 9078, 501, 4398, 16, 13773, 1893, 1768, 1482, 18, 2469, 9078, 866, 4398, 16, 1203, 769, 13773, 2629, 1782, 9078, 598, 13773, 2211, 1769, 202, 202, 430, 12, 892, 1768, 1482, 18, 2469, 397, 866, 1768, 1482, 18, 2469, 480, 290, 13, 1082, 202, 12849, 394, 2754, 5621, 202, 202, 430, 12, 892, 1768, 1482, 18, 2469, 480, 417, 13, 1082, 202, 12849, 394, 2754, 5621, 202, 2 ]
if (VM.VerifyAssertions) VM.assert(x >= 0 && x < NO_FLOAT_ENTRY);
if (VM.VerifyAssertions) VM._assert(x >= 0 && x < NO_FLOAT_ENTRY);
final void setFirstNonVolatileFPR(int x) { if (x == -1) { _bits |= FLOAT_MASK; } else { if (VM.VerifyAssertions) VM.assert(x >= 0 && x < NO_FLOAT_ENTRY); _bits = (_bits & ~FLOAT_MASK) | (((long)x) << FLOAT_SHIFT); } }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/a5a05b105574ec4e1a0bacfcc731385b09418803/VM_OptCompiledMethod.java/buggy/rvm/src/vm/compilers/optimizing/vmInterface/services/VM_OptCompiledMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 918, 24789, 3989, 17431, 20295, 42, 8025, 12, 474, 619, 13, 288, 565, 309, 261, 92, 422, 300, 21, 13, 288, 1377, 389, 6789, 5626, 15483, 67, 11704, 31, 565, 289, 469, 288, 1377, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 92, 1545, 374, 597, 619, 411, 3741, 67, 15640, 67, 19083, 1769, 1377, 389, 6789, 273, 261, 67, 6789, 473, 4871, 15640, 67, 11704, 13, 571, 261, 12443, 5748, 13, 92, 13, 2296, 15483, 67, 23191, 1769, 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,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, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 918, 24789, 3989, 17431, 20295, 42, 8025, 12, 474, 619, 13, 288, 565, 309, 261, 92, 422, 300, 21, 13, 288, 1377, 389, 6789, 5626, 15483, 67, 11704, 31, 565, 289, 469, 288, 1377, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 92, 1545, 374, 597, 619, 411, 3741, 67, 15640, 67, 19083, 1769, 1377, 389, 6789, 273, 261, 67, 6789, 473, 4871, 15640, 67, 11704, 13, 571, 261, 12443, 5748, 13, 92, 13, 2296, 15483, 67, 23191, 1769, 565, 289, 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 ]
} else { usage();
public static void main(String args[]) { if(args.length > 0) { // Siena host specified? for(int i=0; i < args.length; i++) { if(args[i].equals("-s")) sienaHost = args[++i]; else if(args[i].equals("-?")) usage(); else if(args[i].equals("-d")) DEBUG = true; else usage(); } else { usage(); } }
14534 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14534/b43685afd259b7591aa2d6ec251341a50153a32f/EventPackager.java/buggy/EventPackager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 565, 309, 12, 1968, 18, 2469, 405, 374, 13, 288, 368, 27834, 24457, 1479, 1269, 35, 1377, 364, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 202, 430, 12, 1968, 63, 77, 8009, 14963, 2932, 17, 87, 6, 3719, 202, 225, 7533, 24457, 2594, 273, 833, 63, 9904, 77, 15533, 202, 12107, 309, 12, 1968, 63, 77, 8009, 14963, 2932, 17, 7225, 3719, 202, 225, 4084, 5621, 202, 12107, 309, 12, 1968, 63, 77, 8009, 14963, 2932, 17, 72,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 565, 309, 12, 1968, 18, 2469, 405, 374, 13, 288, 368, 27834, 24457, 1479, 1269, 35, 1377, 364, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 202, 430, 12, 1968, 63, 77, 8009, 14963, 2932, 17, 87, 6, 3719, 202, 225, 7533, 24457, 2594, 273, 833, 63, 9904, 77, 15533, 202, 12107, 309, 12, 1968, 63, 77, 8009, 14963, 2932, 17, 7225, 3719, 202, 225, 4084, 5621, 202, 12107, 309, 12, 1968, 63, 77, 8009, 14963, 2932, 17, 72, 6, 3719, 202, 225, 6369, 273, 638, 31, 202, 12107, 202, 225, 4084, 5621, 1377, 289, 469, 288, 202, 9167, 5621, 1377, 2 ]
public Composite createArea( Composite parent ) { Composite cmpGroup = ChartUIUtil.createCompositeWrapper( parent ); cmpGroup.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); Label lblRightYGrouping = new Label( cmpGroup, SWT.WRAP ); { GridData gd = new GridData( ); gd.widthHint = getStandardWidth( ) * 16; lblRightYGrouping.setLayoutData( gd ); lblRightYGrouping.setText( strDesc ); } int selectedSeriesIndex = 0; if ( !useFirstOnly ) { selectedSeriesIndex = selectDataUI.getSeriesIndex( )[axisIndex]; } final SeriesDefinition sd = ( (SeriesDefinition) seriesDefn.get( selectedSeriesIndex ) ); if ( seriesDefn != null && !seriesDefn.isEmpty( ) ) { // Only display current selected series ISelectDataComponent subUI = selectDataUI.getAreaComponent( ISelectDataCustomizeUI.GROUPING_SERIES, sd, context, sTitle ); subUI.addListener( new Listener( ) { public void handleEvent( Event event ) { final String query = event.text; // Copy the group query to other query definitions. ChartAdapter.changeChartWithoutNotification( new IChangeWithoutNotification( ) { public Object run( ) { ChartUIUtil.setAllGroupingQueryExceptFirst( context.getModel( ), query ); return null; } } ); } } ); subUI.createArea( cmpGroup ); components.add( subUI ); } Label lblSorting = new Label( cmpGroup, SWT.NONE ); lblSorting.setText( Messages.getString( "BaseSeriesDataSheetImpl.Lbl.DataSorting" ) ); //$NON-NLS-1$ final Combo cmbSorting = new Combo( cmpGroup, SWT.DROP_DOWN | SWT.READ_ONLY ); cmbSorting.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); // populate sorting combo cmbSorting.add( UNSORTED_OPTION ); String[] nss = LiteralHelper.sortOptionSet.getDisplayNames( ); for ( int i = 0; i < nss.length; i++ ) { cmbSorting.add( nss[i] ); } // Select value if ( !sd.eIsSet( DataPackage.eINSTANCE.getSeriesDefinition_Sorting( ) ) ) { cmbSorting.select( 0 ); } else { // plus one for the first is unsorted option. cmbSorting.select( LiteralHelper.sortOptionSet.getNameIndex( sd.getSorting( ) .getName( ) ) + 1 ); } cmbSorting.addListener( SWT.Selection, new Listener( ) { public void handleEvent( Event event ) { if ( cmbSorting.getText( ).equals( UNSORTED_OPTION ) ) { sd.eUnset( DataPackage.eINSTANCE.getSeriesDefinition_Sorting( ) ); } else { sd.setSorting( SortOption.getByName( LiteralHelper.sortOptionSet.getNameByDisplayName( cmbSorting.getText( ) ) ) ); } // Update the query sortings of other series. ChartAdapter.changeChartWithoutNotification( new IChangeWithoutNotification( ) { public Object run( ) { List sds = ChartUIUtil.getAllOrthogonalSeriesDefinitions( context.getModel( ) ); for ( int i = 0; i < sds.size( ); i++ ) { if ( i != 0 ) { // Except for the first, which should be // changed manually. SeriesDefinition sdf = (SeriesDefinition) sds.get( i ); if ( cmbSorting.getText( ) .equals( UNSORTED_OPTION ) ) { sdf.eUnset( DataPackage.eINSTANCE.getSeriesDefinition_Sorting( ) ); } else { sdf.setSorting( SortOption.getByName( LiteralHelper.sortOptionSet.getNameByDisplayName( cmbSorting.getText( ) ) ) ); } } } return null; } } ); } } ); return cmpGroup; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/0157cc4583ff3885e9ce65191b74821a4308b3d8/MultipleSeriesComponent.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/data/MultipleSeriesComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 14728, 752, 5484, 12, 14728, 982, 262, 1082, 202, 95, 9506, 202, 9400, 9411, 1114, 273, 14804, 5370, 1304, 18, 2640, 9400, 3611, 12, 982, 11272, 9506, 202, 9625, 1114, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 9506, 202, 2224, 14284, 4726, 61, 21014, 273, 394, 5287, 12, 9411, 1114, 16, 348, 8588, 18, 27664, 11272, 9506, 202, 95, 6862, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 11272, 6862, 202, 19016, 18, 2819, 7002, 273, 336, 8336, 2384, 12, 262, 380, 2872, 31, 6862, 202, 31885, 4726, 61, 21014, 18, 542, 3744, 751, 12, 15551, 11272, 6862, 202, 31885, 4726, 61, 21014, 18, 542, 1528, 12, 609, 4217, 11272, 9506, 202, 97, 9506, 202, 474, 3170, 6485, 1016, 273, 374, 31, 9506, 202, 430, 261, 401, 1202, 3759, 3386, 262, 9506, 202, 95, 6862, 202, 8109, 6485, 1016, 273, 2027, 751, 5370, 18, 588, 6485, 1016, 12, 262, 63, 4890, 1016, 15533, 9506, 202, 97, 9506, 202, 6385, 9225, 1852, 8349, 273, 261, 261, 6485, 1852, 13, 4166, 3262, 82, 18, 588, 12, 3170, 6485, 1016, 262, 11272, 9506, 202, 430, 261, 4166, 3262, 82, 480, 446, 597, 401, 10222, 3262, 82, 18, 291, 1921, 12, 262, 262, 9506, 202, 95, 6862, 202, 759, 5098, 2562, 783, 3170, 4166, 6862, 202, 45, 3391, 751, 1841, 720, 5370, 273, 2027, 751, 5370, 18, 588, 5484, 1841, 12, 467, 3391, 751, 3802, 554, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 14728, 752, 5484, 12, 14728, 982, 262, 1082, 202, 95, 9506, 202, 9400, 9411, 1114, 273, 14804, 5370, 1304, 18, 2640, 9400, 3611, 12, 982, 11272, 9506, 202, 9625, 1114, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 9506, 202, 2224, 14284, 4726, 61, 21014, 273, 394, 5287, 12, 9411, 1114, 16, 348, 8588, 18, 27664, 11272, 9506, 202, 95, 6862, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 11272, 6862, 202, 19016, 18, 2819, 7002, 273, 336, 8336, 2384, 12, 262, 380, 2872, 31, 6862, 202, 31885, 4726, 61, 21014, 18, 542, 3744, 751, 12, 15551, 11272, 6862, 202, 31885, 4726, 61, 21014, 18, 2 ]
public Enumeration getLocales() { List l = new ArrayList(1); l.add(getLocale()); return Collections.enumeration(l); }
public Enumeration getLocales() { List l = new ArrayList(1); l.add(getLocale()); return Collections.enumeration(l); }
public Enumeration getLocales() { List l = new ArrayList(1); l.add(getLocale()); return Collections.enumeration(l); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/9a4b9b48d844a9fd7e8882aa552fcfb06d718660/MockHttpServletRequest.java/buggy/wicket/src/java/wicket/protocol/http/MockHttpServletRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13864, 6993, 281, 1435, 288, 3639, 987, 328, 273, 394, 2407, 12, 21, 1769, 3639, 328, 18, 1289, 12, 588, 3916, 10663, 3639, 327, 5737, 18, 7924, 7067, 12, 80, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13864, 6993, 281, 1435, 288, 3639, 987, 328, 273, 394, 2407, 12, 21, 1769, 3639, 328, 18, 1289, 12, 588, 3916, 10663, 3639, 327, 5737, 18, 7924, 7067, 12, 80, 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 ]
JavaCompletionProposal[] proposals= collector.getResults();
IJavaCompletionProposal[] proposals= collector.getJavaCompletionProposals();
public void testOverrideCompletion2() throws Exception { IPackageFragmentRoot sourceFolder= JavaProjectHelper.addSourceContainer(fJProject1, "src"); IPackageFragment pack1= sourceFolder.createPackageFragment("test1", false, null); StringBuffer buf= new StringBuffer(); buf.append("package test1;\n"); buf.append("\n"); buf.append("import java.io.Writer;\n"); buf.append("\n"); buf.append("public class A extends Writer {\n" + " public void foo() {\n" + " }\n" + " //here\n" + "}"); String contents= buf.toString(); ICompilationUnit cu= pack1.createCompilationUnit("A.java", contents, false, null); String str= "//here"; int offset= contents.indexOf(str); ResultCollector collector= new ResultCollector(); collector.reset(offset, cu.getJavaProject(), cu); collector.setViewer(null); collector.setReplacementLength(0); collector.setPreventEating(true); codeComplete(cu, offset, collector); JavaCompletionProposal[] proposals= collector.getResults(); JavaCompletionProposal closeProposal= null; for (int i= 0; i < proposals.length; i++) { if (proposals[i].getDisplayString().startsWith("close()")) { closeProposal= proposals[i]; } } assertNotNull("no proposal for close()", closeProposal); IDocument doc= new Document(contents); if (closeProposal instanceof OverrideCompletionProposal) ((OverrideCompletionProposal) closeProposal).setAnnotations(false); closeProposal.apply(doc); buf= new StringBuffer(); buf.append("package test1;\n"); buf.append("\n"); buf.append("import java.io.IOException;\n"); buf.append("import java.io.Writer;\n"); buf.append("\n"); buf.append("public class A extends Writer {\n" + " public void foo() {\n" + " }\n" + " /* (non-Javadoc)\n" + " * @see java.io.Writer#close()\n" + " */\n" + " public void close() throws IOException {\n" + " //TODO\n" + " \n" + " }//here\n" + "}"); assertEqualString(doc.get(), buf.toString()); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/732abba9d8a8b4cac0f47de18af2cf3f0bce31fe/CodeCompletionTest.java/clean/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/CodeCompletionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 6618, 11238, 22, 1435, 1216, 1185, 288, 202, 202, 45, 2261, 7456, 2375, 1084, 3899, 33, 5110, 4109, 2276, 18, 1289, 1830, 2170, 12, 74, 46, 4109, 21, 16, 315, 4816, 8863, 202, 202, 45, 2261, 7456, 2298, 21, 33, 1084, 3899, 18, 2640, 2261, 7456, 2932, 3813, 21, 3113, 629, 16, 446, 1769, 202, 202, 780, 1892, 1681, 33, 394, 6674, 5621, 202, 202, 4385, 18, 6923, 2932, 5610, 1842, 21, 9747, 82, 8863, 202, 202, 4385, 18, 6923, 31458, 82, 8863, 202, 202, 4385, 18, 6923, 2932, 5666, 2252, 18, 1594, 18, 2289, 9747, 82, 8863, 202, 202, 4385, 18, 6923, 31458, 82, 8863, 202, 202, 4385, 18, 6923, 2932, 482, 667, 432, 3231, 5497, 18890, 82, 6, 397, 4697, 202, 6, 565, 1071, 918, 8431, 1435, 18890, 82, 6, 397, 4697, 202, 6, 565, 289, 64, 82, 6, 397, 4697, 202, 6, 565, 368, 14852, 64, 82, 6, 397, 4697, 202, 6, 1532, 1769, 202, 202, 780, 2939, 33, 1681, 18, 10492, 5621, 202, 202, 45, 19184, 2802, 15985, 33, 2298, 21, 18, 2640, 19184, 2802, 2932, 37, 18, 6290, 3113, 2939, 16, 629, 16, 446, 1769, 202, 202, 780, 609, 33, 16177, 14852, 14432, 202, 202, 474, 1384, 33, 2939, 18, 31806, 12, 701, 1769, 202, 202, 1253, 7134, 8543, 33, 394, 3438, 7134, 5621, 202, 202, 21356, 18, 6208, 12, 3348, 16, 15985, 18, 588, 5852, 4109, 9334, 15985, 1769, 202, 202, 21356, 18, 542, 18415, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 6618, 11238, 22, 1435, 1216, 1185, 288, 202, 202, 45, 2261, 7456, 2375, 1084, 3899, 33, 5110, 4109, 2276, 18, 1289, 1830, 2170, 12, 74, 46, 4109, 21, 16, 315, 4816, 8863, 202, 202, 45, 2261, 7456, 2298, 21, 33, 1084, 3899, 18, 2640, 2261, 7456, 2932, 3813, 21, 3113, 629, 16, 446, 1769, 202, 202, 780, 1892, 1681, 33, 394, 6674, 5621, 202, 202, 4385, 18, 6923, 2932, 5610, 1842, 21, 9747, 82, 8863, 202, 202, 4385, 18, 6923, 31458, 82, 8863, 202, 202, 4385, 18, 6923, 2932, 5666, 2252, 18, 1594, 18, 2289, 9747, 82, 8863, 202, 202, 4385, 18, 6923, 31458, 82, 8863, 202, 202, 4385, 18, 6923, 2932, 482, 667, 2 ]
public Key[] selectVolatileJobs(Connection conn) throws SQLException;
Key[] selectVolatileJobs(Connection conn) throws SQLException;
public Key[] selectVolatileJobs(Connection conn) throws SQLException;
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/DriverDelegate.java/buggy/src/java/org/quartz/impl/jdbcjobstore/DriverDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1929, 8526, 2027, 17431, 20295, 7276, 12, 1952, 1487, 13, 1216, 6483, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1929, 8526, 2027, 17431, 20295, 7276, 12, 1952, 1487, 13, 1216, 6483, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(!from.equalsIgnoreCase(to))
if(!fromCanonPath.equalsIgnoreCase(toCanonPath))
public boolean _rename(Object session, String from, String to, Component comp) { File _to = new File(to); // this is needed because on OS X renaming to a non-existent // directory causes problems File parent = new File(_to.getParent()); if(parent.exists()) { if(!parent.isDirectory()) return false; } else { parent.mkdirs(); if(!parent.exists()) return false; } // Case-insensitive fs workaround if(!from.equalsIgnoreCase(to)) _to.delete(); boolean retVal = new File(from).renameTo(_to); VFSManager.sendVFSUpdate(this,from,true); VFSManager.sendVFSUpdate(this,to,true); return retVal; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/faacaa63fcec8939013c365942343cee85fcbef3/FileVFS.java/buggy/org/gjt/sp/jedit/io/FileVFS.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 389, 18539, 12, 921, 1339, 16, 514, 628, 16, 514, 358, 16, 202, 202, 1841, 1161, 13, 202, 95, 202, 202, 812, 389, 869, 273, 394, 1387, 12, 869, 1769, 202, 202, 759, 333, 353, 3577, 2724, 603, 5932, 1139, 30883, 358, 279, 1661, 17, 19041, 202, 202, 759, 1867, 14119, 9688, 202, 202, 812, 982, 273, 394, 1387, 24899, 869, 18, 588, 3054, 10663, 202, 202, 430, 12, 2938, 18, 1808, 10756, 202, 202, 95, 1082, 202, 430, 12, 5, 2938, 18, 291, 2853, 10756, 9506, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 2938, 18, 24816, 8291, 5621, 1082, 202, 430, 12, 5, 2938, 18, 1808, 10756, 9506, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 759, 12605, 17, 31940, 2662, 18975, 202, 202, 430, 12, 5, 2080, 18, 14963, 5556, 12, 869, 3719, 1082, 202, 67, 869, 18, 3733, 5621, 202, 202, 6494, 12197, 273, 394, 1387, 12, 2080, 2934, 18539, 774, 24899, 869, 1769, 202, 202, 58, 4931, 1318, 18, 4661, 58, 4931, 1891, 12, 2211, 16, 2080, 16, 3767, 1769, 202, 202, 58, 4931, 1318, 18, 4661, 58, 4931, 1891, 12, 2211, 16, 869, 16, 3767, 1769, 202, 202, 2463, 12197, 31, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 389, 18539, 12, 921, 1339, 16, 514, 628, 16, 514, 358, 16, 202, 202, 1841, 1161, 13, 202, 95, 202, 202, 812, 389, 869, 273, 394, 1387, 12, 869, 1769, 202, 202, 759, 333, 353, 3577, 2724, 603, 5932, 1139, 30883, 358, 279, 1661, 17, 19041, 202, 202, 759, 1867, 14119, 9688, 202, 202, 812, 982, 273, 394, 1387, 24899, 869, 18, 588, 3054, 10663, 202, 202, 430, 12, 2938, 18, 1808, 10756, 202, 202, 95, 1082, 202, 430, 12, 5, 2938, 18, 291, 2853, 10756, 9506, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 2938, 18, 24816, 8291, 5621, 1082, 202, 430, 12, 5, 2938, 18, 1808, 2 ]
public void setInitializationData(IConfigurationElement configElement, String propertyName, Object data) {
public void setInitializationData( IConfigurationElement configElement, String propertyName, Object data) {
public void setInitializationData(IConfigurationElement configElement, String propertyName, Object data) { }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c982c620ee74d8f88359cf86b9700d8f8f07c71a/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 17701, 751, 12, 45, 1750, 1046, 642, 1046, 16, 514, 5470, 16, 1033, 501, 13, 288, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 17701, 751, 12, 45, 1750, 1046, 642, 1046, 16, 514, 5470, 16, 1033, 501, 13, 288, 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 ]
unqualifiedPackage + "/" + getPackages().getProperty("package.model." + unqualifiedPackage, "");
unqualifiedPackage;
public static String getQualifiedPackageForUnqualifiedPackage(String unqualifiedPackage) throws XavaException { try { return getPackages().getProperty("package.domain." + unqualifiedPackage, "") + "/" + unqualifiedPackage + "/" + getPackages().getProperty("package.model." + unqualifiedPackage, ""); } catch (Exception ex) { ex.printStackTrace(); throw new XavaException("read_packages_error"); } }
14127 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14127/66086ec44becf5c4e670be35b5117eef111a505e/MetaComponent.java/buggy/OpenXava/src/org/openxava/component/MetaComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 29802, 2261, 1290, 984, 19724, 2261, 12, 780, 640, 19724, 2261, 13, 1216, 1139, 1629, 503, 288, 202, 202, 698, 288, 1082, 202, 2463, 9506, 202, 588, 11425, 7675, 588, 1396, 2932, 5610, 18, 4308, 1199, 397, 640, 19724, 2261, 16, 1408, 13, 397, 4016, 397, 9506, 202, 318, 19724, 2261, 397, 4016, 397, 9506, 202, 588, 11425, 7675, 588, 1396, 2932, 5610, 18, 2284, 1199, 397, 640, 19724, 2261, 16, 1408, 1769, 202, 202, 97, 202, 202, 14683, 261, 503, 431, 13, 288, 25083, 202, 338, 18, 1188, 6332, 5621, 1082, 202, 12849, 394, 1139, 1629, 503, 2932, 896, 67, 10308, 67, 1636, 8863, 6862, 9506, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 760, 514, 29802, 2261, 1290, 984, 19724, 2261, 12, 780, 640, 19724, 2261, 13, 1216, 1139, 1629, 503, 288, 202, 202, 698, 288, 1082, 202, 2463, 9506, 202, 588, 11425, 7675, 588, 1396, 2932, 5610, 18, 4308, 1199, 397, 640, 19724, 2261, 16, 1408, 13, 397, 4016, 397, 9506, 202, 318, 19724, 2261, 397, 4016, 397, 9506, 202, 588, 11425, 7675, 588, 1396, 2932, 5610, 18, 2284, 1199, 397, 640, 19724, 2261, 16, 1408, 1769, 202, 202, 97, 202, 202, 14683, 261, 503, 431, 13, 288, 25083, 202, 338, 18, 1188, 6332, 5621, 1082, 202, 12849, 394, 1139, 1629, 503, 2932, 896, 67, 10308, 67, 1636, 8863, 6862, 9506, 202, 97, 202, 97, 2, -100, -100, -100 ]
return null;
OID oid = new OID(molder, identity); return getObjectForOID(engine, oid, true);
private Object supportCGLibObject(final Object object) { if (object instanceof LazyCGLIB) { LazyCGLIB cgObject = (LazyCGLIB) object; // Test for materialization. boolean hasMaterialized = cgObject.interceptedHasMaterialized().booleanValue(); if (hasMaterialized) { // TODO [WG] We still might have an option for some serious optimization // here if the instance has not been materialized yet. Object identity = cgObject.interceptedIdentity(); ClassMolder molder = cgObject.interceptedClassMolder(); LockEngine engine = molder.getLockEngine(); // Get the OID we're looking for. OID oid = new OID(molder, identity); // Retrieve the object for this OID. return getObjectForOID(engine, oid, true); } // Object has not been materialized; not a whole lot of point in looking. return null; } return object; }
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/28333361285803ff045487b4207d59f07bc90897/ObjectTracker.java/buggy/castor/trunk/src/main/org/castor/persist/ObjectTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 2865, 20585, 5664, 921, 12, 6385, 1033, 733, 13, 288, 3639, 309, 261, 1612, 1276, 12805, 20585, 14484, 13, 288, 5411, 12805, 20585, 14484, 14947, 921, 273, 261, 14443, 20585, 14484, 13, 733, 31, 13491, 368, 7766, 364, 9390, 1588, 18, 5411, 1250, 711, 11790, 1235, 273, 14947, 921, 18, 27481, 329, 5582, 11790, 1235, 7675, 6494, 620, 5621, 5411, 309, 261, 5332, 11790, 1235, 13, 288, 7734, 368, 2660, 306, 59, 43, 65, 1660, 4859, 4825, 1240, 392, 1456, 364, 2690, 703, 22774, 14850, 7734, 368, 2674, 309, 326, 791, 711, 486, 2118, 9390, 1235, 4671, 18, 7734, 1033, 4215, 273, 14947, 921, 18, 27481, 329, 4334, 5621, 7734, 1659, 49, 1498, 312, 1498, 273, 14947, 921, 18, 27481, 329, 797, 49, 1498, 5621, 7734, 3488, 4410, 4073, 273, 312, 1498, 18, 588, 2531, 4410, 5621, 27573, 368, 968, 326, 18026, 732, 4565, 7849, 364, 18, 7734, 18026, 7764, 273, 394, 18026, 12, 81, 1498, 16, 4215, 1769, 27573, 368, 10708, 326, 733, 364, 333, 18026, 18, 7734, 327, 6455, 1290, 12945, 12, 8944, 16, 7764, 16, 638, 1769, 5411, 289, 13491, 368, 1033, 711, 486, 2118, 9390, 1235, 31, 486, 279, 7339, 17417, 434, 1634, 316, 7849, 18, 5411, 18026, 7764, 273, 394, 18026, 12, 81, 1498, 16, 4215, 1769, 282, 327, 6455, 1290, 12945, 12, 8944, 16, 7764, 16, 638, 1769, 3639, 289, 3639, 327, 733, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 2865, 20585, 5664, 921, 12, 6385, 1033, 733, 13, 288, 3639, 309, 261, 1612, 1276, 12805, 20585, 14484, 13, 288, 5411, 12805, 20585, 14484, 14947, 921, 273, 261, 14443, 20585, 14484, 13, 733, 31, 13491, 368, 7766, 364, 9390, 1588, 18, 5411, 1250, 711, 11790, 1235, 273, 14947, 921, 18, 27481, 329, 5582, 11790, 1235, 7675, 6494, 620, 5621, 5411, 309, 261, 5332, 11790, 1235, 13, 288, 7734, 368, 2660, 306, 59, 43, 65, 1660, 4859, 4825, 1240, 392, 1456, 364, 2690, 703, 22774, 14850, 7734, 368, 2674, 309, 326, 791, 711, 486, 2118, 9390, 1235, 4671, 18, 7734, 1033, 4215, 273, 14947, 921, 18, 27481, 329, 4334, 5621, 7734, 1659, 49, 1498, 312, 1498, 273, 2 ]
if (navigator.isAttribute(o1) && navigator.isAttribute(o2)) {
if (isNonChild(o1) && isNonChild(o2)) {
public int compare(Object o1, Object o2) { if (navigator == null) return 0; if (navigator.isAttribute(o1) && navigator.isAttribute(o2)) { try { return compare(navigator.getParentNode(o1), navigator.getParentNode(o2)); } catch (UnsupportedAxisException ex) { return 0; } } // ???? namespaces try { int depth1 = getDepth(o1); int depth2 = getDepth(o2); Object a1 = o1; Object a2 = o2; while (depth1 > depth2) { a1 = navigator.getParentNode(a1); depth1--; } if (a1 == o2) return 1; while (depth2 > depth1) { a2 = navigator.getParentNode(a2); depth2--; } if (a2 == o1) return -1; // a1 and a2 are now at same depth; and are not the same while (true) { Object p1 = navigator.getParentNode(a1); Object p2 = navigator.getParentNode(a2); if (p1 == p2) { return compareSiblings(p1, a1, a2); } a1 = p1; a2 = p2; } // FIXME this is going to NullPointerException when nodes come from different documents } catch (UnsupportedAxisException ex) { return 0; // ???? should I throw an exception instead? } }
12974 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12974/06da1438af631a99d3545ba4e9cd655c109d0903/NodeComparator.java/buggy/src/java/main/org/jaxen/expr/NodeComparator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 7734, 309, 261, 82, 13061, 422, 446, 13, 327, 374, 31, 7734, 309, 261, 291, 3989, 1763, 12, 83, 21, 13, 597, 353, 3989, 1763, 12, 83, 22, 3719, 288, 5411, 775, 288, 7734, 327, 3400, 12, 82, 13061, 18, 588, 3054, 907, 12, 83, 21, 3631, 19796, 18, 588, 3054, 907, 12, 83, 22, 10019, 5411, 289, 5411, 1044, 261, 8544, 6558, 503, 431, 13, 288, 7734, 327, 374, 31, 5411, 289, 3639, 289, 10792, 368, 5317, 14646, 7728, 3639, 775, 288, 5411, 509, 3598, 21, 273, 31038, 12, 83, 21, 1769, 5411, 509, 3598, 22, 273, 31038, 12, 83, 22, 1769, 13491, 1033, 279, 21, 273, 320, 21, 31, 5411, 1033, 279, 22, 273, 320, 22, 31, 4766, 565, 1323, 261, 5979, 21, 405, 3598, 22, 13, 288, 7734, 279, 21, 273, 19796, 18, 588, 3054, 907, 12, 69, 21, 1769, 7734, 3598, 21, 413, 31, 5411, 289, 5411, 309, 261, 69, 21, 422, 320, 22, 13, 327, 404, 31, 13491, 1323, 261, 5979, 22, 405, 3598, 21, 13, 288, 7734, 279, 22, 273, 19796, 18, 588, 3054, 907, 12, 69, 22, 1769, 7734, 3598, 22, 413, 31, 5411, 289, 5411, 309, 261, 69, 22, 422, 320, 21, 13, 327, 300, 21, 31, 13491, 368, 279, 21, 471, 279, 22, 854, 2037, 622, 1967, 3598, 31, 471, 854, 486, 326, 1967, 5411, 1323, 261, 3767, 13, 288, 7734, 1033, 293, 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, 377, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 7734, 309, 261, 82, 13061, 422, 446, 13, 327, 374, 31, 7734, 309, 261, 291, 3989, 1763, 12, 83, 21, 13, 597, 353, 3989, 1763, 12, 83, 22, 3719, 288, 5411, 775, 288, 7734, 327, 3400, 12, 82, 13061, 18, 588, 3054, 907, 12, 83, 21, 3631, 19796, 18, 588, 3054, 907, 12, 83, 22, 10019, 5411, 289, 5411, 1044, 261, 8544, 6558, 503, 431, 13, 288, 7734, 327, 374, 31, 5411, 289, 3639, 289, 10792, 368, 5317, 14646, 7728, 3639, 775, 288, 5411, 509, 3598, 21, 273, 31038, 12, 83, 21, 1769, 5411, 509, 3598, 22, 273, 31038, 12, 83, 22, 1769, 13491, 1033, 2 ]
if (refPart.equals(dirty[j])) {
if (refPart.equals(dirty[j]) && refPart.isSaveOnCloseNeeded()) {
public boolean closeEditors(IEditorReference[] editorRefs, boolean save) { if (save) { // Intersect the dirty editors with the editors that are closing IEditorPart[] dirty = getDirtyEditors(); List intersect = new ArrayList(); for (int i = 0; i < editorRefs.length; i++) { IEditorReference reference = editorRefs[i]; IEditorPart refPart = reference.getEditor(false); if (refPart != null) { for (int j = 0; j < dirty.length; j++) { if (refPart.equals(dirty[j])) { intersect.add(refPart); break; } } } } // Save parts, exit the method if cancel is pressed. if (intersect.size() > 0) { if (!EditorManager.saveAll(intersect, true, getWorkbenchWindow())) return false; } } // If the user has not cancelled a possible save request // and if part is added or removed always unzoom. if (isZoomed()) zoomOut(); // Deactivate part if the active part is being closed. boolean deactivated = false; for (int i = 0; i < editorRefs.length; i++) { IWorkbenchPart part = editorRefs[i].getPart(false); if (part == activePart) { deactivated = true; setActivePart(null); } if (lastActiveEditor == part) { lastActiveEditor = null; actionSwitcher.updateTopEditor(null); } } editorPresentation.getLayoutPart().deferUpdates(true); try { // Close all editors. for (int i = 0; i < editorRefs.length; i++) { IEditorReference ref = editorRefs[i]; // Notify interested listeners before the close window.firePerspectiveChanged(this, getPerspective(), ref, CHANGE_EDITOR_CLOSE); // Close the editor. getEditorManager().closeEditor(ref); activationList.remove(ref); firePartClosed(ref); disposePart(ref); } if (!window.isClosing() && deactivated) { activate(activationList.getActive()); } } finally { editorPresentation.getLayoutPart().deferUpdates(false); } // Notify interested listeners after the close window.firePerspectiveChanged(this, getPerspective(), CHANGE_EDITOR_CLOSE); // Return true on success. return true; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/f334a1e99649812786e616be879d5d847f2de8a7/WorkbenchPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1746, 4666, 1383, 12, 45, 6946, 2404, 8526, 4858, 9837, 16, 1250, 1923, 13, 288, 3639, 309, 261, 5688, 13, 288, 5411, 368, 5294, 5709, 326, 9603, 29431, 598, 326, 29431, 716, 854, 7647, 5411, 467, 6946, 1988, 8526, 9603, 273, 336, 10785, 4666, 1383, 5621, 5411, 987, 9136, 273, 394, 2407, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4858, 9837, 18, 2469, 31, 277, 27245, 288, 7734, 467, 6946, 2404, 2114, 273, 4858, 9837, 63, 77, 15533, 7734, 467, 6946, 1988, 1278, 1988, 273, 2114, 18, 588, 6946, 12, 5743, 1769, 7734, 309, 261, 1734, 1988, 480, 446, 13, 288, 10792, 364, 261, 474, 525, 273, 374, 31, 525, 411, 9603, 18, 2469, 31, 525, 27245, 288, 13491, 309, 261, 1734, 1988, 18, 14963, 12, 18013, 63, 78, 5717, 597, 1278, 1988, 18, 291, 4755, 1398, 4605, 11449, 10756, 288, 18701, 9136, 18, 1289, 12, 1734, 1988, 1769, 18701, 898, 31, 13491, 289, 10792, 289, 7734, 289, 5411, 289, 5411, 368, 7074, 2140, 16, 2427, 326, 707, 309, 3755, 353, 19504, 18, 5411, 309, 261, 12288, 18, 1467, 1435, 405, 374, 13, 288, 7734, 309, 16051, 6946, 1318, 18, 5688, 1595, 12, 12288, 16, 638, 16, 13491, 29026, 22144, 3829, 1435, 3719, 10792, 327, 629, 31, 5411, 289, 3639, 289, 3639, 368, 971, 326, 729, 711, 486, 13927, 279, 3323, 1923, 590, 540, 368, 471, 309, 1087, 353, 3096, 578, 3723, 3712, 640, 14932, 18, 3639, 309, 261, 291, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1746, 4666, 1383, 12, 45, 6946, 2404, 8526, 4858, 9837, 16, 1250, 1923, 13, 288, 3639, 309, 261, 5688, 13, 288, 5411, 368, 5294, 5709, 326, 9603, 29431, 598, 326, 29431, 716, 854, 7647, 5411, 467, 6946, 1988, 8526, 9603, 273, 336, 10785, 4666, 1383, 5621, 5411, 987, 9136, 273, 394, 2407, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4858, 9837, 18, 2469, 31, 277, 27245, 288, 7734, 467, 6946, 2404, 2114, 273, 4858, 9837, 63, 77, 15533, 7734, 467, 6946, 1988, 1278, 1988, 273, 2114, 18, 588, 6946, 12, 5743, 1769, 7734, 309, 261, 1734, 1988, 480, 446, 13, 288, 10792, 364, 261, 474, 525, 273, 374, 31, 525, 411, 9603, 2 ]
getLog().info("Restarting webapp ...");
getLog().debug("Restarting webapp ...");
public void changesDetected(Scanner scanner, List changes) { try { getLog().info("Stopping webapp ..."); getWebApplication().stop(); getLog().info("Reconfiguring webapp ..."); checkPomConfiguration(); // check if we need to reconfigure the scanner, // which is if the pom changes if (changes.contains(getProject().getFile().getCanonicalPath())) { getLog().info("Reconfiguring scanner after change to pom.xml ..."); ArrayList scanList = getScanList(); scanList.clear(); scanList.add(getProject().getFile()); File webInfDir = new File(webApp,"WEB-INF"); scanList.add(new File(webInfDir, "web.xml")); scanList.add(new File(webInfDir, "classes")); scanList.add(new File(webInfDir, "lib")); setScanList(scanList); scanner.setRoots(scanList); } getLog().info("Restarting webapp ..."); getWebApplication().start(); getLog().info("Restart completed."); } catch (Exception e) { getLog().error("Error reconfiguring/restarting webapp after change in watched files",e); } }
13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/0440dcbdbcd5234fb15a4db7b46bb3f48793fe17/Jetty6RunWarExploded.java/buggy/trunk/modules/maven-plugin/src/main/java/org/mortbay/jetty/plugin/Jetty6RunWarExploded.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 3478, 22614, 12, 11338, 7683, 16, 987, 3478, 13, 5411, 288, 7734, 775, 7734, 288, 10792, 9189, 7675, 1376, 2932, 21994, 28945, 1372, 8863, 10792, 20312, 3208, 7675, 5681, 5621, 10792, 9189, 7675, 1376, 2932, 426, 1425, 4017, 28945, 1372, 8863, 10792, 866, 52, 362, 1750, 5621, 4766, 3639, 368, 866, 309, 732, 1608, 358, 283, 14895, 326, 7683, 16, 10792, 368, 1492, 353, 309, 326, 21400, 3478, 10792, 309, 261, 6329, 18, 12298, 12, 588, 4109, 7675, 29925, 7675, 588, 15512, 743, 1435, 3719, 10792, 288, 13491, 9189, 7675, 1376, 2932, 426, 1425, 4017, 7683, 1839, 2549, 358, 21400, 18, 2902, 1372, 8863, 13491, 2407, 4135, 682, 273, 1322, 4169, 682, 5621, 13491, 4135, 682, 18, 8507, 5621, 13491, 4135, 682, 18, 1289, 12, 588, 4109, 7675, 29925, 10663, 13491, 1387, 3311, 13149, 1621, 273, 394, 1387, 12, 4875, 3371, 10837, 14778, 17, 19212, 8863, 13491, 4135, 682, 18, 1289, 12, 2704, 1387, 12, 4875, 13149, 1621, 16, 315, 4875, 18, 2902, 7923, 1769, 13491, 4135, 682, 18, 1289, 12, 2704, 1387, 12, 4875, 13149, 1621, 16, 315, 4701, 7923, 1769, 13491, 4135, 682, 18, 1289, 12, 2704, 1387, 12, 4875, 13149, 1621, 16, 315, 2941, 7923, 1769, 13491, 444, 7972, 682, 12, 9871, 682, 1769, 13491, 7683, 18, 542, 17540, 12, 9871, 682, 1769, 10792, 289, 10792, 9189, 7675, 4148, 2932, 15057, 310, 28945, 1372, 8863, 10792, 20312, 3208, 7675, 1937, 5621, 10792, 9189, 7675, 1376, 2932, 15057, 5951, 1199, 1769, 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, 2398, 1071, 918, 3478, 22614, 12, 11338, 7683, 16, 987, 3478, 13, 5411, 288, 7734, 775, 7734, 288, 10792, 9189, 7675, 1376, 2932, 21994, 28945, 1372, 8863, 10792, 20312, 3208, 7675, 5681, 5621, 10792, 9189, 7675, 1376, 2932, 426, 1425, 4017, 28945, 1372, 8863, 10792, 866, 52, 362, 1750, 5621, 4766, 3639, 368, 866, 309, 732, 1608, 358, 283, 14895, 326, 7683, 16, 10792, 368, 1492, 353, 309, 326, 21400, 3478, 10792, 309, 261, 6329, 18, 12298, 12, 588, 4109, 7675, 29925, 7675, 588, 15512, 743, 1435, 3719, 10792, 288, 13491, 9189, 7675, 1376, 2932, 426, 1425, 4017, 7683, 1839, 2549, 358, 21400, 18, 2902, 1372, 8863, 13491, 2407, 4135, 682, 273, 1322, 4169, 682, 5621, 13491, 4135, 682, 2 ]
protected void reconcileDefaults() { if (defaults != null && lastDefaultsChanges != defaults.changes) { int n = 0; int d = 0; int nsize = nodes.size(); int dsize = defaults.nodes.size(); AttrImpl nnode = (nsize == 0) ? null : (AttrImpl) nodes.elementAt(0); AttrImpl dnode = (dsize == 0) ? null : (AttrImpl) defaults.nodes.elementAt(0); while (n < nsize && d < dsize) { nnode = (AttrImpl) nodes.elementAt(n); dnode = (AttrImpl) defaults.nodes.elementAt(d); //int test = nnode.getNodeName().compareTo(dnode.getNodeName()); int testNS; String nNSString = nnode.getNamespaceURI(); String dNSString = dnode.getNamespaceURI(); // REVISTNS: Are null namespace and "" namespace equal? if (nNSString == null) if (dNSString == null) testNS = 0; else //if (dNSString.equals("")) // testNS = 0; //else testNS = 1; else if (dNSString == null) //if (nNSString.equals("")) // testNS = 0; //else testNS = -1; else testNS = nNSString.compareTo(dNSString); System.out.println("n,d"+nnode.getLocalName()+","+dnode.getLocalName()); int testLocal = ( nnode.getLocalName() ).compareTo( dnode.getLocalName() ); //int test = nnode.getNodeName().compareTo(dnode.getNodeName()); int test = (testNS != 0) ? testNS : testLocal; // Same name and a default -- make sure same value if (test == 0 && !nnode.getSpecified()) { NodeImpl clone = (NodeImpl)dnode.cloneNode(true); clone.parentNode = element; nodes.setElementAt(clone, n); // Advance over both, since names in sync ++n; ++d; } // Different name, new default in table; add it else if (test > 0) { NodeImpl clone = (NodeImpl)dnode.cloneNode(true); clone.parentNode = element; nodes.insertElementAt(clone, n); // Now in sync, so advance over both ++n; ++d; } // Different name, old default here; remove it. else if (!nnode.getSpecified()) { // NOTE: We don't need to null out the parent // because this is a node that we're // throwing away (not returning). -Ac // REVISIT: [Q] Should we null it out anyway? -Ac nodes.removeElementAt(n); // n didn't advance but represents a different element } // Different name, specified; accept it else { ++n; } } // If we ran out of local before default, pick up defaults while (d < dsize) { dnode = (AttrImpl)defaults.nodes.elementAt(d++); NodeImpl clone = (NodeImpl)dnode.cloneNode(true); clone.parentNode = element; nodes.addElement(clone); } lastDefaultsChanges = defaults.changes; } } // reconcileDefaults()
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/404f2a88483a8656171ee61590fbf2c80b15b90c/NamedNodeMapImpl.java/clean/src/org/apache/xerces/dom/NamedNodeMapImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 27163, 7019, 1435, 288, 377, 202, 430, 261, 7606, 480, 446, 597, 1142, 7019, 7173, 480, 3467, 18, 6329, 13, 288, 377, 202, 202, 474, 290, 273, 374, 31, 5411, 509, 302, 273, 374, 31, 5411, 509, 290, 1467, 273, 2199, 18, 1467, 5621, 5411, 509, 302, 1467, 273, 3467, 18, 4690, 18, 1467, 5621, 377, 202, 202, 3843, 2828, 290, 2159, 273, 261, 82, 1467, 422, 374, 13, 692, 446, 294, 261, 3843, 2828, 13, 2199, 18, 2956, 861, 12, 20, 1769, 377, 202, 202, 3843, 2828, 302, 2159, 273, 261, 72, 1467, 422, 374, 13, 692, 446, 294, 261, 3843, 2828, 13, 3467, 18, 4690, 18, 2956, 861, 12, 20, 1769, 377, 202, 202, 17523, 261, 82, 411, 290, 1467, 597, 302, 411, 302, 1467, 13, 288, 377, 1082, 202, 82, 2159, 273, 261, 3843, 2828, 13, 2199, 18, 2956, 861, 12, 82, 1769, 377, 1082, 202, 72, 2159, 273, 261, 3843, 2828, 13, 3467, 18, 4690, 18, 2956, 861, 12, 72, 1769, 377, 1082, 202, 759, 474, 1842, 273, 290, 2159, 18, 588, 18948, 7675, 9877, 774, 12, 72, 2159, 18, 588, 18948, 10663, 377, 1082, 202, 474, 1842, 3156, 31, 377, 1082, 202, 780, 290, 3156, 780, 273, 290, 2159, 18, 588, 3402, 3098, 5621, 377, 1082, 202, 780, 302, 3156, 780, 273, 302, 2159, 18, 588, 3402, 3098, 5621, 377, 1082, 202, 759, 2438, 4136, 882, 3156, 30, 12520, 446, 1981, 471, 1408, 1981, 3959, 35, 377, 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, 377, 4750, 918, 27163, 7019, 1435, 288, 377, 202, 430, 261, 7606, 480, 446, 597, 1142, 7019, 7173, 480, 3467, 18, 6329, 13, 288, 377, 202, 202, 474, 290, 273, 374, 31, 5411, 509, 302, 273, 374, 31, 5411, 509, 290, 1467, 273, 2199, 18, 1467, 5621, 5411, 509, 302, 1467, 273, 3467, 18, 4690, 18, 1467, 5621, 377, 202, 202, 3843, 2828, 290, 2159, 273, 261, 82, 1467, 422, 374, 13, 692, 446, 294, 261, 3843, 2828, 13, 2199, 18, 2956, 861, 12, 20, 1769, 377, 202, 202, 3843, 2828, 302, 2159, 273, 261, 72, 1467, 422, 374, 13, 692, 446, 294, 261, 3843, 2828, 13, 3467, 18, 4690, 18, 2956, 861, 12, 20, 1769, 377, 202, 202, 2 ]
Symbol[] syms = new Symbol[ll.size()]; ll.toArray(syms);
Symbol[] syms = new Symbol[l.size()]; l.toArray(syms);
private static final SymbolList generateOrderNSymbolList(OrderNDistribution d, int length){ SymbolList sl = null; List l = new ArrayList(length); /* * When emitting an orderN sequence a seed sequence is required that is of the * length of the conditioning alphabet. The emissions will also be allowed * to 'burn in' for 1000 emissions so that the 'end effect' of the seed * is negated. */ FiniteAlphabet cond = (FiniteAlphabet)d.getConditioningAlphabet(); UniformDistribution uni = new UniformDistribution(cond); BasisSymbol seed = (BasisSymbol)uni.sampleSymbol(); //using the linked list the seed becomes like a history buffer. LinkedList ll = new LinkedList(seed.getSymbols()); try { for(int i = 0; i < 1000+ length; i++){ //get a symbol using the seed Symbol sym = d.getDistribution(seed).sampleSymbol(); if(i >= 1000){ l.add(sym); } //add the symbol to the end of the seed ll.addLast(sym); //remove the first basis symbol of the seed ll.removeFirst(); //regenerate the seed seed = (BasisSymbol)cond.getSymbol(ll); } SymbolListFactory fact; if(length < 10000){ fact = new SimpleSymbolListFactory(); }else{ fact = new PackedSymbolListFactory(); } Symbol[] syms = new Symbol[ll.size()]; ll.toArray(syms); sl = fact.makeSymbolList(syms, length, d.getConditionedAlphabet()); //sl = new SimpleSymbolList(d.getConditionedAlphabet(),l); } catch (IllegalSymbolException ex) { //shouldn't happen but... throw new BioError("Distribution emitting Symbols not from its Alphabet?",ex); }catch(IllegalAlphabetException ex){ //shouldn't happen but... throw new BioError("Distribution emitting Symbols not from its Alphabet?",ex); } return sl; }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/785437883ebfa485ab1c500daf54d9b63ac6dc63/DistributionTools.java/buggy/src/org/biojava/bio/dist/DistributionTools.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 727, 8565, 682, 2103, 2448, 3156, 3284, 682, 12, 2448, 50, 9003, 302, 16, 509, 769, 15329, 565, 8565, 682, 2020, 273, 446, 31, 565, 987, 328, 273, 394, 2407, 12, 2469, 1769, 565, 1748, 377, 380, 5203, 3626, 1787, 392, 1353, 50, 3102, 279, 5009, 3102, 353, 1931, 716, 353, 434, 326, 377, 380, 769, 434, 326, 2269, 310, 10877, 18, 1021, 801, 1054, 1115, 903, 2546, 506, 2935, 377, 380, 358, 296, 70, 321, 316, 11, 364, 4336, 801, 1054, 1115, 1427, 716, 326, 296, 409, 5426, 11, 434, 326, 5009, 377, 380, 353, 24765, 18, 377, 1195, 377, 9458, 1137, 27316, 6941, 273, 261, 26491, 27316, 13, 72, 18, 588, 3418, 310, 27316, 5621, 377, 1351, 6854, 9003, 7738, 273, 394, 1351, 6854, 9003, 12, 10013, 1769, 377, 605, 17247, 5335, 5009, 273, 261, 11494, 291, 5335, 13, 318, 77, 18, 6358, 5335, 5621, 377, 368, 9940, 326, 8459, 666, 326, 5009, 12724, 3007, 279, 4927, 1613, 18, 377, 10688, 6579, 273, 394, 10688, 12, 12407, 18, 588, 14821, 10663, 565, 775, 288, 1377, 364, 12, 474, 277, 273, 374, 31, 277, 411, 4336, 15, 769, 31, 277, 27245, 95, 540, 368, 588, 279, 3273, 1450, 326, 5009, 540, 8565, 5382, 273, 302, 18, 588, 9003, 12, 12407, 2934, 6358, 5335, 5621, 540, 309, 12, 77, 1545, 4336, 15329, 6647, 328, 18, 1289, 12, 8117, 1769, 540, 289, 540, 368, 1289, 326, 3273, 358, 326, 679, 434, 326, 5009, 540, 6579, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 727, 8565, 682, 2103, 2448, 3156, 3284, 682, 12, 2448, 50, 9003, 302, 16, 509, 769, 15329, 565, 8565, 682, 2020, 273, 446, 31, 565, 987, 328, 273, 394, 2407, 12, 2469, 1769, 565, 1748, 377, 380, 5203, 3626, 1787, 392, 1353, 50, 3102, 279, 5009, 3102, 353, 1931, 716, 353, 434, 326, 377, 380, 769, 434, 326, 2269, 310, 10877, 18, 1021, 801, 1054, 1115, 903, 2546, 506, 2935, 377, 380, 358, 296, 70, 321, 316, 11, 364, 4336, 801, 1054, 1115, 1427, 716, 326, 296, 409, 5426, 11, 434, 326, 5009, 377, 380, 353, 24765, 18, 377, 1195, 377, 9458, 1137, 27316, 6941, 273, 261, 26491, 27316, 13, 72, 18, 588, 3418, 310, 27316, 2 ]
log.error( e);
log.error("Could not load portlet entity preferences.", e);
public void loadPreferences() throws Exception { try { IPortletPreferencesStore portletPrefsStore = PortletPreferencesStoreFactory.getPortletPreferencesStoreImpl(); int userId = person.getID(); int layoutId = Integer.parseInt(layout.getId()); String channelDescId = channelDescription.getId(); preferences = portletPrefsStore.getEntityPreferences(userId, layoutId, channelDescId); // Save preferences as original preferences originalPreferences = new PreferenceSetImpl(); ((PreferenceSetImpl)originalPreferences).addAll(preferences); } catch (Exception e) { log.error( e); throw new IOException("Could not load portlet entity preferences: " + e.getMessage()); } }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/e899a97278f18ae635cdf3309e5e79c58e0b3166/PortletEntityImpl.java/clean/source/org/jasig/portal/container/om/entity/PortletEntityImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 12377, 1435, 1216, 1185, 288, 3639, 775, 288, 5411, 31846, 12377, 2257, 13114, 1386, 2556, 2257, 273, 21305, 12377, 2257, 1733, 18, 588, 18566, 12377, 2257, 2828, 5621, 5411, 509, 6249, 273, 6175, 18, 588, 734, 5621, 5411, 509, 3511, 548, 273, 2144, 18, 2670, 1702, 12, 6741, 18, 26321, 10663, 5411, 514, 1904, 4217, 548, 273, 1904, 3291, 18, 26321, 5621, 13491, 12750, 273, 13114, 1386, 2556, 2257, 18, 588, 1943, 12377, 12, 18991, 16, 3511, 548, 16, 1904, 4217, 548, 1769, 13491, 368, 7074, 12750, 487, 2282, 12750, 5375, 2282, 12377, 273, 394, 29125, 694, 2828, 5621, 9079, 14015, 9624, 694, 2828, 13, 8830, 12377, 2934, 1289, 1595, 12, 23219, 1769, 10792, 289, 1044, 261, 503, 425, 13, 288, 5411, 613, 18, 1636, 2932, 4445, 486, 1262, 13114, 1522, 12750, 1199, 16, 425, 1769, 5411, 604, 394, 1860, 2932, 4445, 486, 1262, 13114, 1522, 12750, 30, 315, 397, 425, 18, 24906, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 12377, 1435, 1216, 1185, 288, 3639, 775, 288, 5411, 31846, 12377, 2257, 13114, 1386, 2556, 2257, 273, 21305, 12377, 2257, 1733, 18, 588, 18566, 12377, 2257, 2828, 5621, 5411, 509, 6249, 273, 6175, 18, 588, 734, 5621, 5411, 509, 3511, 548, 273, 2144, 18, 2670, 1702, 12, 6741, 18, 26321, 10663, 5411, 514, 1904, 4217, 548, 273, 1904, 3291, 18, 26321, 5621, 13491, 12750, 273, 13114, 1386, 2556, 2257, 18, 588, 1943, 12377, 12, 18991, 16, 3511, 548, 16, 1904, 4217, 548, 1769, 13491, 368, 7074, 12750, 487, 2282, 12750, 5375, 2282, 12377, 273, 394, 29125, 694, 2828, 5621, 9079, 14015, 9624, 694, 2828, 13, 8830, 12377, 2934, 1289, 1595, 12, 23219, 1769, 10792, 289, 2 ]
protected static String getJdbcDriversProperty() { //return System.getProperty(CmdRunner.JDBC_DRIVERS); return MondrianProperties.instance().getJdbcDrivers(); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/829999bd5d0b66b826a808b7c58358f398b081b5/CmdRunner.java/clean/src/main/mondrian/tui/CmdRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 3845, 780, 588, 25316, 26310, 1396, 1435, 95, 759, 2463, 3163, 18, 588, 1396, 12, 5931, 9709, 18, 30499, 67, 27720, 55, 1769, 2463, 49, 1434, 566, 304, 2297, 18, 1336, 7675, 588, 25316, 26310, 5621, 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 ]
setEnabled(selectedElements.size() == 1 && (selectedElements.get(0) instanceof Task || selectedElements.get(0) instanceof AbstractQueryHit));
if(selectedElements.size() == 1 && (selectedElements.get(0) instanceof Task)) { Task task = (Task)selectedElements.get(0); setEnabled(task.isLocal()); } else { setEnabled(false); }
public MarkTaskCompleteAction(List<ITaskListElement> selectedElements) { this.selectedElements = selectedElements; setText("Mark Complete"); setToolTipText("Mark Complete"); setId(ID); setImageDescriptor(TaskListImages.TASK_COMPLETE); setEnabled(selectedElements.size() == 1 && (selectedElements.get(0) instanceof Task || selectedElements.get(0) instanceof AbstractQueryHit)); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/1f407a45eb6405d5d1dc7a92c08006013a5dab9c/MarkTaskCompleteAction.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/MarkTaskCompleteAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6622, 2174, 6322, 1803, 12, 682, 32, 1285, 835, 682, 1046, 34, 3170, 3471, 13, 288, 202, 202, 2211, 18, 8109, 3471, 273, 3170, 3471, 31, 202, 202, 542, 1528, 2932, 3882, 14575, 8863, 202, 202, 542, 29250, 1528, 2932, 3882, 14575, 8863, 202, 202, 542, 548, 12, 734, 1769, 202, 202, 542, 2040, 3187, 12, 2174, 682, 8946, 18, 15580, 67, 15795, 1769, 202, 202, 542, 1526, 12, 8109, 3471, 18, 1467, 1435, 422, 404, 597, 261, 8109, 3471, 18, 588, 12, 20, 13, 1276, 3837, 747, 3170, 3471, 18, 588, 12, 20, 13, 1276, 4115, 1138, 13616, 10019, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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288, 202, 202, 2211, 18, 8109, 3471, 273, 3170, 3471, 31, 202, 202, 542, 1528, 2932, 3882, 14575, 8863, 202, 202, 542, 29250, 1528, 2932, 3882, 14575, 8863, 202, 202, 542, 548, 12, 734, 1769, 202, 202, 542, 2040, 3187, 12, 2174, 682, 8946, 18, 15580, 67, 15795, 1769, 202, 202, 542, 1526, 12, 8109, 3471, 18, 1467, 1435, 422, 404, 597, 261, 8109, 3471, 18, 588, 12, 20, 13, 1276, 3837, 747, 3170, 3471, 18, 588, 12, 20, 13, 1276, 4115, 1138, 13616, 10019, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (projectFromArchiveRadio.getSelection()) { directoryPathField.setEnabled(false); browseDirectoriesButton.setEnabled(false); archivePathField.setEnabled(true); browseArchivesButton.setEnabled(true); updateProjectsList(archivePathField.getText()); archivePathField.setFocus(); copyCheckbox.setSelection(true); copyCheckbox.setEnabled(false); }
archiveRadioSelected();
public void widgetSelected(SelectionEvent e) { if (projectFromArchiveRadio.getSelection()) { directoryPathField.setEnabled(false); browseDirectoriesButton.setEnabled(false); archivePathField.setEnabled(true); browseArchivesButton.setEnabled(true); updateProjectsList(archivePathField.getText()); archivePathField.setFocus(); copyCheckbox.setSelection(true); copyCheckbox.setEnabled(false); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9b772dd045432550c137104cd5ac3d088a2e975e/WizardProjectsImportPage.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 430, 261, 4406, 1265, 7465, 19984, 18, 588, 6233, 10756, 288, 6862, 202, 5149, 743, 974, 18, 542, 1526, 12, 5743, 1769, 6862, 202, 25731, 13071, 3616, 18, 542, 1526, 12, 5743, 1769, 6862, 202, 10686, 743, 974, 18, 542, 1526, 12, 3767, 1769, 6862, 202, 25731, 12269, 3606, 3616, 18, 542, 1526, 12, 3767, 1769, 6862, 202, 2725, 15298, 682, 12, 10686, 743, 974, 18, 588, 1528, 10663, 6862, 202, 10686, 743, 974, 18, 542, 9233, 5621, 6862, 202, 3530, 21272, 18, 542, 6233, 12, 3767, 1769, 6862, 202, 3530, 21272, 18, 542, 1526, 12, 5743, 1769, 9506, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 430, 261, 4406, 1265, 7465, 19984, 18, 588, 6233, 10756, 288, 6862, 202, 5149, 743, 974, 18, 542, 1526, 12, 5743, 1769, 6862, 202, 25731, 13071, 3616, 18, 542, 1526, 12, 5743, 1769, 6862, 202, 10686, 743, 974, 18, 542, 1526, 12, 3767, 1769, 6862, 202, 25731, 12269, 3606, 3616, 18, 542, 1526, 12, 3767, 1769, 6862, 202, 2725, 15298, 682, 12, 10686, 743, 974, 18, 588, 1528, 10663, 6862, 202, 10686, 743, 974, 18, 542, 9233, 5621, 6862, 202, 3530, 21272, 18, 542, 6233, 12, 3767, 1769, 6862, 202, 3530, 21272, 18, 542, 1526, 12, 5743, 1769, 9506, 202, 97, 1082, 202, 97, 2, -100 ]
if ((state.cp == state.cpend) || (source[state.cp] == ')') || (source[state.cp] == '|')) {
if (state.cp == state.cpend || source[state.cp] == '|' || (state.parenNesting != 0 && source[state.cp] == ')')) {
private static boolean parseAlternative(CompilerState state) { RENode headTerm = null; RENode tailTerm = null; char[] source = state.cpbegin; while (true) { if ((state.cp == state.cpend) || (source[state.cp] == ')') || (source[state.cp] == '|')) { if (headTerm == null) { state.result = new RENode(REOP_EMPTY); } else state.result = headTerm; return true; } if (!parseTerm(state)) return false; if (headTerm == null) headTerm = state.result; else { if (tailTerm == null) { headTerm.next = state.result; tailTerm = state.result; while (tailTerm.next != null) tailTerm = tailTerm.next; } else { tailTerm.next = state.result; tailTerm = tailTerm.next; while (tailTerm.next != null) tailTerm = tailTerm.next; } } } }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/dcd6522b882d9d5527e71ca8561e01e990f5062a/NativeRegExp.java/clean/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 1109, 21144, 12, 9213, 1119, 919, 13, 565, 288, 3639, 2438, 907, 910, 4065, 273, 446, 31, 3639, 2438, 907, 5798, 4065, 273, 446, 31, 3639, 1149, 8526, 1084, 273, 919, 18, 4057, 10086, 31, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 14015, 2019, 18, 4057, 422, 919, 18, 71, 1302, 13, 10792, 747, 261, 3168, 63, 2019, 18, 4057, 65, 422, 5777, 13, 10792, 747, 261, 3168, 63, 2019, 18, 4057, 65, 422, 8030, 3719, 288, 7734, 309, 261, 1978, 4065, 422, 446, 13, 288, 10792, 919, 18, 2088, 273, 394, 2438, 907, 12, 862, 3665, 67, 13625, 1769, 7734, 289, 7734, 469, 10792, 919, 18, 2088, 273, 910, 4065, 31, 7734, 327, 638, 31, 5411, 289, 5411, 309, 16051, 2670, 4065, 12, 2019, 3719, 7734, 327, 629, 31, 5411, 309, 261, 1978, 4065, 422, 446, 13, 7734, 910, 4065, 273, 919, 18, 2088, 31, 5411, 469, 288, 7734, 309, 261, 13101, 4065, 422, 446, 13, 288, 10792, 910, 4065, 18, 4285, 273, 919, 18, 2088, 31, 10792, 5798, 4065, 273, 919, 18, 2088, 31, 10792, 1323, 261, 13101, 4065, 18, 4285, 480, 446, 13, 5798, 4065, 273, 5798, 4065, 18, 4285, 31, 7734, 289, 7734, 469, 288, 10792, 5798, 4065, 18, 4285, 273, 919, 18, 2088, 31, 10792, 5798, 4065, 273, 5798, 4065, 18, 4285, 31, 10792, 1323, 261, 13101, 4065, 18, 4285, 480, 446, 13, 5798, 4065, 273, 5798, 4065, 18, 4285, 31, 7734, 289, 5411, 289, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 1109, 21144, 12, 9213, 1119, 919, 13, 565, 288, 3639, 2438, 907, 910, 4065, 273, 446, 31, 3639, 2438, 907, 5798, 4065, 273, 446, 31, 3639, 1149, 8526, 1084, 273, 919, 18, 4057, 10086, 31, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 14015, 2019, 18, 4057, 422, 919, 18, 71, 1302, 13, 10792, 747, 261, 3168, 63, 2019, 18, 4057, 65, 422, 5777, 13, 10792, 747, 261, 3168, 63, 2019, 18, 4057, 65, 422, 8030, 3719, 288, 7734, 309, 261, 1978, 4065, 422, 446, 13, 288, 10792, 919, 18, 2088, 273, 394, 2438, 907, 12, 862, 3665, 67, 13625, 1769, 7734, 289, 7734, 469, 10792, 919, 18, 2088, 273, 910, 4065, 31, 7734, 327, 2 ]
return;
public static void main(String[] args) { //String[] javadocargs; Logger log = Logger.getInstance(); if (args.length >=2) { if (args[1].equals("-verbose")) { log.setTraceLevel(Logger.VERBOSE); } else if (args[1].equals("-debug")) { log.setTraceLevel(Logger.DEBUG); } } if (args.length == 0) { printUsage(); return; } else if (args[0].equals("reset")) { resetCmd(); return; } else if (args[0].equals("list")) { listCmd(); return; } else if (args[0].equals("test")) { testCmd(); return; } else if (args[0].equals("remove")) { if (args.length == 1) printUsage(); removeCmd(args); return; } else if (args[0].equals("add")) { if (args.length == 1) printUsage(); String lastarg = args[args.length-1]; if (lastarg != null && lastarg.endsWith(".xml")) addapiCmd(args); else printUsage(); return; } else if (args[0].equals("updaterefs")) { updateRefsCmd(); } else { printUsage(); } }
6394 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6394/da06a42d5b2b8f9a1513e3ab49543c7d5bacb4ca/AshkelonCmd.java/clean/src/org/ashkelon/manager/AshkelonCmd.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 282, 288, 1377, 368, 780, 8526, 30829, 1968, 31, 5411, 4242, 613, 273, 4242, 18, 588, 1442, 5621, 1377, 309, 261, 1968, 18, 2469, 1545, 22, 13, 1377, 288, 540, 309, 261, 1968, 63, 21, 8009, 14963, 2932, 17, 11369, 6, 3719, 540, 288, 5411, 613, 18, 542, 3448, 2355, 12, 3328, 18, 21900, 1769, 540, 289, 540, 469, 309, 261, 1968, 63, 21, 8009, 14963, 2932, 17, 4148, 6, 3719, 540, 288, 5411, 613, 18, 542, 3448, 2355, 12, 3328, 18, 9394, 1769, 540, 289, 1377, 289, 5411, 309, 261, 1968, 18, 2469, 422, 374, 13, 1377, 288, 540, 1172, 5357, 5621, 2868, 289, 1377, 469, 309, 261, 1968, 63, 20, 8009, 14963, 2932, 6208, 6, 3719, 1377, 288, 540, 2715, 5931, 5621, 2868, 289, 1377, 469, 309, 261, 1968, 63, 20, 8009, 14963, 2932, 1098, 6, 3719, 1377, 288, 540, 666, 5931, 5621, 2868, 289, 1377, 469, 309, 261, 1968, 63, 20, 8009, 14963, 2932, 3813, 6, 3719, 1377, 288, 540, 1842, 5931, 5621, 2868, 289, 1377, 469, 309, 261, 1968, 63, 20, 8009, 14963, 2932, 4479, 6, 3719, 1377, 288, 540, 309, 261, 1968, 18, 2469, 422, 404, 13, 5411, 1172, 5357, 5621, 540, 1206, 5931, 12, 1968, 1769, 2868, 289, 1377, 469, 309, 261, 1968, 63, 20, 8009, 14963, 2932, 1289, 6, 3719, 1377, 288, 540, 309, 261, 1968, 18, 2469, 422, 404, 13, 5411, 1172, 5357, 5621, 5375, 514, 1142, 3175, 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, 565, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 282, 288, 1377, 368, 780, 8526, 30829, 1968, 31, 5411, 4242, 613, 273, 4242, 18, 588, 1442, 5621, 1377, 309, 261, 1968, 18, 2469, 1545, 22, 13, 1377, 288, 540, 309, 261, 1968, 63, 21, 8009, 14963, 2932, 17, 11369, 6, 3719, 540, 288, 5411, 613, 18, 542, 3448, 2355, 12, 3328, 18, 21900, 1769, 540, 289, 540, 469, 309, 261, 1968, 63, 21, 8009, 14963, 2932, 17, 4148, 6, 3719, 540, 288, 5411, 613, 18, 542, 3448, 2355, 12, 3328, 18, 9394, 1769, 540, 289, 1377, 289, 5411, 309, 261, 1968, 18, 2469, 422, 374, 13, 1377, 288, 540, 1172, 5357, 5621, 2868, 289, 1377, 469, 309, 261, 2 ]
{ BasicTreeUI.this.tree.collapsePath(path); try { BasicTreeUI.this.tree.fireTreeWillCollapse(path); } catch (ExpandVetoException ev) { } BasicTreeUI.this.tree.fireTreeCollapsed(path); }
BasicTreeUI.this.tree.collapsePath(path);
public void keyPressed(KeyEvent e) { TreeModel mod = BasicTreeUI.this.tree.getModel(); TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); Object last = null; if (start != null) last = start.getLastPathComponent(); if (last != null) { // DOWN, KP_DOWN if (e.getKeyCode() == KeyEvent.VK_DOWN || e.getKeyCode() == KeyEvent.VK_KP_DOWN) { Object next = BasicTreeUI.this.getNextVisibleNode(last); if (next != null) { TreePath newPath = new TreePath(getPathToRoot(next, 0)); BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, newPath); if (e.isControlDown()) tree.setLeadSelectionPath(newPath); else if (!mod.isLeaf(next) && e.isShiftDown()) { BasicTreeUI.this.tree.expandPath(newPath); try { BasicTreeUI.this.tree.fireTreeWillExpand(newPath); } catch (ExpandVetoException ev) { } BasicTreeUI.this.tree.fireTreeExpanded(newPath); } } } // UP, KP_UP else if (e.getKeyCode() == KeyEvent.VK_UP || e.getKeyCode() == KeyEvent.VK_KP_UP) { Object prev = BasicTreeUI.this.getPreviousVisibleNode(last); if (prev != null) { TreePath newPath = new TreePath(getPathToRoot(prev, 0)); BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, new TreePath(getPathToRoot(prev, 0))); if (e.isControlDown()) tree.setLeadSelectionPath(newPath); else if (!mod.isLeaf(prev) && e.isShiftDown()) { BasicTreeUI.this.tree.expandPath(newPath); try { BasicTreeUI.this.tree.fireTreeWillExpand(newPath); } catch (ExpandVetoException ev) { } BasicTreeUI.this.tree.fireTreeExpanded(newPath); } } } // LEFT, KP_LEFT else if (e.getKeyCode() == KeyEvent.VK_LEFT || e.getKeyCode() == KeyEvent.VK_KP_LEFT) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(mod.getRoot(), last); if (!mod.isLeaf(last) && BasicTreeUI.this.tree.isExpanded(path)) { BasicTreeUI.this.tree.collapsePath(path); try { BasicTreeUI.this.tree.fireTreeWillCollapse(path); } catch (ExpandVetoException ev) { } BasicTreeUI.this.tree.fireTreeCollapsed(path); } else if (p != null) BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, new TreePath(getPathToRoot(p, 0))); } // RIGHT, KP_RIGHT else if (e.getKeyCode() == KeyEvent.VK_RIGHT || e.getKeyCode() == KeyEvent.VK_KP_RIGHT) { TreePath path = new TreePath(getPathToRoot(last, 0)); if (!mod.isLeaf(last) && BasicTreeUI.this.tree.isCollapsed(path)) { BasicTreeUI.this.tree.expandPath(path); try { BasicTreeUI.this.tree.fireTreeWillExpand(path); } catch (ExpandVetoException ev) { } BasicTreeUI.this.tree.fireTreeExpanded(path); } else { Object next = BasicTreeUI.this.getNextVisibleNode(last); if (next != null) BasicTreeUI.this.selectPath( BasicTreeUI.this.tree, new TreePath( getPathToRoot( next, 0))); } } // Enter else if (e.getKeyCode() == KeyEvent.VK_ENTER) { TreePath path = new TreePath(getPathToRoot(last, 0)); if (!mod.isLeaf(last)) { if (BasicTreeUI.this.tree.isExpanded(path)) { BasicTreeUI.this.tree.collapsePath(path); try { BasicTreeUI.this.tree.fireTreeWillCollapse(path); } catch (ExpandVetoException ev) { } BasicTreeUI.this.tree.fireTreeCollapsed(path); } else { BasicTreeUI.this.tree.expandPath(path); try { BasicTreeUI.this.tree.fireTreeWillExpand(path); } catch (ExpandVetoException ev) { } BasicTreeUI.this.tree.fireTreeExpanded(path); } } } } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/6e1add318c96d8155f1e4fd6ab65b4917e27da8b/BasicTreeUI.java/clean/libraries/javalib/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 498, 24624, 12, 653, 1133, 425, 13, 565, 288, 1377, 4902, 1488, 681, 273, 7651, 2471, 5370, 18, 2211, 18, 3413, 18, 588, 1488, 5621, 1377, 4902, 743, 787, 273, 7651, 2471, 5370, 18, 2211, 18, 3413, 18, 588, 9678, 6233, 743, 5621, 1377, 1033, 1142, 273, 446, 31, 1377, 309, 261, 1937, 480, 446, 13, 3639, 1142, 273, 787, 18, 588, 3024, 743, 1841, 5621, 1377, 309, 261, 2722, 480, 446, 13, 3639, 288, 1850, 368, 21595, 16, 1475, 52, 67, 12711, 1850, 309, 261, 73, 18, 588, 653, 1085, 1435, 422, 23737, 18, 58, 47, 67, 12711, 2868, 747, 425, 18, 588, 653, 1085, 1435, 422, 23737, 18, 58, 47, 67, 47, 52, 67, 12711, 13, 5411, 288, 2868, 1033, 1024, 273, 7651, 2471, 5370, 18, 2211, 18, 588, 2134, 6207, 907, 12, 2722, 1769, 2868, 309, 261, 4285, 480, 446, 13, 7734, 288, 5375, 4902, 743, 14954, 273, 394, 4902, 743, 12, 588, 743, 774, 2375, 12, 4285, 16, 374, 10019, 5375, 7651, 2471, 5370, 18, 2211, 18, 4025, 743, 12, 8252, 2471, 5370, 18, 2211, 18, 3413, 16, 14954, 1769, 5375, 309, 261, 73, 18, 291, 3367, 4164, 10756, 10792, 2151, 18, 542, 9678, 6233, 743, 12, 2704, 743, 1769, 5375, 469, 309, 16051, 1711, 18, 291, 9858, 12, 4285, 13, 597, 425, 18, 291, 10544, 4164, 10756, 10792, 288, 8227, 7651, 2471, 5370, 18, 2211, 18, 3413, 18, 12320, 743, 12, 2704, 743, 1769, 8227, 775, 13491, 288, 12900, 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, 498, 24624, 12, 653, 1133, 425, 13, 565, 288, 1377, 4902, 1488, 681, 273, 7651, 2471, 5370, 18, 2211, 18, 3413, 18, 588, 1488, 5621, 1377, 4902, 743, 787, 273, 7651, 2471, 5370, 18, 2211, 18, 3413, 18, 588, 9678, 6233, 743, 5621, 1377, 1033, 1142, 273, 446, 31, 1377, 309, 261, 1937, 480, 446, 13, 3639, 1142, 273, 787, 18, 588, 3024, 743, 1841, 5621, 1377, 309, 261, 2722, 480, 446, 13, 3639, 288, 1850, 368, 21595, 16, 1475, 52, 67, 12711, 1850, 309, 261, 73, 18, 588, 653, 1085, 1435, 422, 23737, 18, 58, 47, 67, 12711, 2868, 747, 425, 18, 588, 653, 1085, 1435, 422, 23737, 18, 58, 47, 67, 47, 52, 67, 2 ]
public void removeEnabledSubmissions(Collection enabledSubmissions) { enabledSubmissions = Util.safeCopy(enabledSubmissions, EnabledSubmission.class); for (Iterator iterator = enabledSubmissions.iterator(); iterator .hasNext();) { EnabledSubmission enabledSubmission = (EnabledSubmission) iterator .next(); String contextId = enabledSubmission.getContextId(); List enabledSubmissions2 = (List) enabledSubmissionsByContextId .get(contextId); if (enabledSubmissions2 != null) { enabledSubmissions2.remove(enabledSubmission); if (enabledSubmissions2.isEmpty()) enabledSubmissionsByContextId.remove(contextId); } } processEnabledSubmissions(true); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/a598652c84e71b8a345e1ef1714bd8ce4698c24c/WorkbenchContextSupport.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/contexts/ws/WorkbenchContextSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 4479, 1526, 1676, 7300, 12, 2532, 5745, 1676, 7300, 15329, 5745, 1676, 7300, 33, 1304, 18, 4626, 2951, 12, 5745, 1676, 7300, 16, 1526, 17865, 18, 1106, 1769, 1884, 12, 3198, 9838, 33, 5745, 1676, 7300, 18, 9838, 5621, 9838, 18, 5332, 2134, 5621, 15329, 1526, 17865, 5745, 17865, 28657, 1526, 17865, 13, 9838, 18, 4285, 5621, 780, 2472, 548, 33, 5745, 17865, 18, 29120, 548, 5621, 682, 5745, 1676, 7300, 22, 28657, 682, 13, 5745, 1676, 7300, 858, 1042, 548, 18, 588, 12, 2472, 548, 1769, 430, 12, 5745, 1676, 7300, 22, 5, 33, 2011, 15329, 5745, 1676, 7300, 22, 18, 4479, 12, 5745, 17865, 1769, 430, 12, 5745, 1676, 7300, 22, 18, 291, 1921, 10756, 5745, 1676, 7300, 858, 1042, 548, 18, 4479, 12, 2472, 548, 1769, 9090, 2567, 1526, 1676, 7300, 12, 3767, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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18, 1106, 1769, 1884, 12, 3198, 9838, 33, 5745, 1676, 7300, 18, 9838, 5621, 9838, 18, 5332, 2134, 5621, 15329, 1526, 17865, 5745, 17865, 28657, 1526, 17865, 13, 9838, 18, 4285, 5621, 780, 2472, 548, 33, 5745, 17865, 18, 29120, 548, 5621, 682, 5745, 1676, 7300, 22, 28657, 682, 13, 5745, 1676, 7300, 858, 1042, 548, 18, 588, 12, 2472, 548, 1769, 430, 12, 5745, 1676, 7300, 22, 5, 33, 2011, 15329, 5745, 1676, 7300, 22, 18, 4479, 12, 5745, 17865, 1769, 430, 12, 5745, 1676, 7300, 22, 18, 291, 1921, 10756, 2 ]
} catch (InvalidSituationServiceException e) {
} catch (InvalidSituationServiceException e) {
public ActionForward deleteStudentGroup(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FenixActionException, FenixFilterException { HttpSession session = request.getSession(false); UserView userView = (UserView) session.getAttribute(SessionConstants.U_VIEW); Integer objectCode = getObjectCode(request); String studentGroupCodeString = request.getParameter("studentGroupCode"); Integer studentGroupCode = new Integer(studentGroupCodeString); Object[] args = { objectCode, studentGroupCode }; try { ServiceManagerServiceFactory.executeService(userView, "DeleteStudentGroup", args); } catch (ExistingServiceException e) { ActionErrors actionErrors = new ActionErrors(); ActionError error = null; error = new ActionError("error.noGroup"); actionErrors.add("error.noGroup", error); saveErrors(request, actionErrors); return viewShiftsAndGroups(mapping, form, request, response); } catch (InvalidSituationServiceException e) { ActionErrors actionErrors = new ActionErrors(); ActionError error = null; error = new ActionError("errors.invalid.delete.not.empty.studentGroup"); actionErrors.add("errors.invalid.delete.not.empty.studentGroup", error); saveErrors(request, actionErrors); return viewStudentGroupInformation(mapping, form, request, response); } catch (FenixServiceException e) { e.printStackTrace(); throw new FenixActionException(e.getMessage()); } return viewShiftsAndGroups(mapping, form, request, response); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/f1790994e90150a41f878ae3110bab38ce01b720/TeacherAdministrationViewerDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/teacher/TeacherAdministrationViewerDispatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 1430, 19943, 319, 1114, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 5411, 9984, 590, 16, 12446, 766, 13, 1216, 478, 275, 697, 1803, 503, 16, 5411, 478, 275, 697, 1586, 503, 288, 3639, 26166, 1339, 273, 590, 18, 588, 2157, 12, 5743, 1769, 3639, 2177, 1767, 729, 1767, 273, 261, 1299, 1767, 13, 1339, 18, 588, 1499, 12, 2157, 2918, 18, 57, 67, 12145, 1769, 3639, 2144, 733, 1085, 273, 6455, 1085, 12, 2293, 1769, 3639, 514, 18110, 1114, 1085, 780, 273, 590, 18, 588, 1662, 2932, 26240, 1114, 1085, 8863, 3639, 2144, 18110, 1114, 1085, 273, 394, 2144, 12, 26240, 1114, 1085, 780, 1769, 3639, 1033, 8526, 833, 273, 288, 733, 1085, 16, 18110, 1114, 1085, 289, 31, 3639, 775, 288, 5411, 1956, 1318, 1179, 1733, 18, 8837, 1179, 12, 1355, 1767, 16, 315, 2613, 19943, 319, 1114, 3113, 833, 1769, 3639, 289, 1044, 261, 9895, 15133, 425, 13, 288, 5411, 4382, 4229, 1301, 4229, 273, 394, 4382, 4229, 5621, 5411, 4382, 668, 555, 273, 446, 31, 5411, 555, 273, 394, 4382, 668, 2932, 1636, 18, 2135, 1114, 8863, 5411, 1301, 4229, 18, 1289, 2932, 1636, 18, 2135, 1114, 3113, 555, 1769, 5411, 1923, 4229, 12, 2293, 16, 1301, 4229, 1769, 5411, 327, 1476, 10544, 87, 1876, 3621, 12, 6770, 16, 646, 16, 590, 16, 766, 1769, 3639, 289, 1044, 261, 1941, 55, 305, 11407, 15133, 425, 13, 288, 5411, 4382, 4229, 1301, 4229, 273, 394, 4382, 4229, 5621, 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, 1071, 4382, 8514, 1430, 19943, 319, 1114, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 5411, 9984, 590, 16, 12446, 766, 13, 1216, 478, 275, 697, 1803, 503, 16, 5411, 478, 275, 697, 1586, 503, 288, 3639, 26166, 1339, 273, 590, 18, 588, 2157, 12, 5743, 1769, 3639, 2177, 1767, 729, 1767, 273, 261, 1299, 1767, 13, 1339, 18, 588, 1499, 12, 2157, 2918, 18, 57, 67, 12145, 1769, 3639, 2144, 733, 1085, 273, 6455, 1085, 12, 2293, 1769, 3639, 514, 18110, 1114, 1085, 780, 273, 590, 18, 588, 1662, 2932, 26240, 1114, 1085, 8863, 3639, 2144, 18110, 1114, 1085, 273, 394, 2144, 12, 26240, 1114, 1085, 780, 1769, 3639, 1033, 8526, 833, 273, 288, 733, 1085, 2 ]
Logger.minor(this, "Sending DataInsert");
public void run() { short origHTL = htl; try { HashSet nodesRoutedTo = new HashSet(); while(true) { Message req = DMT.createFNPInsertRequest(uid, htl, myKey); if(receiveFailed) return; // don't need to set status as killed by InsertHandler if(htl == 0) { // Send an InsertReply back finish(SUCCESS); return; } // Route it PeerNode next; // Can backtrack, so only route to nodes closer than we are to target. next = node.peers.closerPeer(source, nodesRoutedTo, target, source == null); if(next == null) { // Backtrack finish(ROUTE_NOT_FOUND); return; } nodesRoutedTo.add(next); // Wait for ack or reject... will come before even a locally generated DataReply MessageFilter mfAccepted = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPAccepted); MessageFilter mfRejectedLoop = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPRejectedLoop); MessageFilter mfRejectedOverload = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPRejectedOverload); // mfRejectedOverload must be the last thing in the or // So its or pointer remains null // Otherwise we need to recreate it below MessageFilter mf = mfAccepted.or(mfRejectedLoop.or(mfRejectedOverload)); mfRejectedOverload.clearOr(); // Send to next node next.send(req); if(receiveFailed) return; // don't need to set status as killed by InsertHandler Message msg = node.usm.waitFor(mf); if(receiveFailed) return; // don't need to set status as killed by InsertHandler if(msg == null) { // No response, move on htl = node.decrementHTL(source, htl); continue; } if(msg.getSpec() == DMT.FNPRejectedLoop) { // Loop - we don't want to send the data to this one htl = node.decrementHTL(source, htl); continue; } if(msg.getSpec() == DMT.FNPRejectedOverload) { // Overload... hmmmm - propagate error back to source finish(REJECTED_OVERLOAD); return; } // Otherwise must be an Accepted // Send them the data. // Which might be the new data resulting from a collision... BlockTransmitter bt; Message dataInsert; PartiallyReceivedBlock prbNow; prbNow = prb; dataInsert = DMT.createFNPDataInsert(uid, headers); bt = new BlockTransmitter(node.usm, next, uid, prbNow); /** What are we waiting for now??: * - FNPRouteNotFound - couldn't exhaust HTL, but send us the * data anyway please * - FNPInsertReply - used up all HTL, yay * - FNPRejectOverload - propagating an overload error :( * - FNPDataFound - target already has the data, and the data is * an SVK/SSK/KSK, therefore could be different to what we are * inserting. */ MessageFilter mfRNF = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(PUT_TIMEOUT).setType(DMT.FNPRouteNotFound); MessageFilter mfInsertReply = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(PUT_TIMEOUT).setType(DMT.FNPInsertReply); mfRejectedOverload.setTimeout(PUT_TIMEOUT); MessageFilter mfRouteNotFound = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(PUT_TIMEOUT).setType(DMT.FNPRouteNotFound); MessageFilter mfDataInsertRejected = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(PUT_TIMEOUT).setType(DMT.FNPDataInsertRejected); mf = mfRNF.or(mfInsertReply.or(mfRouteNotFound.or(mfDataInsertRejected.or(mfRejectedOverload.setTimeout(PUT_TIMEOUT))))); if(receiveFailed) return; next.send(dataInsert); if(receiveFailed) return; bt.send(); if(receiveFailed) return; msg = node.usm.waitFor(mf); if(receiveFailed) return; if(msg == null) { // Timeout :( // Fairly serious problem Logger.error(this, "Timeout after Accepted in insert"); // Treat as rejected-overload finish(REJECTED_OVERLOAD); return; } if(msg.getSpec() == DMT.FNPRejectedOverload) { finish(REJECTED_OVERLOAD); return; } if(msg.getSpec() == DMT.FNPRouteNotFound) { // Still gets the data - but not yet short newHtl = msg.getShort(DMT.HTL); htl = node.decrementHTL(source, htl); if(htl > newHtl) htl = newHtl; continue; } if(msg.getSpec() == DMT.FNPDataInsertRejected) { short reason = msg.getShort(DMT.DATA_INSERT_REJECTED_REASON); if(reason == DMT.DATA_INSERT_REJECTED_VERIFY_FAILED) { if(fromStore) { // That's odd... Logger.error(this, "Verify failed on next node "+next+" for DataInsert but we were sending from the store!"); } else { try { if(!prb.allReceived()) Logger.error(this, "Did not receive all packets but next node says invalid anyway!"); else { // Check the data new CHKBlock(prb.getBlock(), headers, myKey); Logger.error(this, "Verify failed on "+next+" but data was valid!"); } } catch (CHKVerifyException e) { Logger.normal(this, "Verify failed because data was invalid"); } } continue; // What else can we do? } else if(reason == DMT.DATA_INSERT_REJECTED_RECEIVE_FAILED) { if(receiveFailed) { Logger.minor(this, "Failed to receive data, so failed to send data"); } else { if(prb.allReceived()) { Logger.error(this, "Received all data but send failed to "+next); } else { if(prb.isAborted()) { Logger.normal(this, "Send failed: aborted: "+prb.getAbortReason()+": "+prb.getAbortDescription()); } else Logger.normal(this, "Send failed; have not yet received all data but not aborted: "+next); } } continue; } Logger.error(this, "DataInsert rejected! Reason="+DMT.getDataInsertRejectedReason(reason)); } // Otherwise should be an InsertReply // Our task is complete finish(SUCCESS); return; } } catch (Throwable t) { Logger.error(this, "Caught "+t, t); } finally { node.removeInsertSender(myKey, origHTL, this); } }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/dc3855db75ed809f84b06fd4e3550936ea0f3bc1/InsertSender.java/clean/src/freenet/node/InsertSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 1071, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 918, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 1086, 1435, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 288, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 3025, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 1647, 5062, 48, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 273, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 366, 6172, 31, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 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, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 1071, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 918, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 1086, 1435, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 288, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 4600, 8863, 225, 4242, 18, 17364, 12, 2211, 16, 315, 16322, 1910, 2 ]