rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
System.out.println("lenVisitEllipsis:" + node.toString(""));
public Object visitEllipsis(Ellipsis node) throws Exception { System.out.println("lenVisitEllipsis:" + node.toString("")); return null; }
50371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50371/2e0750ff13782bb25064881debe65f22d8f24e7b/LengthEstimator.java/clean/org.python.pydev/src/org/python/pydev/editor/model/LengthEstimator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3757, 4958, 17829, 12, 4958, 17829, 756, 13, 1216, 1185, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 1897, 10432, 4958, 17829, 2773, 397, 756, 18, 10492, 2932, 7923, 1769, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3757, 4958, 17829, 12, 4958, 17829, 756, 13, 1216, 1185, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 1897, 10432, 4958, 17829, 2773, 397, 756, 18, 10492, 2932, 7923, 1769, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testExecuteEmbedderWithNullProperties() throws Exception { assertFalse( mojo.executeInstallFile( null ) );
public void testExecuteEmbedderWithNullProperties() throws Exception { assertFalse(mojo.executeInstallFile(null));
public void testExecuteEmbedderWithNullProperties() throws Exception { assertFalse( mojo.executeInstallFile( null ) ); }
50596 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50596/24da5e85af5a5436d87052b0eb6b01bb40e0457c/TestBootstrapMojo.java/buggy/maven2/maven-wobootstrap-plugin/src/test/java/org/objectstyle/woproject/maven2/wobootstrap/TestBootstrapMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5289, 9538, 765, 1190, 2041, 2297, 1435, 1216, 1185, 202, 95, 202, 202, 11231, 8381, 12, 312, 10007, 18, 8837, 6410, 812, 12, 446, 262, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5289, 9538, 765, 1190, 2041, 2297, 1435, 1216, 1185, 202, 95, 202, 202, 11231, 8381, 12, 312, 10007, 18, 8837, 6410, 812, 12, 446, 262, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
serverUrlEditor.setErrorMessage("Server path must be a valid http(s):
public void createControl(Composite parent) { container = new Composite(parent, SWT.NULL); FillLayout layout = new FillLayout(); container.setLayout(layout); new Label(container, SWT.NONE).setText(LABEL_TEMPLATE); repositoryLabelCombo = new Combo(container, SWT.DROP_DOWN); GridDataFactory.swtDefaults().grab(true, false).applyTo(repositoryLabelCombo); serverUrlEditor = new StringFieldEditor("", LABEL_SERVER, StringFieldEditor.UNLIMITED, container) { @Override protected boolean doCheckState() { return isValidUrl(getStringValue()); } @Override protected void valueChanged() { super.valueChanged(); if (getWizard() != null) { getWizard().getContainer().updateButtons(); } } }; serverUrlEditor.setErrorMessage("Server path must be a valid http(s):// url"); if (needsAnonymousLogin()) { anonymousButton = new Button(container, SWT.CHECK); GridDataFactory.fillDefaults().span(2, SWT.DEFAULT).applyTo(anonymousButton); anonymousButton.setText("Anonymous Access"); anonymousButton.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { setAnonymous(anonymousButton.getSelection()); } public void widgetDefaultSelected(SelectionEvent e) { // ignore } }); // Label anonymousLabel = new Label(container, SWT.NONE); // anonymousLabel.setText(""); } userNameEditor = new StringFieldEditor("", LABEL_USER, StringFieldEditor.UNLIMITED, container); passwordEditor = new RepositoryStringFieldEditor("", LABEL_PASSWORD, StringFieldEditor.UNLIMITED, container); if (repository != null) { originalUrl = repository.getUrl(); oldUsername = repository.getUserName(); oldPassword = repository.getPassword(); try { String repositoryLabel = repository.getProperty(IRepositoryConstants.PROPERTY_LABEL); if (repositoryLabel != null && repositoryLabel.length() > 0) { repositoryLabelCombo.add(repositoryLabel); repositoryLabelCombo.select(0); repositoryLabelCombo.setText(repositoryLabel); } serverUrlEditor.setStringValue(repository.getUrl()); userNameEditor.setStringValue(repository.getUserName()); passwordEditor.setStringValue(repository.getPassword()); } catch (Throwable t) { MylarStatusHandler.fail(t, "could not set field value for: " + repository, false); } } else { oldUsername = ""; oldPassword = ""; } // bug 131656: must set echo char after setting value on Mac ((RepositoryStringFieldEditor) passwordEditor).getTextControl().setEchoChar('*'); if (needsAnonymousLogin()) { // do this after username and password widgets have been intialized if (repository != null) { setAnonymous(isAnonymousAccess()); } } // TODO: put this back if we can't get the info from all connectors // if (needsTimeZone()) { // Label timeZoneLabel = new Label(container, SWT.NONE); // timeZoneLabel.setText("Repository time zone: "); // timeZonesCombo = new Combo(container, SWT.READ_ONLY); // String[] timeZoneIds = TimeZone.getAvailableIDs(); // Arrays.sort(timeZoneIds); // for (String zone : timeZoneIds) { // timeZonesCombo.add(zone); // } // boolean setZone = false; // if (repository != null) { // if (timeZonesCombo.indexOf(repository.getTimeZoneId()) > -1) { // timeZonesCombo.select(timeZonesCombo.indexOf(repository.getTimeZoneId())); // setZone = true; // } // } // if (!setZone) { // timeZonesCombo.select(timeZonesCombo.indexOf(TimeZone.getDefault().getID())); // } // } createAdditionalControls(container); if (needsEncoding()) { Label encodingLabel = new Label(container, SWT.HORIZONTAL); encodingLabel.setText("Character Encoding:"); GridDataFactory.fillDefaults().align(SWT.TOP, SWT.DEFAULT).applyTo(encodingLabel); Composite encodingContainer = new Composite(container, SWT.NONE); GridLayout gridLayout = new GridLayout(2, false); gridLayout.marginWidth = 0; gridLayout.marginHeight = 0; encodingContainer.setLayout(gridLayout); defaultEncoding = new Button(encodingContainer, SWT.RADIO); defaultEncoding.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false, 2, 1)); defaultEncoding.setText("Default (" + TaskRepository.DEFAULT_CHARACTER_ENCODING + ")"); defaultEncoding.setSelection(true); final Button otherEncoding = new Button(encodingContainer, SWT.RADIO); otherEncoding.setText("Other:"); otherEncodingCombo = new Combo(encodingContainer, SWT.READ_ONLY); for (String encoding : Charset.availableCharsets().keySet()) { if (!encoding.equals(TaskRepository.DEFAULT_CHARACTER_ENCODING)) { otherEncodingCombo.add(encoding); } } setDefaultEncoding(); otherEncoding.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { if (otherEncoding.getSelection()) { defaultEncoding.setSelection(false); otherEncodingCombo.setEnabled(true); } else { defaultEncoding.setSelection(true); otherEncodingCombo.setEnabled(false); } } }); if (repository != null) { try { String repositoryEncoding = repository.getCharacterEncoding(); if (repositoryEncoding != null) {// && !repositoryEncoding.equals(defaultEncoding)) { if (otherEncodingCombo.getItemCount() > 0 && otherEncodingCombo.indexOf(repositoryEncoding) > -1) { otherEncodingCombo.setEnabled(true); otherEncoding.setSelection(true); defaultEncoding.setSelection(false); otherEncodingCombo.select(otherEncodingCombo.indexOf(repositoryEncoding)); } else { setDefaultEncoding(); } } } catch (Throwable t) { MylarStatusHandler.fail(t, "could not set field value for: " + repository, false); } } } validateServerButton = new Button(container, SWT.PUSH); GridDataFactory.swtDefaults().span(2, SWT.DEFAULT).grab(false, false).applyTo(validateServerButton); validateServerButton.setText("Validate Settings"); validateServerButton.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { validateSettings(); } }); setControl(container); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/ddd94f001597001e10a104e2c9c1d9824476c106/AbstractRepositorySettingsPage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/AbstractRepositorySettingsPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 9400, 982, 13, 288, 202, 202, 3782, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 8026, 3744, 3511, 273, 394, 14192, 3744, 5621, 202, 202, 3782, 18, 542, 3744, 12, 6741, 1769, 202, 202, 2704, 5287, 12, 3782, 16, 348, 8588, 18, 9826, 2934, 542, 1528, 12, 13545, 67, 12205, 1769, 202, 202, 9071, 2224, 16156, 273, 394, 1286, 1075, 12, 3782, 16, 348, 8588, 18, 18768, 67, 12711, 1769, 202, 202, 6313, 751, 1733, 18, 5328, 88, 7019, 7675, 2752, 70, 12, 3767, 16, 629, 2934, 9010, 774, 12, 9071, 2224, 16156, 1769, 202, 202, 3567, 1489, 6946, 273, 394, 30916, 6946, 2932, 3113, 18210, 67, 4370, 16, 30916, 6946, 18, 2124, 8283, 2056, 16, 1478, 13, 288, 1082, 202, 36, 6618, 1082, 202, 1117, 1250, 741, 1564, 1119, 1435, 288, 9506, 202, 2463, 4908, 1489, 12, 588, 19733, 10663, 1082, 202, 97, 1082, 202, 36, 6618, 1082, 202, 1117, 918, 460, 5033, 1435, 288, 9506, 202, 9565, 18, 1132, 5033, 5621, 9506, 202, 430, 261, 588, 27130, 1435, 480, 446, 13, 288, 6862, 202, 588, 27130, 7675, 588, 2170, 7675, 2725, 14388, 5621, 9506, 202, 97, 1082, 202, 97, 202, 202, 20451, 202, 202, 3567, 1489, 6946, 18, 542, 14935, 2932, 2081, 589, 1297, 506, 279, 923, 1062, 12, 87, 13, 2207, 880, 8863, 202, 202, 430, 261, 20600, 18792, 5358, 10756, 288, 1082, 202, 19070, 3616, 273, 394, 12569, 12, 3782, 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, 752, 3367, 12, 9400, 982, 13, 288, 202, 202, 3782, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 8026, 3744, 3511, 273, 394, 14192, 3744, 5621, 202, 202, 3782, 18, 542, 3744, 12, 6741, 1769, 202, 202, 2704, 5287, 12, 3782, 16, 348, 8588, 18, 9826, 2934, 542, 1528, 12, 13545, 67, 12205, 1769, 202, 202, 9071, 2224, 16156, 273, 394, 1286, 1075, 12, 3782, 16, 348, 8588, 18, 18768, 67, 12711, 1769, 202, 202, 6313, 751, 1733, 18, 5328, 88, 7019, 7675, 2752, 70, 12, 3767, 16, 629, 2934, 9010, 774, 12, 9071, 2224, 16156, 1769, 202, 202, 3567, 1489, 6946, 273, 394, 30916, 6946, 2932, 3113, 18210, 67, 2 ]
if (fExpressions == null)
if (fExpressions == null) {
public void add(Expression expression) { if (fExpressions == null) fExpressions = new ArrayList(2); fExpressions.add(expression); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/CompositeExpression.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/expressions/CompositeExpression.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 12, 2300, 2652, 13, 288, 202, 202, 430, 261, 74, 8927, 422, 446, 13, 1082, 202, 74, 8927, 273, 394, 2407, 12, 22, 1769, 202, 202, 74, 8927, 18, 1289, 12, 8692, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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769, 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 ]
doc.addRevision(octxt.authuser.getName(), rawData); mCurrentChange.setIndexedItem(doc, null);
ParsedDocument pd = new ParsedDocument(blob.getFile(), doc.getFilename(), doc.getContentType(), getOperationTimestampMillis()); doc.addRevision(author, pd); mCurrentChange.setIndexedItem(doc, pd);
public void addDocumentRevision(OperationContext octxt, Document doc, byte[] rawData) throws ServiceException { StoreManager sm = StoreManager.getInstance(); Blob blob = null; boolean success = false; try { beginTransaction("addDocumentRevision", octxt, null); short volumeId = Volume.getCurrentMessageVolume().getId(); blob = sm.storeIncoming(rawData, null, null, volumeId); markOtherItemDirty(blob); doc.addRevision(octxt.authuser.getName(), rawData); mCurrentChange.setIndexedItem(doc, null); sm.link(blob, this, doc.getId(), doc.getLastRevision().getRevId(), volumeId); success = true; } catch (IOException ioe) { throw MailServiceException.MESSAGE_PARSE_ERROR(ioe); } finally { endTransaction(success); if (blob != null) try { sm.delete(blob); } catch (IOException ioe) {// no harm done } } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/9f655a631d3615aac2a1ba6cdb1c0ac85f3e86cc/Mailbox.java/clean/ZimbraServer/src/java/com/zimbra/cs/mailbox/Mailbox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2519, 7939, 12, 2988, 1042, 320, 20364, 16, 4319, 997, 16, 1160, 8526, 16503, 13, 1216, 16489, 288, 377, 202, 2257, 1318, 3029, 273, 4994, 1318, 18, 588, 1442, 5621, 377, 202, 9405, 4795, 273, 446, 31, 377, 202, 6494, 2216, 273, 629, 31, 377, 202, 698, 288, 377, 202, 202, 10086, 3342, 2932, 1289, 2519, 7939, 3113, 320, 20364, 16, 446, 1769, 377, 202, 202, 6620, 3940, 548, 273, 7404, 18, 588, 3935, 1079, 4545, 7675, 26321, 5621, 540, 202, 10721, 273, 3029, 18, 2233, 20370, 12, 1899, 751, 16, 446, 16, 446, 16, 3940, 548, 1769, 540, 202, 3355, 8290, 1180, 10785, 12, 10721, 1769, 540, 202, 2434, 18, 1289, 7939, 12, 83, 20364, 18, 1944, 1355, 18, 17994, 9334, 16503, 1769, 540, 202, 81, 3935, 3043, 18, 542, 15034, 1180, 12, 2434, 16, 446, 1769, 540, 202, 4808, 18, 1232, 12, 10721, 16, 333, 16, 997, 18, 26321, 9334, 997, 18, 588, 3024, 7939, 7675, 588, 10070, 548, 9334, 3940, 548, 1769, 540, 202, 4768, 273, 638, 31, 3639, 202, 97, 1044, 261, 14106, 10847, 13, 288, 540, 202, 12849, 11542, 15133, 18, 8723, 67, 21045, 67, 3589, 12, 1594, 73, 1769, 377, 202, 97, 3095, 288, 540, 202, 409, 3342, 12, 4768, 1769, 540, 202, 430, 261, 10721, 480, 446, 13, 2398, 202, 698, 288, 1171, 202, 4808, 18, 3733, 12, 10721, 1769, 7734, 202, 97, 1044, 261, 14106, 10847, 13, 288, 759, 1171, 202, 1158, 366, 4610, 2731, 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, 527, 2519, 7939, 12, 2988, 1042, 320, 20364, 16, 4319, 997, 16, 1160, 8526, 16503, 13, 1216, 16489, 288, 377, 202, 2257, 1318, 3029, 273, 4994, 1318, 18, 588, 1442, 5621, 377, 202, 9405, 4795, 273, 446, 31, 377, 202, 6494, 2216, 273, 629, 31, 377, 202, 698, 288, 377, 202, 202, 10086, 3342, 2932, 1289, 2519, 7939, 3113, 320, 20364, 16, 446, 1769, 377, 202, 202, 6620, 3940, 548, 273, 7404, 18, 588, 3935, 1079, 4545, 7675, 26321, 5621, 540, 202, 10721, 273, 3029, 18, 2233, 20370, 12, 1899, 751, 16, 446, 16, 446, 16, 3940, 548, 1769, 540, 202, 3355, 8290, 1180, 10785, 12, 10721, 1769, 540, 202, 2434, 18, 1289, 7939, 12, 83, 2 ]
port.setName(PORT); portP.add(port); return portP;
return panel;
protected JPanel getPortPanel() { JPanel portP = new JPanel(new FlowLayout(FlowLayout.LEFT)); portP.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 10)); portP.add(new JLabel(JMeterUtils.getResString("web_server_port"))); port = new JTextField(6); port.setName(PORT); portP.add(port); return portP; }
50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/b57a7b3a8656073c9052d44883b7cc6915daa917/UrlConfigGui.java/buggy/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 24048, 11036, 5537, 1435, 565, 288, 3639, 24048, 1756, 52, 273, 394, 24048, 12, 2704, 9473, 3744, 12, 5249, 3744, 18, 10066, 10019, 3639, 1756, 52, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 1921, 8107, 12, 20, 16, 1381, 16, 374, 16, 1728, 10019, 3639, 1756, 52, 18, 1289, 12, 2704, 21403, 12, 46, 16935, 1989, 18, 588, 607, 780, 2932, 4875, 67, 3567, 67, 655, 6, 3719, 1769, 3639, 1756, 273, 394, 804, 16157, 12, 26, 1769, 3639, 1756, 18, 542, 461, 12, 6354, 1769, 3639, 1756, 52, 18, 1289, 12, 655, 1769, 3639, 327, 1756, 52, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 24048, 11036, 5537, 1435, 565, 288, 3639, 24048, 1756, 52, 273, 394, 24048, 12, 2704, 9473, 3744, 12, 5249, 3744, 18, 10066, 10019, 3639, 1756, 52, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 1921, 8107, 12, 20, 16, 1381, 16, 374, 16, 1728, 10019, 3639, 1756, 52, 18, 1289, 12, 2704, 21403, 12, 46, 16935, 1989, 18, 588, 607, 780, 2932, 4875, 67, 3567, 67, 655, 6, 3719, 1769, 3639, 1756, 273, 394, 804, 16157, 12, 26, 1769, 3639, 1756, 18, 542, 461, 12, 6354, 1769, 3639, 1756, 52, 18, 1289, 12, 655, 1769, 3639, 327, 1756, 52, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Object selectedPart = getPaletteViewer( ).getSelectedEditParts( ) .get( 0 );
List lst = getPaletteViewer( ).getSelectedEditParts( ); if (lst.size() == 0) { return; } Object selectedPart = lst.get( 0 );
protected void configurePaletteViewer( PaletteViewer viewer ) { //super.configurePaletteViewer( viewer ); /** * Hack to remove the Change Icon Size menu item and relative * dialog components. */ viewer.setContextMenu( new PaletteContextMenuProvider( viewer ) { public void buildContextMenu( IMenuManager menu ) { GEFActionConstants.addStandardActionGroups( menu ); Object selectedPart = getPaletteViewer( ).getSelectedEditParts( ) .get( 0 ); if ( selectedPart instanceof DrawerEditPart && ( (DrawerEditPart) selectedPart ).canBePinned( ) ) { menu.appendToGroup( GEFActionConstants.MB_ADDITIONS, new PinDrawerAction( (DrawerEditPart) selectedPart ) ); } menu.appendToGroup( GEFActionConstants.GROUP_VIEW, new LayoutAction( getPaletteViewer( ).getPaletteViewerPreferences( ) ) ); if ( getPaletteViewer( ).getCustomizer( ) != null ) { menu.appendToGroup( GEFActionConstants.GROUP_REST, new CustomizeAction( getPaletteViewer( ) ) ); } final PaletteViewer paletteViewer = getPaletteViewer( ); menu.appendToGroup( GEFActionConstants.GROUP_REST, new SettingsAction( paletteViewer ) { public void run( ) { final PaletteViewerPreferences prefs = paletteViewer.getPaletteViewerPreferences( ); Dialog settings = new PaletteSettingsDialog( paletteViewer.getControl( ) .getShell( ), prefs ) { protected Control createLayoutSettings( Composite parent ) { Composite composite = new Composite( parent, SWT.NONE ); composite.setFont( parent.getFont( ) ); GridLayout layout = new GridLayout( 1, false ); composite.setLayout( layout ); Control layoutOptions = createLayoutOptions( composite ); GridData data = new GridData( GridData.VERTICAL_ALIGN_BEGINNING ); layoutOptions.setLayoutData( data ); handleLayoutSettingChanged( prefs.getLayoutSetting( ) ); return composite; } protected void handleLayoutSettingChanged( int newSetting ) { prefs.setLayoutSetting( newSetting ); } }; settings.open( ); } } ); } } ); viewer.addDragSourceListener( new TemplateTransferDragSourceListener( viewer ) ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/cb1e9ef87386d89a3b0a3923de58ba4c004e2fde/GraphicalEditorWithFlyoutPalette.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/parts/GraphicalEditorWithFlyoutPalette.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 918, 5068, 25863, 18415, 12, 453, 8786, 18415, 14157, 262, 1082, 202, 95, 9506, 202, 759, 9565, 18, 14895, 25863, 18415, 12, 14157, 11272, 9506, 202, 26873, 6862, 380, 670, 484, 358, 1206, 326, 7576, 16011, 6321, 3824, 761, 471, 3632, 6862, 380, 6176, 4085, 18, 6862, 1195, 9506, 202, 25256, 18, 542, 27315, 12, 394, 453, 8786, 27315, 2249, 12, 14157, 262, 288, 6862, 202, 482, 918, 1361, 27315, 12, 467, 4599, 1318, 3824, 262, 6862, 202, 95, 25083, 202, 7113, 42, 1803, 2918, 18, 1289, 8336, 1803, 3621, 12, 3824, 11272, 25083, 202, 921, 3170, 1988, 273, 1689, 8786, 18415, 12, 262, 18, 588, 7416, 4666, 4305, 12, 262, 6862, 9506, 202, 18, 588, 12, 374, 11272, 25083, 202, 430, 261, 3170, 1988, 1276, 10184, 264, 4666, 1988, 6862, 9506, 202, 10, 10, 261, 261, 21631, 4666, 1988, 13, 3170, 1988, 262, 18, 4169, 1919, 12178, 11748, 12, 262, 262, 25083, 202, 95, 6862, 1082, 202, 5414, 18, 6923, 774, 1114, 12, 17788, 42, 1803, 2918, 18, 7969, 67, 8355, 7022, 55, 16, 6862, 6862, 202, 2704, 14999, 21631, 1803, 12, 261, 21631, 4666, 1988, 13, 3170, 1988, 262, 11272, 25083, 202, 97, 25083, 202, 5414, 18, 6923, 774, 1114, 12, 17788, 42, 1803, 2918, 18, 8468, 67, 12145, 16, 6862, 9506, 202, 2704, 9995, 1803, 12, 1689, 8786, 18415, 12, 262, 18, 588, 25863, 18415, 12377, 12, 262, 262, 11272, 25083, 202, 430, 261, 1689, 8786, 18415, 12, 262, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 918, 5068, 25863, 18415, 12, 453, 8786, 18415, 14157, 262, 1082, 202, 95, 9506, 202, 759, 9565, 18, 14895, 25863, 18415, 12, 14157, 11272, 9506, 202, 26873, 6862, 380, 670, 484, 358, 1206, 326, 7576, 16011, 6321, 3824, 761, 471, 3632, 6862, 380, 6176, 4085, 18, 6862, 1195, 9506, 202, 25256, 18, 542, 27315, 12, 394, 453, 8786, 27315, 2249, 12, 14157, 262, 288, 6862, 202, 482, 918, 1361, 27315, 12, 467, 4599, 1318, 3824, 262, 6862, 202, 95, 25083, 202, 7113, 42, 1803, 2918, 18, 1289, 8336, 1803, 3621, 12, 3824, 11272, 25083, 202, 921, 3170, 1988, 273, 1689, 8786, 18415, 12, 262, 18, 588, 7416, 4666, 4305, 12, 262, 6862, 9506, 202, 18, 588, 2 ]
setRendererType(COMPONENT_TYPE); }
setRendererType(COMPONENT_TYPE); }
public ServiceComponent() { setRendererType(COMPONENT_TYPE); }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/ServiceComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/ServiceComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1956, 1841, 1435, 288, 3639, 444, 6747, 559, 12, 22922, 67, 2399, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1956, 1841, 1435, 288, 3639, 444, 6747, 559, 12, 22922, 67, 2399, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("lenVisitDict:" + node.toString(""));
public Object visitDict(Dict node) throws Exception { System.out.println("lenVisitDict:" + node.toString("")); return null; }
50371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50371/2e0750ff13782bb25064881debe65f22d8f24e7b/LengthEstimator.java/clean/org.python.pydev/src/org/python/pydev/editor/model/LengthEstimator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3757, 5014, 12, 5014, 756, 13, 1216, 1185, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 1897, 10432, 5014, 2773, 397, 756, 18, 10492, 2932, 7923, 1769, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3757, 5014, 12, 5014, 756, 13, 1216, 1185, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 1897, 10432, 5014, 2773, 397, 756, 18, 10492, 2932, 7923, 1769, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new String[] { Messages.name, Messages.description };
return new String[] {Messages.name};
public String[] getTableColumnNames() { return new String[] { Messages.name, Messages.description }; }
10123 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10123/010cac85e0cf8731718269ef114b7f26ebc03e4a/SecuritySection.java/clean/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/SecuritySection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 5638, 20718, 1435, 288, 3639, 327, 394, 514, 8526, 288, 5058, 18, 529, 20451, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 5638, 20718, 1435, 288, 3639, 327, 394, 514, 8526, 288, 5058, 18, 529, 20451, 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 ]
public static IDebugTarget newAttachDebugTarget( final ILaunch launch, final ICDITarget cdiTarget, final String name, final IProcess debuggerProcess, final IFile file ) throws DebugException { final IDebugTarget[] target = new IDebugTarget[1]; IWorkspaceRunnable r = new IWorkspaceRunnable() { public void run( IProgressMonitor m ) throws CoreException { target[0] = new CDebugTarget( launch, cdiTarget, name, null, debuggerProcess, file, false, true ); ICDIEvent[] events = new ICDIEvent[]{ new ICDISuspendedEvent() { public ICDISessionObject getReason() { return null; } public ICDIObject getSource() { return cdiTarget; } } }; ((CDebugTarget)target[0]).handleDebugEvents( events ); } }; try { ResourcesPlugin.getWorkspace().run( r, null ); } catch( CoreException e ) { CDebugCorePlugin.log( e ); throw new DebugException( e.getStatus() ); } return target[0];
public static IDebugTarget newAttachDebugTarget(ILaunch launch, ICDITarget target, String name, IProcess debuggerProcess, IFile file) throws CoreException { IBinaryExecutable exeFile = getBinary(file); return newDebugTarget(launch, file.getProject(), target, name, null, exeFile, false, true);
public static IDebugTarget newAttachDebugTarget( final ILaunch launch, final ICDITarget cdiTarget, final String name, final IProcess debuggerProcess, final IFile file ) throws DebugException { final IDebugTarget[] target = new IDebugTarget[1]; IWorkspaceRunnable r = new IWorkspaceRunnable() { public void run( IProgressMonitor m ) throws CoreException { target[0] = new CDebugTarget( launch, cdiTarget, name, null, debuggerProcess, file, false, true ); ICDIEvent[] events = new ICDIEvent[]{ new ICDISuspendedEvent() { public ICDISessionObject getReason() { return null; } public ICDIObject getSource() { return cdiTarget; } } }; ((CDebugTarget)target[0]).handleDebugEvents( events ); } }; try { ResourcesPlugin.getWorkspace().run( r, null ); } catch( CoreException e ) { CDebugCorePlugin.log( e ); throw new DebugException( e.getStatus() ); } return target[0]; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a192c2f172621fd921dbaebb14ee66fcee4f8f12/CDIDebugModel.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDIDebugModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 467, 2829, 2326, 394, 4761, 2829, 2326, 12, 727, 467, 9569, 8037, 16, 727, 467, 10160, 1285, 826, 276, 3211, 2326, 16, 727, 514, 508, 16, 727, 467, 2227, 19977, 2227, 16, 727, 467, 812, 585, 262, 1216, 4015, 503, 288, 202, 202, 6385, 467, 2829, 2326, 8526, 1018, 273, 394, 467, 2829, 2326, 63, 21, 15533, 202, 202, 45, 8241, 20013, 436, 273, 394, 467, 8241, 20013, 1435, 288, 1082, 202, 482, 918, 1086, 12, 467, 5491, 7187, 312, 262, 1216, 30015, 288, 9506, 202, 3299, 63, 20, 65, 273, 394, 385, 2829, 2326, 12, 8037, 16, 276, 3211, 2326, 16, 508, 16, 446, 16, 19977, 2227, 16, 585, 16, 629, 16, 638, 11272, 9506, 202, 2871, 2565, 1133, 8526, 2641, 273, 394, 26899, 2565, 1133, 63, 7073, 394, 26899, 13498, 22942, 1133, 1435, 288, 6862, 202, 482, 26899, 2565, 2157, 921, 26521, 1435, 288, 25083, 202, 2463, 446, 31, 6862, 202, 97, 6862, 202, 482, 26899, 2565, 921, 7889, 1435, 288, 25083, 202, 2463, 276, 3211, 2326, 31, 6862, 202, 97, 9506, 202, 97, 289, 31, 9506, 202, 12443, 39, 2829, 2326, 13, 3299, 63, 20, 65, 2934, 4110, 2829, 3783, 12, 2641, 11272, 1082, 202, 97, 202, 202, 20451, 202, 202, 698, 288, 1082, 202, 3805, 3773, 18, 588, 8241, 7675, 2681, 12, 436, 16, 446, 11272, 202, 202, 97, 202, 202, 14683, 12, 30015, 425, 262, 288, 1082, 202, 39, 2829, 4670, 3773, 18, 1330, 12, 425, 11272, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 467, 2829, 2326, 394, 4761, 2829, 2326, 12, 727, 467, 9569, 8037, 16, 727, 467, 10160, 1285, 826, 276, 3211, 2326, 16, 727, 514, 508, 16, 727, 467, 2227, 19977, 2227, 16, 727, 467, 812, 585, 262, 1216, 4015, 503, 288, 202, 202, 6385, 467, 2829, 2326, 8526, 1018, 273, 394, 467, 2829, 2326, 63, 21, 15533, 202, 202, 45, 8241, 20013, 436, 273, 394, 467, 8241, 20013, 1435, 288, 1082, 202, 482, 918, 1086, 12, 467, 5491, 7187, 312, 262, 1216, 30015, 288, 9506, 202, 3299, 63, 20, 65, 273, 394, 385, 2829, 2326, 12, 8037, 16, 276, 3211, 2326, 16, 508, 16, 446, 16, 19977, 2227, 16, 585, 16, 629, 16, 638, 11272, 2 ]
if (hasIdValue(id)) {
if (hasValue(id)) {
Object[] getIds(boolean getAll) { Object[] result = super.getIds(getAll); if (maxId != 0) { Object[] ids = null; int count = 0; for (int id = maxId; id != 0; --id) { if (hasIdValue(id)) { if (getAll || (getAttributes(id) & DONTENUM) == 0) { if (count == 0) { // Need extra room for nor more then [1..id] names ids = new Object[id]; } ids[count++] = getIdName(id); } } } if (count != 0) { if (result.length == 0 && ids.length == count) { result = ids; } else { Object[] tmp = new Object[result.length + count]; System.arraycopy(result, 0, tmp, 0, result.length); System.arraycopy(ids, 0, tmp, result.length, count); } } } return result; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/35caf7c2bb93872680ae16e34746d94fe1e533e3/IdScriptable.java/clean/js/rhino/src/org/mozilla/javascript/IdScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 8526, 2634, 87, 12, 6494, 5514, 13, 288, 3639, 1033, 8526, 563, 273, 2240, 18, 588, 2673, 12, 588, 1595, 1769, 7734, 309, 261, 1896, 548, 480, 374, 13, 288, 5411, 1033, 8526, 3258, 273, 446, 31, 5411, 509, 1056, 273, 374, 31, 13491, 364, 261, 474, 612, 273, 943, 548, 31, 612, 480, 374, 31, 1493, 350, 13, 288, 7734, 309, 261, 5332, 620, 12, 350, 3719, 288, 10792, 309, 261, 588, 1595, 747, 261, 588, 2498, 12, 350, 13, 473, 463, 10079, 16509, 13, 422, 374, 13, 288, 13491, 309, 261, 1883, 422, 374, 13, 288, 18701, 368, 12324, 2870, 7725, 364, 12517, 1898, 1508, 306, 21, 838, 350, 65, 1257, 18701, 3258, 273, 394, 1033, 63, 350, 15533, 13491, 289, 13491, 3258, 63, 1883, 9904, 65, 273, 2634, 461, 12, 350, 1769, 10792, 289, 7734, 289, 5411, 289, 5411, 309, 261, 1883, 480, 374, 13, 288, 7734, 309, 261, 2088, 18, 2469, 422, 374, 597, 3258, 18, 2469, 422, 1056, 13, 288, 10792, 563, 273, 3258, 31, 7734, 289, 7734, 469, 288, 10792, 1033, 8526, 1853, 273, 394, 1033, 63, 2088, 18, 2469, 397, 1056, 15533, 10792, 2332, 18, 1126, 3530, 12, 2088, 16, 374, 16, 1853, 16, 374, 16, 563, 18, 2469, 1769, 10792, 2332, 18, 1126, 3530, 12, 2232, 16, 374, 16, 1853, 16, 563, 18, 2469, 16, 1056, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 8526, 2634, 87, 12, 6494, 5514, 13, 288, 3639, 1033, 8526, 563, 273, 2240, 18, 588, 2673, 12, 588, 1595, 1769, 7734, 309, 261, 1896, 548, 480, 374, 13, 288, 5411, 1033, 8526, 3258, 273, 446, 31, 5411, 509, 1056, 273, 374, 31, 13491, 364, 261, 474, 612, 273, 943, 548, 31, 612, 480, 374, 31, 1493, 350, 13, 288, 7734, 309, 261, 5332, 620, 12, 350, 3719, 288, 10792, 309, 261, 588, 1595, 747, 261, 588, 2498, 12, 350, 13, 473, 463, 10079, 16509, 13, 422, 374, 13, 288, 13491, 309, 261, 1883, 422, 374, 13, 288, 18701, 368, 12324, 2870, 7725, 364, 12517, 1898, 1508, 306, 21, 838, 350, 65, 1257, 18701, 3258, 273, 394, 2 ]
repository.setProperty(TaskRepository.AUTH_HTTP_USERNAME, abstractRepositorySettingsPage.getHttpAuthUserId()); repository.setProperty(TaskRepository.AUTH_HTTP_PASSWORD, abstractRepositorySettingsPage.getHttpAuthPassword());
repository.setHttpAuthenticationCredentials(abstractRepositorySettingsPage.getHttpAuthUserId(), abstractRepositorySettingsPage.getHttpAuthPassword());
public boolean performFinish() { if (canFinish()) { String oldUrl = repository.getUrl(); String newUrl = abstractRepositorySettingsPage.getServerUrl(); TasksUiPlugin.getTaskListManager().refactorRepositoryUrl(oldUrl, newUrl); repository.flushAuthenticationCredentials(); repository.setUrl(newUrl); repository.setVersion(abstractRepositorySettingsPage.getVersion()); repository.setCharacterEncoding(abstractRepositorySettingsPage.getCharacterEncoding()); repository.setAuthenticationCredentials(abstractRepositorySettingsPage.getUserName(), abstractRepositorySettingsPage.getPassword()); repository.setRepositoryLabel(abstractRepositorySettingsPage.getRepositoryLabel()); repository.setProperty(TaskRepository.AUTH_HTTP_USERNAME, abstractRepositorySettingsPage.getHttpAuthUserId()); repository.setProperty(TaskRepository.AUTH_HTTP_PASSWORD, abstractRepositorySettingsPage.getHttpAuthPassword()); repository.setProperty(TaskRepository.PROXY_USEDEFAULT, String.valueOf(abstractRepositorySettingsPage.getUseDefaultProxy())); repository.setProperty(TaskRepository.PROXY_HOSTNAME, abstractRepositorySettingsPage.getProxyHostname()); repository.setProperty(TaskRepository.PROXY_PORT, abstractRepositorySettingsPage.getProxyPort()); repository.setProxyAuthenticationCredentials(abstractRepositorySettingsPage.getProxyUsername(), abstractRepositorySettingsPage.getProxyPassword()); abstractRepositorySettingsPage.updateProperties(repository); TasksUiPlugin.getRepositoryManager().notifyRepositorySettingsChagned(repository); TasksUiPlugin.getRepositoryManager().saveRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath()); return true; } return false; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/00490d0988bea79025b616b332f7c5ae5860ce02/EditRepositoryWizard.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/EditRepositoryWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 11641, 1435, 288, 202, 202, 430, 261, 4169, 11641, 10756, 288, 1082, 202, 780, 1592, 1489, 273, 3352, 18, 588, 1489, 5621, 1082, 202, 780, 394, 1489, 273, 8770, 3305, 2628, 1964, 18, 588, 2081, 1489, 5621, 1082, 202, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 266, 6812, 3305, 1489, 12, 1673, 1489, 16, 394, 1489, 1769, 25083, 202, 9071, 18, 11330, 6492, 6163, 5621, 1082, 202, 9071, 18, 542, 1489, 12, 2704, 1489, 1769, 1082, 202, 9071, 18, 542, 1444, 12, 17801, 3305, 2628, 1964, 18, 588, 1444, 10663, 1082, 202, 9071, 18, 542, 7069, 4705, 12, 17801, 3305, 2628, 1964, 18, 588, 7069, 4705, 10663, 1082, 202, 9071, 18, 542, 6492, 6163, 12, 17801, 3305, 2628, 1964, 18, 588, 15296, 9334, 8770, 3305, 2628, 1964, 18, 588, 3913, 10663, 25083, 202, 9071, 18, 542, 3305, 2224, 12, 17801, 3305, 2628, 1964, 18, 588, 3305, 2224, 10663, 25083, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 18, 7131, 67, 3693, 67, 21292, 16, 8770, 3305, 2628, 1964, 18, 588, 2940, 1730, 10502, 10663, 1082, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 18, 7131, 67, 3693, 67, 13784, 16, 8770, 3305, 2628, 1964, 18, 588, 2940, 1730, 3913, 10663, 25083, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 18, 16085, 67, 8001, 5280, 16, 514, 18, 1132, 951, 12, 17801, 3305, 2628, 1964, 18, 588, 3727, 1868, 3886, 1435, 10019, 1082, 202, 9071, 18, 542, 1396, 12, 2174, 3305, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 11641, 1435, 288, 202, 202, 430, 261, 4169, 11641, 10756, 288, 1082, 202, 780, 1592, 1489, 273, 3352, 18, 588, 1489, 5621, 1082, 202, 780, 394, 1489, 273, 8770, 3305, 2628, 1964, 18, 588, 2081, 1489, 5621, 1082, 202, 6685, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 266, 6812, 3305, 1489, 12, 1673, 1489, 16, 394, 1489, 1769, 25083, 202, 9071, 18, 11330, 6492, 6163, 5621, 1082, 202, 9071, 18, 542, 1489, 12, 2704, 1489, 1769, 1082, 202, 9071, 18, 542, 1444, 12, 17801, 3305, 2628, 1964, 18, 588, 1444, 10663, 1082, 202, 9071, 18, 542, 7069, 4705, 12, 17801, 3305, 2628, 1964, 18, 588, 7069, 4705, 10663, 1082, 202, 9071, 18, 542, 2 ]
return (ComponentRequestQueue) getBody().getRequestQueue(); }
return (ComponentRequestQueue) getBody().getRequestQueue(); }
public ComponentRequestQueue getRequestQueue() { return (ComponentRequestQueue) getBody().getRequestQueue(); }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/466c325df727388912d7efbc91a624f8a1e015c8/ProActiveComponentImpl.java/buggy/src/org/objectweb/proactive/core/component/identity/ProActiveComponentImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5435, 691, 3183, 4328, 3183, 1435, 288, 202, 202, 2463, 261, 1841, 691, 3183, 13, 7587, 7675, 588, 691, 3183, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5435, 691, 3183, 4328, 3183, 1435, 288, 202, 202, 2463, 261, 1841, 691, 3183, 13, 7587, 7675, 588, 691, 3183, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void addId() { // Do nothing here, overriden in subclasses that has a 'id' property. }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/5ceefcc7d76554e2cf178d60628e229a03f468fb/LeafNodeLayoutManager.java/buggy/src/java/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 548, 1435, 288, 3639, 368, 2256, 5083, 2674, 16, 31736, 316, 15320, 716, 711, 279, 296, 350, 11, 1272, 18, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 548, 1435, 288, 3639, 368, 2256, 5083, 2674, 16, 31736, 316, 15320, 716, 711, 279, 296, 350, 11, 1272, 18, 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 ]
EclipseSourceDir[] sourceDirs, ArtifactRepository localRepository )
EclipseSourceDir[] sourceDirs, ArtifactRepository localRepository )
protected void write( File basedir, MavenProject project, List referencedReactorArtifacts, EclipseSourceDir[] sourceDirs, ArtifactRepository localRepository ) throws MojoExecutionException { FileWriter w; try { w = new FileWriter( new File( basedir, ".wtpmodules" ) ); //$NON-NLS-1$ } catch ( IOException ex ) { throw new MojoExecutionException( Messages.getString( "EclipsePlugin.erroropeningfile" ), ex ); //$NON-NLS-1$ } XMLWriter writer = new PrettyPrintXMLWriter( w ); writer.startElement( "project-modules" ); //$NON-NLS-1$ writer.addAttribute( "id", "moduleCoreId" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.startElement( "wb-module" ); //$NON-NLS-1$ writer.addAttribute( "deploy-name", project.getArtifactId() ); //$NON-NLS-1$ writer.startElement( "module-type" ); //$NON-NLS-1$ if ( "war".equals( project.getPackaging() ) ) //$NON-NLS-1$ { // <module-type module-type-id="jst.web"> // <version>2.4</version> // <property name="context-root" value="magnolia"> // </property> // </module-type> writer.addAttribute( "module-type-id", "jst.web" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.startElement( "version" ); //$NON-NLS-1$ // defaults to 2.4, try to detect real version from dependencies String servletVersion = "2.4"; //$NON-NLS-1$ for ( Iterator it = project.getArtifacts().iterator(); it.hasNext(); ) { Artifact artifact = (Artifact) it.next(); if ( "servletapi".equals( artifact.getArtifactId() ) //$NON-NLS-1$ || "geronimo-spec-servlet".equals( artifact.getArtifactId() ) ) //$NON-NLS-1$ { servletVersion = StringUtils.substring( artifact.getVersion(), 0, 3 ); } } writer.writeText( servletVersion ); writer.endElement(); writer.startElement( "property" ); //$NON-NLS-1$ writer.addAttribute( "name", "context-root" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.addAttribute( "value", project.getArtifactId() ); //$NON-NLS-1$ writer.endElement(); } else if ( "ejb".equals( project.getPackaging() ) ) //$NON-NLS-1$ { // <module-type module-type-id="jst.ejb"> // <version>2.1</version> // <property name="java-output-path" value="/bin/"/> // </module-type> writer.addAttribute( "module-type-id", "jst.ejb" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.startElement( "version" ); //$NON-NLS-1$ writer.writeText( "2.1" ); //$NON-NLS-1$ // @todo this is the default, find real ejb version from dependencies writer.endElement(); writer.startElement( "property" ); //$NON-NLS-1$ writer.addAttribute( "name", "java-output-path" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.addAttribute( "value", "/" + //$NON-NLS-1$ //$NON-NLS-2$ EclipseUtils.toRelativeAndFixSeparator( project.getBasedir(), project.getBuild().getOutputDirectory(), false ) ); writer.endElement(); } else { // <module-type module-type-id="jst.utility"> // <property name="java-output-path" value="/bin/"/> // </module-type> writer.addAttribute( "module-type-id", "jst.utility" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.startElement( "property" ); //$NON-NLS-1$ writer.addAttribute( "name", "java-output-path" ); //$NON-NLS-1$ //$NON-NLS-2$ writer.addAttribute( "value", "/" + //$NON-NLS-1$ //$NON-NLS-2$ EclipseUtils.toRelativeAndFixSeparator( project.getBasedir(), project.getBuild().getOutputDirectory(), false ) ); writer.endElement(); } writer.endElement(); // module-type // source and resource paths. // deploy-path is "/" for utility and ejb projects, "/WEB-INF/classes" for webapps String target = "/"; //$NON-NLS-1$ if ( "war".equals( project.getPackaging() ) ) //$NON-NLS-1$ { writeWarSpecificResources( writer, basedir, project, referencedReactorArtifacts, localRepository ); target = "/WEB-INF/classes"; //$NON-NLS-1$ } for ( int j = 0; j < sourceDirs.length; j++ ) { EclipseSourceDir dir = sourceDirs[j]; // test src/resources are not added to wtpmodules if ( !dir.isTest() ) { // <wb-resource deploy-path="/" source-path="/src/java" /> writer.startElement( "wb-resource" ); //$NON-NLS-1$ writer.addAttribute( "deploy-path", target ); //$NON-NLS-1$ writer.addAttribute( "source-path", dir.getPath() ); //$NON-NLS-1$ writer.endElement(); } } writer.endElement(); // wb-module writer.endElement(); // project-modules IOUtil.close( w ); }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/20190392164c2da037e5f094452064f70b3ecc5b/EclipseWtpmodulesWriter.java/buggy/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWtpmodulesWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 12, 1387, 15573, 16, 17176, 4109, 1984, 16, 987, 8042, 426, 3362, 16981, 16, 12900, 20840, 10472, 1830, 1621, 8526, 1084, 9872, 16, 14022, 3305, 1191, 3305, 262, 3639, 1216, 18780, 565, 288, 3639, 24639, 341, 31, 3639, 775, 3639, 288, 5411, 341, 273, 394, 24639, 12, 394, 1387, 12, 15573, 16, 3552, 6046, 84, 6400, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 1044, 261, 1860, 431, 262, 3639, 288, 5411, 604, 394, 18780, 12, 4838, 18, 588, 780, 12, 315, 23057, 10472, 3773, 18, 1636, 3190, 310, 768, 6, 262, 16, 4766, 2868, 431, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 3167, 2289, 2633, 273, 394, 22328, 5108, 4201, 2289, 12, 341, 11272, 3639, 2633, 18, 1937, 1046, 12, 315, 4406, 17, 6400, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 2633, 18, 1289, 1499, 12, 315, 350, 3113, 315, 2978, 4670, 548, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 3639, 2633, 18, 1937, 1046, 12, 315, 9464, 17, 2978, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 2633, 18, 1289, 1499, 12, 315, 12411, 17, 529, 3113, 1984, 18, 588, 7581, 548, 1435, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 2633, 18, 1937, 1046, 12, 315, 2978, 17, 723, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 309, 261, 315, 905, 9654, 14963, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 12, 1387, 15573, 16, 17176, 4109, 1984, 16, 987, 8042, 426, 3362, 16981, 16, 12900, 20840, 10472, 1830, 1621, 8526, 1084, 9872, 16, 14022, 3305, 1191, 3305, 262, 3639, 1216, 18780, 565, 288, 3639, 24639, 341, 31, 3639, 775, 3639, 288, 5411, 341, 273, 394, 24639, 12, 394, 1387, 12, 15573, 16, 3552, 6046, 84, 6400, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 1044, 261, 1860, 431, 262, 3639, 288, 5411, 604, 394, 18780, 12, 4838, 18, 588, 780, 12, 315, 23057, 10472, 3773, 18, 1636, 3190, 310, 768, 6, 262, 16, 4766, 2868, 431, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 3167, 2289, 2633, 2 ]
result = db.eval(expr);
result = debugGui.main.eval(expr);
void updateModel() { for (int i = 0; i < expressions.size(); ++i) { Object value = expressions.elementAt(i); String expr = value.toString(); String result = ""; if (expr.length() > 0) { result = db.eval(expr); if (result == null) result = ""; } else { result = ""; } result = result.replace('\n', ' '); values.setElementAt(result, i); } fireTableDataChanged(); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/7ceadc8e69bfcf427fd421373c750f8de120f15c/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1089, 1488, 1435, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 8041, 18, 1467, 5621, 965, 77, 13, 288, 5411, 1033, 460, 273, 8041, 18, 2956, 861, 12, 77, 1769, 5411, 514, 3065, 273, 460, 18, 10492, 5621, 5411, 514, 563, 273, 1408, 31, 5411, 309, 261, 8638, 18, 2469, 1435, 405, 374, 13, 288, 7734, 563, 273, 1198, 18070, 18, 5254, 18, 8622, 12, 8638, 1769, 7734, 309, 261, 2088, 422, 446, 13, 563, 273, 1408, 31, 5411, 289, 469, 288, 7734, 563, 273, 1408, 31, 5411, 289, 5411, 563, 273, 563, 18, 2079, 2668, 64, 82, 2187, 296, 28005, 5411, 924, 18, 542, 1046, 861, 12, 2088, 16, 277, 1769, 3639, 289, 3639, 4452, 1388, 751, 5033, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1089, 1488, 1435, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 8041, 18, 1467, 5621, 965, 77, 13, 288, 5411, 1033, 460, 273, 8041, 18, 2956, 861, 12, 77, 1769, 5411, 514, 3065, 273, 460, 18, 10492, 5621, 5411, 514, 563, 273, 1408, 31, 5411, 309, 261, 8638, 18, 2469, 1435, 405, 374, 13, 288, 7734, 563, 273, 1198, 18070, 18, 5254, 18, 8622, 12, 8638, 1769, 7734, 309, 261, 2088, 422, 446, 13, 563, 273, 1408, 31, 5411, 289, 469, 288, 7734, 563, 273, 1408, 31, 5411, 289, 5411, 563, 273, 563, 18, 2079, 2668, 64, 82, 2187, 296, 28005, 5411, 924, 18, 542, 1046, 861, 12, 2088, 16, 277, 1769, 3639, 289, 2 ]
( (ComboBoxCellEditor) cellEditors[1] ).setItems( getDataSetColumns( ) ); ( (ComboBoxCellEditor) cellEditors[2] ).setItems( getDataSetColumns( ) );
( (ComboBoxCellEditor) cellEditors[1] ).setItems( getDataSetColumns( true ) ); ( (ComboBoxCellEditor) cellEditors[2] ).setItems( getDataSetColumns( false ) );
private void setCellEditorItems( ) { ( (ComboBoxCellEditor) cellEditors[1] ).setItems( getDataSetColumns( ) ); ( (ComboBoxCellEditor) cellEditors[2] ).setItems( getDataSetColumns( ) ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/32c331232f8bfd4ee9610e9105bb35ff9427651f/CascadingParametersDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 444, 4020, 6946, 3126, 12, 262, 202, 95, 202, 202, 12, 261, 22199, 4020, 6946, 13, 2484, 4666, 1383, 63, 21, 65, 262, 18, 542, 3126, 12, 4303, 694, 3380, 12, 262, 11272, 202, 202, 12, 261, 22199, 4020, 6946, 13, 2484, 4666, 1383, 63, 22, 65, 262, 18, 542, 3126, 12, 4303, 694, 3380, 12, 262, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 12, 261, 22199, 4020, 6946, 13, 2484, 4666, 1383, 63, 21, 65, 262, 18, 542, 3126, 12, 4303, 694, 3380, 12, 262, 11272, 202, 202, 12, 261, 22199, 4020, 6946, 13, 2484, 4666, 1383, 63, 22, 65, 262, 18, 542, 3126, 12, 4303, 694, 3380, 12, 262, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
murckoFragment=addFragments(firstRingAtomContainer,murckoFragment); murckoFragment=addFragments(secondRingAtomContainer,murckoFragment);
murckoFragment=addFragments(firstRingAtomContainer,murckoFragment,molecule); murckoFragment=addFragments(secondRingAtomContainer,murckoFragment,molecule);
public void generateMurckoFragments(IMolecule molecule, boolean sidechainHetatoms,boolean exocyclicDoubleBonds){ //System.out.println("****** generatemurckoFragments *******"); //VARIABLES this.sidechainHetatoms=sidechainHetatoms; this.exocyclicDoubleBonds=exocyclicDoubleBonds; generateRingFragments(molecule); IAtom firstRingAtom = null; IAtom secondRingAtom = null; IAtomContainer firstRingAtomContainer=null; IAtomContainer secondRingAtomContainer=null; IAtomContainer firstRingSubstituents=null; IAtomContainer secondRingSubstituents=null; IAtomContainer path=null; IMolecule murckoFragment=null; IMolecule linkerFragment=null; for (int i = 0; i < molecule.getAtomCount(); i++) { if (this.ringSetsMolecule.contains(molecule.getAtomAt(i))) { molecule.getAtomAt(i).setFlag(CDKConstants.ISINRING, true); }else{ molecule.getAtomAt(i).setFlag(CDKConstants.ISINRING, false); } } // START if (this.ringFragments.size() > 1) { //go through all ringsystems //System.out.println("Number of RingSystems:"+this.ringFragments.size()); for (int f = 0; f < this.ringFragments.size()-1; f++) { firstRingAtomContainer = RingSetManipulator.getAllInOneContainer((IRingSet) this.ringFragments.get(f)); for (int g = f+1; g < this.ringFragments.size(); g++) { secondRingAtomContainer = RingSetManipulator.getAllInOneContainer((IRingSet) this.ringFragments.get(g)); for (int h = 0; h < firstRingAtomContainer.getAtomCount(); h++){ firstRingAtom=firstRingAtomContainer.getAtomAt(h); firstRingSubstituents=getPossibleLinkerSubstituents(firstRingAtom,molecule,firstRingAtomContainer); if (firstRingSubstituents.getAtomCount()>0){ //go through substituents of first ring for (int i = 0; i < firstRingSubstituents.getAtomCount(); i++){// System.out.println("First Ring Sub is in RING");// //check for ring-ring system if (firstRingSubstituents.getAtomAt(i).getFlag(CDKConstants.ISINRING) && secondRingAtomContainer.contains(firstRingSubstituents.getAtomAt(i))){ //System.out.println("\tFound a ring-ring System"); murckoFragment=new Molecule(); murckoFragment=addFragments(firstRingAtomContainer,murckoFragment); murckoFragment=addFragments(secondRingAtomContainer,murckoFragment); murckoFragment=addFragmentBonds(murckoFragment,molecule); this.murckoFragments.add(murckoFragment); //System.out.println("MFragment:"+murckoFragment.getAtomCount()+" CC:"+ConnectivityChecker.isConnected(murckoFragment)); //System.out.println(murckoFragment.toString()); //System.out.println("\tADD MURCKOFRAGMENT"); break; }// compare to substituents of second ring for (int j = 0; j < secondRingAtomContainer.getAtomCount(); j++){ secondRingAtom=secondRingAtomContainer.getAtomAt(j); secondRingSubstituents=getPossibleLinkerSubstituents(secondRingAtom,molecule,secondRingAtomContainer); if (secondRingSubstituents.getAtomCount()>0){ //go through substituents of second ring for (int k = 0; k < secondRingSubstituents.getAtomCount(); k++){//For-k //System.out.println("First Ring Size:"+firstRingAtomContainer.getAtomCount()+" 2.Ring Size:"+secondRingAtomContainer.getAtomCount()); //System.out.println(f+".ringSub:"+molecule.getAtomNumber(firstRingSubstituents.getAtomAt(i))+" Sym:"+firstRingSubstituents.getAtomAt(i).getSymbol()+" "+g+".ringSub:"+molecule.getAtomNumber(secondRingSubstituents.getAtomAt(k))); path=new AtomContainer(); try { resetFlags(molecule); PathTools.depthFirstTargetSearch(molecule,firstRingSubstituents.getAtomAt(i),secondRingSubstituents.getAtomAt(k),path); /*System.out.print("\tPATHSIZE:"+path.getAtomCount()); System.out.print("\tFIRST PATHATOM:"+molecule.getAtomNumber(path.getAtomAt(0))); try{ System.out.println("\tLAST PATHATOM:"+molecule.getAtomNumber(path.getAtomAt(path.getAtomCount()-1))); }catch(Exception eS){ System.out.println("\tNO LAST PATHATOM"); }*/ if (firstRingSubstituents.getAtomAt(i)==secondRingSubstituents.getAtomAt(k)){ //System.out.println("\tSubstituents are equal"); path.addAtom(firstRingSubstituents.getAtomAt(i)); } //Check Path, direct connection between the substituents ->linker if (checkPath(firstRingAtom, secondRingAtom, path) && path.getAtomCount()>0){ murckoFragment=new Molecule(); //add root atom to path if (!path.contains(firstRingSubstituents.getAtomAt(i))){ path.addAtom(firstRingSubstituents.getAtomAt(i)); } //1. add path //2. add rings //3. connect ring atoms to path murckoFragment=addPathFragments(path,murckoFragment,molecule); murckoFragment=addFragments(firstRingAtomContainer,murckoFragment); murckoFragment=addFragments(secondRingAtomContainer,murckoFragment); murckoFragment=addFragmentBonds(murckoFragment,molecule); linkerFragment=new Molecule(murckoFragment); this.linkerFragments.add(linkerFragment); this.murckoFragments.add(murckoFragment); //System.out.println("\tADD MURCKOFRAGMENT"); }else{ //System.out.println("\tEND PATH"); } } catch (NoSuchAtomException e) { // TODO Auto-generated catch block e.printStackTrace(); }//catch }//For-k }//if 2.ring sub }//For-j }//For-i }//if 1.ring sub }//For-h }//For-g }//For-f }else if (this.ringFragments.size() ==1){ murckoFragment=new Molecule(); murckoFragment=addFragments(RingSetManipulator.getAllInOneContainer((IRingSet) this.ringFragments.get(0)),murckoFragment); murckoFragment=addFragmentBonds(murckoFragment,molecule); this.murckoFragments.add(murckoFragment); } }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/e8596183762fc081502a8f33a4339e76bf2fcd99/GenerateFragments.java/clean/src/org/openscience/cdk/tools/GenerateFragments.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2103, 49, 295, 363, 83, 27588, 12, 3445, 10545, 13661, 16, 1250, 4889, 5639, 44, 278, 14937, 16, 6494, 431, 504, 93, 18964, 5265, 26090, 15329, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 11345, 2103, 81, 295, 363, 83, 27588, 380, 11345, 8863, 202, 202, 759, 16444, 55, 202, 202, 2211, 18, 5564, 5639, 44, 278, 14937, 33, 5564, 5639, 44, 278, 14937, 31, 202, 202, 2211, 18, 338, 504, 93, 18964, 5265, 26090, 33, 338, 504, 93, 18964, 5265, 26090, 31, 9506, 202, 7163, 10369, 27588, 12, 81, 10545, 1769, 202, 202, 45, 3641, 1122, 10369, 3641, 273, 446, 31, 1082, 202, 45, 3641, 2205, 10369, 3641, 273, 446, 31, 1082, 202, 45, 3641, 2170, 1122, 10369, 3641, 2170, 33, 2011, 31, 202, 202, 45, 3641, 2170, 2205, 10369, 3641, 2170, 33, 2011, 31, 202, 202, 45, 3641, 2170, 1122, 10369, 1676, 5223, 89, 4877, 33, 2011, 31, 202, 202, 45, 3641, 2170, 2205, 10369, 1676, 5223, 89, 4877, 33, 2011, 31, 202, 202, 45, 3641, 2170, 589, 33, 2011, 31, 202, 202, 3445, 10545, 312, 295, 363, 83, 7456, 33, 2011, 31, 202, 202, 3445, 10545, 28058, 7456, 33, 2011, 31, 25083, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 13661, 18, 588, 3641, 1380, 5621, 277, 27245, 288, 1082, 202, 430, 261, 2211, 18, 8022, 2785, 29669, 18, 12298, 12, 81, 10545, 18, 588, 3641, 861, 12, 77, 20349, 288, 9506, 202, 81, 10545, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2103, 49, 295, 363, 83, 27588, 12, 3445, 10545, 13661, 16, 1250, 4889, 5639, 44, 278, 14937, 16, 6494, 431, 504, 93, 18964, 5265, 26090, 15329, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 11345, 2103, 81, 295, 363, 83, 27588, 380, 11345, 8863, 202, 202, 759, 16444, 55, 202, 202, 2211, 18, 5564, 5639, 44, 278, 14937, 33, 5564, 5639, 44, 278, 14937, 31, 202, 202, 2211, 18, 338, 504, 93, 18964, 5265, 26090, 33, 338, 504, 93, 18964, 5265, 26090, 31, 9506, 202, 7163, 10369, 27588, 12, 81, 10545, 1769, 202, 202, 45, 3641, 1122, 10369, 3641, 273, 446, 31, 1082, 202, 45, 3641, 2205, 10369, 3641, 273, 446, 31, 1082, 202, 2 ]
Logger.setupStdoutLogging(Logger.NORMAL, "freenet.node.CPUAdjustingSwapRequestInterval:minor" /*"freenet.node.LocationManager:debug,freenet.node.FNPPacketManager:normal,freenet.io.comm.UdpSocketManager:debug"*/);
FileLoggerHook fh = Logger.setupStdoutLogging(Logger.NORMAL, "freenet.node.CPUAdjustingSwapRequestInterval:minor" /*"freenet.node.LocationManager:debug,freenet.node.FNPPacketManager:normal,freenet.io.comm.UdpSocketManager:debug"*/);
public static void main(String[] args) throws FSParseException, PeerParseException { PeerNode.disableProbabilisticHTLs = true; Node.MAX_HTL = 6; Logger.setupStdoutLogging(Logger.NORMAL, "freenet.node.CPUAdjustingSwapRequestInterval:minor" /*"freenet.node.LocationManager:debug,freenet.node.FNPPacketManager:normal,freenet.io.comm.UdpSocketManager:debug"*/); System.out.println("Routing test using real nodes:"); System.out.println(); String wd = "realNodeRequestInsertTest"; new File(wd).mkdir(); DummyRandomSource random = new DummyRandomSource(); DiffieHellman.init(random); Node[] nodes = new Node[NUMBER_OF_NODES]; Logger.normal(RealNodeRoutingTest.class, "Creating nodes..."); for(int i=0;i<NUMBER_OF_NODES;i++) { nodes[i] = new Node(5000+i, random, null, wd+File.separator, 0); Logger.normal(RealNodeRoutingTest.class, "Created node "+i); } SimpleFieldSet refs[] = new SimpleFieldSet[NUMBER_OF_NODES]; for(int i=0;i<NUMBER_OF_NODES;i++) refs[i] = nodes[i].exportFieldSet(); Logger.normal(RealNodeRoutingTest.class, "Created "+NUMBER_OF_NODES+" nodes"); // Now link them up // Connect the set for(int i=0;i<NUMBER_OF_NODES;i++) { int next = (i+1) % NUMBER_OF_NODES; int prev = (i+NUMBER_OF_NODES-1)%NUMBER_OF_NODES; nodes[i].peers.connect(refs[next]); nodes[i].peers.connect(refs[prev]); } Logger.normal(RealNodeRoutingTest.class, "Connected nodes"); // Now add some random links for(int i=0;i<NUMBER_OF_NODES*5;i++) { if(i % NUMBER_OF_NODES == 0) Logger.normal(RealNodeRoutingTest.class, ""+i); int length = (int)Math.pow(NUMBER_OF_NODES, random.nextDouble()); int nodeA = random.nextInt(NUMBER_OF_NODES); int nodeB = (nodeA+length)%NUMBER_OF_NODES; //System.out.println(""+nodeA+" -> "+nodeB); Node a = nodes[nodeA]; Node b = nodes[nodeB]; a.peers.connect(b.exportFieldSet()); b.peers.connect(a.exportFieldSet()); } Logger.normal(RealNodeRoutingTest.class, "Added random links"); SwapRequestInterval sri = new CPUAdjustingSwapRequestInterval(((500*1000*NUMBER_OF_NODES)/200), 50); for(int i=0;i<NUMBER_OF_NODES;i++) nodes[i].start(sri); // Now sit back and watch the fireworks! int cycleNumber = 0; int lastSwaps = 0; int lastNoSwaps = 0; int failures = 0; int successes = 0; RunningAverage avg = new SimpleRunningAverage(100, 0.0); RunningAverage avg2 = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 100); int pings = 0; while(true) { cycleNumber++; try { Thread.sleep(5000); } catch (InterruptedException e) { // Ignore } for(int i=0;i<NUMBER_OF_NODES;i++) { Logger.normal(RealNodeRoutingTest.class, "Cycle "+cycleNumber+" node "+i+": "+nodes[i].lm.getLocation().getValue()); } int newSwaps = LocationManager.swaps; int totalStarted = LocationManager.startedSwaps; int noSwaps = LocationManager.noSwaps; Logger.normal(RealNodeRoutingTest.class, "Swaps: "+(newSwaps-lastSwaps)); Logger.normal(RealNodeRoutingTest.class, "\nTotal swaps: Started*2: "+totalStarted*2+", succeeded: "+newSwaps+", last minute failures: "+noSwaps+ ", ratio "+(double)noSwaps/(double)newSwaps+", early failures: "+((totalStarted*2)-(noSwaps+newSwaps))); Logger.normal(RealNodeRoutingTest.class, "This cycle ratio: "+((double)(noSwaps-lastNoSwaps)) / ((double)(newSwaps - lastSwaps))); lastNoSwaps = noSwaps; Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (already locked): "+LocationManager.swapsRejectedAlreadyLocked); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (nowhere to go): "+LocationManager.swapsRejectedNowhereToGo); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (rate limit): "+LocationManager.swapsRejectedRateLimit); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (loop): "+LocationManager.swapsRejectedLoop); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (recognized ID):" +LocationManager.swapsRejectedRecognizedID); lastSwaps = newSwaps; // Do some (routed) test-pings for(int i=0;i<10;i++) { try { Thread.sleep(5000); } catch (InterruptedException e1) { } try { Node randomNode = nodes[random.nextInt(NUMBER_OF_NODES)]; Node randomNode2 = randomNode; while(randomNode2 == randomNode) randomNode2 = nodes[random.nextInt(NUMBER_OF_NODES)]; Logger.normal(RealNodeRoutingTest.class, "Pinging "+randomNode2.portNumber+" from "+randomNode.portNumber); double loc2 = randomNode2.lm.getLocation().getValue(); int hopsTaken = randomNode.routedPing(loc2); pings++; if(hopsTaken < 0) { failures++; avg.report(0.0); avg2.report(0.0); double ratio = (double)successes / ((double)(failures+successes)); Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" FAILED from "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")"); } else { successes++; avg.report(1.0); avg2.report(1.0); double ratio = (double)successes / ((double)(failures+successes)); Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" success: "+hopsTaken+" "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")"); } } catch (Throwable t) { Logger.error(RealNodeRoutingTest.class, "Caught "+t, t); } } } }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/a79c2f6114f06bff0b9fe2bbba4e7a4fe7a7e305/RealNodeRoutingTest.java/clean/src/freenet/node/RealNodeRoutingTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 9247, 13047, 16, 10669, 13047, 288, 3639, 10669, 907, 18, 8394, 9152, 22681, 5846, 5062, 48, 87, 273, 638, 31, 3639, 2029, 18, 6694, 67, 5062, 48, 273, 1666, 31, 3639, 1387, 3328, 5394, 7625, 273, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 15480, 16, 315, 74, 2842, 278, 18, 2159, 18, 15222, 10952, 310, 12521, 691, 4006, 30, 17364, 6, 1748, 6, 74, 2842, 278, 18, 2159, 18, 2735, 1318, 30, 4148, 16, 74, 2842, 278, 18, 2159, 18, 19793, 52, 6667, 1318, 30, 6130, 16, 74, 2842, 278, 18, 1594, 18, 5702, 18, 57, 9295, 4534, 1318, 30, 4148, 6, 5549, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 13966, 1842, 1450, 2863, 2199, 2773, 1769, 3639, 2332, 18, 659, 18, 8222, 5621, 3639, 514, 14452, 273, 315, 7688, 907, 691, 4600, 4709, 14432, 3639, 394, 1387, 12, 3623, 2934, 26686, 5621, 3639, 28622, 8529, 1830, 2744, 273, 394, 28622, 8529, 1830, 5621, 3639, 13008, 1385, 44, 1165, 4728, 18, 2738, 12, 9188, 1769, 3639, 2029, 8526, 2199, 273, 394, 2029, 63, 9931, 67, 3932, 67, 8744, 55, 15533, 3639, 4242, 18, 6130, 12, 6955, 907, 13966, 4709, 18, 1106, 16, 315, 11092, 2199, 7070, 1769, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 9931, 67, 3932, 67, 8744, 55, 31, 77, 27245, 288, 5411, 2199, 63, 77, 65, 273, 394, 2029, 12, 25, 3784, 15, 77, 16, 2744, 16, 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, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 9247, 13047, 16, 10669, 13047, 288, 3639, 10669, 907, 18, 8394, 9152, 22681, 5846, 5062, 48, 87, 273, 638, 31, 3639, 2029, 18, 6694, 67, 5062, 48, 273, 1666, 31, 3639, 1387, 3328, 5394, 7625, 273, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 15480, 16, 315, 74, 2842, 278, 18, 2159, 18, 15222, 10952, 310, 12521, 691, 4006, 30, 17364, 6, 1748, 6, 74, 2842, 278, 18, 2159, 18, 2735, 1318, 30, 4148, 16, 74, 2842, 278, 18, 2159, 18, 19793, 52, 6667, 1318, 30, 6130, 16, 74, 2842, 278, 18, 1594, 18, 5702, 18, 57, 9295, 4534, 1318, 30, 4148, 6, 5549, 1769, 3639, 2332, 18, 2 ]
if (fErrorMsgAreaBackground == null) { fErrorMsgAreaBackground= new Color(getDisplay(), ERROR_BACKGROUND_RGB); } setBackground(fErrorMsgAreaBackground);
setBackground(JFaceColors.getErrorBackground(getDisplay()));
public void setErrorStatus(IStatus status) { if (status != null) { String message= status.getMessage(); if (message != null && message.length() > 0) { setText(message); setImage(findImage(status)); if (fErrorMsgAreaBackground == null) { fErrorMsgAreaBackground= new Color(getDisplay(), ERROR_BACKGROUND_RGB); } setBackground(fErrorMsgAreaBackground); return; } } setText(""); //$NON-NLS-1$ setImage(null); setBackground(fNormalMsgAreaBackground); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c2c75308977cde808ab1dd02831c36751595054f/MessageLine.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/MessageLine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 9967, 1482, 12, 45, 1482, 1267, 13, 288, 202, 202, 430, 261, 2327, 480, 446, 13, 288, 1082, 202, 780, 883, 33, 1267, 18, 24906, 5621, 1082, 202, 430, 261, 2150, 480, 446, 597, 883, 18, 2469, 1435, 405, 374, 13, 288, 9506, 202, 542, 1528, 12, 2150, 1769, 9506, 202, 542, 2040, 12, 4720, 2040, 12, 2327, 10019, 9506, 202, 430, 261, 74, 668, 3332, 5484, 8199, 422, 446, 13, 288, 6862, 202, 74, 668, 3332, 5484, 8199, 33, 394, 5563, 12, 588, 4236, 9334, 5475, 67, 8720, 20166, 67, 11343, 1769, 9506, 202, 97, 9506, 202, 542, 8199, 12, 74, 668, 3332, 5484, 8199, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 9506, 202, 542, 1528, 2932, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 542, 2040, 12, 2011, 1769, 202, 202, 542, 8199, 12, 74, 5506, 3332, 5484, 8199, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 9967, 1482, 12, 45, 1482, 1267, 13, 288, 202, 202, 430, 261, 2327, 480, 446, 13, 288, 1082, 202, 780, 883, 33, 1267, 18, 24906, 5621, 1082, 202, 430, 261, 2150, 480, 446, 597, 883, 18, 2469, 1435, 405, 374, 13, 288, 9506, 202, 542, 1528, 12, 2150, 1769, 9506, 202, 542, 2040, 12, 4720, 2040, 12, 2327, 10019, 9506, 202, 430, 261, 74, 668, 3332, 5484, 8199, 422, 446, 13, 288, 6862, 202, 74, 668, 3332, 5484, 8199, 33, 394, 5563, 12, 588, 4236, 9334, 5475, 67, 8720, 20166, 67, 11343, 1769, 9506, 202, 97, 9506, 202, 542, 8199, 12, 74, 668, 3332, 5484, 8199, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 202, 2 ]
_log.debug("Signature verified correctly on create session message");
if (_log.shouldLog(Log.DEBUG)) _log.debug("Signature verified correctly on create session message");
private void handleCreateSession(I2CPMessageReader reader, CreateSessionMessage message) { if (message.getSessionConfig().verifySignature()) { _log.debug("Signature verified correctly on create session message"); } else { _log.error("Signature verification *FAILED* on a create session message. Hijack attempt?"); _runner.disconnectClient("Invalid signature on CreateSessionMessage"); return; } SessionStatusMessage msg = new SessionStatusMessage(); SessionId sessionId = new SessionId(); sessionId.setSessionId(getNextSessionId()); _runner.setSessionId(sessionId); msg.setSessionId(sessionId); msg.setStatus(SessionStatusMessage.STATUS_CREATED); try { if (_log.shouldLog(Log.DEBUG)) _log.debug("before sending sessionStatusMessage for " + message.getSessionConfig().getDestination().calculateHash().toBase64()); _runner.doSend(msg); if (_log.shouldLog(Log.DEBUG)) _log.debug("after sending sessionStatusMessage for " + message.getSessionConfig().getDestination().calculateHash().toBase64()); _runner.sessionEstablished(message.getSessionConfig()); if (_log.shouldLog(Log.DEBUG)) _log.debug("after sessionEstablished for " + message.getSessionConfig().getDestination().calculateHash().toBase64()); } catch (I2CPMessageException ime) { _log.error("Error writing out the session status message", ime); } catch (IOException ioe) { _log.error("Error writing out the session status message", ioe); } _context.jobQueue().addJob(new CreateSessionJob(_context, _runner)); }
27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/14b9f9509fb68b2e019bd0b2eba7ed801fd81d87/ClientMessageEventListener.java/clean/router/java/src/net/i2p/router/client/ClientMessageEventListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 1684, 2157, 12, 45, 22, 4258, 1079, 2514, 2949, 16, 1788, 2157, 1079, 883, 13, 288, 3639, 309, 261, 2150, 18, 588, 2157, 809, 7675, 8705, 5374, 10756, 288, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 389, 1330, 18, 4148, 2932, 5374, 13808, 8783, 603, 752, 1339, 883, 8863, 3639, 289, 469, 288, 5411, 389, 1330, 18, 1636, 2932, 5374, 11805, 380, 11965, 14, 603, 279, 752, 1339, 883, 18, 225, 670, 23572, 4395, 7225, 1769, 5411, 389, 18156, 18, 20177, 1227, 2932, 1941, 3372, 603, 1788, 2157, 1079, 8863, 5411, 327, 31, 3639, 289, 202, 3639, 3877, 1482, 1079, 1234, 273, 394, 3877, 1482, 1079, 5621, 3639, 3877, 548, 10338, 273, 394, 3877, 548, 5621, 3639, 10338, 18, 542, 18030, 12, 588, 2134, 18030, 10663, 540, 389, 18156, 18, 542, 18030, 12, 3184, 548, 1769, 3639, 1234, 18, 542, 18030, 12, 3184, 548, 1769, 3639, 1234, 18, 542, 1482, 12, 2157, 1482, 1079, 18, 8608, 67, 18546, 1769, 3639, 775, 288, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 7734, 389, 1330, 18, 4148, 2932, 5771, 5431, 1339, 1482, 1079, 364, 315, 397, 883, 18, 588, 2157, 809, 7675, 588, 5683, 7675, 11162, 2310, 7675, 869, 2171, 1105, 10663, 5411, 389, 18156, 18, 2896, 3826, 12, 3576, 1769, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 7734, 389, 1330, 18, 4148, 2932, 5205, 5431, 1339, 1482, 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, 1640, 1684, 2157, 12, 45, 22, 4258, 1079, 2514, 2949, 16, 1788, 2157, 1079, 883, 13, 288, 3639, 309, 261, 2150, 18, 588, 2157, 809, 7675, 8705, 5374, 10756, 288, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 389, 1330, 18, 4148, 2932, 5374, 13808, 8783, 603, 752, 1339, 883, 8863, 3639, 289, 469, 288, 5411, 389, 1330, 18, 1636, 2932, 5374, 11805, 380, 11965, 14, 603, 279, 752, 1339, 883, 18, 225, 670, 23572, 4395, 7225, 1769, 5411, 389, 18156, 18, 20177, 1227, 2932, 1941, 3372, 603, 1788, 2157, 1079, 8863, 5411, 327, 31, 3639, 289, 202, 3639, 3877, 1482, 1079, 1234, 273, 394, 3877, 1482, 1079, 5621, 3639, 3877, 2 ]
lVar = (OptLocalVariable) vars.getVariable(name);
lVar = OptLocalVariable.get(vars, name);
private void visitGetVar(OptLocalVariable lVar, boolean isNumber, String name) { // TODO: Clean up use of lVar here and in set. if (hasVarsInRegs && lVar == null) lVar = (OptLocalVariable) vars.getVariable(name); if (lVar != null) { if (lVar.getJRegister() == -1) if (lVar.isNumber()) lVar.assignJRegister(getNewWordPairLocal()); else lVar.assignJRegister(getNewWordLocal()); if (lVar.isParameter() && inDirectCallFunction && !itsForcedObjectParameters) {/* Remember that here the isNumber flag means that we want to use the incoming parameter in a Number context, so test the object type and convert the value as necessary.*/ if (isNumber) { aload(lVar.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int isNumberLabel = acquireLabel(); int beyond = acquireLabel(); addByteCode(ByteCode.IF_ACMPEQ, isNumberLabel); aload(lVar.getJRegister()); addScriptRuntimeInvoke("toNumber", "(Ljava/lang/Object;)", "D"); addByteCode(ByteCode.GOTO, beyond); markLabel(isNumberLabel); dload((short)(lVar.getJRegister() + 1)); markLabel(beyond); } else { aload(lVar.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int isNumberLabel = acquireLabel(); int beyond = acquireLabel(); addByteCode(ByteCode.IF_ACMPEQ, isNumberLabel); aload(lVar.getJRegister()); addByteCode(ByteCode.GOTO, beyond); markLabel(isNumberLabel); addByteCode(ByteCode.NEW,"java/lang/Double"); addByteCode(ByteCode.DUP); dload((short)(lVar.getJRegister() + 1)); addDoubleConstructor(); markLabel(beyond); } } else { if (lVar.isNumber()) dload(lVar.getJRegister()); else aload(lVar.getJRegister()); } return; } aload(variableObjectLocal); push(name); aload(variableObjectLocal); addScriptRuntimeInvoke("getProp", "(Ljava/lang/Object;Ljava/lang/String;" + "Lorg/mozilla/javascript/Scriptable;)", "Ljava/lang/Object;"); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/e497d2b898e781a5052344191ab878cd469f3f53/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 967, 1537, 12, 6179, 2042, 3092, 328, 1537, 16, 1250, 18103, 16, 11794, 514, 508, 13, 565, 288, 3639, 368, 2660, 30, 9645, 731, 999, 434, 328, 1537, 2674, 471, 316, 444, 18, 3639, 309, 261, 5332, 5555, 382, 426, 564, 597, 328, 1537, 422, 446, 13, 5411, 328, 1537, 273, 12056, 2042, 3092, 18, 588, 12, 4699, 16, 508, 1769, 3639, 309, 261, 80, 1537, 480, 446, 13, 288, 5411, 309, 261, 80, 1537, 18, 588, 46, 3996, 1435, 422, 300, 21, 13, 7734, 309, 261, 80, 1537, 18, 291, 1854, 10756, 10792, 328, 1537, 18, 6145, 46, 3996, 12, 588, 1908, 3944, 4154, 2042, 10663, 7734, 469, 10792, 328, 1537, 18, 6145, 46, 3996, 12, 588, 1908, 3944, 2042, 10663, 5411, 309, 261, 80, 1537, 18, 291, 1662, 1435, 597, 316, 5368, 1477, 2083, 597, 7734, 401, 1282, 1290, 3263, 921, 2402, 13, 5411, 288, 20308, 565, 23133, 716, 2674, 326, 18103, 2982, 4696, 716, 732, 2545, 358, 565, 999, 326, 6935, 1569, 316, 279, 3588, 819, 16, 1427, 1842, 326, 565, 733, 618, 471, 1765, 326, 460, 487, 4573, 4509, 19, 7734, 309, 261, 291, 1854, 13, 288, 10792, 279, 945, 12, 80, 1537, 18, 588, 46, 3996, 10663, 10792, 29728, 18, 1289, 12, 3216, 1085, 18, 3264, 22741, 16, 18701, 315, 6290, 19, 4936, 19, 19038, 3113, 18701, 315, 2399, 3113, 18701, 315, 21159, 19, 4936, 19, 797, 4868, 1769, 10792, 509, 18103, 2224, 273, 10533, 2224, 5621, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 967, 1537, 12, 6179, 2042, 3092, 328, 1537, 16, 1250, 18103, 16, 11794, 514, 508, 13, 565, 288, 3639, 368, 2660, 30, 9645, 731, 999, 434, 328, 1537, 2674, 471, 316, 444, 18, 3639, 309, 261, 5332, 5555, 382, 426, 564, 597, 328, 1537, 422, 446, 13, 5411, 328, 1537, 273, 12056, 2042, 3092, 18, 588, 12, 4699, 16, 508, 1769, 3639, 309, 261, 80, 1537, 480, 446, 13, 288, 5411, 309, 261, 80, 1537, 18, 588, 46, 3996, 1435, 422, 300, 21, 13, 7734, 309, 261, 80, 1537, 18, 291, 1854, 10756, 10792, 328, 1537, 18, 6145, 46, 3996, 12, 588, 1908, 3944, 4154, 2042, 10663, 7734, 469, 10792, 328, 1537, 18, 6145, 46, 2 ]
url2 = PathUtil.decode(url2);
url2 = SVNEncodingUtil.uriDecode(url2);
public void doMerge(String url1, String url2, SVNRevision rN, SVNRevision rM, File dstPath, boolean recursive, boolean useAncestry, boolean force, boolean dryRun) throws SVNException { // create merge editor that will receive diffs between url1 and url2 // (rN|rM) url1 = validateURL(url1); url2 = validateURL(url2); DebugLog.log("url1: " + url1); DebugLog.log("url2: " + url2); rN = rN == null || !rN.isValid() ? SVNRevision.HEAD : rN; rM = rM == null || !rM.isValid() ? SVNRevision.HEAD : rM; SVNWCAccess wcAccess = createWCAccess(dstPath); try { wcAccess.open(true, recursive); SVNRepository repos1 = createRepository(url1); SVNRepository repos2 = createRepository(url1); final long revN = getRevisionNumber(url1, rN); long revM = getRevisionNumber(url2, rM); SVNRepository repos3 = createRepository(url2); if (SVNProperty.KIND_FILE.equals(wcAccess .getTargetEntryProperty(SVNProperty.KIND))) { SVNMerger merger = new SVNMerger(wcAccess, url2, revM, force, dryRun, isLeaveConflictsUnresolved()); mergeSingleFile(wcAccess, repos1, repos3, revN, revM, merger); return; } SVNNodeKind nodeKind1 = repos1.checkPath("", revN); SVNNodeKind nodeKind2 = repos3.checkPath("", revM); String target = null; if (nodeKind1 == SVNNodeKind.FILE || nodeKind2 == SVNNodeKind.FILE) { DebugLog.log("one of the targets is file"); target = PathUtil.tail(url1); target = PathUtil.decode(target); url1 = PathUtil.removeTail(url1); repos1 = createRepository(url1); repos2 = createRepository(url1); } url2 = PathUtil.decode(url2); SVNMerger merger = new SVNMerger(wcAccess, url2, revM, force, dryRun, isLeaveConflictsUnresolved()); DebugLog.log("wc access: " + wcAccess); DebugLog.log("url1: " + url1); DebugLog.log("url2: " + url2); DebugLog.log("revM: " + revM); DebugLog.log("revN: " + revN); DebugLog.log("target: " + target); SVNMergeEditor mergeEditor = new SVNMergeEditor(wcAccess, repos2, revN, revM, merger); repos1.diff(url2, revM, revN, target, !useAncestry, recursive, new ISVNReporterBaton() { public void report(ISVNReporter reporter) throws SVNException { reporter.setPath("", null, revN, false); reporter.finishReport(); } }, mergeEditor); } finally { wcAccess.close(true); } }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/48b673a4eeae723c90a2ec8a9e48e886212b2109/SVNDiffClient.java/clean/javasvn/src/org/tmatesoft/svn/core/wc/SVNDiffClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 6786, 12, 780, 880, 21, 16, 514, 880, 22, 16, 29537, 50, 7939, 436, 50, 16, 5411, 29537, 50, 7939, 436, 49, 16, 1387, 29845, 16, 1250, 5904, 16, 5411, 1250, 999, 979, 27626, 16, 1250, 2944, 16, 1250, 26147, 13, 5411, 1216, 29537, 50, 503, 288, 3639, 368, 752, 2691, 4858, 716, 903, 6798, 15250, 3086, 880, 21, 471, 880, 22, 3639, 368, 261, 86, 50, 96, 86, 49, 13, 3639, 880, 21, 273, 1954, 1785, 12, 718, 21, 1769, 3639, 880, 22, 273, 1954, 1785, 12, 718, 22, 1769, 3639, 4015, 1343, 18, 1330, 2932, 718, 21, 30, 315, 397, 880, 21, 1769, 3639, 4015, 1343, 18, 1330, 2932, 718, 22, 30, 315, 397, 880, 22, 1769, 3639, 436, 50, 273, 436, 50, 422, 446, 747, 401, 86, 50, 18, 26810, 1435, 692, 29537, 50, 7939, 18, 12458, 294, 436, 50, 31, 3639, 436, 49, 273, 436, 49, 422, 446, 747, 401, 86, 49, 18, 26810, 1435, 692, 29537, 50, 7939, 18, 12458, 294, 436, 49, 31, 3639, 29537, 50, 59, 39, 1862, 14310, 1862, 273, 752, 59, 39, 1862, 12, 11057, 743, 1769, 3639, 775, 288, 5411, 14310, 1862, 18, 3190, 12, 3767, 16, 5904, 1769, 5411, 29537, 50, 3305, 13686, 21, 273, 752, 3305, 12, 718, 21, 1769, 5411, 29537, 50, 3305, 13686, 22, 273, 752, 3305, 12, 718, 21, 1769, 5411, 727, 1525, 5588, 50, 273, 26911, 1854, 12, 718, 21, 16, 436, 50, 1769, 5411, 1525, 5588, 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, 6786, 12, 780, 880, 21, 16, 514, 880, 22, 16, 29537, 50, 7939, 436, 50, 16, 5411, 29537, 50, 7939, 436, 49, 16, 1387, 29845, 16, 1250, 5904, 16, 5411, 1250, 999, 979, 27626, 16, 1250, 2944, 16, 1250, 26147, 13, 5411, 1216, 29537, 50, 503, 288, 3639, 368, 752, 2691, 4858, 716, 903, 6798, 15250, 3086, 880, 21, 471, 880, 22, 3639, 368, 261, 86, 50, 96, 86, 49, 13, 3639, 880, 21, 273, 1954, 1785, 12, 718, 21, 1769, 3639, 880, 22, 273, 1954, 1785, 12, 718, 22, 1769, 3639, 4015, 1343, 18, 1330, 2932, 718, 21, 30, 315, 397, 880, 21, 1769, 3639, 4015, 1343, 18, 1330, 2932, 718, 22, 30, 315, 2 ]
private Document handleFile(File file) { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(file); String shortname = Util.getElementValue( doc.getDocumentElement(), "body/taglib/shortname"); File dir = new File(destdir, shortname); dir.mkdir(); File taglibFrameHtml = new File(dir, "taglib-frame.html"); Source xml = new StreamSource(file); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibdoc/taglib-frame.xsl")); Result out = new StreamResult(taglibFrameHtml); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); File taglibSummaryHtml = new File(dir, "taglib-summary.html"); xml = new StreamSource(file); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibdoc/taglib-summary.xsl")); out = new StreamResult(taglibSummaryHtml); t = tf.newTransformer(xsl); t.transform(xml, out); List tags = Util.getElements(doc.getDocumentElement(), "body/taglib/tag"); Iterator iter = tags.iterator(); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibdoc/tag-frame.xsl")); t = tf.newTransformer(xsl); while (iter.hasNext()) { Element tag = (Element) iter.next(); Util.addChildElement(tag, "taglib", shortname); String tagname = Util.getElementValue(tag, "name"); File tagHtml = new File(dir, tagname + ".html"); xml = new DOMSource(tag); out = new StreamResult(tagHtml); t.transform(xml, out); } return doc; } catch (Exception e) { e.printStackTrace(); } return null; }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/TaglibDoc.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/TaglibDoc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 2519, 4110, 812, 12, 812, 768, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2670, 12, 768, 1769, 1082, 202, 780, 28650, 33, 9506, 202, 1304, 18, 21336, 620, 12, 6862, 202, 2434, 18, 588, 2519, 1046, 9334, 6862, 202, 6, 3432, 19, 2692, 2941, 19, 28650, 8863, 1082, 202, 812, 1214, 33, 2704, 812, 12, 10488, 1214, 16, 28650, 1769, 1082, 202, 1214, 18, 26686, 5621, 1082, 202, 25579, 20788, 2941, 3219, 4353, 33, 2704, 812, 12, 1214, 10837, 2692, 2941, 17, 3789, 18, 2620, 8863, 1082, 202, 1830, 2902, 33, 2704, 1228, 1830, 12, 768, 1769, 1082, 202, 1830, 30903, 33, 9506, 202, 2704, 1228, 1830, 12, 6862, 202, 2211, 18, 588, 797, 7675, 588, 1420, 17052, 12, 25083, 202, 6, 19, 4683, 19, 2692, 2941, 2434, 19, 2692, 2941, 17, 3789, 18, 30903, 7923, 1769, 1082, 202, 1253, 659, 33, 2704, 1228, 1253, 12, 2692, 2941, 3219, 4353, 1769, 1082, 202, 8319, 1733, 6632, 33, 8319, 1733, 18, 2704, 1442, 5621, 1082, 202, 4059, 1051, 33, 6632, 18, 2704, 8319, 12, 30903, 1769, 1082, 202, 88, 18, 6547, 12, 2902, 16, 659, 1769, 1082, 202, 25579, 20788, 2941, 4733, 4353, 33, 2704, 812, 12, 1214, 10837, 2692, 2941, 17, 7687, 18, 2620, 8863, 1082, 202, 2902, 33, 2704, 1228, 1830, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 2519, 4110, 812, 12, 812, 768, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2670, 12, 768, 1769, 1082, 202, 780, 28650, 33, 9506, 202, 1304, 18, 21336, 620, 12, 6862, 202, 2434, 18, 588, 2519, 1046, 9334, 6862, 202, 6, 3432, 19, 2692, 2941, 19, 28650, 8863, 1082, 202, 812, 1214, 33, 2704, 812, 12, 10488, 1214, 16, 28650, 1769, 1082, 202, 1214, 18, 26686, 5621, 1082, 202, 25579, 20788, 2941, 3219, 4353, 33, 2704, 812, 12, 1214, 10837, 2692, 2941, 17, 3789, 18, 2620, 2 ]
oldBinding = new Binding(name.substring(myFullName.length()), oldBinding.getObject());
oldBinding = new Binding(name.substring(myFullName.length()), nsObj);
void dispatch(List events) { for (Iterator i = events.iterator(); i.hasNext(); ) { NSNamingEvent evt = (NSNamingEvent) i.next(); NSCallback.Id cbid = evt.getCallbackId(); NamingListener l = getListener(cbid); if (l == null) { System.out.println("No listener found for " + cbid); continue; } Binding oldBinding = evt.oldBinding; if (oldBinding != null && !oldBinding.isRelative()) { String name = oldBinding.getName(); // WARNING: Next line not currently jikes-compilable. Use javac with -source=1.4 assert name.startsWith(myFullName); oldBinding = new Binding(name.substring(myFullName.length()), oldBinding.getObject()); } Binding newBinding = evt.newBinding; if (newBinding != null && !newBinding.isRelative()) { String name = newBinding.getName(); // WARNING: Next line not currently jikes-compilable. Use javac with -source=1.4 assert name.startsWith(myFullName); newBinding = new Binding(name.substring(myFullName.length()), newBinding.getObject()); } new NamingEvent(this, evt.type, newBinding, oldBinding, null).dispatch(l); } }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/c8f93b0adc7bd0cb24f7fd81319d6b2944fcac53/NamingEventContext.java/clean/core/src/org/cougaar/core/naming/NamingEventContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 3435, 12, 682, 2641, 13, 288, 565, 364, 261, 3198, 277, 273, 2641, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1377, 11472, 24102, 1133, 6324, 273, 261, 3156, 24102, 1133, 13, 277, 18, 4285, 5621, 1377, 11472, 2428, 18, 548, 2875, 350, 273, 6324, 18, 588, 2428, 548, 5621, 1377, 18884, 2223, 328, 273, 31355, 12, 7358, 350, 1769, 1377, 309, 261, 80, 422, 446, 13, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 2279, 2991, 1392, 364, 315, 397, 2875, 350, 1769, 3639, 1324, 31, 1377, 289, 1377, 15689, 1592, 5250, 273, 6324, 18, 1673, 5250, 31, 1377, 309, 261, 1673, 5250, 480, 446, 597, 401, 1673, 5250, 18, 291, 8574, 10756, 288, 3639, 514, 508, 273, 1592, 5250, 18, 17994, 5621, 202, 759, 9744, 30, 4804, 980, 486, 4551, 525, 25235, 17, 2919, 330, 429, 18, 2672, 5152, 1077, 598, 300, 3168, 33, 21, 18, 24, 3639, 1815, 508, 18, 17514, 1190, 12, 4811, 19223, 1769, 3639, 1592, 5250, 273, 394, 15689, 12, 529, 18, 28023, 12, 4811, 19223, 18, 2469, 1435, 3631, 3153, 2675, 1769, 1377, 289, 1377, 15689, 394, 5250, 273, 6324, 18, 2704, 5250, 31, 1377, 309, 261, 2704, 5250, 480, 446, 597, 401, 2704, 5250, 18, 291, 8574, 10756, 288, 3639, 514, 508, 273, 394, 5250, 18, 17994, 5621, 202, 759, 9744, 30, 4804, 980, 486, 4551, 525, 25235, 17, 2919, 330, 429, 18, 2672, 5152, 1077, 598, 300, 3168, 33, 21, 18, 24, 3639, 1815, 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, 918, 3435, 12, 682, 2641, 13, 288, 565, 364, 261, 3198, 277, 273, 2641, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1377, 11472, 24102, 1133, 6324, 273, 261, 3156, 24102, 1133, 13, 277, 18, 4285, 5621, 1377, 11472, 2428, 18, 548, 2875, 350, 273, 6324, 18, 588, 2428, 548, 5621, 1377, 18884, 2223, 328, 273, 31355, 12, 7358, 350, 1769, 1377, 309, 261, 80, 422, 446, 13, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 2279, 2991, 1392, 364, 315, 397, 2875, 350, 1769, 3639, 1324, 31, 1377, 289, 1377, 15689, 1592, 5250, 273, 6324, 18, 1673, 5250, 31, 1377, 309, 261, 1673, 5250, 480, 446, 597, 401, 1673, 5250, 18, 291, 8574, 10756, 288, 2 ]
synchronized (listenerKey) { listeners.remove(listener); }
listeners.remove(listener);
void removeListener(IJobProgressManagerListener listener) { synchronized (listenerKey) { listeners.remove(listener); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/543833f8a153a9a7991a3d777cc9a80cf9864424/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 18873, 12, 45, 2278, 5491, 1318, 2223, 2991, 13, 288, 202, 202, 22043, 261, 12757, 653, 13, 288, 1082, 202, 16072, 18, 4479, 12, 12757, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 653, 13, 288, 1082, 202, 16072, 18, 4479, 12, 12757, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} catch (IOException e1) {
} catch (IOException e) {
public Element build(Map projectProperties) throws CruiseControlException { try { BuildAgentService agent = pickAgent(); Element buildResults = null; try { projectProperties.put("distributed.overrideTarget", overrideTarget); projectProperties.put("distributed.module", module); buildResults = agent.doBuild(childBuilderElement, projectProperties); String rootDirPath = null; try { rootDirPath = rootDir.getCanonicalPath(); } catch (IOException e1) { String message = "Error getting canonical path for: " + rootDir; LOG.error(message); System.err.println(message); throw new CruiseControlException(message, e1); } String resultsFileName = "logs.zip"; String resultsType = "logs"; if (agent.resultsExist(resultsType)) { String zipFilePath = FileUtil.bytesToFile(agent.retrieveResultsAsZip(resultsType), rootDirPath, resultsFileName); try { ZipUtil.unzipFileToLocation(zipFilePath, rootDirPath + File.separator + resultsType); Util.deleteFile(new File(zipFilePath)); } catch (IOException e2) { // Empty zip for log results--ignore } } else { String message = "No results returned for logs"; LOG.debug(message); System.out.println(message); } resultsFileName = "output.zip"; resultsType = "output"; if (agent.resultsExist(resultsType)) { String zipFilePath = FileUtil.bytesToFile(agent.retrieveResultsAsZip(resultsType), rootDirPath, resultsFileName); try { ZipUtil.unzipFileToLocation(zipFilePath, rootDirPath + File.separator + resultsType); Util.deleteFile(new File(zipFilePath)); } catch (IOException e2) { // Empty zip for output results--ignore } } else { String message = "No results returned for output"; LOG.debug(message); System.out.println(message); } agent.clearOutputFiles(); } catch (RemoteException e) { String message = "Distributed build failed with RemoteException"; LOG.error(message, e); System.err.println(message + " - " + e.getMessage()); throw new CruiseControlException(message, e); } return buildResults; } catch(RuntimeException e) { String message = "Distributed build runtime exception"; LOG.error(message, e); System.err.println(message + " - " + e.getMessage()); throw new CruiseControlException(message, e); } }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/d718cbff723c96240ccea6f66ea15ed9811ca146/DistributedMasterBuilder.java/clean/contrib/distributed/src/net/sourceforge/cruisecontrol/builders/DistributedMasterBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3010, 1361, 12, 863, 1984, 2297, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 775, 288, 5411, 3998, 3630, 1179, 4040, 273, 6002, 3630, 5621, 5411, 3010, 1361, 3447, 273, 446, 31, 5411, 775, 288, 7734, 1984, 2297, 18, 458, 2932, 2251, 11050, 18, 10601, 2326, 3113, 3849, 2326, 1769, 7734, 1984, 2297, 18, 458, 2932, 2251, 11050, 18, 2978, 3113, 1605, 1769, 7734, 1361, 3447, 273, 4040, 18, 2896, 3116, 12, 3624, 1263, 1046, 16, 1984, 2297, 1769, 7734, 514, 15393, 743, 273, 446, 31, 7734, 775, 288, 10792, 15393, 743, 273, 15393, 18, 588, 15512, 743, 5621, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 514, 883, 273, 315, 668, 8742, 7378, 589, 364, 30, 315, 397, 15393, 31, 10792, 2018, 18, 1636, 12, 2150, 1769, 10792, 2332, 18, 370, 18, 8222, 12, 2150, 1769, 10792, 604, 394, 385, 8653, 784, 3367, 503, 12, 2150, 16, 425, 21, 1769, 7734, 289, 7734, 514, 1686, 4771, 273, 315, 10011, 18, 4450, 14432, 7734, 514, 1686, 559, 273, 315, 10011, 14432, 7734, 309, 261, 5629, 18, 4717, 4786, 12, 4717, 559, 3719, 288, 10792, 514, 3144, 5598, 273, 1387, 1304, 18, 3890, 15450, 12, 5629, 18, 17466, 3447, 1463, 9141, 12, 4717, 559, 3631, 15393, 743, 16, 1686, 4771, 1769, 10792, 775, 288, 13491, 8603, 1304, 18, 318, 4450, 812, 774, 2735, 12, 4450, 5598, 16, 15393, 743, 397, 1387, 18, 11287, 397, 1686, 559, 1769, 13491, 3564, 18, 3733, 812, 12, 2704, 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, 3010, 1361, 12, 863, 1984, 2297, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 775, 288, 5411, 3998, 3630, 1179, 4040, 273, 6002, 3630, 5621, 5411, 3010, 1361, 3447, 273, 446, 31, 5411, 775, 288, 7734, 1984, 2297, 18, 458, 2932, 2251, 11050, 18, 10601, 2326, 3113, 3849, 2326, 1769, 7734, 1984, 2297, 18, 458, 2932, 2251, 11050, 18, 2978, 3113, 1605, 1769, 7734, 1361, 3447, 273, 4040, 18, 2896, 3116, 12, 3624, 1263, 1046, 16, 1984, 2297, 1769, 7734, 514, 15393, 743, 273, 446, 31, 7734, 775, 288, 10792, 15393, 743, 273, 15393, 18, 588, 15512, 743, 5621, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 514, 883, 273, 315, 668, 8742, 7378, 589, 2 ]
out.print("\">View/Open</A></td></tr>");
out.print("\">" + LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.view") + "</A></td></tr>");
private void listBitstreams() throws IOException { JspWriter out = pageContext.getOut(); HttpServletRequest request = (HttpServletRequest) pageContext .getRequest(); out.print("<table align=center class=\"miscTable\"><tr>"); out .println("<td class=evenRowEvenCol><P><strong>Files in This Item:</strong></P>"); Bundle[] bundles = item.getBundles("ORIGINAL"); if (bundles.length == 0) { out.println("<P>There are no files associated with this item.</P>"); } else { boolean html = false; String handle = item.getHandle(); Bitstream primaryBitstream = null; Bundle[] bunds = item.getBundles("ORIGINAL"); Bundle[] thumbs = item.getBundles("THUMBNAIL"); // if item contains multiple bitstreams, display bitstream // description boolean multiFile = false; Bundle[] allBundles = item.getBundles(); for (int i = 0, filecount = 0; (i < allBundles.length) && !multiFile; i++) { filecount += allBundles[i].getBitstreams().length; multiFile = (filecount > 1); } // check if primary bitstream is html if (bunds[0] != null) { Bitstream[] bits = bunds[0].getBitstreams(); for (int i = 0; (i < bits.length) && !html; i++) { if (bits[i].getID() == bunds[0].getPrimaryBitstreamID()) { html = bits[i].getFormat().getMIMEType().equals( "text/html"); primaryBitstream = bits[i]; } } } out .println("<table cellpadding=6><tr><th class=\"standard\">File</th>"); if (multiFile) { out.println("<th class=\"standard\">Description</th>"); } out .println("<th class=\"standard\">Size</th class=\"standard\"><th class=\"standard\">Format</th></tr>"); // if primary bitstream is html, display a link for only that one to // HTMLServlet if (html) { // If no real Handle yet (e.g. because Item is in workflow) // we use the 'fake' Handle db-id/1234 where 1234 is the // database ID of the item. if (handle == null) { handle = "db-id/" + item.getID(); } out.print("<tr><td class=\"standard\">"); out.print(primaryBitstream.getName()); if (multiFile) { out.print("</td><td class=\"standard\">"); String desc = primaryBitstream.getDescription(); out.print((desc != null) ? desc : ""); } out.print("</td><td class=\"standard\">"); out.print(primaryBitstream.getSize() / 1024); out.print("Kb</td><td class=\"standard\">"); out.print(primaryBitstream.getFormatDescription()); out .print("</td><td class=\"standard\"><A TARGET=_blank HREF=\""); out.print(request.getContextPath()); out.print("/html/"); out.print(handle + "/"); out.print(UIUtil.encodeBitstreamName(primaryBitstream.getName(), Constants.DEFAULT_ENCODING)); out.print("\">View/Open</A></td></tr>"); } else { for (int i = 0; i < bundles.length; i++) { Bitstream[] bitstreams = bundles[i].getBitstreams(); for (int k = 0; k < bitstreams.length; k++) { // Skip internal types if (!bitstreams[k].getFormat().isInternal()) { out.print("<tr><td class=\"standard\">"); out.print(bitstreams[k].getName()); if (multiFile) { out.print("</td><td class=\"standard\">"); String desc = bitstreams[k].getDescription(); out.print((desc != null) ? desc : ""); } out.print("</td><td class=\"standard\">"); out.print(bitstreams[k].getSize() / 1024); out.print("Kb</td><td class=\"standard\">"); out.print(bitstreams[k].getFormatDescription()); out .print("</td><td class=\"standard\" align=\"center\">"); // Work out what the bitstream link should be // (persistent // ID if item has Handle) String bsLink = "<A TARGET=_blank HREF=\"" + request.getContextPath(); if ((handle != null) && (bitstreams[k].getSequenceID() > 0)) { bsLink = bsLink + "/bitstream/" + item.getHandle() + "/" + bitstreams[k].getSequenceID() + "/"; } else { bsLink = bsLink + "/retrieve/" + bitstreams[k].getID() + "/"; } bsLink = bsLink + UIUtil.encodeBitstreamName( bitstreams[k].getName(), Constants.DEFAULT_ENCODING) + "\">"; // is there a thumbnail bundle? if ((thumbs.length > 0) && showThumbs) { String tName = bitstreams[k].getName() + ".jpg"; Bitstream tb = thumbs[0] .getBitstreamByName(tName); if (tb != null) { String myPath = request.getContextPath() + "/retrieve/" + tb.getID() + "/" + UIUtil.encodeBitstreamName(tb.getName(), Constants.DEFAULT_ENCODING); out.print(bsLink); out.print("<img src=\"" + myPath + "\" "); out.print("alt=\"" + tName + "\"></A><BR>"); } } out.print(bsLink + "View/Open</A></td></tr>"); } } } } out.println("</table>"); } out.println("</td></tr></table>"); }
49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/22d85d1df34eed227975b6e94ba17893121fac13/ItemTag.java/clean/dspace/src/org/dspace/app/webui/jsptag/ItemTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 666, 5775, 16320, 1435, 1216, 1860, 565, 288, 3639, 19300, 2289, 596, 273, 21442, 18, 588, 1182, 5621, 3639, 9984, 590, 273, 261, 2940, 18572, 13, 21442, 7734, 263, 588, 691, 5621, 3639, 596, 18, 1188, 2932, 32, 2121, 5689, 33, 5693, 667, 5189, 23667, 1388, 2412, 4438, 313, 2984, 1769, 3639, 596, 7734, 263, 8222, 2932, 32, 4465, 667, 33, 16728, 1999, 8321, 914, 4438, 52, 4438, 9110, 34, 2697, 316, 1220, 4342, 19814, 9110, 4695, 52, 2984, 1769, 3639, 8539, 8526, 11408, 273, 761, 18, 588, 16151, 2932, 24685, 1013, 8863, 3639, 309, 261, 22773, 18, 2469, 422, 374, 13, 3639, 288, 5411, 596, 18, 8222, 2932, 32, 52, 34, 9828, 854, 1158, 1390, 3627, 598, 333, 761, 17347, 52, 2984, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 1250, 1729, 273, 629, 31, 5411, 514, 1640, 273, 761, 18, 588, 3259, 5621, 5411, 6539, 3256, 3354, 5775, 3256, 273, 446, 31, 5411, 8539, 8526, 324, 19156, 273, 761, 18, 588, 16151, 2932, 24685, 1013, 8863, 5411, 8539, 8526, 286, 10099, 273, 761, 18, 588, 16151, 2932, 2455, 2799, 15388, 6575, 8863, 5411, 368, 309, 761, 1914, 3229, 2831, 16320, 16, 2562, 28640, 5411, 368, 2477, 5411, 1250, 3309, 812, 273, 629, 31, 5411, 8539, 8526, 777, 16151, 273, 761, 18, 588, 16151, 5621, 5411, 364, 261, 474, 277, 273, 374, 16, 585, 1883, 273, 374, 31, 261, 77, 411, 777, 16151, 18, 2469, 13, 10792, 597, 401, 7027, 812, 31, 277, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 666, 5775, 16320, 1435, 1216, 1860, 565, 288, 3639, 19300, 2289, 596, 273, 21442, 18, 588, 1182, 5621, 3639, 9984, 590, 273, 261, 2940, 18572, 13, 21442, 7734, 263, 588, 691, 5621, 3639, 596, 18, 1188, 2932, 32, 2121, 5689, 33, 5693, 667, 5189, 23667, 1388, 2412, 4438, 313, 2984, 1769, 3639, 596, 7734, 263, 8222, 2932, 32, 4465, 667, 33, 16728, 1999, 8321, 914, 4438, 52, 4438, 9110, 34, 2697, 316, 1220, 4342, 19814, 9110, 4695, 52, 2984, 1769, 3639, 8539, 8526, 11408, 273, 761, 18, 588, 16151, 2932, 24685, 1013, 8863, 3639, 309, 261, 22773, 18, 2469, 422, 374, 13, 3639, 288, 5411, 596, 18, 8222, 2932, 32, 52, 34, 9828, 854, 1158, 1390, 2 ]
public AddPtg(byte [] data, int offset) { // doesn't need anything }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/13ea5ee7ea68721153c198ec5f180ba23cbd9840/AddPtg.java/buggy/src/java/org/apache/poi/hssf/record/formula/AddPtg.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1436, 16484, 75, 12, 7229, 5378, 501, 16, 509, 1384, 15329, 759, 3302, 1404, 1608, 6967, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1436, 16484, 75, 12, 7229, 5378, 501, 16, 509, 1384, 15329, 759, 3302, 1404, 1608, 6967, 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 ]
UIUtil.bindHelp( parent,IHelpContextIds.DELETE_WARNING_DIALOG_ID );
protected Control createDialogArea( Composite parent ) { Composite composite = (Composite) super.createDialogArea( parent ); new Label( composite, SWT.NONE ).setText( preString ); Tree tree = new Tree( composite, SWT.NONE ); tree.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); for ( Iterator itor = refrenceList.iterator( ); itor.hasNext( ); ) { Object reference = itor.next( ); TreeItem item = new TreeItem( tree, SWT.NONE ); item.setText( DEUtil.getDisplayLabel( reference ) ); item.setImage( ReportPlatformUIImages.getImage( reference ) ); } new Label( composite, SWT.NONE ).setText( sufString ); return composite; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/d8587f119b85e348ee9a0ffc1731ec6cd28933cc/DeleteWarningDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/DeleteWarningDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 8888, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 752, 6353, 5484, 12, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 14728, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 982, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 262, 202, 95, 202, 202, 9400, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 9635, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 273, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 261, 9400, 13, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 2240, 18, 2640, 6353, 5484, 12, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 8888, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 752, 6353, 5484, 12, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 14728, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2565, 18683, 67, 734, 11272, 225, 982, 6484, 1304, 18, 4376, 6696, 12, 982, 16, 45, 6696, 1042, 2673, 18, 6460, 67, 9511, 67, 2 ]
public String getCommandForm( int iterations )
public String getCommandForm()
public String getCommandForm( int iterations ) { return ""; }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/b3ee7db993ce053da3d3cd662dddfa84fff5dd7f/KoLRequest.java/clean/src/net/sourceforge/kolmafia/KoLRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 12856, 1204, 12, 509, 11316, 262, 202, 95, 202, 2463, 1408, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 12856, 1204, 12, 509, 11316, 262, 202, 95, 202, 2463, 1408, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (day < firstDayOfYear) {
if (day < firstDayOfYear) {
private void calculateDay(int day, boolean gregorian) { // the epoch is a Thursday. int weekday = (day + THURSDAY) % 7; if (weekday <= 0) weekday += 7; fields[DAY_OF_WEEK] = weekday; // get a first approximation of the year. This may be one // year to big. int year = 1970 + (gregorian ? ((day - 100) * 400) / (365 * 400 + 100 - 4 + 1) : ((day - 100) * 4) / (365 * 4 + 1)); if (day >= 0) year++; int firstDayOfYear = getLinearDay(year, 1, gregorian); // Now look in which year day really lies. if (day < firstDayOfYear) { year--; firstDayOfYear = getLinearDay(year, 1, gregorian); } day -= firstDayOfYear - 1; // day of year, one based. fields[DAY_OF_YEAR] = day; if (year <= 0) { fields[ERA] = BC; fields[YEAR] = 1 - year; } else { fields[ERA] = AD; fields[YEAR] = year; } int leapday = isLeapYear(year, gregorian) ? 1 : 0; if (day <= 31 + 28 + leapday) { fields[MONTH] = day / 32; // 31->JANUARY, 32->FEBRUARY fields[DAY_OF_MONTH] = day - 31 * fields[MONTH]; } else { // A few more magic formulas int scaledDay = (day - leapday) * 5 + 8; fields[MONTH] = scaledDay / (31 + 30 + 31 + 30 + 31); fields[DAY_OF_MONTH] = (scaledDay % (31 + 30 + 31 + 30 + 31)) / 5 + 1; } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/GregorianCalendar.java/buggy/core/src/classpath/java/java/util/GregorianCalendar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4604, 4245, 12, 474, 2548, 16, 1250, 314, 14510, 13, 288, 202, 202, 759, 326, 7632, 353, 279, 935, 25152, 2881, 18, 202, 202, 474, 7560, 273, 261, 2881, 397, 7662, 1099, 9903, 5255, 13, 738, 2371, 31, 202, 202, 430, 261, 10741, 2881, 1648, 374, 13, 1082, 202, 10741, 2881, 1011, 2371, 31, 202, 202, 2821, 63, 10339, 67, 3932, 67, 20274, 65, 273, 7560, 31, 202, 202, 759, 336, 279, 1122, 24769, 434, 326, 3286, 18, 225, 1220, 2026, 506, 1245, 3196, 202, 759, 3286, 358, 5446, 18, 202, 202, 474, 3286, 273, 5342, 7301, 397, 261, 2810, 280, 2779, 692, 14015, 2881, 300, 2130, 13, 380, 7409, 13, 342, 261, 5718, 25, 380, 7409, 397, 2130, 300, 1059, 397, 404, 13, 294, 14015, 2881, 300, 2130, 13, 380, 1059, 13, 342, 261, 5718, 25, 380, 1059, 397, 404, 10019, 202, 202, 430, 261, 2881, 1545, 374, 13, 1082, 202, 6874, 9904, 31, 202, 202, 474, 1122, 4245, 19091, 273, 9851, 297, 4245, 12, 6874, 16, 404, 16, 314, 14510, 1769, 202, 202, 759, 4494, 2324, 316, 1492, 3286, 2548, 8654, 328, 606, 18, 202, 202, 430, 261, 2881, 411, 1122, 4245, 19091, 13, 288, 1082, 202, 6874, 413, 31, 1082, 202, 3645, 4245, 19091, 273, 9851, 297, 4245, 12, 6874, 16, 404, 16, 314, 14510, 1769, 202, 202, 97, 202, 202, 2881, 3947, 1122, 4245, 19091, 300, 404, 31, 368, 2548, 434, 3286, 16, 225, 1245, 2511, 18, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4604, 4245, 12, 474, 2548, 16, 1250, 314, 14510, 13, 288, 202, 202, 759, 326, 7632, 353, 279, 935, 25152, 2881, 18, 202, 202, 474, 7560, 273, 261, 2881, 397, 7662, 1099, 9903, 5255, 13, 738, 2371, 31, 202, 202, 430, 261, 10741, 2881, 1648, 374, 13, 1082, 202, 10741, 2881, 1011, 2371, 31, 202, 202, 2821, 63, 10339, 67, 3932, 67, 20274, 65, 273, 7560, 31, 202, 202, 759, 336, 279, 1122, 24769, 434, 326, 3286, 18, 225, 1220, 2026, 506, 1245, 3196, 202, 759, 3286, 358, 5446, 18, 202, 202, 474, 3286, 273, 5342, 7301, 397, 261, 2810, 280, 2779, 692, 14015, 2881, 300, 2130, 13, 380, 7409, 13, 342, 261, 5718, 25, 2 ]
InfoSiteAssociatedCurricularCourses component, Site site) {
InfoSiteAssociatedCurricularCourses component, ExecutionCourseSite site) {
private ISiteComponent getInfoSiteAssociatedCurricularCourses( InfoSiteAssociatedCurricularCourses component, Site site) { List infoCurricularCourseList = new ArrayList(); ExecutionCourse executionCourse = site.getExecutionCourse(); infoCurricularCourseList = readCurricularCourses(executionCourse); component.setAssociatedCurricularCourses(infoCurricularCourseList); return component; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/0109c25dd214d2427e911066a1345afb9ddc8372/ExecutionCourseSiteComponentBuilder.java/clean/src/net/sourceforge/fenixedu/applicationTier/Factory/ExecutionCourseSiteComponentBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4437, 1137, 1841, 17142, 4956, 19233, 2408, 1512, 2490, 39, 10692, 12, 202, 565, 3807, 4956, 19233, 2408, 1512, 2490, 39, 10692, 1794, 16, 9063, 2834, 13, 288, 202, 682, 1123, 2408, 1512, 2490, 39, 3117, 682, 273, 394, 2407, 5621, 202, 3210, 39, 3117, 4588, 39, 3117, 273, 2834, 18, 588, 3210, 39, 3117, 5621, 202, 1376, 2408, 1512, 2490, 39, 3117, 682, 273, 855, 2408, 1512, 2490, 39, 10692, 12, 16414, 39, 3117, 1769, 202, 4652, 18, 542, 19233, 2408, 1512, 2490, 39, 10692, 12, 1376, 2408, 1512, 2490, 39, 3117, 682, 1769, 202, 2463, 1794, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 682, 273, 394, 2407, 5621, 202, 3210, 39, 3117, 4588, 39, 3117, 273, 2834, 18, 588, 3210, 39, 3117, 5621, 202, 1376, 2408, 1512, 2490, 39, 3117, 682, 273, 855, 2408, 1512, 2490, 39, 10692, 12, 16414, 39, 3117, 1769, 202, 4652, 18, 542, 19233, 2408, 1512, 2490, 39, 10692, 12, 1376, 2408, 1512, 2490, 39, 3117, 682, 1769, 202, 2463, 1794, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
out.println("DN for CA <input name=\"dnname\" type=\"text\" value=\"\">");
out.println("Select CA: <select id=\"dnname\" name=\"cadnname\">"); for (int i = 0 ; i < caDNs.length ; i++) { out.println("<option value=\"" + caDNs[i].toString() + "\">" + caDNs[i].toString() + "</option>"); } out.println("</select>");
protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { if (log.isDebugEnabled()) { log.debug("+++++ Certificate signing request: "); log.debug("method:" + req.getMethod()); log.debug("authType:" + req.getAuthType()); log.debug("pathInfo:" + req.getPathInfo()); log.debug("query:" + req.getQueryString()); } res.setContentType("Text/HTML"); PrintWriter out=res.getWriter(); out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">"); out.println("<html>"); out.println("<head>"); out.println("<title>Certificate Signing request </title>"); out.println("</head>"); out.println("<body>"); out.println("<H2> Certificate Signing Request</H2>"); out.println("<table>"); out.println("<form action=\"\" method =\"post\">"); //out.println("<tr ><td colspan=\"3\">"); //out.println("Domain : <input name=\"domain\" type=\"text\" value=\"\">"); //out.println(" <br> <br></td></tr>"); out.println("<tr ><td colspan=\"3\">"); out.println("DN for CA <input name=\"dnname\" type=\"text\" value=\"\">"); out.println(" <br> <br></td></tr>"); out.println("<tr ><td colspan=\"3\">"); out.println("<textarea name=\"pkcsdata\" rows=10 cols=80 ></textarea><br>"); out.println("</td></tr>"); out.println("<tr><td>Type :</td>"); out.println("<td>"); out.println("<input name=\"pkcs\" type=\"radio\" value=\"pkcs7\">pkcs7</input>&nbsp;&nbsp;&nbsp;"); out.println("<input name=\"pkcs\" type=\"radio\" value=\"pkcs10\">pkcs10</input>"); // to distinguish between input from browser and from program out.println("<input name=\"replyformat\" type=\"hidden\" value=\"html\"></input>"); out.println("<br></td><td></td>"); out.println("</tr><tr><td></td><td><br><input type=\"submit\">&nbsp;&nbsp;&nbsp;"); out.println("<input type=\"reset\"></td><td></td></tr>"); out.println("</form></table>"); out.println("</body></html>"); out.flush(); out.close(); }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/2c902b25025ad4e06a3d806433ab1ea34afd4a3f/CertificateSigningRequest.java/buggy/securityservices/src/org/cougaar/core/security/certauthority/servlet/CertificateSigningRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 23611, 12, 2940, 18572, 1111, 16, 1082, 4202, 12446, 400, 13, 565, 1216, 16517, 16, 1860, 225, 288, 565, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 1377, 613, 18, 4148, 2932, 20934, 15, 6660, 10611, 590, 30, 315, 1769, 1377, 613, 18, 4148, 2932, 2039, 2773, 397, 1111, 18, 588, 1305, 10663, 1377, 613, 18, 4148, 2932, 1944, 559, 2773, 397, 1111, 18, 588, 1730, 559, 10663, 1377, 613, 18, 4148, 2932, 803, 966, 2773, 397, 1111, 18, 588, 743, 966, 10663, 1377, 613, 18, 4148, 2932, 2271, 2773, 397, 1111, 18, 588, 15276, 10663, 565, 289, 565, 400, 18, 542, 8046, 2932, 1528, 19, 4870, 8863, 565, 14071, 596, 33, 455, 18, 588, 2289, 5621, 565, 596, 18, 8222, 2932, 5586, 29824, 3982, 17187, 1239, 17, 759, 59, 23, 39, 759, 25728, 3982, 1059, 18, 20, 2604, 6457, 759, 1157, 21121, 1769, 565, 596, 18, 8222, 2932, 32, 2620, 2984, 1769, 565, 596, 18, 8222, 2932, 32, 1978, 2984, 1769, 565, 596, 18, 8222, 2932, 32, 2649, 34, 4719, 20253, 590, 7765, 2649, 2984, 1769, 565, 596, 18, 8222, 2932, 1757, 1978, 2984, 1769, 565, 596, 18, 8222, 2932, 32, 3432, 2984, 1769, 565, 596, 18, 8222, 2932, 32, 44, 22, 34, 6660, 20253, 1567, 1757, 44, 22, 2984, 1769, 565, 596, 18, 8222, 2932, 32, 2121, 2984, 1769, 565, 596, 18, 8222, 2932, 32, 687, 1301, 5189, 2412, 707, 273, 2412, 2767, 21121, 1769, 565, 368, 659, 18, 8222, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 23611, 12, 2940, 18572, 1111, 16, 1082, 4202, 12446, 400, 13, 565, 1216, 16517, 16, 1860, 225, 288, 565, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 1377, 613, 18, 4148, 2932, 20934, 15, 6660, 10611, 590, 30, 315, 1769, 1377, 613, 18, 4148, 2932, 2039, 2773, 397, 1111, 18, 588, 1305, 10663, 1377, 613, 18, 4148, 2932, 1944, 559, 2773, 397, 1111, 18, 588, 1730, 559, 10663, 1377, 613, 18, 4148, 2932, 803, 966, 2773, 397, 1111, 18, 588, 743, 966, 10663, 1377, 613, 18, 4148, 2932, 2271, 2773, 397, 1111, 18, 588, 15276, 10663, 565, 289, 565, 400, 18, 542, 8046, 2932, 1528, 19, 4870, 8863, 565, 14071, 596, 33, 455, 18, 588, 2 ]
if (operationType.equals(OperationType.REQUEST_RESPONSE)) return WSDLConstants.MEP_URI_IN_OUT;
if (operationType.equals(OperationType.REQUEST_RESPONSE)) return WSDLConstants.MEP_URI_IN_OUT;
private String getMEP(Operation operation) { OperationType operationType = operation.getStyle(); if (null != operationType) { if (operationType.equals(OperationType.REQUEST_RESPONSE)) return WSDLConstants.MEP_URI_IN_OUT; if (operationType.equals(OperationType.ONE_WAY)) return WSDLConstants.MEP_URI_IN_ONLY; if (operationType.equals(OperationType.NOTIFICATION)) return WSDLConstants.MEP_URI_OUT_ONLY; if (operationType.equals(OperationType.SOLICIT_RESPONSE)) return WSDLConstants.MEP_URI_OUT_IN; } throw new WSDLProcessingException("Cannot Determine the MEP"); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/59096099161eec3698fef0b4bdd596ca0420669d/WSDL2AxisServiceBuilder.java/clean/modules/core/src/org/apache/axis2/description/WSDL2AxisServiceBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 336, 958, 52, 12, 2988, 1674, 13, 288, 202, 202, 2988, 559, 15754, 273, 1674, 18, 588, 2885, 5621, 202, 202, 430, 261, 2011, 480, 15754, 13, 288, 1082, 202, 430, 261, 7624, 559, 18, 14963, 12, 2988, 559, 18, 5519, 67, 14508, 3719, 9506, 202, 2463, 30567, 2918, 18, 958, 52, 67, 3098, 67, 706, 67, 5069, 31, 1082, 202, 430, 261, 7624, 559, 18, 14963, 12, 2988, 559, 18, 5998, 67, 18098, 3719, 9506, 202, 2463, 30567, 2918, 18, 958, 52, 67, 3098, 67, 706, 67, 10857, 31, 1082, 202, 430, 261, 7624, 559, 18, 14963, 12, 2988, 559, 18, 4400, 14865, 3719, 9506, 202, 2463, 30567, 2918, 18, 958, 52, 67, 3098, 67, 5069, 67, 10857, 31, 1082, 202, 430, 261, 7624, 559, 18, 14963, 12, 2988, 559, 18, 19815, 2871, 1285, 67, 14508, 3719, 9506, 202, 2463, 30567, 2918, 18, 958, 52, 67, 3098, 67, 5069, 67, 706, 31, 202, 202, 97, 202, 202, 12849, 394, 30567, 23684, 2932, 4515, 10229, 326, 7733, 52, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 336, 958, 52, 12, 2988, 1674, 13, 288, 202, 202, 2988, 559, 15754, 273, 1674, 18, 588, 2885, 5621, 202, 202, 430, 261, 2011, 480, 15754, 13, 288, 1082, 202, 430, 261, 7624, 559, 18, 14963, 12, 2988, 559, 18, 5519, 67, 14508, 3719, 9506, 202, 2463, 30567, 2918, 18, 958, 52, 67, 3098, 67, 706, 67, 5069, 31, 1082, 202, 430, 261, 7624, 559, 18, 14963, 12, 2988, 559, 18, 5998, 67, 18098, 3719, 9506, 202, 2463, 30567, 2918, 18, 958, 52, 67, 3098, 67, 706, 67, 10857, 31, 1082, 202, 430, 261, 7624, 559, 18, 14963, 12, 2988, 559, 18, 4400, 14865, 3719, 9506, 202, 2463, 30567, 2918, 18, 958, 52, 67, 3098, 2 ]
EditBus.send(new RegisterChanged(null,register));
public static void copy(JEditTextArea textArea, char register) { String selection = textArea.getSelectedText(); if(selection == null) return; setRegister(register,selection); HistoryModel.getModel("clipboard").addItem(selection); EditBus.send(new RegisterChanged(null,register)); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/4aae6868b1174861fdd4157532f22010da755413/Registers.java/buggy/org/gjt/sp/jedit/Registers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1610, 12, 46, 4666, 1528, 5484, 977, 5484, 16, 1149, 1744, 13, 202, 95, 202, 202, 780, 4421, 273, 977, 5484, 18, 588, 7416, 1528, 5621, 202, 202, 430, 12, 10705, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 542, 3996, 12, 4861, 16, 10705, 1769, 202, 202, 5623, 1488, 18, 588, 1488, 2932, 14161, 3752, 20387, 1289, 1180, 12, 10705, 1769, 202, 202, 4666, 7086, 18, 4661, 12, 2704, 5433, 5033, 12, 2011, 16, 4861, 10019, 202, 202, 97, 368, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1610, 12, 46, 4666, 1528, 5484, 977, 5484, 16, 1149, 1744, 13, 202, 95, 202, 202, 780, 4421, 273, 977, 5484, 18, 588, 7416, 1528, 5621, 202, 202, 430, 12, 10705, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 542, 3996, 12, 4861, 16, 10705, 1769, 202, 202, 5623, 1488, 18, 588, 1488, 2932, 14161, 3752, 20387, 1289, 1180, 12, 10705, 1769, 202, 202, 4666, 7086, 18, 4661, 12, 2704, 5433, 5033, 12, 2011, 16, 4861, 10019, 202, 202, 97, 368, 9090, 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 ]
BugzillaReportSubmitForm bugzillaReportSubmitForm;
protected void timeTracker(int taskid, boolean enableDeadline) throws Exception { BugzillaTask bugtask = generateLocalTaskAndDownload("" + taskid); TasksUiPlugin.getSynchronizationManager().setTaskRead(bugtask, true); assertEquals(taskid, Integer.parseInt(bugtask.getTaskData().getId())); assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, bugtask.getSyncState()); Set<AbstractRepositoryTask> tasks = new HashSet<AbstractRepositoryTask>(); tasks.add(bugtask); // synchAndAssertState(tasks, RepositoryTaskSyncState.SYNCHRONIZED); TasksUiPlugin.getRepositoryManager().setSyncTime(repository, bugtask.getLastSyncDateStamp(), TasksUiPlugin.getDefault().getRepositoriesFilePath()); // connector.synchronizeChanged(repository); // Set<AbstractRepositoryTask> changedTasks = // connector.getOfflineTaskHandler().getChangedSinceLastSync(repository, // tasks); // assertEquals(1, changedTasks.size()); assertNotNull(repository.getUserName()); assertNotNull(repository.getPassword()); float estimatedTime, remainingTime, actualTime, addTime; String deadline = null; RepositoryTaskData bugtaskdata = bugtask.getTaskData(); estimatedTime = Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.ESTIMATED_TIME .getKeyString())); remainingTime = Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.REMAINING_TIME .getKeyString())); actualTime = Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.ACTUAL_TIME.getKeyString())); if (enableDeadline) deadline = bugtaskdata.getAttributeValue(BugzillaReportElement.DEADLINE.getKeyString()); estimatedTime += 2; remainingTime += 1.5; addTime = 0.75f; if (enableDeadline) deadline = generateNewDay(); bugtaskdata.setAttributeValue(BugzillaReportElement.ESTIMATED_TIME.getKeyString(), "" + estimatedTime); bugtaskdata.setAttributeValue(BugzillaReportElement.REMAINING_TIME.getKeyString(), "" + remainingTime); bugtaskdata.setAttributeValue(BugzillaReportElement.WORK_TIME.getKeyString(), "" + addTime); if (enableDeadline) bugtaskdata.setAttributeValue(BugzillaReportElement.DEADLINE.getKeyString(), deadline); BugzillaReportSubmitForm bugzillaReportSubmitForm; for (AbstractRepositoryTask task : tasks) { task.getTaskData().setAttributeValue(BugzillaReportElement.ADD_COMMENT.getKeyString(), "New Estimate: " + estimatedTime + "\nNew Remaining: " + remainingTime + "\nAdd: " + addTime); bugzillaReportSubmitForm = makeExistingBugPost(task.getTaskData()); bugzillaReportSubmitForm.submitReportToRepository(connector.getClientManager().getClient(repository)); } // assertEquals("Changed reports expected ", 1, // connector.getOfflineTaskHandler().getChangedSinceLastSync(repository, // tasks).size()); synchAndAssertState(tasks, RepositoryTaskSyncState.INCOMING); // synchAndAssertState(tasks, RepositoryTaskSyncState.SYNCHRONIZED); bugtaskdata = bugtask.getTaskData(); assertEquals(estimatedTime, Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.ESTIMATED_TIME .getKeyString()))); assertEquals(remainingTime, Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.REMAINING_TIME .getKeyString()))); assertEquals(actualTime + addTime, Float.parseFloat(bugtaskdata .getAttributeValue(BugzillaReportElement.ACTUAL_TIME.getKeyString()))); if (enableDeadline) assertEquals(deadline, bugtaskdata.getAttributeValue(BugzillaReportElement.DEADLINE.getKeyString())); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/03f3816483b487f20214837cafbbbb03ffc5336e/BugzillaRepositoryConnectorTest.java/buggy/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 813, 8135, 12, 474, 29035, 16, 1250, 4237, 15839, 13, 1216, 1185, 288, 202, 202, 19865, 15990, 2174, 7934, 4146, 273, 2103, 2042, 2174, 1876, 7109, 2932, 6, 397, 29035, 1769, 202, 202, 6685, 13943, 3773, 18, 588, 30196, 1318, 7675, 542, 2174, 1994, 12, 925, 4146, 16, 638, 1769, 202, 202, 11231, 8867, 12, 4146, 350, 16, 2144, 18, 2670, 1702, 12, 925, 4146, 18, 588, 2174, 751, 7675, 26321, 1435, 10019, 202, 202, 11231, 8867, 12, 3305, 2174, 4047, 1119, 18, 7474, 50, 1792, 19359, 24131, 16, 7934, 4146, 18, 588, 4047, 1119, 10663, 202, 202, 694, 32, 7469, 3305, 2174, 34, 4592, 273, 394, 6847, 32, 7469, 3305, 2174, 34, 5621, 202, 202, 9416, 18, 1289, 12, 925, 4146, 1769, 202, 202, 759, 272, 2515, 1876, 8213, 1119, 12, 9416, 16, 6281, 2174, 4047, 1119, 18, 7474, 50, 1792, 19359, 24131, 1769, 202, 202, 6685, 13943, 3773, 18, 588, 3305, 1318, 7675, 542, 4047, 950, 12, 9071, 16, 7934, 4146, 18, 588, 3024, 4047, 1626, 8860, 9334, 9506, 202, 6685, 13943, 3773, 18, 588, 1868, 7675, 588, 18429, 5598, 10663, 202, 202, 759, 8703, 18, 87, 2600, 554, 5033, 12, 9071, 1769, 202, 202, 759, 1000, 32, 7469, 3305, 2174, 34, 3550, 6685, 273, 202, 202, 759, 8703, 18, 588, 23106, 2174, 1503, 7675, 588, 5033, 9673, 3024, 4047, 12, 9071, 16, 202, 202, 759, 4592, 1769, 202, 202, 759, 1815, 8867, 12, 21, 16, 3550, 6685, 18, 1467, 10663, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 813, 8135, 12, 474, 29035, 16, 1250, 4237, 15839, 13, 1216, 1185, 288, 202, 202, 19865, 15990, 2174, 7934, 4146, 273, 2103, 2042, 2174, 1876, 7109, 2932, 6, 397, 29035, 1769, 202, 202, 6685, 13943, 3773, 18, 588, 30196, 1318, 7675, 542, 2174, 1994, 12, 925, 4146, 16, 638, 1769, 202, 202, 11231, 8867, 12, 4146, 350, 16, 2144, 18, 2670, 1702, 12, 925, 4146, 18, 588, 2174, 751, 7675, 26321, 1435, 10019, 202, 202, 11231, 8867, 12, 3305, 2174, 4047, 1119, 18, 7474, 50, 1792, 19359, 24131, 16, 7934, 4146, 18, 588, 4047, 1119, 10663, 202, 202, 694, 32, 7469, 3305, 2174, 34, 4592, 273, 394, 6847, 32, 7469, 3305, 2174, 34, 5621, 202, 2 ]
private boolean addJonasVendorFiles(final Hashtable someEjbFiles,final String aDdPrefix) { final String aCanonicalDD = aDdPrefix.replace('\\', '/').substring(0,aDdPrefix.length()-1); final int index = aCanonicalDD.lastIndexOf('/') + 1; String anEjbJarName = aCanonicalDD.substring(index); if( "ejb".equals( anEjbJarName ) ) { anEjbJarName = "ejb-jar"; } final String aNewDdPrefix = aDdPrefix.substring(0,index) + "jonas-" + anEjbJarName + ".xml"; File aConventionNamingJonasDD = new File(getConfig().descriptorDir,aNewDdPrefix); log("look for jonas specific file using jonas naming convention " + aConventionNamingJonasDD, Project.MSG_VERBOSE);
private boolean addJonasVendorFiles(final Hashtable someEjbFiles, final String aDdPrefix) { final String aCanonicalDD = aDdPrefix.replace('\\', '/').substring(0, aDdPrefix.length() - 1); final int index = aCanonicalDD.lastIndexOf('/') + 1; String anEjbJarName = aCanonicalDD.substring(index);
private boolean addJonasVendorFiles(final Hashtable someEjbFiles,final String aDdPrefix) { // replace \ by /, remove the last letter ( a dash - ) final String aCanonicalDD = aDdPrefix.replace('\\', '/').substring(0,aDdPrefix.length()-1); final int index = aCanonicalDD.lastIndexOf('/') + 1; String anEjbJarName = aCanonicalDD.substring(index); if( "ejb".equals( anEjbJarName ) ) { anEjbJarName = "ejb-jar"; } final String aNewDdPrefix = aDdPrefix.substring(0,index) + "jonas-" + anEjbJarName + ".xml"; File aConventionNamingJonasDD = new File(getConfig().descriptorDir,aNewDdPrefix); log("look for jonas specific file using jonas naming convention " + aConventionNamingJonasDD, Project.MSG_VERBOSE); if( aConventionNamingJonasDD.exists() ) { someEjbFiles.put(META_DIR + JONAS_DD,aConventionNamingJonasDD); return true; } else { return false; } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/c7b5b643b25b20f5c96097b2c54e2e26a054f212/JonasDeploymentTool.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/ejb/JonasDeploymentTool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 527, 46, 265, 345, 14786, 2697, 12, 6385, 18559, 2690, 41, 10649, 2697, 16, 6385, 514, 279, 40, 72, 2244, 13, 288, 1377, 368, 1453, 521, 635, 342, 16, 1206, 326, 1142, 9471, 261, 279, 12558, 300, 262, 1377, 727, 514, 279, 15512, 5698, 273, 279, 40, 72, 2244, 18, 2079, 2668, 1695, 2187, 2023, 2934, 28023, 12, 20, 16, 69, 40, 72, 2244, 18, 2469, 1435, 17, 21, 1769, 1377, 727, 509, 770, 273, 279, 15512, 5698, 18, 2722, 31985, 2668, 2473, 13, 397, 404, 31, 1377, 514, 392, 41, 10649, 10813, 461, 273, 279, 15512, 5698, 18, 28023, 12, 1615, 1769, 1377, 309, 12, 315, 73, 10649, 9654, 14963, 12, 392, 41, 10649, 10813, 461, 262, 262, 288, 540, 392, 41, 10649, 10813, 461, 273, 315, 73, 10649, 17, 11930, 14432, 1377, 289, 4202, 727, 514, 279, 1908, 40, 72, 2244, 273, 2398, 279, 40, 72, 2244, 18, 28023, 12, 20, 16, 1615, 13, 397, 315, 78, 265, 345, 10951, 397, 392, 41, 10649, 10813, 461, 397, 3552, 2902, 14432, 1377, 1387, 279, 25947, 24102, 46, 265, 345, 5698, 273, 394, 1387, 12, 588, 809, 7675, 12628, 1621, 16, 69, 1908, 40, 72, 2244, 1769, 5411, 613, 2932, 7330, 364, 525, 265, 345, 2923, 585, 1450, 525, 265, 345, 14634, 15797, 315, 397, 279, 25947, 24102, 46, 265, 345, 5698, 16, 21821, 5420, 18, 11210, 67, 21900, 1769, 1377, 309, 12, 279, 25947, 24102, 46, 265, 345, 5698, 18, 1808, 1435, 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, 377, 3238, 1250, 527, 46, 265, 345, 14786, 2697, 12, 6385, 18559, 2690, 41, 10649, 2697, 16, 6385, 514, 279, 40, 72, 2244, 13, 288, 1377, 368, 1453, 521, 635, 342, 16, 1206, 326, 1142, 9471, 261, 279, 12558, 300, 262, 1377, 727, 514, 279, 15512, 5698, 273, 279, 40, 72, 2244, 18, 2079, 2668, 1695, 2187, 2023, 2934, 28023, 12, 20, 16, 69, 40, 72, 2244, 18, 2469, 1435, 17, 21, 1769, 1377, 727, 509, 770, 273, 279, 15512, 5698, 18, 2722, 31985, 2668, 2473, 13, 397, 404, 31, 1377, 514, 392, 41, 10649, 10813, 461, 273, 279, 15512, 5698, 18, 28023, 12, 1615, 1769, 1377, 309, 12, 315, 73, 10649, 9654, 14963, 12, 392, 41, 10649, 10813, 2 ]
AST tmp930_AST_in = (AST)_t;
AST tmp929_AST_in = (AST)_t;
public final void createwidgetstate(AST _t) throws RecognitionException { AST createwidgetstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t334 = _t; AST tmp911_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: { valueexpression(_t); _t = _retTree; break; } case BUTTON: { AST tmp912_AST_in = (AST)_t; match(_t,BUTTON); _t = _t.getNextSibling(); break; } case COMBOBOX: { AST tmp913_AST_in = (AST)_t; match(_t,COMBOBOX); _t = _t.getNextSibling(); break; } case CONTROLFRAME: { AST tmp914_AST_in = (AST)_t; match(_t,CONTROLFRAME); _t = _t.getNextSibling(); break; } case DIALOGBOX: { AST tmp915_AST_in = (AST)_t; match(_t,DIALOGBOX); _t = _t.getNextSibling(); break; } case EDITOR: { AST tmp916_AST_in = (AST)_t; match(_t,EDITOR); _t = _t.getNextSibling(); break; } case FILLIN: { AST tmp917_AST_in = (AST)_t; match(_t,FILLIN); _t = _t.getNextSibling(); break; } case FRAME: { AST tmp918_AST_in = (AST)_t; match(_t,FRAME); _t = _t.getNextSibling(); break; } case IMAGE: { AST tmp919_AST_in = (AST)_t; match(_t,IMAGE); _t = _t.getNextSibling(); break; } case MENU: { AST tmp920_AST_in = (AST)_t; match(_t,MENU); _t = _t.getNextSibling(); break; } case MENUITEM: { AST tmp921_AST_in = (AST)_t; match(_t,MENUITEM); _t = _t.getNextSibling(); break; } case RADIOSET: { AST tmp922_AST_in = (AST)_t; match(_t,RADIOSET); _t = _t.getNextSibling(); break; } case RECTANGLE: { AST tmp923_AST_in = (AST)_t; match(_t,RECTANGLE); _t = _t.getNextSibling(); break; } case SELECTIONLIST: { AST tmp924_AST_in = (AST)_t; match(_t,SELECTIONLIST); _t = _t.getNextSibling(); break; } case SLIDER: { AST tmp925_AST_in = (AST)_t; match(_t,SLIDER); _t = _t.getNextSibling(); break; } case SUBMENU: { AST tmp926_AST_in = (AST)_t; match(_t,SUBMENU); _t = _t.getNextSibling(); break; } case TEXT: { AST tmp927_AST_in = (AST)_t; match(_t,TEXT); _t = _t.getNextSibling(); break; } case TOGGLEBOX: { AST tmp928_AST_in = (AST)_t; match(_t,TOGGLEBOX); _t = _t.getNextSibling(); break; } case WINDOW: { AST tmp929_AST_in = (AST)_t; match(_t,WINDOW); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } fld(_t,CQ.UPDATING); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case IN_KW: { AST __t337 = _t; AST tmp930_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); AST tmp931_AST_in = (AST)_t; match(_t,WIDGETPOOL); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t337; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case ASSIGN: case NOERROR_KW: case TRIGGERS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOERROR_KW: { AST tmp932_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case ASSIGN: case TRIGGERS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ASSIGN: { assign_opt(_t); _t = _retTree; break; } case EOF: case PERIOD: case TRIGGERS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TRIGGERS: { triggerphrase(_t); _t = _retTree; break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t334; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 752, 6587, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 752, 6587, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3707, 24, 273, 389, 88, 31, 202, 202, 9053, 1853, 29, 2499, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9344, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5848, 30, 202, 202, 95, 1082, 202, 1132, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 29947, 30, 202, 202, 95, 1082, 202, 9053, 1853, 29, 2138, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 20068, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 5423, 5315, 16876, 30, 202, 202, 95, 1082, 202, 9053, 1853, 29, 3437, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4208, 5315, 16876, 1769, 1082, 202, 67, 88, 273, 389, 88, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 752, 6587, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 752, 6587, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3707, 24, 273, 389, 88, 31, 202, 202, 9053, 1853, 29, 2499, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 9344, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 2 ]
if ( fieldCount == INT_NULL )
if ( fieldCount == NULL_VALUE )
protected Object readObject(DataInputStream dis) throws IOException { int fieldCount = IOUtil.readInt( dis ); if ( fieldCount == INT_NULL ) { return null; } Object[] objects = new Object[fieldCount]; for(int i=0;i<objects.length;i++) { objects[i] = IOUtil.readObject( dis ); } return creator.createInstance( objects ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/fa82a2af56d763819340dcb4920363efb3a6b242/CachedList.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/CachedList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1033, 17362, 12, 751, 4348, 1015, 13, 1216, 1860, 202, 95, 202, 202, 474, 652, 1380, 273, 1665, 1304, 18, 896, 1702, 12, 1015, 11272, 202, 202, 430, 261, 652, 1380, 422, 6137, 67, 8560, 262, 202, 202, 95, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 921, 8526, 2184, 273, 394, 1033, 63, 1518, 1380, 15533, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 6911, 18, 2469, 31, 77, 27245, 202, 202, 95, 1082, 202, 6911, 63, 77, 65, 273, 1665, 1304, 18, 896, 921, 12, 1015, 11272, 202, 202, 97, 202, 202, 2463, 11784, 18, 2640, 1442, 12, 2184, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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202, 202, 95, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 921, 8526, 2184, 273, 394, 1033, 63, 1518, 1380, 15533, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 6911, 18, 2469, 31, 77, 27245, 202, 202, 95, 1082, 202, 6911, 63, 77, 65, 273, 1665, 1304, 18, 896, 921, 12, 1015, 11272, 202, 202, 97, 202, 202, 2463, 11784, 18, 2640, 1442, 12, 2184, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100 ]
DocumentImpl doc = null; try { doc = (DocumentImpl) serializer.broker.getXMLResource(docUri); if(doc != null && !doc.getPermissions().validate(serializer.broker.getUser(), Permission.READ)) throw new PermissionDeniedException("Permission denied to read xincluded resource"); } catch (PermissionDeniedException e) { LOG.warn("permission denied", e); throw new SAXException(e); } /* if document has not been found and xpointer is * null, throw an exception. If xpointer != null * we retry below and interpret docName as * a collection. */ if (doc == null && xpointer == null) throw new SAXException("document " + docUri + " not found"); /* Check if the document is a stored XQuery */ boolean xqueryDoc = false; if (doc != null && doc.getResourceType() == DocumentImpl.BINARY_FILE) { xqueryDoc = "application/xquery".equals(doc.getMetadata().getMimeType());
Map params = null; String paramStr = docUri.getQuery(); if (paramStr != null) { params = processParameters(paramStr); } String base = document.getCollection().getURI() + "/"; String child = "./" + docUri.toString(); URI baseUri = URI.create(base); URI childUri = URI.create(child); URI uri = baseUri.resolve(childUri); docUri = XmldbURI.create(uri); DocumentImpl doc = null; try { doc = (DocumentImpl) serializer.broker.getXMLResource(docUri); if(doc != null && !doc.getPermissions().validate(serializer.broker.getUser(), Permission.READ)) throw new PermissionDeniedException("Permission denied to read xincluded resource"); } catch (PermissionDeniedException e) { LOG.warn("permission denied", e); throw new SAXException(e); } /* if document has not been found and xpointer is * null, throw an exception. If xpointer != null * we retry below and interpret docName as * a collection. */ if (doc == null && xpointer == null) throw new SAXException("document " + docUri + " not found"); /* Check if the document is a stored XQuery */ boolean xqueryDoc = false; if (doc != null && doc.getResourceType() == DocumentImpl.BINARY_FILE) { xqueryDoc = "application/xquery".equals(doc.getMetadata().getMimeType()); } if (xpointer == null && !xqueryDoc) serializer.serializeToReceiver(doc, false); else { try { Source source; if (xpointer == null) source = new DBSource(serializer.broker, (BinaryDocument) doc, true); else { xpointer = checkNamespaces(xpointer); source = new StringSource(xpointer); } XQuery xquery = serializer.broker.getXQueryService(); XQueryPool pool = xquery.getXQueryPool(); XQueryContext context; CompiledXQuery compiled = pool.borrowCompiledXQuery(serializer.broker, source); if (compiled != null) context = compiled.getContext(); else context = xquery.newContext(AccessContext.XINCLUDE); context.declareNamespaces(namespaces); context.declareNamespace("xinclude", XINCLUDE_NS); context.declareVariable("xinclude:current-doc", document.getFileURI().toString()); context.declareVariable("xinclude:current-collection", document.getCollection().getURI().toString()); if (xpointer != null) { if(doc != null) context.setStaticallyKnownDocuments(new XmldbURI[] { doc.getURI() } ); else context.setStaticallyKnownDocuments(new XmldbURI[] { docUri }); } if (params != null) { for (Iterator i = params.entrySet().iterator(); i.hasNext(); ) { Map.Entry entry = (Map.Entry) i.next(); context.declareVariable(entry.getKey().toString(), entry.getValue()); } } if(compiled == null) { try { compiled = xquery.compile(context, source, xpointer != null); } catch (IOException e) { throw new SAXException("I/O error while reading query for xinclude: " + e.getMessage(), e); } } LOG.info("xpointer query: " + ExpressionDumper.dump((Expression) compiled)); Sequence seq = xquery.execute(compiled, null); if(Type.subTypeOf(seq.getItemType(), Type.NODE)) { if (LOG.isDebugEnabled()) LOG.debug("xpointer found: " + seq.getLength()); NodeValue node; for (SequenceIterator i = seq.iterate(); i.hasNext();) { node = (NodeValue) i.nextItem(); serializer.serializeToReceiver(node, false); } } else { String val; for (int i = 0; i < seq.getLength(); i++) { val = seq.itemAt(i).getStringValue(); characters(val); } } } catch (XPathException e) { LOG.warn("xpointer error", e); throw new SAXException("Error while processing XInclude expression: " + e.getMessage(), e);
protected void processXInclude(String href) throws SAXException { if(href == null) throw new SAXException("No href attribute found in XInclude include element"); // save some settings DocumentImpl prevDoc = document; boolean createContainerElements = serializer.createContainerElements; serializer.createContainerElements = false; //The following comments are the basis for possible external documents XmldbURI docUri = null; //URI externalUri = null; try { docUri = XmldbURI.xmldbUriFor(href); /* if(!stylesheetUri.toCollectionPathURI().equals(stylesheetUri)) { externalUri = stylesheetUri.getXmldbURI(); } */ } catch (URISyntaxException e) { //could be an external URI! /* try { externalUri = new URI(href); } catch (URISyntaxException ee) { */ throw new IllegalArgumentException("Stylesheet URI could not be parsed: "+e.getMessage()); //} } // parse the href attribute LOG.debug("found href=\"" + href + "\""); //String xpointer = null; //String docName = href; String xpointer = docUri.getFragment(); if(xpointer!=null) { try { xpointer = XMLUtil.decodeAttrMarkup(URLDecoder.decode(xpointer, "UTF-8")); } catch (UnsupportedEncodingException e) { } } // extract possible parameters in the URI Map params = null; String paramStr = docUri.getQuery(); if(paramStr!=null) { params = processParameters(paramStr); } // if docName has no collection specified, assume // current collection if(docUri.numSegments()==1) docUri = document.getCollection().getURI().append(docUri); // retrieve the document DocumentImpl doc = null; try { doc = (DocumentImpl) serializer.broker.getXMLResource(docUri); if(doc != null && !doc.getPermissions().validate(serializer.broker.getUser(), Permission.READ)) throw new PermissionDeniedException("Permission denied to read xincluded resource"); } catch (PermissionDeniedException e) { LOG.warn("permission denied", e); throw new SAXException(e); } /* if document has not been found and xpointer is * null, throw an exception. If xpointer != null * we retry below and interpret docName as * a collection. */ if (doc == null && xpointer == null) throw new SAXException("document " + docUri + " not found"); /* Check if the document is a stored XQuery */ boolean xqueryDoc = false; if (doc != null && doc.getResourceType() == DocumentImpl.BINARY_FILE) { xqueryDoc = "application/xquery".equals(doc.getMetadata().getMimeType()); } if (xpointer == null && !xqueryDoc) // no xpointer found - just serialize the doc serializer.serializeToReceiver(doc, false); else { // process the xpointer or the stored XQuery try { Source source; if (xpointer == null) source = new DBSource(serializer.broker, (BinaryDocument) doc, true); else { xpointer = checkNamespaces(xpointer); source = new StringSource(xpointer); } XQuery xquery = serializer.broker.getXQueryService(); XQueryPool pool = xquery.getXQueryPool(); XQueryContext context; CompiledXQuery compiled = pool.borrowCompiledXQuery(serializer.broker, source); if (compiled != null) context = compiled.getContext(); else context = xquery.newContext(AccessContext.XINCLUDE); context.declareNamespaces(namespaces); context.declareNamespace("xinclude", XINCLUDE_NS); //TODO: change these to putting the XmldbURI in, but we need to warn users! context.declareVariable("xinclude:current-doc", document.getFileURI().toString()); context.declareVariable("xinclude:current-collection", document.getCollection().getURI().toString()); if (xpointer != null) { if(doc != null) context.setStaticallyKnownDocuments(new XmldbURI[] { doc.getURI() } ); else context.setStaticallyKnownDocuments(new XmldbURI[] { docUri }); } // pass parameters as variables if (params != null) { for (Iterator i = params.entrySet().iterator(); i.hasNext(); ) { Map.Entry entry = (Map.Entry) i.next(); context.declareVariable(entry.getKey().toString(), entry.getValue()); } } if(compiled == null) { try { compiled = xquery.compile(context, source, xpointer != null); } catch (IOException e) { throw new SAXException("I/O error while reading query for xinclude: " + e.getMessage(), e); } } LOG.info("xpointer query: " + ExpressionDumper.dump((Expression) compiled)); Sequence seq = xquery.execute(compiled, null); if(Type.subTypeOf(seq.getItemType(), Type.NODE)) { if (LOG.isDebugEnabled()) LOG.debug("xpointer found: " + seq.getLength()); NodeValue node; for (SequenceIterator i = seq.iterate(); i.hasNext();) { node = (NodeValue) i.nextItem(); serializer.serializeToReceiver(node, false); } } else { String val; for (int i = 0; i < seq.getLength(); i++) { val = seq.itemAt(i).getStringValue(); characters(val); } } } catch (XPathException e) { LOG.warn("xpointer error", e); throw new SAXException("Error while processing XInclude expression: " + e.getMessage(), e); } } // restore settings document = prevDoc; serializer.createContainerElements = createContainerElements; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/fdf699bbdcb7325658c2009afa645a0ad6db9318/XIncludeFilter.java/clean/src/org/exist/storage/serializers/XIncludeFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1207, 60, 8752, 12, 780, 3897, 13, 1216, 14366, 288, 202, 202, 430, 12, 7547, 422, 446, 13, 1082, 202, 12849, 394, 14366, 2932, 2279, 3897, 1566, 1392, 316, 1139, 8752, 2341, 930, 8863, 202, 202, 759, 1923, 2690, 1947, 202, 202, 2519, 2828, 2807, 1759, 273, 1668, 31, 202, 202, 6494, 752, 2170, 3471, 273, 6340, 18, 2640, 2170, 3471, 31, 202, 202, 15663, 18, 2640, 2170, 3471, 273, 629, 31, 202, 202, 759, 1986, 3751, 5678, 854, 326, 10853, 364, 3323, 3903, 7429, 202, 202, 4432, 1966, 3098, 997, 3006, 273, 446, 31, 202, 202, 759, 3098, 3903, 3006, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 2434, 3006, 273, 5714, 1966, 3098, 18, 2902, 1966, 3006, 1290, 12, 7547, 1769, 1082, 202, 20308, 1082, 202, 430, 12, 5, 19403, 3006, 18, 869, 2532, 743, 3098, 7675, 14963, 12, 19403, 3006, 3719, 288, 9506, 202, 9375, 3006, 273, 13820, 3006, 18, 588, 4432, 1966, 3098, 5621, 1082, 202, 97, 1082, 202, 5549, 202, 202, 97, 1044, 261, 3098, 14714, 425, 13, 288, 1082, 202, 759, 15195, 506, 392, 3903, 3699, 5, 1082, 202, 20308, 1082, 202, 698, 288, 9506, 202, 9375, 3006, 273, 394, 3699, 12, 7547, 1769, 1082, 202, 97, 1044, 261, 3098, 14714, 14657, 13, 288, 1082, 202, 5549, 9506, 202, 12849, 394, 2754, 2932, 24656, 3699, 3377, 486, 506, 2707, 30, 13773, 73, 18, 24906, 10663, 1082, 202, 759, 97, 202, 202, 97, 202, 202, 759, 1109, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1207, 60, 8752, 12, 780, 3897, 13, 1216, 14366, 288, 202, 202, 430, 12, 7547, 422, 446, 13, 1082, 202, 12849, 394, 14366, 2932, 2279, 3897, 1566, 1392, 316, 1139, 8752, 2341, 930, 8863, 202, 202, 759, 1923, 2690, 1947, 202, 202, 2519, 2828, 2807, 1759, 273, 1668, 31, 202, 202, 6494, 752, 2170, 3471, 273, 6340, 18, 2640, 2170, 3471, 31, 202, 202, 15663, 18, 2640, 2170, 3471, 273, 629, 31, 202, 202, 759, 1986, 3751, 5678, 854, 326, 10853, 364, 3323, 3903, 7429, 202, 202, 4432, 1966, 3098, 997, 3006, 273, 446, 31, 202, 202, 759, 3098, 3903, 3006, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 2434, 3006, 273, 5714, 1966, 2 ]
System.exit(1);
Log.log_2015(url, functionName, totalTimeOut); throw new TotalTimeOutException();
public Result call(TargetDescriptor target, String functionName, Map parameters) throws IllegalArgumentException, CallException { // Check preconditions MandatoryArgumentChecker.check("target", target, "functionName", functionName); // Construct new HttpClient object HttpClient client = new HttpClient(); // Determine URL and time-outs String url = target.getURL(); int totalTimeOut = target.getTimeOut(); int connectionTimeOut = target.getConnectionTimeOut(); int socketTimeOut = target.getSocketTimeOut(); // Configure connection time-out and socket time-out client.setConnectionTimeout(connectionTimeOut); client.setTimeout (socketTimeOut); // Construct the method object PostMethod method = createPostMethod(url, functionName, parameters); // Prepare a thread for execution of the call CallExecutor executor = new CallExecutor(NDC.peek(), client, method); boolean succeeded = false; try { Log.log_2011(url, functionName, method.getQueryString(), totalTimeOut, connectionTimeOut, socketTimeOut); controlTimeOut(executor, target); succeeded = true; } catch (TimeOutException exception) { // TODO: Log total time-out System.exit(1); } finally { if (succeeded == false) { // If there was an exception already, don't allow another one to // override it, so wrap the releasing of the connection in a // try-catch block. try { method.releaseConnection(); // If there was an exception, then log the root cause for it } catch (Throwable exception) { exception = ExceptionUtils.getRootCause(exception); Log.log_2007(exception, exception.getClass().getName()); } } } // Read response body (mandatory operation) String body = method.getResponseBodyAsString(); // Release the connection method.releaseConnection(); // Check for exceptions Throwable exception = executor._exception; if (exception != null) { // TODO: Detect connection refusal, socket time-out and connection // time-out // Connection refusal if (exception instanceof ConnectException) { // TODO: Log connection refusal // TODO: Throw some kind of CallException // Connection time-out } else if (exception instanceof HttpConnection.ConnectionTimeoutException) { // TODO: Log connection time-out // TODO: Throw some kind of CallException // TODO: Socket time-out /* } else if .... { // TODO: Log connection time-out // TODO: Throw some kind of CallException } */ } else if (exception instanceof IOException) { throw new CallIOException((IOException) exception); } // TODO: Probably not throw an InvalidCallResultException throw new InvalidCallResultException(exception); } // Check the code // TODO: Throw specific exception that stores the HTTP code so it can be // used to determine whether or not fail-over should be attempted. int code = executor._statusCode; if (code != 200 && code != 201) { Log.log_2008(code); throw new InvalidCallResultException("HTTP code " + code + '.'); } // If the body is null, then there was an error if (body == null) { Log.log_2009(); throw new InvalidCallResultException("Failed to read the response body."); } // Parse and return the result try { return _parser.parse(target, body); } catch (ParseException parseException) { throw new InvalidCallResultException(parseException.getMessage()); } }
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/89ac9c487a8d76699d74260aa6d47da8590b62dd/XINSServiceCaller.java/buggy/src/java-client-framework/org/xins/client/XINSServiceCaller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 3438, 745, 12, 2326, 3187, 1018, 16, 8227, 514, 6647, 14117, 16, 8227, 1635, 2868, 1472, 13, 282, 1216, 2754, 16, 3049, 503, 288, 1377, 368, 2073, 675, 6381, 1377, 490, 10018, 1379, 8847, 18, 1893, 2932, 3299, 3113, 4202, 1018, 16, 19694, 315, 915, 461, 3113, 14117, 1769, 1377, 368, 14291, 394, 16308, 733, 1377, 16308, 1004, 273, 394, 16308, 5621, 1377, 368, 10229, 1976, 471, 813, 17, 20125, 1377, 514, 880, 9079, 273, 1018, 18, 588, 1785, 5621, 1377, 509, 565, 2078, 950, 1182, 1377, 273, 1018, 18, 588, 950, 1182, 5621, 1377, 509, 565, 1459, 950, 1182, 273, 1018, 18, 588, 1952, 950, 1182, 5621, 1377, 509, 565, 2987, 950, 1182, 377, 273, 1018, 18, 588, 4534, 950, 1182, 5621, 1377, 368, 11758, 1459, 813, 17, 659, 471, 2987, 813, 17, 659, 1377, 1004, 18, 542, 1952, 2694, 12, 4071, 950, 1182, 1769, 1377, 1004, 18, 542, 2694, 1850, 261, 7814, 950, 1182, 1769, 1377, 368, 14291, 326, 707, 733, 1377, 5616, 1305, 707, 273, 752, 3349, 1305, 12, 718, 16, 14117, 16, 1472, 1769, 1377, 368, 7730, 279, 2650, 364, 4588, 434, 326, 745, 1377, 3049, 6325, 6601, 273, 394, 3049, 6325, 12, 2908, 39, 18, 347, 3839, 9334, 1004, 16, 707, 1769, 1377, 1250, 15784, 273, 629, 31, 1377, 775, 288, 540, 1827, 18, 1330, 67, 6734, 21, 12, 718, 16, 14117, 16, 707, 18, 588, 15276, 9334, 2078, 950, 1182, 16, 1459, 950, 1182, 16, 2987, 950, 1182, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 3438, 745, 12, 2326, 3187, 1018, 16, 8227, 514, 6647, 14117, 16, 8227, 1635, 2868, 1472, 13, 282, 1216, 2754, 16, 3049, 503, 288, 1377, 368, 2073, 675, 6381, 1377, 490, 10018, 1379, 8847, 18, 1893, 2932, 3299, 3113, 4202, 1018, 16, 19694, 315, 915, 461, 3113, 14117, 1769, 1377, 368, 14291, 394, 16308, 733, 1377, 16308, 1004, 273, 394, 16308, 5621, 1377, 368, 10229, 1976, 471, 813, 17, 20125, 1377, 514, 880, 9079, 273, 1018, 18, 588, 1785, 5621, 1377, 509, 565, 2078, 950, 1182, 1377, 273, 1018, 18, 588, 950, 1182, 5621, 1377, 509, 565, 1459, 950, 1182, 273, 1018, 18, 588, 1952, 950, 1182, 5621, 1377, 509, 565, 2987, 950, 1182, 377, 273, 1018, 2 ]
return _maximumValue;
return maximumValue;
public double getMaximumValue() { return _maximumValue; }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/DoubleProperty.java/clean/modules/interop/src/java/org/apache/geronimo/interop/properties/DoubleProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 25194, 620, 1435, 288, 3639, 327, 4207, 620, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 25194, 620, 1435, 288, 3639, 327, 4207, 620, 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 ]
groupPrimitive(are);
groupPrimitive(are, false);
public void fillArc(ArcRenderEvent are) throws ChartException { groupPrimitive(are); super.fillArc(are); ungroupPrimitive(are); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/aeb2ff9aeebc28aaf0d2e96bfd88e2332f7a7e96/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 14598, 12, 14598, 3420, 1133, 854, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 834, 1769, 202, 202, 9565, 18, 5935, 14598, 12, 834, 1769, 202, 202, 318, 1655, 9840, 12, 834, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 918, 3636, 14598, 12, 14598, 3420, 1133, 854, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 834, 1769, 202, 202, 9565, 18, 5935, 14598, 12, 834, 1769, 202, 202, 318, 1655, 9840, 12, 834, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(nextSibling_ != null) {
if(nextSibling_ != null && nextSibling_.previousSibling_ == this) {
private void basicRemove() { if(parent_ != null && parent_.firstChild_ == this) { parent_.firstChild_ = nextSibling_; } else if(previousSibling_ != null) { previousSibling_.nextSibling_ = nextSibling_; } if(nextSibling_ != null) { nextSibling_.previousSibling_ = previousSibling_; } if(parent_ != null && this == parent_.getLastChild()) { parent_.firstChild_.previousSibling_ = previousSibling_; } nextSibling_ = null; previousSibling_ = null; parent_ = null; }
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/680d1b30285dee4d1bd6c99a8e6bd4e54a9a3627/DomNode.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/DomNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5337, 3288, 1435, 288, 3639, 309, 12, 2938, 67, 480, 446, 597, 982, 27799, 3645, 1763, 67, 422, 333, 13, 288, 5411, 982, 27799, 3645, 1763, 67, 273, 19419, 67, 31, 3639, 289, 3639, 469, 309, 12, 11515, 10291, 67, 480, 446, 13, 288, 5411, 2416, 10291, 27799, 4285, 10291, 67, 273, 19419, 67, 31, 3639, 289, 3639, 309, 12, 4285, 10291, 67, 480, 446, 597, 19419, 27799, 11515, 10291, 67, 422, 333, 13, 288, 5411, 19419, 27799, 11515, 10291, 67, 273, 2416, 10291, 67, 31, 3639, 289, 3639, 309, 12, 2938, 67, 480, 446, 597, 333, 422, 982, 27799, 588, 3024, 1763, 10756, 288, 5411, 982, 27799, 3645, 1763, 27799, 11515, 10291, 67, 273, 2416, 10291, 67, 31, 3639, 289, 3639, 19419, 67, 273, 446, 31, 3639, 2416, 10291, 67, 273, 446, 31, 3639, 982, 67, 273, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5337, 3288, 1435, 288, 3639, 309, 12, 2938, 67, 480, 446, 597, 982, 27799, 3645, 1763, 67, 422, 333, 13, 288, 5411, 982, 27799, 3645, 1763, 67, 273, 19419, 67, 31, 3639, 289, 3639, 469, 309, 12, 11515, 10291, 67, 480, 446, 13, 288, 5411, 2416, 10291, 27799, 4285, 10291, 67, 273, 19419, 67, 31, 3639, 289, 3639, 309, 12, 4285, 10291, 67, 480, 446, 597, 19419, 27799, 11515, 10291, 67, 422, 333, 13, 288, 5411, 19419, 27799, 11515, 10291, 67, 273, 2416, 10291, 67, 31, 3639, 289, 3639, 309, 12, 2938, 67, 480, 446, 597, 333, 422, 982, 27799, 588, 3024, 1763, 10756, 288, 5411, 982, 27799, 3645, 1763, 27799, 11515, 10291, 67, 273, 2416, 2 ]
int style = action.getStyle(); if (style == IAction.AS_CHECK_BOX) flags = SWT.CHECK; else if (style == IAction.AS_RADIO_BUTTON)
if (action.getStyle() == IAction.AS_CHECK_BOX) flags = SWT.TOGGLE; if (action.getStyle() == IAction.AS_RADIO_BUTTON)
public void fill(Menu parent, int index) { if (widget == null && parent != null) { Menu subMenu = null; int flags = SWT.PUSH; if (action != null) { int style = action.getStyle(); if (style == IAction.AS_CHECK_BOX) flags = SWT.CHECK; else if (style == IAction.AS_RADIO_BUTTON) flags = SWT.RADIO; else if (style == IAction.AS_DROP_DOWN_MENU) { IMenuCreator mc = action.getMenuCreator(); if (mc != null) { subMenu = mc.getMenu(parent); flags = SWT.CASCADE; } } } MenuItem mi = null; if (index >= 0) mi = new MenuItem(parent, flags, index); else mi = new MenuItem(parent, flags); widget = mi; mi.setData(this); mi.addListener(SWT.Dispose, getMenuItemListener()); mi.addListener(SWT.Selection, getMenuItemListener()); if (action.getHelpListener() != null) mi.addHelpListener(action.getHelpListener()); if (subMenu != null) mi.setMenu(subMenu); update(null); // Attach some extra listeners. action.addPropertyChangeListener(propertyListener); if (action != null) { String commandId = action.getActionDefinitionId(); ExternalActionManager.ICallback callback = ExternalActionManager .getInstance().getCallback(); if ((callback != null) && (commandId != null)) { callback.addPropertyChangeListener(commandId, actionTextListener); } } } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/55b800da6b8333e30017bf3b2ad588184364555a/ActionContributionItem.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3636, 12, 4599, 982, 16, 509, 770, 13, 288, 3639, 309, 261, 6587, 422, 446, 597, 982, 480, 446, 13, 288, 5411, 9809, 720, 4599, 273, 446, 31, 5411, 509, 2943, 273, 348, 8588, 18, 30348, 31, 5411, 309, 261, 1128, 480, 446, 13, 288, 7734, 509, 2154, 273, 1301, 18, 588, 2885, 5621, 7734, 309, 261, 4060, 422, 467, 1803, 18, 3033, 67, 10687, 67, 16876, 13, 10792, 2943, 273, 348, 8588, 18, 10687, 31, 7734, 469, 309, 261, 4060, 422, 467, 1803, 18, 3033, 67, 28829, 4294, 67, 20068, 13, 10792, 2943, 273, 348, 8588, 18, 28829, 4294, 31, 7734, 469, 309, 261, 4060, 422, 467, 1803, 18, 3033, 67, 18768, 67, 12711, 67, 29227, 13, 288, 10792, 467, 4599, 10636, 6108, 273, 1301, 18, 588, 4599, 10636, 5621, 10792, 309, 261, 13952, 480, 446, 13, 288, 13491, 720, 4599, 273, 6108, 18, 588, 4599, 12, 2938, 1769, 13491, 2943, 273, 348, 8588, 18, 3587, 25517, 31, 10792, 289, 7734, 289, 5411, 289, 5411, 25085, 12837, 273, 446, 31, 5411, 309, 261, 1615, 1545, 374, 13, 7734, 12837, 273, 394, 25085, 12, 2938, 16, 2943, 16, 770, 1769, 5411, 469, 7734, 12837, 273, 394, 25085, 12, 2938, 16, 2943, 1769, 5411, 3604, 273, 12837, 31, 5411, 12837, 18, 542, 751, 12, 2211, 1769, 5411, 12837, 18, 1289, 2223, 12, 55, 8588, 18, 1669, 4150, 16, 25877, 1180, 2223, 10663, 5411, 12837, 18, 1289, 2223, 12, 55, 8588, 18, 6233, 16, 25877, 1180, 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, 3636, 12, 4599, 982, 16, 509, 770, 13, 288, 3639, 309, 261, 6587, 422, 446, 597, 982, 480, 446, 13, 288, 5411, 9809, 720, 4599, 273, 446, 31, 5411, 509, 2943, 273, 348, 8588, 18, 30348, 31, 5411, 309, 261, 1128, 480, 446, 13, 288, 7734, 509, 2154, 273, 1301, 18, 588, 2885, 5621, 7734, 309, 261, 4060, 422, 467, 1803, 18, 3033, 67, 10687, 67, 16876, 13, 10792, 2943, 273, 348, 8588, 18, 10687, 31, 7734, 469, 309, 261, 4060, 422, 467, 1803, 18, 3033, 67, 28829, 4294, 67, 20068, 13, 10792, 2943, 273, 348, 8588, 18, 28829, 4294, 31, 7734, 469, 309, 261, 4060, 422, 467, 1803, 18, 3033, 67, 18768, 67, 12711, 67, 2 ]
System.err.println("pages: " + pages+"+"+xpages + ", Free memory: " + free + "M / " + total + "M.<br/>");
return "Free memory: " + free + "M / " + total + "M";
private static final void freeMem(int pages, int xpages) { Runtime r = Runtime.getRuntime(); double total = r.totalMemory(); total = total / 1024000.0; double free = r.freeMemory(); free = free / 1024000.0; System.err.println("pages: " + pages+"+"+xpages + ", Free memory: " + free + "M / " + total + "M.<br/>"); }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/942be8f7a893f48ec32b3b81c60bde3de5b5f434/SurveyMain.java/clean/tools/java/org/unicode/cldr/web/SurveyMain.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 727, 918, 4843, 3545, 12, 474, 4689, 16, 509, 619, 7267, 13, 288, 3639, 2509, 436, 273, 2509, 18, 588, 5576, 5621, 3639, 1645, 2078, 273, 436, 18, 4963, 6031, 5621, 3639, 2078, 273, 2078, 342, 6250, 3784, 18, 20, 31, 3639, 1645, 4843, 273, 436, 18, 9156, 6031, 5621, 3639, 4843, 273, 4843, 342, 6250, 3784, 18, 20, 31, 3639, 327, 315, 9194, 3778, 30, 315, 397, 4843, 397, 315, 49, 342, 315, 397, 2078, 397, 315, 49, 14432, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 727, 918, 4843, 3545, 12, 474, 4689, 16, 509, 619, 7267, 13, 288, 3639, 2509, 436, 273, 2509, 18, 588, 5576, 5621, 3639, 1645, 2078, 273, 436, 18, 4963, 6031, 5621, 3639, 2078, 273, 2078, 342, 6250, 3784, 18, 20, 31, 3639, 1645, 4843, 273, 436, 18, 9156, 6031, 5621, 3639, 4843, 273, 4843, 342, 6250, 3784, 18, 20, 31, 3639, 327, 315, 9194, 3778, 30, 315, 397, 4843, 397, 315, 49, 342, 315, 397, 2078, 397, 315, 49, 14432, 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 ]
public void removeBlocks(ICDIMemoryBlock[] memoryBlocks) throws CDIException { for (int i = 0; i < memoryBlocks.length; i++) { removeBlock(memoryBlocks[i]);
public void removeBlocks(Target target, ICDIMemoryBlock[] memoryBlocks) throws CDIException { List blockList = (List)blockMap.get(target); if (blockList != null) { blockList.removeAll(Arrays.asList(memoryBlocks));
public void removeBlocks(ICDIMemoryBlock[] memoryBlocks) throws CDIException { for (int i = 0; i < memoryBlocks.length; i++) { removeBlock(memoryBlocks[i]); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/70c0a2d6aec15feb866155c75b4f8814c94fe47a/MemoryManager.java/buggy/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/MemoryManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 6450, 12, 2871, 2565, 6031, 1768, 8526, 3778, 6450, 13, 1216, 385, 2565, 503, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3778, 6450, 18, 2469, 31, 277, 27245, 288, 1082, 202, 4479, 1768, 12, 7858, 6450, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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1216, 385, 2565, 503, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3778, 6450, 18, 2469, 31, 277, 27245, 288, 1082, 202, 4479, 1768, 12, 7858, 6450, 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 ]
parameter_declaration(); label_19: while (true) { if (jj_2_79(2)) { ; } else { break label_19; } jj_consume_token(COMMA); parameter_declaration(); }
parameter_declaration(); label_19: while (true) { if (jj_2_79(2)) { ; } else { break label_19; } jj_consume_token(COMMA); parameter_declaration();
static final public void parameter_declaration_list() throws ParseException { parameter_declaration(); label_19: while (true) { if (jj_2_79(2)) { ; } else { break label_19; } jj_consume_token(COMMA); parameter_declaration(); } }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/23e69d576250f417c265d779703b8da08a67aaed/CPPParser.java/clean/pmd/src/net/sourceforge/pmd/cpd/cppast/CPPParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 727, 1071, 918, 1569, 67, 22448, 67, 1098, 1435, 1216, 10616, 288, 3639, 1569, 67, 22448, 5621, 3639, 1433, 67, 3657, 30, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 261, 78, 78, 67, 22, 67, 7235, 12, 22, 3719, 288, 7734, 274, 5411, 289, 469, 288, 7734, 898, 1433, 67, 3657, 31, 5411, 289, 5411, 10684, 67, 21224, 67, 2316, 12, 4208, 5535, 1769, 5411, 1569, 67, 22448, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 727, 1071, 918, 1569, 67, 22448, 67, 1098, 1435, 1216, 10616, 288, 3639, 1569, 67, 22448, 5621, 3639, 1433, 67, 3657, 30, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 261, 78, 78, 67, 22, 67, 7235, 12, 22, 3719, 288, 7734, 274, 5411, 289, 469, 288, 7734, 898, 1433, 67, 3657, 31, 5411, 289, 5411, 10684, 67, 21224, 67, 2316, 12, 4208, 5535, 1769, 5411, 1569, 67, 22448, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
RevealHidden rh = new RevealHidden();
RevealHidden rh = new RevealHidden();
public WebScarab(String[] args) { initComponents(); // capture STDOUT and STDERR to a TextArea System.setOut(redirectOutput(stdoutTextArea, System.out)); System.setErr(redirectOutput(stderrTextArea, System.err)); // create the framework _framework = new Framework(); // load the properties _prop = Preferences.getPreferences(); // load the conversation log GUI plugin addPlugin(new ConversationLog(_framework)); // load the TreeView GUI plugin addPlugin(new URLTreePanel(_framework)); // create the plugins, and their GUI's // Proxy plugin Proxy proxy = new Proxy(_framework); _framework.addPlugin(proxy); // load the proxy modules ManualEdit me = new ManualEdit(); proxy.addPlugin(me); RevealHidden rh = new RevealHidden(); proxy.addPlugin(rh); BrowserCache bc = new BrowserCache(); proxy.addPlugin(bc); CookieTracker ct = new CookieTracker(proxy.getCookieJar()); proxy.addPlugin(ct); // create the proxy GUI panels ProxyPanel proxyPanel = new ProxyPanel(proxy); proxyPanel.addPlugin(new ManualEditPanel(me)); proxyPanel.addPlugin(new MiscPanel(rh, bc, ct)); addPlugin(proxyPanel); // Spider plugin Spider spider = new Spider(_framework); _framework.addPlugin(spider); addPlugin(new SpiderPanel(spider)); // ManualRequest Plugin ManualRequest manualrequest = new ManualRequest(_framework); _framework.addPlugin(manualrequest); addPlugin(new ManualRequestPanel(manualrequest)); if (args != null && args.length ==1) { try { if (FileSystemStore.isExistingSession(args[0])) { FileSystemStore store = new FileSystemStore(args[0]); _framework.setSessionStore(store); } else { System.err.println("No session found in " + args[0]); } } catch (StoreException se) { // pop up an alert dialog box or something System.err.println("Error loading session : " + se); } } else { // This could/should be done as a pop-up alert, or a File/Open or File/New dialog? System.out.println("Data will not be saved unless you create or open a session"); } }
8554 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8554/3ebea7ac31ac48e7c305fa8635f5721dca828c7b/WebScarab.java/clean/src/org/owasp/webscarab/ui/swing/WebScarab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2999, 1541, 297, 378, 12, 780, 8526, 833, 13, 288, 3639, 1208, 7171, 5621, 7734, 368, 7477, 19331, 471, 30155, 358, 279, 3867, 5484, 3639, 2332, 18, 542, 1182, 12, 7590, 1447, 12, 10283, 1528, 5484, 16, 2332, 18, 659, 10019, 3639, 2332, 18, 542, 2524, 12, 7590, 1447, 12, 11241, 1528, 5484, 16, 2332, 18, 370, 10019, 3639, 368, 752, 326, 8257, 3639, 389, 12303, 273, 394, 13472, 5621, 3639, 368, 1262, 326, 1790, 3639, 389, 5986, 273, 28310, 18, 588, 12377, 5621, 7734, 368, 1262, 326, 10039, 613, 10978, 1909, 3639, 527, 3773, 12, 2704, 16765, 1343, 24899, 12303, 10019, 3639, 368, 1262, 326, 4902, 1767, 10978, 1909, 3639, 527, 3773, 12, 2704, 1976, 2471, 5537, 24899, 12303, 10019, 7734, 368, 752, 326, 4799, 16, 471, 3675, 10978, 1807, 540, 202, 202, 759, 7659, 1909, 3639, 7659, 2889, 273, 394, 7659, 24899, 12303, 1769, 3639, 389, 12303, 18, 1289, 3773, 12, 5656, 1769, 202, 202, 759, 1262, 326, 2889, 4381, 202, 202, 25139, 4666, 1791, 273, 394, 8660, 1462, 4666, 5621, 3639, 2889, 18, 1289, 3773, 12, 3501, 1769, 202, 202, 426, 24293, 9345, 6259, 273, 394, 868, 24293, 9345, 5621, 3639, 2889, 18, 1289, 3773, 12, 30138, 1769, 3639, 15408, 1649, 6533, 273, 394, 15408, 1649, 5621, 3639, 2889, 18, 1289, 3773, 12, 13459, 1769, 202, 202, 6151, 8135, 5691, 273, 394, 10201, 8135, 12, 5656, 18, 588, 6151, 10813, 10663, 3639, 2889, 18, 1289, 3773, 12, 299, 1769, 202, 202, 759, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2999, 1541, 297, 378, 12, 780, 8526, 833, 13, 288, 3639, 1208, 7171, 5621, 7734, 368, 7477, 19331, 471, 30155, 358, 279, 3867, 5484, 3639, 2332, 18, 542, 1182, 12, 7590, 1447, 12, 10283, 1528, 5484, 16, 2332, 18, 659, 10019, 3639, 2332, 18, 542, 2524, 12, 7590, 1447, 12, 11241, 1528, 5484, 16, 2332, 18, 370, 10019, 3639, 368, 752, 326, 8257, 3639, 389, 12303, 273, 394, 13472, 5621, 3639, 368, 1262, 326, 1790, 3639, 389, 5986, 273, 28310, 18, 588, 12377, 5621, 7734, 368, 1262, 326, 10039, 613, 10978, 1909, 3639, 527, 3773, 12, 2704, 16765, 1343, 24899, 12303, 10019, 3639, 368, 1262, 326, 4902, 1767, 10978, 1909, 3639, 527, 3773, 12, 2704, 1976, 2471, 2 ]
if (contentProvider != null && contentProvider instanceof IMementoAware)
if (contentProvider != null && contentProvider instanceof IMementoAware) {
public void saveState(IMemento aMemento) { if (contentProvider != null && contentProvider instanceof IMementoAware) ((IMementoAware) contentProvider).saveState(aMemento); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/SafeDelegateTreeContentProvider.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/SafeDelegateTreeContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1923, 1119, 12, 3445, 820, 83, 279, 49, 820, 83, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1923, 1119, 12, 3445, 820, 83, 279, 49, 820, 83, 13, 288, 202, 202, 430, 261, 1745, 2249, 480, 446, 597, 913, 2249, 1276, 6246, 820, 83, 10155, 13, 1082, 202, 12443, 3445, 820, 83, 10155, 13, 913, 2249, 2934, 5688, 1119, 12, 69, 49, 820, 83, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ParameterUtils.createParameterMapping(rawQueryString, parameterList, tds);
ParameterUtils.createParameterMapping( rawQueryString, parameterList, tds, false);
public boolean execute(Tds tds) throws SQLException { closeResults(false); lastOutParam = -1; // First make sure the caller has filled in all the parameters. ParameterUtils.verifyThatParametersAreSet(parameterList); // Setup the parameter native types and maximum sizes ParameterUtils.createParameterMapping(rawQueryString, parameterList, tds); // Execute the stored procedure return internalExecuteCall(procedureName, parameterList, parameterList, tds, warningChain); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/bd056ada6e8a36731645ccb0b4cbfd59e4e6bcfa/CallableStatement_base.java/clean/src/main/net/sourceforge/jtds/jdbc/CallableStatement_base.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1836, 12, 56, 2377, 268, 2377, 13, 1216, 6483, 288, 3639, 1746, 3447, 12, 5743, 1769, 3639, 1142, 1182, 786, 273, 300, 21, 31, 3639, 368, 5783, 1221, 3071, 326, 4894, 711, 6300, 316, 777, 326, 1472, 18, 3639, 5498, 1989, 18, 8705, 18163, 2402, 4704, 694, 12, 6775, 682, 1769, 3639, 368, 10939, 326, 1569, 6448, 1953, 471, 4207, 8453, 3639, 5498, 1989, 18, 2640, 1662, 3233, 12, 1899, 15276, 16, 4766, 2868, 1569, 682, 16, 4766, 2868, 268, 2377, 1769, 3639, 368, 7903, 326, 4041, 12131, 3639, 327, 2713, 5289, 1477, 12, 685, 8153, 461, 16, 1569, 682, 16, 1569, 682, 16, 4766, 282, 268, 2377, 16, 3436, 3893, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1836, 12, 56, 2377, 268, 2377, 13, 1216, 6483, 288, 3639, 1746, 3447, 12, 5743, 1769, 3639, 1142, 1182, 786, 273, 300, 21, 31, 3639, 368, 5783, 1221, 3071, 326, 4894, 711, 6300, 316, 777, 326, 1472, 18, 3639, 5498, 1989, 18, 8705, 18163, 2402, 4704, 694, 12, 6775, 682, 1769, 3639, 368, 10939, 326, 1569, 6448, 1953, 471, 4207, 8453, 3639, 5498, 1989, 18, 2640, 1662, 3233, 12, 1899, 15276, 16, 4766, 2868, 1569, 682, 16, 4766, 2868, 268, 2377, 1769, 3639, 368, 7903, 326, 4041, 12131, 3639, 327, 2713, 5289, 1477, 12, 685, 8153, 461, 16, 1569, 682, 16, 1569, 682, 16, 4766, 282, 268, 2377, 16, 3436, 3893, 1769, 565, 289, 2, -100, -100 ]
setProperty( OdaDataSource.EXTENSION_ID_PROP,
setProperty( IOdaExtendableElementModel.EXTENSION_ID_PROP,
CompatibleOdaDriverPropertyStructureListState( ModuleParserHandler theHandler, DesignElement element ) { super( theHandler, element ); setProperty( OdaDataSource.EXTENSION_ID_PROP, "org.eclipse.birt.report.data.oda.jdbc" ); //$NON-NLS-1$ }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d802c33711e0d111551ae23575895cd060f085b6/CompatibleOdaDriverPropertyStructureListState.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatibleOdaDriverPropertyStructureListState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 14599, 51, 2414, 4668, 1396, 6999, 682, 1119, 12, 1082, 202, 3120, 2678, 1503, 326, 1503, 16, 29703, 1046, 930, 262, 202, 95, 202, 202, 9565, 12, 326, 1503, 16, 930, 11272, 202, 202, 542, 1396, 12, 531, 2414, 8597, 18, 12796, 67, 734, 67, 15811, 16, 9506, 202, 6, 3341, 18, 20416, 18, 70, 2714, 18, 6006, 18, 892, 18, 21319, 18, 24687, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14599, 51, 2414, 4668, 1396, 6999, 682, 1119, 12, 1082, 202, 3120, 2678, 1503, 326, 1503, 16, 29703, 1046, 930, 262, 202, 95, 202, 202, 9565, 12, 326, 1503, 16, 930, 11272, 202, 202, 542, 1396, 12, 531, 2414, 8597, 18, 12796, 67, 734, 67, 15811, 16, 9506, 202, 6, 3341, 18, 20416, 18, 70, 2714, 18, 6006, 18, 892, 18, 21319, 18, 24687, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 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 ]
case DOMBuilderFilter.FILTER_REJECT:{
case DOMParserFilter.FILTER_REJECT:{
public void endCDATA(Augmentations augs) throws XNIException { fInCDATASection = false; if (!fDeferNodeExpansion) { if (fFilterReject) { return; } if (fCurrentCDATASection !=null) { if (fDOMFilter !=null && (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_CDATA_SECTION)!= 0) { short code = fDOMFilter.acceptNode(fCurrentCDATASection); switch (code) { case DOMBuilderFilter.FILTER_INTERRUPT:{ throw new RuntimeException("The normal processing of the document was interrupted."); } case DOMBuilderFilter.FILTER_REJECT:{ // fall through to SKIP since CDATA section has no children. } case DOMBuilderFilter.FILTER_SKIP: { Node parent = fCurrentNode.getParentNode(); parent.removeChild(fCurrentCDATASection); fCurrentNode = parent; return; } default: { // accept node } } } fCurrentNode = fCurrentNode.getParentNode(); fCurrentCDATASection = null; } } else { if (fCurrentCDATASectionIndex !=-1) { fCurrentNodeIndex = fDeferredDocumentImpl.getParentNode(fCurrentNodeIndex, false); fCurrentCDATASectionIndex = -1; } } } // endCDATA()
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/9bda70e5d1a3de0d4f68e6b0ca4e6f8790269c9e/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 18375, 12, 37, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 284, 382, 10160, 789, 3033, 794, 273, 629, 31, 3639, 309, 16051, 74, 758, 586, 907, 2966, 12162, 13, 288, 5411, 309, 261, 74, 1586, 21705, 13, 288, 7734, 327, 31, 5411, 289, 5411, 309, 261, 74, 3935, 10160, 789, 3033, 794, 480, 2011, 13, 288, 7734, 309, 261, 74, 8168, 1586, 480, 2011, 597, 5397, 261, 74, 8168, 1586, 18, 588, 23801, 774, 5706, 1435, 473, 2029, 1586, 18, 16677, 67, 18375, 67, 19082, 13, 5, 33, 374, 13, 288, 10792, 3025, 981, 273, 284, 8168, 1586, 18, 9436, 907, 12, 74, 3935, 10160, 789, 3033, 794, 1769, 10792, 1620, 261, 710, 13, 288, 13491, 648, 4703, 1263, 1586, 18, 11126, 67, 9125, 19866, 1856, 18611, 11794, 604, 394, 3235, 2932, 1986, 2212, 4929, 434, 326, 1668, 1703, 15711, 1199, 1769, 11794, 289, 21821, 648, 4703, 2678, 1586, 18, 11126, 67, 862, 5304, 18611, 18701, 368, 4159, 3059, 358, 18420, 3241, 28294, 2442, 711, 1158, 2325, 18, 13491, 289, 13491, 648, 4703, 1263, 1586, 18, 11126, 67, 22589, 30, 288, 11794, 2029, 982, 273, 284, 3935, 907, 18, 588, 3054, 907, 5621, 4766, 7734, 982, 18, 4479, 1763, 12, 74, 3935, 10160, 789, 3033, 794, 1769, 18701, 284, 3935, 907, 273, 982, 31, 18701, 327, 31, 13491, 289, 13491, 805, 30, 288, 18701, 368, 2791, 756, 7682, 289, 10792, 289, 7734, 289, 7734, 284, 3935, 907, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 18375, 12, 37, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 284, 382, 10160, 789, 3033, 794, 273, 629, 31, 3639, 309, 16051, 74, 758, 586, 907, 2966, 12162, 13, 288, 5411, 309, 261, 74, 1586, 21705, 13, 288, 7734, 327, 31, 5411, 289, 5411, 309, 261, 74, 3935, 10160, 789, 3033, 794, 480, 2011, 13, 288, 7734, 309, 261, 74, 8168, 1586, 480, 2011, 597, 5397, 261, 74, 8168, 1586, 18, 588, 23801, 774, 5706, 1435, 473, 2029, 1586, 18, 16677, 67, 18375, 67, 19082, 13, 5, 33, 374, 13, 288, 10792, 3025, 981, 273, 284, 8168, 1586, 18, 9436, 907, 12, 74, 3935, 10160, 789, 3033, 794, 1769, 10792, 2 ]
return me.getKey().equals(getKey()) && me.getValue().equals(getValue());
Object key = me.getKey(); Object value = me.getValue(); if (key == null) { return false; } if (value == null) { if (getValue() != null) { return false; } else { return key.equals(getKey()); } } return key.equals(getKey()) && value.equals(getValue());
public boolean equals(Object obj) { if ((obj != null) && obj instanceof Entry) { Entry me = (Entry) obj; return me.getKey().equals(getKey()) && me.getValue().equals(getValue()); } return false; }
22725 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22725/5bb760fe01957dff1107eb60a4b60b11b2d6a9e9/RequestMap.java/buggy/src/java/com/opensymphony/webwork/dispatcher/RequestMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 1250, 1606, 12, 921, 1081, 13, 288, 13491, 309, 14015, 2603, 480, 446, 13, 597, 1081, 1276, 3841, 13, 288, 18701, 3841, 1791, 273, 261, 1622, 13, 1081, 31, 18701, 1033, 498, 273, 1791, 18, 588, 653, 5621, 1033, 460, 273, 1791, 18, 24805, 5621, 225, 309, 261, 856, 422, 446, 13, 288, 327, 629, 31, 289, 225, 309, 261, 1132, 422, 446, 13, 288, 309, 261, 24805, 1435, 480, 446, 13, 288, 327, 629, 31, 289, 469, 288, 327, 498, 18, 14963, 12, 588, 653, 10663, 289, 289, 225, 327, 498, 18, 14963, 12, 588, 653, 10756, 597, 460, 18, 14963, 12, 24805, 10663, 13491, 289, 13491, 327, 629, 31, 10792, 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, 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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, 5397, 1071, 1250, 1606, 12, 921, 1081, 13, 288, 13491, 309, 14015, 2603, 480, 446, 13, 597, 1081, 1276, 3841, 13, 288, 18701, 3841, 1791, 273, 261, 1622, 13, 1081, 31, 18701, 1033, 498, 273, 1791, 18, 588, 653, 5621, 1033, 460, 273, 1791, 18, 24805, 5621, 225, 309, 261, 856, 422, 446, 13, 288, 327, 629, 31, 289, 225, 309, 261, 1132, 422, 446, 13, 288, 309, 261, 24805, 1435, 480, 446, 13, 288, 327, 629, 31, 289, 469, 288, 327, 498, 18, 14963, 12, 588, 653, 10663, 289, 289, 225, 327, 498, 18, 14963, 12, 588, 653, 10756, 597, 460, 18, 14963, 12, 24805, 10663, 13491, 289, 13491, 327, 629, 31, 10792, 289, 2, -100, -100, -100, -100 ]
if (ValidationUtils.isQName(name)) {
if ((name == null) || (ValidationUtils.isQName(name))) {
public void setName(String name) { if (ValidationUtils.isQName(name)) { _name = name; } else { String err = "error: '" + name + "' is not a valid QName."; throw new IllegalArgumentException(err); } } //-- setName
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/04ff95403f26dc672361a5143fadc18919b4ccdd/ElementDecl.java/buggy/trunk/castor-2002/castor/src/main/org/exolab/castor/xml/schema/ElementDecl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6788, 12, 780, 508, 13, 288, 540, 309, 14015, 529, 422, 446, 13, 747, 261, 4354, 1989, 18, 291, 13688, 12, 529, 20349, 288, 5411, 389, 529, 273, 508, 31, 3639, 289, 3639, 469, 288, 5411, 514, 393, 273, 315, 1636, 30, 2119, 397, 508, 397, 2491, 353, 486, 279, 923, 16723, 1199, 31, 5411, 604, 394, 2754, 12, 370, 1769, 3639, 289, 565, 289, 368, 413, 6788, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6788, 12, 780, 508, 13, 288, 540, 309, 14015, 529, 422, 446, 13, 747, 261, 4354, 1989, 18, 291, 13688, 12, 529, 20349, 288, 5411, 389, 529, 273, 508, 31, 3639, 289, 3639, 469, 288, 5411, 514, 393, 273, 315, 1636, 30, 2119, 397, 508, 397, 2491, 353, 486, 279, 923, 16723, 1199, 31, 5411, 604, 394, 2754, 12, 370, 1769, 3639, 289, 565, 289, 368, 413, 6788, 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 ]
return RubyArray.newArray(getRuntime(), this);
return getRuntime().newArray(this);
public RubyArray to_a() { return RubyArray.newArray(getRuntime(), this); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyObject.java/clean/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 358, 67, 69, 1435, 288, 3639, 327, 18814, 7675, 2704, 1076, 12, 2211, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 358, 67, 69, 1435, 288, 3639, 327, 18814, 7675, 2704, 1076, 12, 2211, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (((ITask) element).isCategory()) { return null; } else if (element instanceof BugzillaTask) {
if (element instanceof BugzillaTask) {
public Image getColumnImage(Object element, int columnIndex) { if (!(element instanceof ITask)) { return null; } if (columnIndex == 0) { if (((ITask) element).isCategory()) { return null; } if (((ITask) element).isActive()) { return MylarImages.getImage(MylarImages.TASK_ACTIVE); } else { return MylarImages.getImage(MylarImages.TASK_INACTIVE); } } else if (columnIndex == 1) { if (((ITask) element).isCategory()) { return null; // return MylarImages.getImage(MylarImages.CATEGORY); } else if (element instanceof BugzillaTask) { return MylarImages.getImage(MylarImages.TASK_BUGZILLA); } else { return MylarImages.getImage(MylarImages.TASK); } } else { return null; } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/9fa4576e36e0ed40d7b1e9e3379eb977186a3224/TaskListLabelProvider.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3421, 6716, 2040, 12, 921, 930, 16, 509, 14882, 13, 288, 7734, 309, 16051, 12, 2956, 1276, 467, 2174, 3719, 288, 1850, 202, 2463, 446, 31, 3639, 289, 3639, 309, 261, 2827, 1016, 422, 374, 13, 288, 540, 202, 430, 261, 12443, 1285, 835, 13, 930, 2934, 291, 4457, 10756, 288, 377, 1082, 202, 2463, 446, 31, 540, 202, 97, 540, 202, 430, 261, 12443, 1285, 835, 13, 930, 2934, 291, 3896, 10756, 288, 540, 202, 202, 2463, 8005, 7901, 8946, 18, 588, 2040, 12, 12062, 7901, 8946, 18, 15580, 67, 13301, 1769, 540, 202, 97, 469, 288, 540, 202, 202, 2463, 8005, 7901, 8946, 18, 588, 2040, 12, 12062, 7901, 8946, 18, 15580, 67, 706, 13301, 1769, 540, 202, 97, 540, 202, 3639, 289, 469, 309, 261, 2827, 1016, 422, 404, 13, 288, 540, 202, 430, 261, 12443, 1285, 835, 13, 930, 2934, 291, 4457, 10756, 288, 377, 1082, 202, 2463, 446, 31, 377, 1082, 202, 759, 327, 8005, 7901, 8946, 18, 588, 2040, 12, 12062, 7901, 8946, 18, 24847, 1769, 377, 202, 202, 97, 469, 309, 261, 2956, 1276, 16907, 15990, 2174, 13, 288, 377, 1082, 202, 2463, 8005, 7901, 8946, 18, 588, 2040, 12, 12062, 7901, 8946, 18, 15580, 67, 4827, 62, 2627, 2534, 1769, 377, 202, 202, 97, 469, 288, 377, 1082, 202, 2463, 8005, 7901, 8946, 18, 588, 2040, 12, 12062, 7901, 8946, 18, 15580, 1769, 377, 202, 202, 97, 540, 289, 469, 288, 540, 202, 2463, 446, 31, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3421, 6716, 2040, 12, 921, 930, 16, 509, 14882, 13, 288, 7734, 309, 16051, 12, 2956, 1276, 467, 2174, 3719, 288, 1850, 202, 2463, 446, 31, 3639, 289, 3639, 309, 261, 2827, 1016, 422, 374, 13, 288, 540, 202, 430, 261, 12443, 1285, 835, 13, 930, 2934, 291, 4457, 10756, 288, 377, 1082, 202, 2463, 446, 31, 540, 202, 97, 540, 202, 430, 261, 12443, 1285, 835, 13, 930, 2934, 291, 3896, 10756, 288, 540, 202, 202, 2463, 8005, 7901, 8946, 18, 588, 2040, 12, 12062, 7901, 8946, 18, 15580, 67, 13301, 1769, 540, 202, 97, 469, 288, 540, 202, 202, 2463, 8005, 7901, 8946, 18, 588, 2040, 12, 12062, 7901, 8946, 18, 15580, 67, 706, 13301, 2 ]
int red, int green, int blue, int alpha, boolean active)
int red, int green, int blue, int alpha, boolean active, int family, double curveCoefficient)
public ChannelBindings(int index, double inputStart, double inputEnd, int red, int green, int blue, int alpha, boolean active) { this.index = index; setInputWindow(inputStart, inputEnd); rgba = new int[4]; setRGBA(red, green, blue, alpha); this.active = active; }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/de5b83ecccd54946c2125525e83cea40c4c4dd36/ChannelBindings.java/clean/SRC/org/openmicroscopy/shoola/env/rnd/defs/ChannelBindings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5307, 10497, 12, 474, 770, 16, 1645, 810, 1685, 16, 1645, 810, 1638, 16, 6862, 1082, 202, 474, 1755, 16, 509, 10004, 16, 509, 8024, 16, 509, 4190, 16, 6862, 1082, 282, 202, 6494, 2695, 13, 202, 95, 202, 202, 2211, 18, 1615, 273, 770, 31, 202, 202, 542, 1210, 3829, 12, 2630, 1685, 16, 810, 1638, 1769, 202, 202, 26198, 273, 394, 509, 63, 24, 15533, 202, 202, 542, 23263, 12, 1118, 16, 10004, 16, 8024, 16, 4190, 1769, 202, 202, 2211, 18, 3535, 273, 2695, 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,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, 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, 5307, 10497, 12, 474, 770, 16, 1645, 810, 1685, 16, 1645, 810, 1638, 16, 6862, 1082, 202, 474, 1755, 16, 509, 10004, 16, 509, 8024, 16, 509, 4190, 16, 6862, 1082, 282, 202, 6494, 2695, 13, 202, 95, 202, 202, 2211, 18, 1615, 273, 770, 31, 202, 202, 542, 1210, 3829, 12, 2630, 1685, 16, 810, 1638, 1769, 202, 202, 26198, 273, 394, 509, 63, 24, 15533, 202, 202, 542, 23263, 12, 1118, 16, 10004, 16, 8024, 16, 4190, 1769, 202, 202, 2211, 18, 3535, 273, 2695, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
err = parser.getOtherMessages(true); assertTrue("expected errors for missing jars", null != err);
public void testDefaultClasspathAndTargetCombo() throws InvalidInputException { String ENTRY = "1.jar;2.jar"; final String classpath = System.getProperty("java.class.path"); try { System.setProperty("java.class.path", ENTRY); // see finally below AjBuildConfig config = parser.genBuildConfig(new String[] { }, messageWriter); String err = parser.getOtherMessages(true); //!!!assertTrue(err, null == err); assertTrue( config.getClasspath().toString(), config.getClasspath().contains("1.jar")); assertTrue( config.getClasspath().toString(), config.getClasspath().contains("2.jar")); config = parser.genBuildConfig(new String[] { "-1.3" }, messageWriter); err = parser.getOtherMessages(true); //!!!assertTrue(err, null == err); assertTrue( config.getClasspath().toString(), config.getClasspath().contains("1.jar")); assertTrue( config.getClasspath().toString(), config.getClasspath().contains("2.jar")); config = parser.genBuildConfig(new String[] { "-1.3" }, messageWriter); err = parser.getOtherMessages(true); //!!!assertTrue(err, null == err); assertTrue( config.getClasspath().toString(), config.getClasspath().contains("1.jar")); assertTrue( config.getClasspath().toString(), config.getClasspath().contains("2.jar")); config = parser.genBuildConfig(new String[] { "-classpath", ENTRY, "-1.4" }, messageWriter); err = parser.getOtherMessages(true); assertTrue("expected errors for missing jars", null != err); assertTrue( config.getClasspath().toString(), config.getClasspath().contains("1.jar")); assertTrue( config.getClasspath().toString(), config.getClasspath().contains("2.jar")); } finally { // do finally to avoid messing up classpath for other tests System.setProperty("java.class.path", classpath); String setPath = System.getProperty("java.class.path"); String m = "other tests will fail - classpath not reset"; assertEquals(m, classpath, setPath); } }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/812c943083102add6057f7a057effd28dd8e3363/BuildArgParserTestCase.java/clean/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/BuildArgParserTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1868, 17461, 1876, 2326, 16156, 1435, 1216, 31989, 288, 202, 202, 780, 25516, 273, 315, 21, 18, 11930, 31, 22, 18, 11930, 14432, 202, 202, 6385, 514, 10006, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 8863, 202, 202, 698, 288, 5411, 2332, 18, 542, 1396, 2932, 6290, 18, 1106, 18, 803, 3113, 25516, 1769, 368, 2621, 3095, 5712, 377, 202, 202, 37, 78, 3116, 809, 642, 273, 2082, 18, 4507, 3116, 809, 12, 2704, 514, 8526, 288, 19879, 883, 2289, 1769, 5411, 514, 393, 273, 2082, 18, 588, 8290, 5058, 12, 3767, 1769, 10402, 368, 25885, 11231, 5510, 12, 370, 16, 446, 422, 393, 1769, 5411, 1815, 5510, 12, 377, 1082, 202, 1425, 18, 588, 17461, 7675, 10492, 9334, 377, 1082, 202, 1425, 18, 588, 17461, 7675, 12298, 2932, 21, 18, 11930, 7923, 1769, 377, 202, 202, 11231, 5510, 12, 377, 1082, 202, 1425, 18, 588, 17461, 7675, 10492, 9334, 377, 1082, 202, 1425, 18, 588, 17461, 7675, 12298, 2932, 22, 18, 11930, 7923, 1769, 540, 202, 202, 1425, 273, 2082, 18, 4507, 3116, 809, 12, 2704, 514, 8526, 288, 3701, 21, 18, 23, 6, 19879, 883, 2289, 1769, 5411, 393, 273, 2082, 18, 588, 8290, 5058, 12, 3767, 1769, 10402, 368, 25885, 11231, 5510, 12, 370, 16, 446, 422, 393, 1769, 377, 202, 202, 11231, 5510, 12, 377, 1082, 202, 1425, 18, 588, 17461, 7675, 10492, 9334, 377, 1082, 202, 1425, 18, 588, 17461, 7675, 12298, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1868, 17461, 1876, 2326, 16156, 1435, 1216, 31989, 288, 202, 202, 780, 25516, 273, 315, 21, 18, 11930, 31, 22, 18, 11930, 14432, 202, 202, 6385, 514, 10006, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 8863, 202, 202, 698, 288, 5411, 2332, 18, 542, 1396, 2932, 6290, 18, 1106, 18, 803, 3113, 25516, 1769, 368, 2621, 3095, 5712, 377, 202, 202, 37, 78, 3116, 809, 642, 273, 2082, 18, 4507, 3116, 809, 12, 2704, 514, 8526, 288, 19879, 883, 2289, 1769, 5411, 514, 393, 273, 2082, 18, 588, 8290, 5058, 12, 3767, 1769, 10402, 368, 25885, 11231, 5510, 12, 370, 16, 446, 422, 393, 1769, 5411, 1815, 5510, 12, 377, 2 ]
return new RubyClass(ruby, ruby.getClasses().getClassClass(), superClass);
return new RubyClass(ruby, superClass);
public static RubyClass m_newClass(Ruby ruby, RubyClass superClass) { return new RubyClass(ruby, ruby.getClasses().getClassClass(), superClass); }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/03950522a75c28f406bd4cb011cb1916a662366d/RubyClass.java/buggy/org/jruby/RubyClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 312, 67, 2704, 797, 12, 54, 10340, 22155, 16, 19817, 797, 18846, 13, 288, 3639, 327, 394, 19817, 797, 12, 27768, 16, 18846, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 312, 67, 2704, 797, 12, 54, 10340, 22155, 16, 19817, 797, 18846, 13, 288, 3639, 327, 394, 19817, 797, 12, 27768, 16, 18846, 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 ]
Point mouseOnScreen = (Point) screenTopLeft.clone(); mouseOnScreen.translate(thisMouse.x,thisMouse.y); return mouseOnScreen;
return thisMouse;
private Point getMouseOnScreen(MouseEvent e){ Point thisMouse = e.getPoint(); // get parent components locations Component compo = e.getComponent(); Point screenTopLeft = compo.getLocationOnScreen(); Point mouseOnScreen = (Point) screenTopLeft.clone(); mouseOnScreen.translate(thisMouse.x,thisMouse.y); return mouseOnScreen; }
52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/74371ea794edb37fff0e159f71d8b359c93628d6/AbstractPopupFrame.java/buggy/src/org/biojava/spice/gui/AbstractPopupFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4686, 2108, 3793, 1398, 7956, 12, 9186, 1133, 425, 15329, 3639, 4686, 333, 9186, 273, 425, 18, 588, 2148, 5621, 7734, 368, 1377, 336, 982, 4085, 7838, 3639, 5435, 1161, 83, 273, 425, 18, 588, 1841, 5621, 3639, 4686, 5518, 3401, 3910, 273, 1161, 83, 18, 588, 2735, 1398, 7956, 5621, 4766, 4202, 4686, 7644, 1398, 7956, 273, 261, 2148, 13, 5518, 3401, 3910, 18, 14056, 5621, 3639, 7644, 1398, 7956, 18, 13929, 12, 2211, 9186, 18, 92, 16, 2211, 9186, 18, 93, 1769, 3639, 327, 7644, 1398, 7956, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4686, 2108, 3793, 1398, 7956, 12, 9186, 1133, 425, 15329, 3639, 4686, 333, 9186, 273, 425, 18, 588, 2148, 5621, 7734, 368, 1377, 336, 982, 4085, 7838, 3639, 5435, 1161, 83, 273, 425, 18, 588, 1841, 5621, 3639, 4686, 5518, 3401, 3910, 273, 1161, 83, 18, 588, 2735, 1398, 7956, 5621, 4766, 4202, 4686, 7644, 1398, 7956, 273, 261, 2148, 13, 5518, 3401, 3910, 18, 14056, 5621, 3639, 7644, 1398, 7956, 18, 13929, 12, 2211, 9186, 18, 92, 16, 2211, 9186, 18, 93, 1769, 3639, 327, 7644, 1398, 7956, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new ImageIcon(getClass().getResource("images/folder-small.gif"));
new ImageIcon("ui/images/folder-small.gif");
private UIFactory() { fFolderIcon = new ImageIcon(getClass().getResource("images/folder-small.gif")); fNewsgroupIcon = new ImageIcon(getClass().getResource("images/newsgroup-small.gif")); fLocalStoreIcon = new ImageIcon(getClass().getResource("images/storeLocal-small.gif")); fRemoteStoreIcon = new ImageIcon(getClass().getResource("images/storeRemote-small.gif")); fInboxIcon = new ImageIcon(getClass().getResource("images/inbox-small.gif")); fConnectedIcon = new ImageIcon(getClass().getResource("images/connected-small.gif")); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/3cd6e9d81112e3ab17a910eaef36b9e56b2a8b6a/UIFactory.java/clean/grendel/sources/grendel/ui/UIFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 6484, 1733, 1435, 288, 565, 284, 3899, 5554, 273, 1377, 394, 3421, 5554, 2932, 4881, 19, 7369, 19, 5609, 17, 12019, 18, 13905, 8863, 565, 284, 1908, 1055, 656, 5554, 273, 1377, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 2704, 1055, 656, 17, 12019, 18, 13905, 7923, 1769, 565, 284, 2042, 2257, 5554, 273, 1377, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 2233, 2042, 17, 12019, 18, 13905, 7923, 1769, 565, 284, 5169, 2257, 5554, 273, 1377, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 2233, 5169, 17, 12019, 18, 13905, 7923, 1769, 565, 284, 382, 2147, 5554, 273, 1377, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 267, 2147, 17, 12019, 18, 13905, 7923, 1769, 565, 284, 8932, 5554, 273, 1377, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 8537, 17, 12019, 18, 13905, 7923, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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5554, 273, 1377, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 2704, 1055, 656, 17, 12019, 18, 13905, 7923, 1769, 565, 284, 2042, 2257, 5554, 273, 1377, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 2233, 2042, 17, 12019, 18, 13905, 7923, 1769, 565, 284, 5169, 2257, 5554, 273, 1377, 394, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 2932, 7369, 19, 2233, 5169, 17, 12019, 18, 13905, 7923, 1769, 565, 284, 382, 2147, 5554, 273, 1377, 394, 3421, 5554, 2 ]
if (person.hasRole(RoleType.RESEARCHER)) { if(!result.hasAnyResultParticipations() || result.hasPersonParticipation(person)) { return true; }
if (person.hasRole(RoleType.RESEARCHER) && result.hasPersonParticipation(person)) { return true;
public boolean evaluate(Result result) { if (person.hasRole(RoleType.RESEARCHER)) { //if we are creating a new object there are no participations yet. //if we are changing an existing object then person must be a participator. if(!result.hasAnyResultParticipations() || result.hasPersonParticipation(person)) { return true; } } return false; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/445b948bf803479e7e33ce074a460db274c1e120/ResultPredicates.java/clean/src/net/sourceforge/fenixedu/predicates/ResultPredicates.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 5956, 12, 1253, 563, 13, 288, 202, 565, 309, 261, 12479, 18, 5332, 2996, 12, 2996, 559, 18, 862, 17251, 654, 3719, 288, 202, 202, 759, 430, 732, 854, 4979, 279, 394, 733, 1915, 854, 1158, 30891, 1012, 4671, 18, 202, 202, 759, 430, 732, 854, 12770, 392, 2062, 733, 1508, 6175, 1297, 506, 279, 30891, 639, 18, 202, 202, 430, 12, 5, 2088, 18, 5332, 2961, 1253, 1988, 24629, 1012, 1435, 747, 563, 18, 5332, 8346, 1988, 24629, 367, 12, 12479, 3719, 288, 1082, 565, 327, 638, 31, 202, 202, 97, 202, 565, 289, 202, 565, 327, 629, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 5956, 12, 1253, 563, 13, 288, 202, 565, 309, 261, 12479, 18, 5332, 2996, 12, 2996, 559, 18, 862, 17251, 654, 3719, 288, 202, 202, 759, 430, 732, 854, 4979, 279, 394, 733, 1915, 854, 1158, 30891, 1012, 4671, 18, 202, 202, 759, 430, 732, 854, 12770, 392, 2062, 733, 1508, 6175, 1297, 506, 279, 30891, 639, 18, 202, 202, 430, 12, 5, 2088, 18, 5332, 2961, 1253, 1988, 24629, 1012, 1435, 747, 563, 18, 5332, 8346, 1988, 24629, 367, 12, 12479, 3719, 288, 1082, 565, 327, 638, 31, 202, 202, 97, 202, 565, 289, 202, 565, 327, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
generator.produceHtml(sourceFile, realHtmlFile);
generator.produceHtml(sourceFile.getAbsolutePath(), realHtmlFile);
private void makeHtmlFile(String sourceFile, String fileName) { request.setAttribute("source_file", sourceFile); String htmlFile = SRCHTMLDIRNAME + File.separator + fileName + ".html"; request.setAttribute("html_file", htmlFile); String realHtmlFile = srcHtmlDir + File.separator + fileName + ".html"; if (! (new File(realHtmlFile).exists()) ) { generator.produceHtml(sourceFile, realHtmlFile); } }
6394 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6394/8a9a2202d029aaf3c9b07d5dd02e3ea0cf221fd5/ClassSourcePage.java/buggy/src/org/ashkelon/pages/ClassSourcePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 1221, 4353, 812, 12, 780, 16338, 16, 514, 3968, 13, 282, 288, 1377, 590, 18, 542, 1499, 2932, 3168, 67, 768, 3113, 16338, 1769, 1377, 514, 1729, 812, 273, 19145, 1792, 2838, 4537, 1985, 397, 1387, 18, 11287, 397, 3968, 397, 3552, 2620, 14432, 1377, 590, 18, 542, 1499, 2932, 2620, 67, 768, 3113, 1729, 812, 1769, 1377, 514, 2863, 4353, 812, 273, 1705, 4353, 1621, 397, 1387, 18, 11287, 397, 3968, 397, 3552, 2620, 14432, 5411, 309, 16051, 261, 2704, 1387, 12, 7688, 4353, 812, 2934, 1808, 10756, 262, 1377, 288, 540, 4456, 18, 11776, 311, 4353, 12, 3168, 812, 18, 588, 10368, 743, 9334, 2863, 4353, 812, 1769, 1377, 289, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 1221, 4353, 812, 12, 780, 16338, 16, 514, 3968, 13, 282, 288, 1377, 590, 18, 542, 1499, 2932, 3168, 67, 768, 3113, 16338, 1769, 1377, 514, 1729, 812, 273, 19145, 1792, 2838, 4537, 1985, 397, 1387, 18, 11287, 397, 3968, 397, 3552, 2620, 14432, 1377, 590, 18, 542, 1499, 2932, 2620, 67, 768, 3113, 1729, 812, 1769, 1377, 514, 2863, 4353, 812, 273, 1705, 4353, 1621, 397, 1387, 18, 11287, 397, 3968, 397, 3552, 2620, 14432, 5411, 309, 16051, 261, 2704, 1387, 12, 7688, 4353, 812, 2934, 1808, 10756, 262, 1377, 288, 540, 4456, 18, 11776, 311, 4353, 12, 3168, 812, 18, 588, 10368, 743, 9334, 2863, 4353, 812, 1769, 1377, 289, 282, 289, 2, -100, -100 ]
final String[] res = restrict( files, srcDir, destDir, mapper );
final String[] res = restrict( files, srcDir, destDir, mapper, context );
public File[] restrictAsFiles( final String[] files, final File srcDir, final File destDir, final FileNameMapper mapper ) throws TaskException { final String[] res = restrict( files, srcDir, destDir, mapper ); final File[] result = new File[ res.length ]; for( int i = 0; i < res.length; i++ ) { result[ i ] = new File( srcDir, res[ i ] ); } return result; }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/dd4d75e8369456aff82ac26432a7396fcee47fd5/SourceFileScanner.java/buggy/proposal/myrmidon/src/main/org/apache/tools/ant/types/SourceFileScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1387, 8526, 13108, 1463, 2697, 12, 727, 514, 8526, 1390, 16, 4766, 282, 727, 1387, 30585, 16, 4766, 282, 727, 1387, 26231, 16, 4766, 282, 727, 25075, 4597, 5815, 262, 3639, 1216, 3837, 503, 565, 288, 3639, 727, 514, 8526, 400, 273, 13108, 12, 1390, 16, 30585, 16, 26231, 16, 5815, 16, 819, 11272, 3639, 727, 1387, 8526, 563, 273, 394, 1387, 63, 400, 18, 2469, 308, 31, 3639, 364, 12, 509, 277, 273, 374, 31, 277, 411, 400, 18, 2469, 31, 277, 9904, 262, 3639, 288, 5411, 563, 63, 277, 308, 273, 394, 1387, 12, 30585, 16, 400, 63, 277, 308, 11272, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 12, 1390, 16, 30585, 16, 26231, 16, 5815, 16, 819, 11272, 3639, 727, 1387, 8526, 563, 273, 394, 1387, 63, 400, 18, 2469, 308, 31, 3639, 364, 12, 509, 277, 273, 374, 31, 277, 411, 400, 18, 2469, 31, 277, 9904, 262, 3639, 288, 5411, 563, 63, 277, 308, 273, 394, 1387, 12, 30585, 16, 400, 63, 277, 308, 11272, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100 ]
rs.setLexPEnd(0);
rs.setLexPEnd(0);*/
public Node compileFile(String f, RubyObject file, int start) { rs.setLexFileIo(true); rs.setLexInput(file); rs.setLexP(0); rs.setLexPEnd(0); ruby.setSourceLine(start - 1); return yycompile(f, start); }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyParser.java/clean/org/jruby/parser/DefaultRubyParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 4074, 812, 12, 780, 284, 16, 19817, 921, 585, 16, 509, 787, 13, 288, 3639, 3597, 18, 542, 14756, 812, 15963, 12, 3767, 1769, 3639, 3597, 18, 542, 14756, 1210, 12, 768, 1769, 3639, 3597, 18, 542, 14756, 52, 12, 20, 1769, 3639, 3597, 18, 542, 14756, 52, 1638, 12, 20, 1769, 5549, 3639, 22155, 18, 542, 1830, 1670, 12, 1937, 300, 404, 1769, 3639, 327, 9016, 11100, 12, 74, 16, 787, 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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0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 4074, 812, 12, 780, 284, 16, 19817, 921, 585, 16, 509, 787, 13, 288, 3639, 3597, 18, 542, 14756, 812, 15963, 12, 3767, 1769, 3639, 3597, 18, 542, 14756, 1210, 12, 768, 1769, 3639, 3597, 18, 542, 14756, 52, 12, 20, 1769, 3639, 3597, 18, 542, 14756, 52, 1638, 12, 20, 1769, 5549, 3639, 22155, 18, 542, 1830, 1670, 12, 1937, 300, 404, 1769, 3639, 327, 9016, 11100, 12, 74, 16, 787, 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 ]
log.finest("e1 = " + e1);
if (Configuration.DEBUG) log.fine("e1 = " + e1);
public Key getPrivateKey(String alias, char[] password) throws UnrecoverableKeyException { log.entering(this.getClass().getName(), "getPrivateKey", alias); Key result = null; if (containsAlias(alias)) { PasswordAuthenticatedEntry e1 = null; for (Iterator it = get(alias).iterator(); it.hasNext();) { Entry e = (Entry) it.next(); log.finest("Entry: " + e); if (e instanceof PasswordAuthenticatedEntry) { e1 = (PasswordAuthenticatedEntry) e; break; } } log.finest("e1 = " + e1); if (e1 != null) { try { e1.verify(password); } catch (Exception e) { log.throwing(this.getClass().getName(), "getPrivateKey", e); throw new UnrecoverableKeyException("authentication failed"); } PasswordEncryptedEntry e2 = null; for (Iterator it = e1.getEntries().iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof PasswordEncryptedEntry) { e2 = (PasswordEncryptedEntry) e; break; } } if (e2 != null) { try { e2.decrypt(password); } catch (Exception e) { log.throwing(this.getClass().getName(), "getPrivateKey", e); throw new UnrecoverableKeyException("decryption failed"); } for (Iterator it = e2.get(alias).iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof PrivateKeyEntry) { result = ((PrivateKeyEntry) e).getKey(); break; } } } } } log.exiting(this.getClass().getName(), "getPrivateKey", result == null ? "null" : result.getClass().getName()); return result; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/8ace3af577b4314374a3cc74fdeae04a0733f7de/GnuPrivateKeyring.java/clean/gnu/javax/crypto/keyring/GnuPrivateKeyring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1929, 27914, 653, 12, 780, 2308, 16, 1149, 8526, 2201, 13, 1377, 1216, 1351, 25864, 21914, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 588, 10824, 3113, 2308, 1769, 565, 1929, 563, 273, 446, 31, 565, 309, 261, 12298, 2936, 12, 4930, 3719, 1377, 288, 3639, 9234, 15606, 1622, 425, 21, 273, 446, 31, 3639, 364, 261, 3198, 518, 273, 336, 12, 4930, 2934, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 1850, 288, 5411, 3841, 425, 273, 261, 1622, 13, 518, 18, 4285, 5621, 5411, 613, 18, 926, 395, 2932, 1622, 30, 315, 397, 425, 1769, 5411, 309, 261, 73, 1276, 9234, 15606, 1622, 13, 2868, 288, 7734, 425, 21, 273, 261, 3913, 15606, 1622, 13, 425, 31, 7734, 898, 31, 2868, 289, 1850, 289, 4202, 309, 261, 1750, 18, 9394, 13, 613, 18, 74, 558, 2932, 73, 21, 273, 315, 397, 425, 21, 1769, 3639, 309, 261, 73, 21, 480, 446, 13, 1850, 288, 5411, 775, 2868, 288, 7734, 425, 21, 18, 8705, 12, 3664, 1769, 2868, 289, 5411, 1044, 261, 503, 425, 13, 2868, 288, 7734, 613, 18, 12849, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 588, 10824, 3113, 425, 1769, 7734, 604, 394, 1351, 25864, 21914, 2932, 12293, 2535, 8863, 2868, 289, 5411, 9234, 14678, 1622, 425, 22, 273, 446, 31, 5411, 364, 261, 3198, 518, 273, 425, 21, 18, 588, 5400, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1929, 27914, 653, 12, 780, 2308, 16, 1149, 8526, 2201, 13, 1377, 1216, 1351, 25864, 21914, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 588, 10824, 3113, 2308, 1769, 565, 1929, 563, 273, 446, 31, 565, 309, 261, 12298, 2936, 12, 4930, 3719, 1377, 288, 3639, 9234, 15606, 1622, 425, 21, 273, 446, 31, 3639, 364, 261, 3198, 518, 273, 336, 12, 4930, 2934, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 1850, 288, 5411, 3841, 425, 273, 261, 1622, 13, 518, 18, 4285, 5621, 5411, 613, 18, 926, 395, 2932, 1622, 30, 315, 397, 425, 1769, 5411, 309, 261, 73, 1276, 9234, 15606, 1622, 13, 2868, 288, 7734, 2 ]
logger.debug(
if (debug) logger.debug(
protected void storeAtomData() { logger.debug("No atoms: " + atomCounter); if (atomCounter == 0) { return; } boolean hasID = false; boolean has3D = false; boolean has3Dfract = false; boolean has2D = false; boolean hasFormalCharge = false; boolean hasPartialCharge = false; boolean hasHCounts = false; boolean hasSymbols = false; boolean hasTitles = false; boolean hasIsotopes = false; boolean hasDictRefs = false; if (elid.size() == atomCounter) { hasID = true; } else { logger.debug( "No atom ids: " + elid.size() + " != " + atomCounter); } if (elsym.size() == atomCounter) { hasSymbols = true; } else { logger.debug( "No atom symbols: " + elsym.size() + " != " + atomCounter); } if (eltitles.size() == atomCounter) { hasTitles = true; } else { logger.debug( "No atom titles: " + eltitles.size() + " != " + atomCounter); } if ((x3.size() == atomCounter) && (y3.size() == atomCounter) && (z3.size() == atomCounter)) { has3D = true; } else { logger.debug( "No 3D info: " + x3.size() + " " + y3.size() + " " + z3.size() + " != " + atomCounter); } if ((xfract.size() == atomCounter) && (yfract.size() == atomCounter) && (zfract.size() == atomCounter)) { has3Dfract = true; } else { logger.debug( "No 3D fractional info: " + xfract.size() + " " + yfract.size() + " " + zfract.size() + " != " + atomCounter); } if ((x2.size() == atomCounter) && (y2.size() == atomCounter)) { has2D = true; } else { logger.debug( "No 2D info: " + x2.size() + " " + y2.size() + " != " + atomCounter); } if (formalCharges.size() == atomCounter) { hasFormalCharge = true; } else { logger.debug( "No formal Charge info: " + formalCharges.size() + " != " + atomCounter); } if (partialCharges.size() == atomCounter) { hasPartialCharge = true; } else { logger.debug( "No partial Charge info: " + partialCharges.size() + " != " + atomCounter); } if (hCounts.size() == atomCounter) { hasHCounts = true; } else { logger.debug( "No hydrogen Count info: " + hCounts.size() + " != " + atomCounter); } if (atomDictRefs.size() == atomCounter) { hasDictRefs = true; } else { logger.debug( "No dictRef info: " + atomDictRefs.size() + " != " + atomCounter); } if (isotope.size() == atomCounter) { hasIsotopes = true; } else { logger.debug( "No isotope info: " + isotope.size() + " != " + atomCounter); } for (int i = 0; i < atomCounter; i++) { logger.info("Storing atom: " + i); cdo.startObject("Atom"); if (hasID) { cdo.setObjectProperty("Atom", "id", (String)elid.elementAt(i)); } if (hasTitles) { if (hasSymbols) { String symbol = (String)elsym.elementAt(i); if (symbol.equals("Du") || symbol.equals("Dummy")) { cdo.setObjectProperty("PseudoAtom", "label", (String)eltitles.elementAt(i)); } else { cdo.setObjectProperty("Atom", "title", (String)eltitles.elementAt(i)); } } else { cdo.setObjectProperty("Atom", "title", (String)eltitles.elementAt(i)); } } // store optional atom properties if (hasSymbols) { String symbol = (String)elsym.elementAt(i); if (symbol.equals("Du") || symbol.equals("Dummy")) { symbol = "R"; } cdo.setObjectProperty("Atom", "type", symbol); } if (has3D) { cdo.setObjectProperty("Atom", "x3", (String)x3.elementAt(i)); cdo.setObjectProperty("Atom", "y3", (String)y3.elementAt(i)); cdo.setObjectProperty("Atom", "z3", (String)z3.elementAt(i)); } if (has3Dfract) { // ok, need to convert fractional into eucledian coordinates double[] coord = new double[3]; coord[0] = Double.parseDouble((String)xfract.elementAt(i)); coord[1] = Double.parseDouble((String)yfract.elementAt(i)); coord[2] = Double.parseDouble((String)zfract.elementAt(i)); if (!cartesianAxesSet) { logger.error("Cannot convert fractional atomic coord to cartesian if axes are not known"); } else { double[] cartCoord = CrystalGeometryTools.fractionalToCartesian(a,b,c,coord); cdo.setObjectProperty("Atom", "x3", new Double(cartCoord[0]).toString()); cdo.setObjectProperty("Atom", "y3", new Double(cartCoord[1]).toString()); cdo.setObjectProperty("Atom", "z3", new Double(cartCoord[2]).toString()); } } if (hasFormalCharge) { cdo.setObjectProperty("Atom", "formalCharge", (String)formalCharges.elementAt(i)); } if (hasPartialCharge) { logger.debug("Storing partial atomic charge..."); cdo.setObjectProperty("Atom", "partialCharge", (String)partialCharges.elementAt(i)); } if (hasHCounts) { cdo.setObjectProperty("Atom", "hydrogenCount", (String)hCounts.elementAt(i)); } if (has2D) { if (x2.elementAt(i) != null) cdo.setObjectProperty("Atom", "x2", (String)x2.elementAt(i)); if (y2.elementAt(i) != null) cdo.setObjectProperty("Atom", "y2", (String)y2.elementAt(i)); } if (hasDictRefs) { cdo.setObjectProperty("Atom", "dictRef", (String)atomDictRefs.elementAt(i)); } if (hasIsotopes) { cdo.setObjectProperty("Atom", "massNumber", (String)isotope.elementAt(i)); } cdo.endObject("Atom"); } if (elid.size() > 0) { // assume this is the current working list bondElid = elid; } newAtomData(); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/85b1def8500569c307eef07a73f9886549ea9364/CMLCoreModule.java/buggy/src/org/openscience/cdk/io/cml/CMLCoreModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1707, 3641, 751, 1435, 288, 3639, 1194, 18, 4148, 2932, 2279, 9006, 30, 315, 397, 3179, 4789, 1769, 3639, 309, 261, 7466, 4789, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1250, 711, 734, 273, 629, 31, 3639, 1250, 711, 23, 40, 273, 629, 31, 3639, 1250, 711, 23, 40, 74, 14266, 273, 629, 31, 3639, 1250, 711, 22, 40, 273, 629, 31, 3639, 1250, 711, 12183, 17649, 273, 629, 31, 3639, 1250, 711, 9447, 17649, 273, 629, 31, 3639, 1250, 711, 44, 9211, 273, 629, 31, 3639, 1250, 711, 14821, 273, 629, 31, 3639, 1250, 711, 25088, 273, 629, 31, 3639, 1250, 711, 2520, 352, 5239, 273, 629, 31, 3639, 1250, 711, 5014, 9837, 273, 629, 31, 3639, 309, 261, 292, 350, 18, 1467, 1435, 422, 3179, 4789, 13, 288, 5411, 711, 734, 273, 638, 31, 3639, 289, 469, 288, 5411, 309, 261, 4148, 13, 1194, 18, 4148, 12, 10792, 315, 2279, 3179, 3258, 30, 315, 397, 415, 350, 18, 1467, 1435, 397, 315, 480, 315, 397, 3179, 4789, 1769, 3639, 289, 3639, 309, 261, 292, 8117, 18, 1467, 1435, 422, 3179, 4789, 13, 288, 5411, 711, 14821, 273, 638, 31, 3639, 289, 469, 288, 5411, 309, 261, 4148, 13, 1194, 18, 4148, 12, 10792, 315, 2279, 3179, 7963, 30, 315, 397, 7842, 2942, 18, 1467, 1435, 397, 315, 480, 315, 397, 3179, 4789, 1769, 3639, 289, 3639, 309, 261, 292, 17643, 18, 1467, 1435, 422, 3179, 4789, 13, 288, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1707, 3641, 751, 1435, 288, 3639, 1194, 18, 4148, 2932, 2279, 9006, 30, 315, 397, 3179, 4789, 1769, 3639, 309, 261, 7466, 4789, 422, 374, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1250, 711, 734, 273, 629, 31, 3639, 1250, 711, 23, 40, 273, 629, 31, 3639, 1250, 711, 23, 40, 74, 14266, 273, 629, 31, 3639, 1250, 711, 22, 40, 273, 629, 31, 3639, 1250, 711, 12183, 17649, 273, 629, 31, 3639, 1250, 711, 9447, 17649, 273, 629, 31, 3639, 1250, 711, 44, 9211, 273, 629, 31, 3639, 1250, 711, 14821, 273, 629, 31, 3639, 1250, 711, 25088, 273, 629, 31, 3639, 1250, 711, 2520, 352, 5239, 273, 629, 31, 3639, 1250, 711, 5014, 2 ]
planeWidgetY.SetInteractor(renWin.getIren());
planeWidgetY.SetInteractor(getIren());
public void setImageData(vtkImageData id) { //The shared picker enables us to use 3 planes at one time //and gets the picking order right vtkCellPicker picker = new vtkCellPicker(); picker.SetTolerance(0.005); //The 3 image plane widgets are used to probe the dataset. vtkImagePlaneWidget planeWidgetX = new vtkImagePlaneWidget(); planeWidgetX.DisplayTextOn(); planeWidgetX.SetInput(id); planeWidgetX.SetInteractor(renWin.getIren()); planeWidgetX.SetPlaneOrientationToXAxes(); planeWidgetX.SetSliceIndex(32); planeWidgetX.SetPicker(picker); planeWidgetX.SetKeyPressActivationValue('x'); planeWidgetX.GetPlaneProperty().SetColor(1, 0, 0); planeWidgetX.On(); vtkImagePlaneWidget planeWidgetY = new vtkImagePlaneWidget(); planeWidgetY.DisplayTextOn(); planeWidgetY.SetInput(id); planeWidgetY.SetInteractor(renWin.getIren()); planeWidgetY.SetPlaneOrientationToYAxes(); planeWidgetY.SetSliceIndex(32); planeWidgetY.SetPicker(picker); planeWidgetY.SetKeyPressActivationValue('y'); planeWidgetY.GetPlaneProperty().SetColor(1, 1, 0); planeWidgetY.SetLookupTable(planeWidgetX.GetLookupTable()); planeWidgetY.On(); //for the z-slice, turn off texture interpolation: //interpolation is now nearest neighbour, to demonstrate //cross-hair cursor snapping to pixel centers vtkImagePlaneWidget planeWidgetZ = new vtkImagePlaneWidget(); planeWidgetZ.DisplayTextOn(); planeWidgetZ.SetInput(id); planeWidgetZ.TextureInterpolateOff(); planeWidgetZ.SetInteractor(renWin.getIren()); planeWidgetZ.SetPlaneOrientationToZAxes(); planeWidgetZ.SetSliceIndex(46); planeWidgetZ.SetPicker(picker); planeWidgetZ.SetKeyPressActivationValue('z'); planeWidgetZ.GetPlaneProperty().SetColor (0, 0, 1); planeWidgetZ.SetLookupTable(planeWidgetX.GetLookupTable()); planeWidgetZ.On(); //An outline is shown for context. vtkOutlineFilter outline = new vtkOutlineFilter(); outline.SetInput (id); vtkPolyDataMapper outlineMapper = new vtkPolyDataMapper(); outlineMapper.SetInput ( outline.GetOutput() ); vtkActor outlineActor = new vtkActor(); outlineActor.SetMapper(outlineMapper); renWin.GetRenderer().AddActor(outlineActor); //Add the outline actor to the renderer, set the background and size renWin.GetRenderer().GetCullers().RemoveAllItems(); renWin.GetRenderer().SetBackground(0.1, 0.1, 0.2); }
47326 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47326/a498c4a24d08be9a14ecb583bfc09eb98abb52e8/ImagePlaneWidget.java/buggy/Wrapping/Java/ImagePlaneWidget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18893, 751, 12, 11734, 79, 2040, 751, 612, 13, 288, 565, 368, 1986, 5116, 18141, 19808, 584, 358, 999, 890, 31634, 622, 1245, 813, 565, 368, 464, 5571, 326, 6002, 310, 1353, 2145, 565, 13659, 4020, 13194, 18141, 273, 394, 13659, 4020, 13194, 5621, 565, 18141, 18, 694, 22678, 12, 20, 18, 28564, 1769, 565, 368, 1986, 890, 1316, 11017, 10965, 854, 1399, 358, 10695, 326, 3709, 18, 565, 13659, 2040, 19505, 4609, 11017, 4609, 60, 273, 394, 13659, 2040, 19505, 4609, 5621, 565, 11017, 4609, 60, 18, 4236, 1528, 1398, 5621, 565, 11017, 4609, 60, 18, 28299, 12, 350, 1769, 565, 11017, 4609, 60, 18, 694, 2465, 3362, 12, 1187, 18049, 18, 588, 45, 1187, 10663, 565, 11017, 4609, 60, 18, 694, 19505, 14097, 14955, 26494, 5621, 565, 11017, 4609, 60, 18, 694, 5959, 1016, 12, 1578, 1769, 565, 11017, 4609, 60, 18, 694, 13194, 12, 10569, 1769, 565, 11017, 4609, 60, 18, 30267, 11840, 14857, 620, 2668, 92, 8284, 565, 11017, 4609, 60, 18, 967, 19505, 1396, 7675, 694, 2957, 12, 21, 16, 374, 16, 374, 1769, 565, 11017, 4609, 60, 18, 1398, 5621, 565, 13659, 2040, 19505, 4609, 11017, 4609, 61, 273, 394, 13659, 2040, 19505, 4609, 5621, 565, 11017, 4609, 61, 18, 4236, 1528, 1398, 5621, 565, 11017, 4609, 61, 18, 28299, 12, 350, 1769, 565, 11017, 4609, 61, 18, 694, 2465, 3362, 12, 588, 45, 1187, 10663, 565, 11017, 4609, 61, 18, 694, 19505, 14097, 774, 61, 26494, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18893, 751, 12, 11734, 79, 2040, 751, 612, 13, 288, 565, 368, 1986, 5116, 18141, 19808, 584, 358, 999, 890, 31634, 622, 1245, 813, 565, 368, 464, 5571, 326, 6002, 310, 1353, 2145, 565, 13659, 4020, 13194, 18141, 273, 394, 13659, 4020, 13194, 5621, 565, 18141, 18, 694, 22678, 12, 20, 18, 28564, 1769, 565, 368, 1986, 890, 1316, 11017, 10965, 854, 1399, 358, 10695, 326, 3709, 18, 565, 13659, 2040, 19505, 4609, 11017, 4609, 60, 273, 394, 13659, 2040, 19505, 4609, 5621, 565, 11017, 4609, 60, 18, 4236, 1528, 1398, 5621, 565, 11017, 4609, 60, 18, 28299, 12, 350, 1769, 565, 11017, 4609, 60, 18, 694, 2465, 3362, 12, 1187, 18049, 18, 588, 45, 1187, 2 ]
private void initMetadata(String xml) { Vector elements = new Vector(); // first parse each element in the XML string while (xml.length() > 2) { String el = xml.substring(1, xml.indexOf(">")); xml = xml.substring(xml.indexOf(">") + 1); elements.add(el); } // the first element contains version information String token = (String) elements.get(0); String key = token.substring(0, token.indexOf("\"")); String value = token.substring(token.indexOf("\"") + 1, token.length()-1); metadata.put(key, value); int ndx = 1; int imageCounter = -2; int dimCounter = 0; int lutCounter = 0; while (ndx < elements.size()) { token = (String) elements.get(ndx); // only try to parse the element if we know it // contains a key/value pair if (token.indexOf("=") != -1) { while (token.length() > 2) { if (key.equals("Element Name")) { imageCounter++; dimCounter = 0; lutCounter = 0; } key = token.substring(0, token.indexOf("\"") - 1); value = token.substring(token.indexOf("\"") + 1, token.indexOf("\"", token.indexOf("\"") + 1)); key = key.trim(); value = value.trim(); if (key.equals("NumberOfElements")) { dims[imageCounter][dimCounter] = Integer.parseInt(value); dimCounter++; if (dimCounter == 6) dimCounter = 0; } if (key.equals("Resolution")) { int val = Integer.parseInt(value); if ((val % 8) != 0) val += (8 - (val % 8)); dims[imageCounter][5] = val; } if (key.equals("LUTName")) lutCounter++; if (lutCounter == 3) { dims[imageCounter][4] = lutCounter; lutCounter = 0; } token = token.substring(token.indexOf("\"", token.indexOf("\"") + 1) + 1); metadata.put(key + " (image " + imageCounter + ")", value); } } ndx++; } int originalNumImages = numImages; for (int i=1; i<=originalNumImages; i++) { if (dims[i-1][2] == 0) dims[i-1][2] = 1; if (dims[i-1][3] == 0) dims[i-1][3] = 1; numImages += ((dims[i-1][2]*dims[i-1][3]) - 1); } // initialize OME-XML if (ome != null) { String type = "int8"; switch (dims[dims.length - 1][5]) { case 12: type = "int16"; break; case 16: type = "int16"; break; case 32: type = "float"; break; } int z = 0; int t = 0; for (int i=0; i<dims.length; i++) { z += (dims[i][2] == 1) ? 0 : dims[i][2]; t += (dims[i][3] == 1) ? 0 : dims[i][3]; } if (t == 0) t++; if (z == 0) z++; while ((z*t) < numImages) { z++; } OMETools.setPixels(ome, new Integer(dims[dims.length - 1][0]), // SizeX new Integer(dims[dims.length - 1][1]), // SizeY new Integer(z), // SizeZ new Integer(1), // SizeC new Integer(t), // SizeT type, // PixelType new Boolean(!littleEndian), // BigEndian "XYZTC"); // DimensionOrder } }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/91859a26506b8a1d312b398da2c3ecd94e02fa60/LIFReader.java/buggy/loci/formats/LIFReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 12, 780, 2025, 13, 288, 565, 5589, 2186, 273, 394, 5589, 5621, 565, 368, 1122, 1109, 1517, 930, 316, 326, 3167, 533, 565, 1323, 261, 2902, 18, 2469, 1435, 405, 576, 13, 288, 1377, 514, 415, 273, 2025, 18, 28023, 12, 21, 16, 2025, 18, 31806, 2932, 2984, 10019, 1377, 2025, 273, 2025, 18, 28023, 12, 2902, 18, 31806, 2932, 2984, 13, 397, 404, 1769, 1377, 2186, 18, 1289, 12, 292, 1769, 565, 289, 565, 368, 326, 1122, 930, 1914, 1177, 1779, 565, 514, 1147, 273, 261, 780, 13, 2186, 18, 588, 12, 20, 1769, 565, 514, 498, 273, 1147, 18, 28023, 12, 20, 16, 1147, 18, 31806, 2932, 2412, 7923, 1769, 565, 514, 460, 273, 1147, 18, 28023, 12, 2316, 18, 31806, 2932, 2412, 7923, 397, 404, 16, 1147, 18, 2469, 1435, 17, 21, 1769, 565, 1982, 18, 458, 12, 856, 16, 460, 1769, 565, 509, 5346, 92, 273, 404, 31, 565, 509, 1316, 4789, 273, 300, 22, 31, 565, 509, 2464, 4789, 273, 374, 31, 565, 509, 27171, 4789, 273, 374, 31, 565, 1323, 261, 4880, 92, 411, 2186, 18, 1467, 10756, 288, 1377, 1147, 273, 261, 780, 13, 2186, 18, 588, 12, 4880, 92, 1769, 1377, 368, 1338, 775, 358, 1109, 326, 930, 309, 732, 5055, 518, 1377, 368, 1914, 279, 498, 19, 1132, 3082, 1377, 309, 261, 2316, 18, 31806, 2932, 1546, 13, 480, 300, 21, 13, 288, 3639, 1323, 261, 2316, 18, 2469, 1435, 405, 576, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 12, 780, 2025, 13, 288, 565, 5589, 2186, 273, 394, 5589, 5621, 565, 368, 1122, 1109, 1517, 930, 316, 326, 3167, 533, 565, 1323, 261, 2902, 18, 2469, 1435, 405, 576, 13, 288, 1377, 514, 415, 273, 2025, 18, 28023, 12, 21, 16, 2025, 18, 31806, 2932, 2984, 10019, 1377, 2025, 273, 2025, 18, 28023, 12, 2902, 18, 31806, 2932, 2984, 13, 397, 404, 1769, 1377, 2186, 18, 1289, 12, 292, 1769, 565, 289, 565, 368, 326, 1122, 930, 1914, 1177, 1779, 565, 514, 1147, 273, 261, 780, 13, 2186, 18, 588, 12, 20, 1769, 565, 514, 498, 273, 1147, 18, 28023, 12, 20, 16, 1147, 18, 31806, 2932, 2412, 7923, 1769, 565, 514, 2 ]
public static Object jsFunction_shift(Context cx, Scriptable thisObj, Object[] args, Function funOjb)
private static Object jsFunction_shift(Context cx, Scriptable thisObj, Object[] args)
public static Object jsFunction_shift(Context cx, Scriptable thisObj, Object[] args, Function funOjb) { Object result; double length = getLengthProperty(thisObj); if (length > 0) { long i = 0; length--; // Get the to-be-deleted property's value. result = getElem(thisObj, i); /* * Slide down the array above the first element. Leave i * set to point to the last element. */ if (length > 0) { for (i = 1; i <= length; i++) { Object temp = getElem(thisObj, i); setElem(thisObj, i - 1, temp); } } // We don't need to delete the last property, because // setLength does that for us. } else { result = Context.getUndefinedValue(); } ScriptRuntime.setProp(thisObj, "length", new Double(length), thisObj); return result; }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 2083, 67, 4012, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 6647, 1033, 8526, 833, 16, 4284, 9831, 51, 10649, 13, 565, 288, 3639, 1033, 563, 31, 3639, 1645, 769, 273, 9888, 1396, 12, 2211, 2675, 1769, 3639, 309, 261, 2469, 405, 374, 13, 288, 5411, 1525, 277, 273, 374, 31, 5411, 769, 413, 31, 5411, 368, 968, 326, 358, 17, 2196, 17, 8600, 1272, 1807, 460, 18, 5411, 563, 273, 4774, 3269, 12, 2211, 2675, 16, 277, 1769, 5411, 1748, 2398, 380, 348, 8130, 2588, 326, 526, 5721, 326, 1122, 930, 18, 225, 21131, 277, 2398, 380, 444, 358, 1634, 358, 326, 1142, 930, 18, 2398, 1195, 5411, 309, 261, 2469, 405, 374, 13, 288, 7734, 364, 261, 77, 273, 404, 31, 277, 1648, 769, 31, 277, 27245, 288, 10792, 1033, 1906, 273, 4774, 3269, 12, 2211, 2675, 16, 277, 1769, 10792, 444, 7498, 12, 2211, 2675, 16, 277, 300, 404, 16, 1906, 1769, 7734, 289, 5411, 289, 5411, 368, 1660, 2727, 1404, 1608, 358, 1430, 326, 1142, 1272, 16, 2724, 5411, 368, 15683, 1552, 716, 364, 584, 18, 3639, 289, 469, 288, 5411, 563, 273, 1772, 18, 588, 10317, 620, 5621, 3639, 289, 3639, 7739, 5576, 18, 542, 4658, 12, 2211, 2675, 16, 315, 2469, 3113, 394, 3698, 12, 2469, 3631, 15261, 1769, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 2083, 67, 4012, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 6647, 1033, 8526, 833, 16, 4284, 9831, 51, 10649, 13, 565, 288, 3639, 1033, 563, 31, 3639, 1645, 769, 273, 9888, 1396, 12, 2211, 2675, 1769, 3639, 309, 261, 2469, 405, 374, 13, 288, 5411, 1525, 277, 273, 374, 31, 5411, 769, 413, 31, 5411, 368, 968, 326, 358, 17, 2196, 17, 8600, 1272, 1807, 460, 18, 5411, 563, 273, 4774, 3269, 12, 2211, 2675, 16, 277, 1769, 5411, 1748, 2398, 380, 348, 8130, 2588, 326, 526, 5721, 326, 1122, 930, 18, 225, 21131, 277, 2398, 380, 444, 358, 1634, 358, 326, 1142, 930, 18, 2398, 1195, 5411, 309, 261, 2469, 405, 374, 2 ]
milestones = new ArrayList<TracMilestone>(values.size());
data.milestones = new ArrayList<TracMilestone>(values.size());
public void updateAttributes(IProgressMonitor monitor) throws TracException { monitor.beginTask("Updating attributes", IProgressMonitor.UNKNOWN); GetMethod method = connect(repositoryUrl + ITracClient.NEW_TICKET_URL); try { BufferedReader reader = new BufferedReader(new InputStreamReader(method.getResponseBodyAsStream(), ITracClient.CHARSET)); HtmlStreamTokenizer tokenizer = new HtmlStreamTokenizer(reader, null); for (Token token = tokenizer.nextToken(); token.getType() != Token.EOF; token = tokenizer.nextToken()) { if (monitor.isCanceled()) { throw new OperationCanceledException(); } if (token.getType() == Token.TAG) { HtmlTag tag = (HtmlTag) token.getValue(); if (tag.getTagType() == HtmlTag.Type.SELECT) { String name = tag.getAttribute("id"); if ("component".equals(name)) { List<String> values = getOptionValues(tokenizer); components = new ArrayList<TracComponent>(values.size()); for (String value : values) { components.add(new TracComponent(value)); } } else if ("milestone".equals(name)) { List<String> values = getOptionValues(tokenizer); milestones = new ArrayList<TracMilestone>(values.size()); for (String value : values) { milestones.add(new TracMilestone(value)); } } else if ("priority".equals(name)) { List<String> values = getOptionValues(tokenizer); priorities = new ArrayList<TracPriority>(values.size()); for (int i = 0; i < values.size(); i++) { priorities.add(new TracPriority(values.get(i), i + 1)); } } else if ("severity".equals(name)) { List<String> values = getOptionValues(tokenizer); severities = new ArrayList<TracSeverity>(values.size()); for (int i = 0; i < values.size(); i++) { severities.add(new TracSeverity(values.get(i), i + 1)); } } else if ("type".equals(name)) { List<String> values = getOptionValues(tokenizer); ticketTypes = new ArrayList<TracTicketType>(values.size()); for (int i = 0; i < values.size(); i++) { ticketTypes.add(new TracTicketType(values.get(i), i + 1)); } } else if ("version".equals(name)) { List<String> values = getOptionValues(tokenizer); versions = new ArrayList<TracVersion>(values.size()); for (String value : values) { versions.add(new TracVersion(value)); } } } } } ticketResolutions = new ArrayList<TracTicketResolution>(5); ticketResolutions.add(new TracTicketResolution("fixed", 1)); ticketResolutions.add(new TracTicketResolution("invalid", 2)); ticketResolutions.add(new TracTicketResolution("wontfix", 3)); ticketResolutions.add(new TracTicketResolution("duplicate", 4)); ticketResolutions.add(new TracTicketResolution("worksforme", 5)); ticketStatus = new ArrayList<TracTicketStatus>(4); ticketStatus.add(new TracTicketStatus("new", 1)); ticketStatus.add(new TracTicketStatus("assigned", 2)); ticketStatus.add(new TracTicketStatus("reopened", 3)); ticketStatus.add(new TracTicketStatus("closed", 4)); } catch (IOException e) { throw new TracException(e); } catch (ParseException e) { throw new TracException(e); } finally { method.releaseConnection(); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/7a9e6a81b7f627eca343471254d8a45715c35e38/Trac09Client.java/clean/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/core/Trac09Client.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 2498, 12, 45, 5491, 7187, 6438, 13, 1216, 2197, 71, 503, 288, 202, 202, 10259, 18, 10086, 2174, 2932, 17858, 1677, 3113, 467, 5491, 7187, 18, 14737, 1769, 202, 202, 967, 1305, 707, 273, 3077, 12, 9071, 1489, 397, 467, 1609, 71, 1227, 18, 12917, 67, 56, 16656, 1584, 67, 1785, 1769, 202, 202, 698, 288, 1082, 202, 17947, 2514, 2949, 273, 394, 10633, 12, 2704, 15322, 12, 2039, 18, 588, 23269, 17052, 9334, 6862, 202, 1285, 8836, 1227, 18, 26977, 10019, 1082, 202, 4353, 1228, 10524, 10123, 273, 394, 5430, 1228, 10524, 12, 10530, 16, 446, 1769, 1082, 202, 1884, 261, 1345, 1147, 273, 10123, 18, 4285, 1345, 5621, 1147, 18, 588, 559, 1435, 480, 3155, 18, 12706, 31, 1147, 273, 10123, 18, 4285, 1345, 10756, 288, 9506, 202, 430, 261, 10259, 18, 291, 23163, 10756, 288, 6862, 202, 12849, 394, 4189, 23163, 503, 5621, 9506, 202, 97, 9506, 202, 430, 261, 2316, 18, 588, 559, 1435, 422, 3155, 18, 7927, 13, 288, 6862, 202, 4353, 1805, 1047, 273, 261, 4353, 1805, 13, 1147, 18, 24805, 5621, 6862, 202, 430, 261, 2692, 18, 588, 1805, 559, 1435, 422, 27153, 18, 559, 18, 4803, 13, 288, 25083, 202, 780, 508, 273, 1047, 18, 588, 1499, 2932, 350, 8863, 25083, 202, 430, 7566, 4652, 9654, 14963, 12, 529, 3719, 288, 6862, 1082, 202, 682, 32, 780, 34, 924, 273, 5651, 1972, 12, 2316, 1824, 1769, 6862, 1082, 202, 8119, 273, 394, 2407, 32, 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, 1089, 2498, 12, 45, 5491, 7187, 6438, 13, 1216, 2197, 71, 503, 288, 202, 202, 10259, 18, 10086, 2174, 2932, 17858, 1677, 3113, 467, 5491, 7187, 18, 14737, 1769, 202, 202, 967, 1305, 707, 273, 3077, 12, 9071, 1489, 397, 467, 1609, 71, 1227, 18, 12917, 67, 56, 16656, 1584, 67, 1785, 1769, 202, 202, 698, 288, 1082, 202, 17947, 2514, 2949, 273, 394, 10633, 12, 2704, 15322, 12, 2039, 18, 588, 23269, 17052, 9334, 6862, 202, 1285, 8836, 1227, 18, 26977, 10019, 1082, 202, 4353, 1228, 10524, 10123, 273, 394, 5430, 1228, 10524, 12, 10530, 16, 446, 1769, 1082, 202, 1884, 261, 1345, 1147, 273, 10123, 18, 4285, 1345, 5621, 1147, 18, 588, 559, 2 ]
new Object[] { attValue },
new Object[] { attValue},
private void validateDTDattribute(QName element, String attValue, XMLAttributeDecl attributeDecl) throws XNIException { switch (attributeDecl.simpleType.type) { case XMLSimpleType.TYPE_ENTITY: { // NOTE: Save this information because invalidStandaloneAttDef boolean isAlistAttribute = attributeDecl.simpleType.list; try { if (isAlistAttribute) { fValENTITIES.validate(attValue, null); } else { fValENTITY.validate(attValue, null); } } catch (InvalidDatatypeValueException ex) { String key = ex.getKeyIntoReporter(); fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, key, new Object[]{ ex.getMessage()}, XMLErrorReporter.SEVERITY_ERROR ); } break; } case XMLSimpleType.TYPE_NOTATION: case XMLSimpleType.TYPE_ENUMERATION: { boolean found = false; String [] enumVals = attributeDecl.simpleType.enumeration; if (enumVals == null) { found = false; } else for (int i = 0; i < enumVals.length; i++) { if (attValue == enumVals[i] || attValue.equals(enumVals[i])) { found = true; break; } } if (!found) { StringBuffer enumValueString = new StringBuffer(); if (enumVals != null) for (int i = 0; i < enumVals.length; i++) { enumValueString.append(enumVals[i]+" "); } fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, "MSG_ATTRIBUTE_VALUE_NOT_IN_LIST", new Object[]{attributeDecl.name.rawname, attValue, enumValueString}, XMLErrorReporter.SEVERITY_ERROR); } break; } case XMLSimpleType.TYPE_ID: { try { fValID.validate(attValue, null); } catch (InvalidDatatypeValueException ex) { String key = ex.getKeyIntoReporter(); fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, key, new Object[] { ex.getMessage() }, XMLErrorReporter.SEVERITY_ERROR ); } break; } case XMLSimpleType.TYPE_IDREF: { boolean isAlistAttribute = attributeDecl.simpleType.list;//Caveat - Save this information because invalidStandaloneAttDef try { if (isAlistAttribute) { //System.out.println("values = >>" + value + "<<" ); fValIDRefs.validate(attValue, null); } else { fValIDRef.validate(attValue, null); } } catch (InvalidDatatypeValueException ex) { String key = ex.getKeyIntoReporter(); if (key == null){ key = "IDREFSInvalid"; } fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, key, new Object[]{ ex.getMessage()}, XMLErrorReporter.SEVERITY_ERROR ); } break; } case XMLSimpleType.TYPE_NMTOKEN: { boolean isAlistAttribute = attributeDecl.simpleType.list;//Caveat - Save this information because invalidStandaloneAttDef //changes fTempAttDef try { if (isAlistAttribute) { fValNMTOKENS.validate(attValue, null); } else { fValNMTOKEN.validate(attValue, null); } } catch (InvalidDatatypeValueException ex) { if (isAlistAttribute){ fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, "NMTOKENSInvalid", new Object[] { attValue }, XMLErrorReporter.SEVERITY_ERROR); } else { fErrorReporter.reportError(XMLMessageFormatter.XML_DOMAIN, "NMTOKENInvalid", new Object[] { attValue }, XMLErrorReporter.SEVERITY_ERROR); } } break; } } // switch } // validateDTDattribute(QName,String,XMLAttributeDecl)
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/ee3cf4ff9e64a0ae2d3c850b7c9b40e51771781d/XMLDTDValidator.java/buggy/src/org/apache/xerces/impl/dtd/XMLDTDValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1954, 25728, 4589, 12, 13688, 930, 16, 514, 2403, 620, 16, 4766, 1377, 3167, 1499, 3456, 1566, 3456, 13, 540, 1216, 1139, 50, 45, 503, 288, 3639, 1620, 261, 4589, 3456, 18, 9647, 559, 18, 723, 13, 288, 5411, 648, 3167, 5784, 559, 18, 2399, 67, 11101, 30, 288, 4766, 5411, 368, 5219, 30, 7074, 333, 1779, 2724, 2057, 20612, 12451, 3075, 3262, 7734, 1250, 353, 1067, 376, 1499, 273, 1566, 3456, 18, 9647, 559, 18, 1098, 31, 7734, 775, 288, 10792, 309, 261, 291, 1067, 376, 1499, 13, 288, 13491, 284, 3053, 2222, 25673, 18, 5662, 12, 4558, 620, 16, 446, 1769, 10792, 289, 5397, 469, 288, 13491, 284, 3053, 11101, 18, 5662, 12, 4558, 620, 16, 446, 1769, 10792, 289, 7734, 289, 1171, 1044, 261, 1941, 20228, 9738, 431, 13, 288, 10792, 514, 225, 498, 273, 431, 18, 588, 653, 5952, 13289, 5621, 10792, 284, 668, 13289, 18, 6006, 668, 12, 4201, 1079, 5074, 18, 4201, 67, 18192, 16, 4766, 9079, 498, 16, 4766, 9079, 394, 1033, 63, 7073, 431, 18, 24906, 1435, 5779, 4766, 9079, 3167, 668, 13289, 18, 1090, 2204, 4107, 67, 3589, 11272, 7734, 289, 7734, 898, 31, 5411, 289, 5411, 648, 3167, 5784, 559, 18, 2399, 67, 4400, 2689, 30, 5411, 648, 3167, 5784, 559, 18, 2399, 67, 16509, 654, 2689, 30, 288, 7734, 1250, 1392, 273, 629, 31, 7734, 514, 5378, 2792, 13169, 273, 1566, 3456, 18, 9647, 559, 18, 7924, 7067, 31, 7734, 309, 261, 7924, 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, 1954, 25728, 4589, 12, 13688, 930, 16, 514, 2403, 620, 16, 4766, 1377, 3167, 1499, 3456, 1566, 3456, 13, 540, 1216, 1139, 50, 45, 503, 288, 3639, 1620, 261, 4589, 3456, 18, 9647, 559, 18, 723, 13, 288, 5411, 648, 3167, 5784, 559, 18, 2399, 67, 11101, 30, 288, 4766, 5411, 368, 5219, 30, 7074, 333, 1779, 2724, 2057, 20612, 12451, 3075, 3262, 7734, 1250, 353, 1067, 376, 1499, 273, 1566, 3456, 18, 9647, 559, 18, 1098, 31, 7734, 775, 288, 10792, 309, 261, 291, 1067, 376, 1499, 13, 288, 13491, 284, 3053, 2222, 25673, 18, 5662, 12, 4558, 620, 16, 446, 1769, 10792, 289, 5397, 469, 288, 13491, 284, 3053, 11101, 18, 5662, 12, 4558, 2 ]
public static void enumeratePointers(ObjectReference object, Enumerator e) {}
public static void enumeratePointers(ObjectReference object, Enumerator e) { }
public static void enumeratePointers(ObjectReference object, Enumerator e) {}
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4c66aa27cec27f8dd5902baec018ff86d7f49ee2/Scanning.java/buggy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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 4241, 27452, 12, 22101, 733, 16, 6057, 7385, 425, 13, 2618, 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 ]
getsAutoFlushMode();
getsFlushMode();
public void testStatefulInvocationWithExistingSession() throws Throwable { prepareThreadWithSession(); newStatefulReadInvocation(); checksSessionIsOpen(); checksSessionIsConnected(); getsFactoryFromSession(); getsAutoFlushMode(); disconnectsSession(); closesSession(); handler.invoke( invocation ); super.verify(); }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/abb75611ecbe8038586bfc5b8903fe7fb0b36a3e/SessionHandlerMockHibernateTest.java/clean/components/server/test/ome/server/utests/handlers/SessionHandlerMockHibernateTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1119, 2706, 9267, 1190, 9895, 2157, 1435, 1216, 4206, 565, 288, 3639, 2911, 3830, 1190, 2157, 5621, 7734, 15907, 2706, 1994, 9267, 5621, 3639, 4271, 2157, 2520, 3678, 5621, 3639, 4271, 2157, 2520, 8932, 5621, 3639, 5571, 1733, 1265, 2157, 5621, 3639, 5571, 8207, 2309, 5621, 3639, 9479, 87, 2157, 5621, 3639, 13445, 2157, 5621, 3639, 1838, 18, 14407, 12, 9495, 11272, 3639, 2240, 18, 8705, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1119, 2706, 9267, 1190, 9895, 2157, 1435, 1216, 4206, 565, 288, 3639, 2911, 3830, 1190, 2157, 5621, 7734, 15907, 2706, 1994, 9267, 5621, 3639, 4271, 2157, 2520, 3678, 5621, 3639, 4271, 2157, 2520, 8932, 5621, 3639, 5571, 1733, 1265, 2157, 5621, 3639, 5571, 8207, 2309, 5621, 3639, 9479, 87, 2157, 5621, 3639, 13445, 2157, 5621, 3639, 1838, 18, 14407, 12, 9495, 11272, 3639, 2240, 18, 8705, 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 ]
private void hookSingleClickAction() { viewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { // TODO Auto-generated method stub singleClickAction.run(); } }); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/d35174e94de68c613cbacb30868581cdc3f71279/DOMAST.java/clean/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMAST.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 4476, 5281, 6563, 1803, 1435, 95, 25256, 18, 1289, 6233, 5033, 2223, 12, 2704, 45, 6233, 5033, 2223, 1435, 95, 482, 6459, 10705, 5033, 12, 6233, 27553, 2575, 15329, 759, 6241, 4965, 17, 11168, 2039, 12847, 7526, 6563, 1803, 18, 2681, 5621, 9090, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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326, 22398, 316, 326, 981, 30, 3238, 6459, 4476, 5281, 6563, 1803, 1435, 95, 25256, 18, 1289, 6233, 5033, 2223, 12, 2704, 45, 6233, 5033, 2223, 1435, 95, 482, 6459, 10705, 5033, 12, 6233, 27553, 2575, 15329, 759, 6241, 4965, 17, 11168, 2039, 12847, 7526, 6563, 1803, 18, 2681, 5621, 9090, 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 ]
if (!messages.isEmpty()) {
public void checking(Validations validations) { List<Message> messages = validations.getErrors(); if (!messages.isEmpty()) { for (Message s : messages) { this.errors.add(new FixedMessage(s.getCategory(), s.getMessage(), s.getCategory())); } result.include("errors", this.errors); if (method != null) { Object instance = result.use(Results.logic()).forwardTo(typeToUse); try { method.invoke(instance, argsToUse); } catch (Exception e) { throw new ResultException(e); } } else { if(Info.isOldComponent(resource.getResource())) { info.setResult("invalid"); result.use(Results.page()).forward(); } else { result.use(Results.page()).forward(request.getRequestURI()); } } // finished just fine throw new ValidationError(messages); } }
45798 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45798/48e35f1a8203d5b36a1d418eb4414330890076f6/MessageCreatorValidator.java/buggy/vraptor-core/src/main/java/br/com/caelum/vraptor/vraptor2/MessageCreatorValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6728, 12, 1556, 1012, 20808, 13, 288, 3639, 987, 32, 1079, 34, 2743, 273, 20808, 18, 588, 4229, 5621, 10402, 364, 261, 1079, 272, 294, 2743, 13, 288, 7734, 333, 18, 4324, 18, 1289, 12, 2704, 15038, 1079, 12, 87, 18, 588, 4457, 9334, 272, 18, 24906, 9334, 272, 18, 588, 4457, 1435, 10019, 5411, 289, 5411, 563, 18, 6702, 2932, 4324, 3113, 333, 18, 4324, 1769, 5411, 309, 261, 2039, 480, 446, 13, 288, 7734, 1033, 791, 273, 563, 18, 1202, 12, 3447, 18, 28339, 1435, 2934, 11565, 774, 12, 723, 18762, 1769, 7734, 775, 288, 10792, 707, 18, 14407, 12, 1336, 16, 833, 18762, 1769, 7734, 289, 1044, 261, 503, 425, 13, 288, 10792, 604, 394, 3438, 503, 12, 73, 1769, 7734, 289, 5411, 289, 469, 288, 2398, 202, 430, 12, 966, 18, 291, 7617, 1841, 12, 3146, 18, 588, 1420, 1435, 3719, 288, 2398, 202, 202, 1376, 18, 542, 1253, 2932, 5387, 8863, 2398, 202, 202, 2088, 18, 1202, 12, 3447, 18, 2433, 1435, 2934, 11565, 5621, 2398, 202, 97, 469, 288, 1171, 202, 2088, 18, 1202, 12, 3447, 18, 2433, 1435, 2934, 11565, 12, 2293, 18, 588, 691, 3098, 10663, 2398, 202, 97, 5411, 289, 5411, 368, 6708, 2537, 11079, 5411, 604, 394, 13167, 12, 6833, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6728, 12, 1556, 1012, 20808, 13, 288, 3639, 987, 32, 1079, 34, 2743, 273, 20808, 18, 588, 4229, 5621, 10402, 364, 261, 1079, 272, 294, 2743, 13, 288, 7734, 333, 18, 4324, 18, 1289, 12, 2704, 15038, 1079, 12, 87, 18, 588, 4457, 9334, 272, 18, 24906, 9334, 272, 18, 588, 4457, 1435, 10019, 5411, 289, 5411, 563, 18, 6702, 2932, 4324, 3113, 333, 18, 4324, 1769, 5411, 309, 261, 2039, 480, 446, 13, 288, 7734, 1033, 791, 273, 563, 18, 1202, 12, 3447, 18, 28339, 1435, 2934, 11565, 774, 12, 723, 18762, 1769, 7734, 775, 288, 10792, 707, 18, 14407, 12, 1336, 16, 833, 18762, 1769, 7734, 289, 1044, 261, 503, 425, 13, 288, 10792, 2 ]
coreMock.reset();
coreMock.reset();
public void testResetsDispatcher() { mockDispatcher.clearCalls.setExpected(1); coreMock.reset(); mockDispatcher.verifyExpectations(); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/CoreMockTest.java/buggy/jmock/core/src/test/jmock/core/CoreMockTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 18900, 6681, 1435, 288, 3639, 5416, 6681, 18, 8507, 10125, 18, 542, 6861, 12, 21, 1769, 3639, 2922, 9865, 18, 6208, 5621, 3639, 5416, 6681, 18, 8705, 11988, 1012, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 18900, 6681, 1435, 288, 3639, 5416, 6681, 18, 8507, 10125, 18, 542, 6861, 12, 21, 1769, 3639, 2922, 9865, 18, 6208, 5621, 3639, 5416, 6681, 18, 8705, 11988, 1012, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IntentionHintComponent hintComponent = codeAnalyzer.getLastIntentionHint(); if (hintComponent != null) { hintComponent.updateIfNotShowingPopup(fixesToShow, intentionsToShow); } if (!HintManager.getInstance().hasShownHintsThatWillHideByOtherHint()) {
IntentionHintComponent hintComponent = codeAnalyzer.getLastIntentionHint(); if (hintComponent != null) { hintComponent.updateIfNotShowingPopup(fixesToShow, intentionsToShow); } else if (!HintManager.getInstance().hasShownHintsThatWillHideByOtherHint()) {
private void showIntentionActions() { DaemonCodeAnalyzerImpl codeAnalyzer = (DaemonCodeAnalyzerImpl)DaemonCodeAnalyzer.getInstance(myProject); if (LookupManager.getInstance(myProject).getActiveLookup() != null) return; // do not show intentions if caret is outside visible area LogicalPosition caretPos = myEditor.getCaretModel().getLogicalPosition(); Rectangle visibleArea = myEditor.getScrollingModel().getVisibleArea(); Point xy = myEditor.logicalPositionToXY(caretPos); if (!visibleArea.contains(xy)) return; final Editor injectedEditor = InjectedLanguageUtil.getEditorForInjectedLanguage(myEditor, myFile); final PsiFile injectedFile = injectedEditor instanceof EditorDelegate ? ((EditorDelegate)injectedEditor).getInjectedFile() : myFile; final PsiElement injectedElement = injectedFile.findElementAt(injectedEditor.getCaretModel().getOffset()); List<HighlightInfo.IntentionActionDescriptor> intentionsToShow = new ArrayList<HighlightInfo.IntentionActionDescriptor>(); List<HighlightInfo.IntentionActionDescriptor> fixesToShow = new ArrayList<HighlightInfo.IntentionActionDescriptor>(); int offset = myEditor.getCaretModel().getOffset(); for (IntentionAction action : myIntentionActions) { if (action instanceof IntentionActionComposite) { if (action instanceof QuickFixAction/* || action instanceof PostIntentionsQuickFixAction && showPostIntentions*/) { List<HighlightInfo.IntentionActionDescriptor> availableActions = ((IntentionActionComposite)action).getAvailableActions(myEditor, myFile, myPassIdToShowIntentionsFor); HighlightInfo info = codeAnalyzer.findHighlightByOffset(myEditor.getDocument(), offset, true); if (info == null || info.getSeverity() == HighlightSeverity.ERROR) { fixesToShow.addAll(availableActions); } else { intentionsToShow.addAll(availableActions); } } } else if (action instanceof PsiElementBaseIntentionAction && ((PsiElementBaseIntentionAction)action).isAvailable(myProject, injectedEditor, injectedElement) || action.isAvailable(myProject, injectedEditor, injectedFile)) { List<IntentionAction> enableDisableIntentionAction = new ArrayList<IntentionAction>(); enableDisableIntentionAction.add(new IntentionHintComponent.EnableDisableIntentionAction(action)); intentionsToShow.add(new HighlightInfo.IntentionActionDescriptor(action, enableDisableIntentionAction, null)); } } if (!intentionsToShow.isEmpty() || !fixesToShow.isEmpty()) { boolean showBulb = false; for (HighlightInfo.IntentionActionDescriptor action : fixesToShow) { if (IntentionManagerSettings.getInstance().isShowLightBulb(action.getAction())) { showBulb = true; break; } } if (!showBulb) { for (HighlightInfo.IntentionActionDescriptor descriptor : intentionsToShow) { final IntentionAction action = descriptor.getAction(); if (IntentionManagerSettings.getInstance().isShowLightBulb(action) && action.isAvailable(myProject, injectedEditor, injectedFile)) { showBulb = true; break; } } } if (showBulb) { //if (myIsSecondPass) { IntentionHintComponent hintComponent = codeAnalyzer.getLastIntentionHint(); if (hintComponent != null) { hintComponent.updateIfNotShowingPopup(fixesToShow, intentionsToShow); } //} if (!HintManager.getInstance().hasShownHintsThatWillHideByOtherHint()) { hintComponent = IntentionHintComponent.showIntentionHint(myProject, injectedEditor, intentionsToShow, fixesToShow, false); //if (!myIsSecondPass) { codeAnalyzer.setLastIntentionHint(hintComponent); //} } } } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/d3b3eeb3ff96ea8d79bd090ed71129f7044a9016/ShowIntentionsPass.java/clean/codeInsight/impl/com/intellij/codeInsight/daemon/impl/ShowIntentionsPass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2405, 1702, 5054, 6100, 1435, 288, 565, 13054, 1085, 12803, 2828, 981, 12803, 273, 261, 12858, 1085, 12803, 2828, 13, 12858, 1085, 12803, 18, 588, 1442, 12, 4811, 4109, 1769, 565, 309, 261, 6609, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 588, 3896, 6609, 1435, 480, 446, 13, 327, 31, 565, 368, 741, 486, 2405, 10376, 1115, 309, 21683, 353, 8220, 6021, 5091, 565, 17085, 2555, 21683, 1616, 273, 3399, 6946, 18, 588, 39, 20731, 1488, 7675, 588, 17955, 2555, 5621, 565, 13264, 6021, 5484, 273, 3399, 6946, 18, 588, 1541, 15742, 1488, 7675, 588, 6207, 5484, 5621, 565, 4686, 7668, 273, 3399, 6946, 18, 20300, 2555, 774, 8546, 12, 71, 20731, 1616, 1769, 565, 309, 16051, 8613, 5484, 18, 12298, 12, 1698, 3719, 327, 31, 565, 727, 18451, 15776, 6946, 273, 657, 6059, 3779, 1304, 18, 588, 6946, 1290, 382, 6059, 3779, 12, 4811, 6946, 16, 3399, 812, 1769, 565, 727, 453, 7722, 812, 15776, 812, 273, 15776, 6946, 1276, 18451, 9586, 692, 14015, 6946, 9586, 13, 267, 6059, 6946, 2934, 588, 382, 6059, 812, 1435, 294, 3399, 812, 31, 565, 727, 453, 7722, 1046, 15776, 1046, 273, 15776, 812, 18, 4720, 1046, 861, 12, 267, 6059, 6946, 18, 588, 39, 20731, 1488, 7675, 588, 2335, 10663, 565, 987, 32, 16205, 966, 18, 1702, 5054, 1803, 3187, 34, 10376, 1115, 774, 5706, 273, 394, 2407, 32, 16205, 966, 18, 1702, 5054, 1803, 3187, 34, 5621, 565, 987, 32, 16205, 966, 18, 1702, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2405, 1702, 5054, 6100, 1435, 288, 565, 13054, 1085, 12803, 2828, 981, 12803, 273, 261, 12858, 1085, 12803, 2828, 13, 12858, 1085, 12803, 18, 588, 1442, 12, 4811, 4109, 1769, 565, 309, 261, 6609, 1318, 18, 588, 1442, 12, 4811, 4109, 2934, 588, 3896, 6609, 1435, 480, 446, 13, 327, 31, 565, 368, 741, 486, 2405, 10376, 1115, 309, 21683, 353, 8220, 6021, 5091, 565, 17085, 2555, 21683, 1616, 273, 3399, 6946, 18, 588, 39, 20731, 1488, 7675, 588, 17955, 2555, 5621, 565, 13264, 6021, 5484, 273, 3399, 6946, 18, 588, 1541, 15742, 1488, 7675, 588, 6207, 5484, 5621, 565, 4686, 7668, 273, 3399, 6946, 18, 20300, 2555, 774, 8546, 12, 71, 20731, 1616, 1769, 565, 2 ]
if (getNextRow(false)) {
if (getNextRow()) {
Object readText(String tabName, String colName, TextPtr textPtr, int offset, int length) throws SQLException { if (colName == null || colName.length() == 0 || tabName == null || tabName.length() == 0) { throw new SQLException(Messages.get("error.tdscore.badtext"), "HY000"); } if (textPtr == null) { throw new SQLException( Messages.get("error.tdscore.notextptr", tabName + "." + colName), "HY000"); } Object results = null; StringBuffer sql = new StringBuffer(256); sql.append("set textsize "); sql.append((length + 1) * 2); sql.append("\r\nreadtext "); sql.append(tabName); sql.append('.'); sql.append(colName); sql.append(" 0x"); sql.append(Support.toHex(textPtr.ptr)); sql.append(' '); sql.append(offset); sql.append(' '); sql.append(length); sql.append("\r\nset textsize 1"); if (Logger.isActive()) { Logger.println(sql.toString()); } executeSQL(sql.toString(), null, null, false, 0, 0); readTextMode = true; if (getMoreResults()) { if (getNextRow(false)) { // FIXME - this will not be valid since a Blob/Clob is returned // instead of byte[]/String results = rowData[0].getValue(); } } clearResponseQueue(); messages.checkErrors(); return results; }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/4035a8829d47a3e45f5ed691809ef8e5b74bbeee/TdsCore.java/clean/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 855, 1528, 12, 780, 3246, 461, 16, 514, 18655, 16, 3867, 5263, 977, 5263, 16, 509, 1384, 16, 509, 769, 13, 3639, 1216, 6483, 288, 3639, 309, 261, 1293, 461, 422, 446, 747, 18655, 18, 2469, 1435, 422, 374, 5411, 747, 3246, 461, 422, 446, 747, 3246, 461, 18, 2469, 1435, 422, 374, 13, 288, 5411, 604, 394, 6483, 12, 5058, 18, 588, 2932, 1636, 18, 4465, 6355, 18, 8759, 955, 6, 3631, 315, 44, 61, 3784, 8863, 3639, 289, 3639, 309, 261, 955, 5263, 422, 446, 13, 288, 5411, 604, 394, 6483, 12, 7734, 4838, 18, 588, 2932, 1636, 18, 4465, 6355, 18, 902, 408, 6723, 3113, 3246, 461, 397, 4585, 397, 18655, 3631, 19694, 315, 44, 61, 3784, 8863, 3639, 289, 3639, 1033, 1686, 273, 446, 31, 3639, 6674, 1847, 273, 394, 6674, 12, 5034, 1769, 3639, 1847, 18, 6923, 2932, 542, 977, 1467, 315, 1769, 3639, 1847, 18, 6923, 12443, 2469, 397, 404, 13, 380, 576, 1769, 3639, 1847, 18, 6923, 31458, 86, 64, 82, 896, 955, 315, 1769, 3639, 1847, 18, 6923, 12, 7032, 461, 1769, 3639, 1847, 18, 6923, 2668, 1093, 1769, 3639, 1847, 18, 6923, 12, 1293, 461, 1769, 3639, 1847, 18, 6923, 2932, 374, 92, 8863, 3639, 1847, 18, 6923, 12, 6289, 18, 869, 7037, 12, 955, 5263, 18, 6723, 10019, 3639, 1847, 18, 6923, 2668, 28005, 3639, 1847, 18, 6923, 12, 3348, 1769, 3639, 1847, 18, 6923, 2668, 28005, 3639, 1847, 18, 6923, 12, 2469, 1769, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 855, 1528, 12, 780, 3246, 461, 16, 514, 18655, 16, 3867, 5263, 977, 5263, 16, 509, 1384, 16, 509, 769, 13, 3639, 1216, 6483, 288, 3639, 309, 261, 1293, 461, 422, 446, 747, 18655, 18, 2469, 1435, 422, 374, 5411, 747, 3246, 461, 422, 446, 747, 3246, 461, 18, 2469, 1435, 422, 374, 13, 288, 5411, 604, 394, 6483, 12, 5058, 18, 588, 2932, 1636, 18, 4465, 6355, 18, 8759, 955, 6, 3631, 315, 44, 61, 3784, 8863, 3639, 289, 3639, 309, 261, 955, 5263, 422, 446, 13, 288, 5411, 604, 394, 6483, 12, 7734, 4838, 18, 588, 2932, 1636, 18, 4465, 6355, 18, 902, 408, 6723, 3113, 3246, 461, 397, 4585, 397, 18655, 3631, 19694, 315, 2 ]
return RubyFloat.newFloat(getRuby(), getDoubleValue()).ceil(); }
return RubyFloat.newFloat(getRuby(), getDoubleValue()).ceil(); }
public RubyInteger ceil() { return RubyFloat.newFloat(getRuby(), getDoubleValue()).ceil(); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/e3f72aab20ef1fc8576d8fa6823d9722ed33c55c/RubyNumeric.java/buggy/org/jruby/RubyNumeric.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 4522, 8416, 1435, 288, 3639, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 2934, 311, 330, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 4522, 8416, 1435, 288, 3639, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 2934, 311, 330, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
addProductline(pl);
public void dummyProds() { Productline pl = new Productline("kobold2", "kobold2", new RepositoryDescriptor( RepositoryDescriptor.CVS_REPOSITORY, "ssh", "cvs.berlios.de", "/cvsroot/kobold/", "kobold2")); kobold.server.data.User vanto = UserManager.getInstance().getUser("vanto"); pl.addMaintainer(new User(vanto.getUserName(), vanto.getFullName())); Product product = new Product(pl, "hallo", "hallo", new RepositoryDescriptor( RepositoryDescriptor.CVS_REPOSITORY, "ssh", "cvs.berlios.de", "/cvsroot/kobold/", "kobold2/hallo")); kobold.server.data.User garbeam = UserManager.getInstance().getUser("garbeam"); product.addMaintainer(new User(garbeam.getUserName(), garbeam.getFullName())); pl.addProduct(product); Component comp = new Component(pl, "lala", "lala", new RepositoryDescriptor( RepositoryDescriptor.CVS_REPOSITORY, "ssh", "cvs.berlios.de", "/cvsroot/kobold/", "kobold2/hallo")); addProductline(new Productline("kobold3", "kobold3", new RepositoryDescriptor( RepositoryDescriptor.CVS_REPOSITORY, "pserver", "cvs.berlios.de", "/cvsroot/kobold/", "kobold3"))); addProductline(new Productline("kobold4", "kobold4", new RepositoryDescriptor( RepositoryDescriptor.CVS_REPOSITORY, "ssh", "cvs.berlios.de", "/cvsroot/kobold/", "kobold4"))); }
9773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9773/10f53af3cda026a1a312ae9bf7001a26dc3d9a26/ProductlineManager.java/buggy/kobold/src/kobold.server/src/kobold/server/controller/ProductlineManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1289, 4133, 1369, 12, 412, 1769, 918, 1289, 4133, 1369, 12, 412, 1769, 9609, 626, 2377, 1435, 1289, 4133, 1369, 12, 412, 1769, 288, 1082, 202, 1289, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 8094, 1369, 1289, 4133, 1369, 12, 412, 1769, 886, 1289, 4133, 1369, 12, 412, 1769, 273, 1289, 4133, 1369, 12, 412, 1769, 394, 1289, 4133, 1369, 12, 412, 1769, 8094, 1369, 2932, 79, 947, 1673, 22, 3113, 1289, 4133, 1369, 12, 412, 1769, 315, 79, 947, 1673, 22, 3113, 202, 202, 1289, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 1875, 202, 1289, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 394, 1289, 4133, 1369, 12, 412, 1769, 6281, 3187, 12, 9506, 202, 1289, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 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, 1289, 4133, 1369, 12, 412, 1769, 918, 1289, 4133, 1369, 12, 412, 1769, 9609, 626, 2377, 1435, 1289, 4133, 1369, 12, 412, 1769, 288, 1082, 202, 1289, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 8094, 1369, 1289, 4133, 1369, 12, 412, 1769, 886, 1289, 4133, 1369, 12, 412, 1769, 273, 1289, 4133, 1369, 12, 412, 1769, 394, 1289, 4133, 1369, 12, 412, 1769, 8094, 1369, 2932, 79, 947, 1673, 22, 3113, 1289, 4133, 1369, 12, 412, 1769, 315, 79, 947, 1673, 22, 3113, 202, 202, 1289, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 12, 412, 1769, 527, 4133, 1369, 2 ]
hiddenMode = null;
public void release() { height = null; width = null; visible = null; hiddenMode = null; mouseOutListeners = null; mouseOverListeners = null; helpMessage = null; helpURL = null; toolTipText = null; y = null; x = null; lookId = null; marginRight = null; marginLeft = null; marginTop = null; marginBottom = null; foregroundColor = null; backgroundColor = null; styleClass = null; userEventListeners = null; propertyChangeListeners = null; initListeners = null; globalOnly = null; showSummary = null; margins = null; showDetail = null; super.release(); }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/AbstractMessagesTag.java/buggy/org.rcfaces.core/src/org/rcfaces/core/internal/taglib/AbstractMessagesTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3992, 1435, 288, 202, 202, 4210, 273, 446, 31, 202, 202, 2819, 273, 446, 31, 202, 202, 8613, 273, 446, 31, 202, 202, 6345, 2309, 273, 446, 31, 202, 202, 11697, 1182, 5583, 273, 446, 31, 202, 202, 11697, 4851, 5583, 273, 446, 31, 202, 202, 5201, 1079, 273, 446, 31, 202, 202, 5201, 1785, 273, 446, 31, 202, 202, 6738, 14189, 1528, 273, 446, 31, 202, 202, 93, 273, 446, 31, 202, 202, 92, 273, 446, 31, 202, 202, 7330, 548, 273, 446, 31, 202, 202, 10107, 4726, 273, 446, 31, 202, 202, 10107, 3910, 273, 446, 31, 202, 202, 10107, 3401, 273, 446, 31, 202, 202, 10107, 10393, 273, 446, 31, 202, 202, 1405, 2915, 2957, 273, 446, 31, 202, 202, 9342, 2957, 273, 446, 31, 202, 202, 4060, 797, 273, 446, 31, 202, 202, 1355, 30275, 273, 446, 31, 202, 202, 4468, 3043, 5583, 273, 446, 31, 202, 202, 2738, 5583, 273, 446, 31, 202, 202, 6347, 3386, 273, 446, 31, 202, 202, 4500, 4733, 273, 446, 31, 202, 202, 10107, 87, 273, 446, 31, 202, 202, 4500, 6109, 273, 446, 31, 202, 202, 9565, 18, 9340, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3992, 1435, 288, 202, 202, 4210, 273, 446, 31, 202, 202, 2819, 273, 446, 31, 202, 202, 8613, 273, 446, 31, 202, 202, 6345, 2309, 273, 446, 31, 202, 202, 11697, 1182, 5583, 273, 446, 31, 202, 202, 11697, 4851, 5583, 273, 446, 31, 202, 202, 5201, 1079, 273, 446, 31, 202, 202, 5201, 1785, 273, 446, 31, 202, 202, 6738, 14189, 1528, 273, 446, 31, 202, 202, 93, 273, 446, 31, 202, 202, 92, 273, 446, 31, 202, 202, 7330, 548, 273, 446, 31, 202, 202, 10107, 4726, 273, 446, 31, 202, 202, 10107, 3910, 273, 446, 31, 202, 202, 10107, 3401, 273, 446, 31, 202, 202, 10107, 10393, 273, 446, 31, 202, 202, 2 ]
{ view.getGRPane().removeAll(); GraphicsRepresentation gr = view.getGRepresentation(); gr = null; int mini = (int) eventManager.getGlobalChannelWindowStart(w); int maxi = (int) eventManager.getGlobalChannelWindowEnd(w); int s = (int) eventManager.getChannelWindowStart(w); int e = (int) eventManager.getChannelWindowEnd(w); QuantumDef qDef = getQuantumDef(); gr = new GraphicsRepresentation(this, qDef.family, qDef.curveCoefficient, qDef.cdStart, qDef.cdEnd, mini, maxi); gr.setReverseIntensity(view.getCodomainPane().getRI().isSelected()); if (qDef.family == QuantumFactory.EXPONENTIAL) gr.setDefaultExponential(s, e); else gr.setDefaultLinear(s, e); view.setGRepresentation(gr); view.buildGRPane(); eventManager.setMappingPane(); }
{ view.getGRPane().removeAll(); GraphicsRepresentation gr = view.getGRepresentation(); gr = null; int mini = (int) eventManager.getGlobalChannelWindowStart(w); int maxi = (int) eventManager.getGlobalChannelWindowEnd(w); int s = (int) eventManager.getChannelWindowStart(w); int e = (int) eventManager.getChannelWindowEnd(w); QuantumDef qDef = getQuantumDef(); int family = eventManager.getChannelFamily(w); double cc = eventManager.getChannelCurveCoefficient(w); double[] cbStats = eventManager.getChannelBindingStats(w); gr = new GraphicsRepresentation(this, family, cc, qDef.cdStart, qDef.cdEnd, mini, maxi, cbStats); gr.setReverseIntensity(view.getCodomainPane().getRI().isSelected()); if (family == QuantumFactory.EXPONENTIAL) gr.setDefaultExponential(s, e); else gr.setDefaultLinear(s, e); view.setGRepresentation(gr); view.buildGRPane(); DomainPaneManager dpm = view.getDomainPane().getManager(); dpm.resetDefaultGamma(cc, family); dpm.resetDefaultComboBox(view.getDomainPane().getTransformations(), family); eventManager.setMappingPane(); }
void setWavelength(int w) { view.getGRPane().removeAll(); GraphicsRepresentation gr = view.getGRepresentation(); gr = null; int mini = (int) eventManager.getGlobalChannelWindowStart(w); int maxi = (int) eventManager.getGlobalChannelWindowEnd(w); int s = (int) eventManager.getChannelWindowStart(w); int e = (int) eventManager.getChannelWindowEnd(w); QuantumDef qDef = getQuantumDef(); gr = new GraphicsRepresentation(this, qDef.family, qDef.curveCoefficient, qDef.cdStart, qDef.cdEnd, mini, maxi); gr.setReverseIntensity(view.getCodomainPane().getRI().isSelected()); if (qDef.family == QuantumFactory.EXPONENTIAL) gr.setDefaultExponential(s, e); else gr.setDefaultLinear(s, e); view.setGRepresentation(gr); view.buildGRPane(); eventManager.setMappingPane(); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/QuantumPaneManager.java/clean/SRC/org/openmicroscopy/shoola/agents/rnd/pane/QuantumPaneManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 444, 59, 16775, 12, 474, 341, 13, 202, 95, 202, 202, 1945, 18, 588, 6997, 8485, 7675, 4479, 1595, 5621, 202, 202, 17558, 13742, 3821, 273, 1476, 18, 588, 43, 13742, 5621, 202, 202, 3197, 273, 446, 31, 202, 202, 474, 21959, 273, 261, 474, 13, 23040, 18, 588, 5160, 2909, 3829, 1685, 12, 91, 1769, 202, 202, 474, 943, 77, 273, 261, 474, 13, 23040, 18, 588, 5160, 2909, 3829, 1638, 12, 91, 1769, 202, 202, 474, 272, 273, 1875, 202, 12, 474, 13, 23040, 18, 588, 2909, 3829, 1685, 12, 91, 1769, 202, 202, 474, 425, 273, 1875, 202, 12, 474, 13, 23040, 18, 588, 2909, 3829, 1638, 12, 91, 1769, 202, 202, 19471, 379, 3262, 1043, 3262, 273, 336, 19471, 379, 3262, 5621, 202, 202, 3197, 273, 394, 16830, 13742, 12, 2211, 16, 1043, 3262, 18, 9309, 16, 4697, 202, 85, 3262, 18, 16683, 4249, 25403, 16, 1043, 3262, 18, 4315, 1685, 16, 1043, 3262, 18, 4315, 1638, 16, 21959, 16, 943, 77, 1769, 202, 202, 3197, 18, 542, 12650, 27786, 12, 1945, 18, 588, 29633, 1530, 8485, 7675, 588, 2259, 7675, 291, 7416, 10663, 202, 202, 430, 261, 85, 3262, 18, 9309, 422, 4783, 970, 379, 1733, 18, 16109, 15624, 6365, 13, 1082, 202, 3197, 18, 542, 1868, 17972, 649, 12, 87, 16, 425, 1769, 202, 202, 12107, 3821, 18, 542, 1868, 15982, 12, 87, 16, 425, 1769, 202, 202, 1945, 18, 542, 43, 13742, 12, 3197, 1769, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 444, 59, 16775, 12, 474, 341, 13, 202, 95, 202, 202, 1945, 18, 588, 6997, 8485, 7675, 4479, 1595, 5621, 202, 202, 17558, 13742, 3821, 273, 1476, 18, 588, 43, 13742, 5621, 202, 202, 3197, 273, 446, 31, 202, 202, 474, 21959, 273, 261, 474, 13, 23040, 18, 588, 5160, 2909, 3829, 1685, 12, 91, 1769, 202, 202, 474, 943, 77, 273, 261, 474, 13, 23040, 18, 588, 5160, 2909, 3829, 1638, 12, 91, 1769, 202, 202, 474, 272, 273, 1875, 202, 12, 474, 13, 23040, 18, 588, 2909, 3829, 1685, 12, 91, 1769, 202, 202, 474, 425, 273, 1875, 202, 12, 474, 13, 23040, 18, 588, 2909, 3829, 1638, 12, 91, 1769, 202, 202, 19471, 2 ]
public abstract Object evaluate(Node context, int pos, int len);
public Object evaluate(Object item, QName returnType) throws XPathExpressionException { Object ret = null; Node context = null; if (item instanceof Node) { context = (Node) item; ret = evaluate(context, 1, 1); if (XPathConstants.STRING == returnType && !(ret instanceof String)) { ret = _string(context, ret); } else if (XPathConstants.NUMBER == returnType && !(ret instanceof Double)) { ret = new Double(_number(context, ret)); } else if (XPathConstants.BOOLEAN == returnType && !(ret instanceof Boolean)) { ret = _boolean(context, ret) ? Boolean.TRUE : Boolean.FALSE; } else if (XPathConstants.NODE == returnType) { if (ret instanceof Collection) { Collection ns = (Collection) ret; switch (ns.size()) { case 0: ret = null; break; case 1: ret = (Node) ns.iterator().next(); break; default: throw new XPathExpressionException("multiple nodes in node-set"); } } else if (ret != null) { throw new XPathExpressionException("return value is not a node-set"); } } else if (XPathConstants.NODESET == returnType) { if (ret != null && !(ret instanceof Collection)) { throw new XPathExpressionException("return value is not a node-set"); } } } return ret; }
public abstract Object evaluate(Node context, int pos, int len);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Expr.java/clean/core/src/classpath/gnu/gnu/xml/xpath/Expr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8770, 1033, 5956, 12, 907, 819, 16, 509, 949, 16, 509, 562, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8770, 1033, 5956, 12, 907, 819, 16, 509, 949, 16, 509, 562, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ((0xfffffffbffffdbffL & l) != 0L) jjCheckNAddTwoStates(8, 9);
if ((0x3ff200000000000L & l) == 0L) break; if (kind > 54) kind = 54; jjstateSet[jjnewStateCnt++] = 8;
private final int jjMoveNfa_2(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 14; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 13; else if (curChar == 34) jjCheckNAddTwoStates(8, 9); else if (curChar == 35) jjstateSet[jjnewStateCnt++] = 5; else if (curChar == 41) { if (kind > 5) kind = 5; jjCheckNAddTwoStates(1, 2); } break; case 1: if (curChar != 32) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(1, 2); break; case 2: if (curChar == 10 && kind > 5) kind = 5; break; case 3: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 4; break; case 4: if ((0xfffffff7ffffffffL & l) != 0L && kind > 9) kind = 9; break; case 5: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 3; break; case 6: if (curChar == 35) jjstateSet[jjnewStateCnt++] = 5; break; case 7: if (curChar == 34) jjCheckNAddTwoStates(8, 9); break; case 8: if ((0xfffffffbffffdbffL & l) != 0L) jjCheckNAddTwoStates(8, 9); break; case 9: if (curChar == 34 && kind > 20) kind = 20; break; case 11: if ((0x3ff200000000000L & l) == 0L) break; if (kind > 53) kind = 53; jjstateSet[jjnewStateCnt++] = 11; break; case 12: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 13; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 53) kind = 53; jjCheckNAdd(11); break; case 4: if (kind > 9) kind = 9; break; case 8: jjAddStates(0, 1); break; case 11: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 53) kind = 53; jjCheckNAdd(11); break; case 13: if ((0x7fffffe07fffffeL & l) != 0L && kind > 54) kind = 54; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 4: if ((jjbitVec0[i2] & l2) != 0L && kind > 9) kind = 9; break; case 8: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(0, 1); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 14 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/b827d0bf89e728dc8324fc63c2ad3662c9d19cd3/ParserTokenManager.java/buggy/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 22, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 5045, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 374, 30, 5375, 309, 261, 1397, 2156, 422, 17077, 13, 5397, 10684, 2019, 694, 63, 78, 78, 2704, 1119, 11750, 9904, 65, 273, 5958, 31, 5375, 469, 309, 261, 1397, 2156, 422, 13438, 13, 5397, 10684, 1564, 50, 986, 11710, 7629, 12, 28, 16, 2468, 1769, 5375, 469, 309, 261, 1397, 2156, 422, 13191, 13, 5397, 10684, 2019, 694, 63, 78, 78, 2704, 1119, 11750, 9904, 65, 273, 1381, 31, 5375, 469, 309, 261, 1397, 2156, 422, 20170, 13, 5375, 288, 5397, 309, 261, 9224, 405, 1381, 13, 13491, 3846, 273, 1381, 31, 5397, 10684, 1564, 50, 986, 11710, 7629, 12, 21, 16, 576, 1769, 5375, 289, 5375, 898, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 22, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 5045, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 2 ]
RolapDimension[] dimensions = (RolapDimension[]) cube.getDimensions(); currentMembers = new RolapMember[dimensions.length];
Dimension[] dimensions = cube.getDimensions(); currentMembers = new Member[dimensions.length];
RolapEvaluator(RolapCube cube, RolapConnection connection) { this.cube = cube; this.connection = connection; SchemaReader scr = connection.getSchemaReader(); RolapDimension[] dimensions = (RolapDimension[]) cube.getDimensions(); currentMembers = new RolapMember[dimensions.length]; for (int i = 0; i < dimensions.length; i++) { final RolapDimension dimension = dimensions[i]; final int ordinal = dimension.getOrdinal(cube); final Hierarchy hier = dimension.getHierarchy(); currentMembers[ordinal] = (RolapMember) scr.getHierarchyDefaultMember(hier); } this.parent = null; this.depth = 0; this.cellReader = null; // we expect client to set it this.expResultCache = new HashMap(); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/0cc18052c959f8014f772086b193e28d7a6dd66a/RolapEvaluator.java/buggy/src/main/mondrian/rolap/RolapEvaluator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 11714, 438, 15876, 12, 4984, 438, 39, 4895, 18324, 16, 11714, 438, 1952, 1459, 13, 565, 288, 3639, 333, 18, 21186, 273, 18324, 31, 3639, 333, 18, 4071, 273, 1459, 31, 3639, 4611, 2514, 11991, 273, 1459, 18, 588, 3078, 2514, 5621, 3639, 11714, 438, 8611, 8526, 5769, 273, 261, 4984, 438, 8611, 63, 5717, 18324, 18, 588, 10796, 5621, 3639, 783, 6918, 273, 394, 11714, 438, 4419, 63, 14797, 18, 2469, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5769, 18, 2469, 31, 277, 27245, 288, 5411, 727, 11714, 438, 8611, 4968, 273, 5769, 63, 77, 15533, 5411, 727, 509, 12675, 273, 4968, 18, 588, 22830, 12, 21186, 1769, 5411, 727, 670, 6000, 366, 2453, 273, 4968, 18, 588, 12074, 5621, 5411, 783, 6918, 63, 517, 1490, 65, 273, 261, 4984, 438, 4419, 13, 11991, 18, 588, 12074, 1868, 4419, 12, 76, 2453, 1769, 3639, 289, 3639, 333, 18, 2938, 273, 446, 31, 3639, 333, 18, 5979, 273, 374, 31, 3639, 333, 18, 3855, 2514, 273, 446, 31, 368, 732, 4489, 1004, 358, 444, 518, 3639, 333, 18, 2749, 1253, 1649, 273, 394, 4317, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 11714, 438, 15876, 12, 4984, 438, 39, 4895, 18324, 16, 11714, 438, 1952, 1459, 13, 565, 288, 3639, 333, 18, 21186, 273, 18324, 31, 3639, 333, 18, 4071, 273, 1459, 31, 3639, 4611, 2514, 11991, 273, 1459, 18, 588, 3078, 2514, 5621, 3639, 11714, 438, 8611, 8526, 5769, 273, 261, 4984, 438, 8611, 63, 5717, 18324, 18, 588, 10796, 5621, 3639, 783, 6918, 273, 394, 11714, 438, 4419, 63, 14797, 18, 2469, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5769, 18, 2469, 31, 277, 27245, 288, 5411, 727, 11714, 438, 8611, 4968, 273, 5769, 63, 77, 15533, 5411, 727, 509, 12675, 273, 4968, 18, 588, 22830, 12, 21186, 1769, 5411, 727, 670, 6000, 366, 2 ]
element.setCvsroot(null);
element.setCvsRoot(null);
public void testHistoryCommandNullCVSROOT() { Date lastBuildTime = new Date(); Date currTime = new Date(); CVSElement element = new CVSElement(); element.setCvsroot(null); element.setLocalWorkingCopy("."); String[] expectedCommand = new String[] { "cvs", "log", "-N", "-d", CVSElement.formatCVSDate(lastBuildTime) + "<" + CVSElement.formatCVSDate(currTime), "."}; String[] actualCommand = element.buildHistoryCommand(lastBuildTime, currTime).getCommandline(); assertEquals("Mismatched lengths!", expectedCommand.length, actualCommand.length); for (int i = 0; i < expectedCommand.length; i++) { assertEquals(expectedCommand[i], actualCommand[i]); } }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/bff7af241e917e81ae7e0f392341b4aa745002ec/CVSElementTest.java/buggy/main/test/net/sourceforge/cruisecontrol/CVSElementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5623, 2189, 2041, 39, 14640, 9185, 1435, 288, 3639, 2167, 1142, 3116, 950, 273, 394, 2167, 5621, 3639, 2167, 4306, 950, 273, 394, 2167, 5621, 3639, 385, 14640, 1046, 930, 273, 394, 385, 14640, 1046, 5621, 3639, 930, 18, 542, 39, 6904, 2375, 12, 2011, 1769, 3639, 930, 18, 542, 2042, 14836, 2951, 2932, 1199, 1769, 3639, 514, 8526, 2665, 2189, 273, 394, 514, 8526, 288, 315, 71, 6904, 3113, 315, 1330, 3113, 1850, 3701, 50, 3113, 3701, 72, 3113, 385, 14640, 1046, 18, 2139, 39, 14640, 1626, 12, 2722, 3116, 950, 13, 397, 18165, 1850, 397, 385, 14640, 1046, 18, 2139, 39, 14640, 1626, 12, 17016, 950, 3631, 4585, 20451, 7734, 514, 8526, 3214, 2189, 273, 1850, 930, 18, 3510, 5623, 2189, 12, 2722, 3116, 950, 16, 4306, 950, 2934, 588, 2189, 1369, 5621, 3639, 1815, 8867, 2932, 11729, 11073, 10917, 5, 3113, 2665, 2189, 18, 2469, 16, 1850, 3214, 2189, 18, 2469, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2665, 2189, 18, 2469, 31, 277, 27245, 288, 5411, 1815, 8867, 12, 3825, 2189, 63, 77, 6487, 3214, 2189, 63, 77, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5623, 2189, 2041, 39, 14640, 9185, 1435, 288, 3639, 2167, 1142, 3116, 950, 273, 394, 2167, 5621, 3639, 2167, 4306, 950, 273, 394, 2167, 5621, 3639, 385, 14640, 1046, 930, 273, 394, 385, 14640, 1046, 5621, 3639, 930, 18, 542, 39, 6904, 2375, 12, 2011, 1769, 3639, 930, 18, 542, 2042, 14836, 2951, 2932, 1199, 1769, 3639, 514, 8526, 2665, 2189, 273, 394, 514, 8526, 288, 315, 71, 6904, 3113, 315, 1330, 3113, 1850, 3701, 50, 3113, 3701, 72, 3113, 385, 14640, 1046, 18, 2139, 39, 14640, 1626, 12, 2722, 3116, 950, 13, 397, 18165, 1850, 397, 385, 14640, 1046, 18, 2139, 39, 14640, 1626, 12, 17016, 950, 3631, 4585, 20451, 7734, 514, 8526, 3214, 2 ]
int index = parameterIdentifiers.indexOf(t.image); if (index == -1 ) { if (throwExceptionOnBadPreprocessorSyntax) throw new ScannerException( BAD_PP + contextStack.getCurrentContext().getOffset()); return; }
protected void poundDefine(int beginning) throws ScannerException, Parser.EndOfFile { skipOverWhitespace(); // definition String key = getNextIdentifier(); int offset = contextStack.getCurrentContext().getOffset() - key.length() - contextStack.getCurrentContext().undoStackSize(); if (!quickScan) { String checkForRedefinition = (String) definitions.get(key); if (checkForRedefinition != null) { throw new ScannerException( "Preprocessor symbol " + key + " has already been defined to " + checkForRedefinition + " cannot redefined."); } } // get the next character // the C++ standard says that macros must not put // whitespace between the end of the definition // identifier and the opening parenthesis int c = getChar(); if (c == '(') { StringBuffer buffer = new StringBuffer(); c = getChar(); while (c != ')') { buffer.append((char) c); c = getChar(); } String parameters = buffer.toString(); // replace StringTokenizer later -- not performant StringTokenizer tokenizer = new StringTokenizer(parameters, ","); ArrayList parameterIdentifiers = new ArrayList(tokenizer.countTokens()); while (tokenizer.hasMoreTokens()) { parameterIdentifiers.add(tokenizer.nextToken().trim()); } skipOverWhitespace(); ArrayList macroReplacementTokens = new ArrayList(); String replacementString = getRestOfPreprocessorLine(); Scanner helperScanner = new Scanner(); helperScanner.initialize( new StringReader(replacementString), null); helperScanner.setTokenizingMacroReplacementList( true ); Token t = helperScanner.nextToken(false); try { while (true) { //each # preprocessing token in the replacement list shall be followed //by a parameter as the next reprocessing token in the list if( t.type == tPOUND ){ macroReplacementTokens.add( t ); t = helperScanner.nextToken(false); int index = parameterIdentifiers.indexOf(t.image); if (index == -1 ) { //not found if (throwExceptionOnBadPreprocessorSyntax) throw new ScannerException( BAD_PP + contextStack.getCurrentContext().getOffset()); return; } } macroReplacementTokens.add(t); t = helperScanner.nextToken(false); } } catch (Parser.EndOfFile e) { // Good } IMacroDescriptor descriptor = new MacroDescriptor(); descriptor.initialize( key, parameterIdentifiers, macroReplacementTokens, key + "(" + parameters + ")"); addDefinition(key, descriptor); } else if ((c == ' ') || (c == '\t') || (c == '\n') || (c == '\r')) { // this is a simple definition skipOverWhitespace(); // get what we are to map the name to and add it to the definitions list String value = getRestOfPreprocessorLine(); addDefinition( key, value ); } else if (c == '/') { // this could be a comment c = getChar(); if (c == '/') // one line comment { skipOverTextUntilNewline(); addDefinition(key, ""); } else if (c == '*') // multi-line comment { if (skipOverMultilineComment()) { // we have gone over a newline // therefore, this symbol was defined to an empty string addDefinition(key, ""); } else { String value = getRestOfPreprocessorLine(); addDefinition(key, value); } } else { // this is not a comment // it is a bad statement if (throwExceptionOnBadPreprocessorSyntax) throw new ScannerException( BAD_PP + contextStack.getCurrentContext().getOffset()); } } else { System.out.println("Unexpected character " + ((char) c)); if (throwExceptionOnBadPreprocessorSyntax) throw new ScannerException(BAD_PP + contextStack.getCurrentContext().getOffset()); } // call the callback accordingly if( callback != null ) callback.macro( key, offset, beginning, contextStack.getCurrentContext().getOffset() ); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/452e82cb3d7129bd42a54ef8c9f7124c20ccbfbb/Scanner.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Scanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 293, 772, 11644, 12, 474, 8435, 13, 1216, 19074, 503, 16, 6783, 18, 23358, 812, 288, 202, 202, 7457, 4851, 9431, 5621, 202, 202, 759, 2379, 3196, 202, 780, 498, 273, 6927, 3004, 5621, 202, 202, 474, 1384, 273, 819, 2624, 18, 588, 3935, 1042, 7675, 588, 2335, 1435, 300, 498, 18, 2469, 1435, 300, 819, 2624, 18, 588, 3935, 1042, 7675, 31226, 2624, 1225, 5621, 202, 202, 430, 16051, 19525, 7972, 13, 288, 1082, 202, 780, 13855, 426, 6907, 273, 261, 780, 13, 6377, 18, 588, 12, 856, 1769, 1082, 202, 430, 261, 1893, 1290, 426, 6907, 480, 446, 13, 288, 9506, 202, 12849, 394, 19074, 503, 12, 6862, 202, 6, 1386, 8700, 3273, 315, 25083, 202, 15, 498, 25083, 202, 15, 315, 711, 1818, 2118, 2553, 358, 315, 25083, 202, 15, 13855, 426, 6907, 25083, 202, 15, 315, 2780, 283, 2178, 1199, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 336, 326, 1024, 3351, 202, 202, 759, 326, 385, 9904, 4529, 20185, 716, 24302, 1297, 486, 1378, 202, 202, 759, 7983, 3086, 326, 679, 434, 326, 2379, 3196, 202, 759, 2756, 471, 326, 10890, 22311, 202, 202, 474, 276, 273, 23577, 5621, 202, 202, 430, 261, 71, 422, 7321, 13, 288, 1082, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 1082, 202, 71, 273, 23577, 5621, 1082, 202, 17523, 261, 71, 480, 5777, 13, 288, 9506, 202, 4106, 18, 6923, 12443, 3001, 13, 276, 1769, 9506, 202, 71, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 293, 772, 11644, 12, 474, 8435, 13, 1216, 19074, 503, 16, 6783, 18, 23358, 812, 288, 202, 202, 7457, 4851, 9431, 5621, 202, 202, 759, 2379, 3196, 202, 780, 498, 273, 6927, 3004, 5621, 202, 202, 474, 1384, 273, 819, 2624, 18, 588, 3935, 1042, 7675, 588, 2335, 1435, 300, 498, 18, 2469, 1435, 300, 819, 2624, 18, 588, 3935, 1042, 7675, 31226, 2624, 1225, 5621, 202, 202, 430, 16051, 19525, 7972, 13, 288, 1082, 202, 780, 13855, 426, 6907, 273, 261, 780, 13, 6377, 18, 588, 12, 856, 1769, 1082, 202, 430, 261, 1893, 1290, 426, 6907, 480, 446, 13, 288, 9506, 202, 12849, 394, 19074, 503, 12, 6862, 202, 6, 1386, 8700, 3273, 2 ]
endExplanationString = "(BA) Game courtesyaborted by Black";
endExplanationString = "(BA) Game courtesyaborted by "+loser+"";
protected String getEndExplanationString(int status, int mode){ String endExplanationString = "(?) No result [specific reason unknown]"; switch (status){ case 0: switch (mode){ case 0: endExplanationString = "(Res) Black resigns"; break; case 1: endExplanationString = "(Mat) Black checkmated"; break; case 2: endExplanationString = "(Fla) Black forfeits on time."; break; case 3: endExplanationString = "(Adj) White declared the winner by adjudication"; break; case 4: endExplanationString = "(BQ) Black disconnected and forfeits"; break; case 5: endExplanationString = "(BQ) Black got disconnected and forfeits"; break; case 6: endExplanationString = "(BQ) Unregistered player Black disconnected and forfeits"; break; case 7: endExplanationString = "(Res) Black's partner resigns"; break; case 8: endExplanationString = "(Mat) Black's partner checkmated"; break; case 9: endExplanationString = "(Fla) Black's partner forfeits on time"; break; case 10: endExplanationString = "(BQ) Black's partner disconnected and forfeits"; break; case 11: endExplanationString = "(BQ) Black disconnected and forfeits [obsolete?]"; break; case 12: endExplanationString = "(1-0) White wins [specific reason unknown]"; break; } break; case 1: switch (mode){ case 0: endExplanationString = "(Agr) Game drawn by mutual agreement"; break; case 1: endExplanationString = "(Sta) Black stalemated"; break; case 2: endExplanationString = "(Rep) Game drawn by repetition"; break; case 3: endExplanationString = "(50) Game drawn by the 50 move rule"; break; case 4: endExplanationString = "(TM) Black ran out of time and White has no material to mate"; break; case 5: endExplanationString = "(NM) Game drawn because neither player has mating material"; break; case 6: endExplanationString = "(NT) Game drawn because both players ran out of time"; break; case 7: endExplanationString = "(Adj) Game drawn by adjudication"; break; case 8: endExplanationString = "(Agr) Partner's game drawn by mutual agreement"; break; case 9: endExplanationString = "(NT) Partner's game drawn because both players ran out of time"; break; case 10: endExplanationString = "(1/2) Game drawn [specific reason unknown]"; break; } break; case 2: switch (mode){ case 0: endExplanationString = "(?) Game adjourned by mutual agreement"; break; case 1: endExplanationString = "(?) Game adjourned when Black disconnected"; break; case 2: endExplanationString = "(?) Game adjourned by system shutdown"; break; case 3: endExplanationString = "(?) Game courtesyadjourned by Black"; break; case 4: endExplanationString = "(?) Game adjourned by an administrator"; break; case 5: endExplanationString = "(?) Game adjourned when Black got disconnected"; break; } break; case 3: switch (mode){ case 0: endExplanationString = "(Agr) Game aborted by mutual agreement"; break; case 1: endExplanationString = "(BQ) Game aborted when Black disconnected"; break; case 2: endExplanationString = "(SD) Game aborted by system shutdown"; break; case 3: endExplanationString = "(BA) Game courtesyaborted by Black"; break; case 4: endExplanationString = "(Adj) Game aborted by an administrator"; break; case 5: endExplanationString = "(Sho) Game aborted because it's too short to adjourn"; break; case 6: endExplanationString = "(BQ) Game aborted when Black's partner disconnected"; break; case 7: endExplanationString = "(Sho) Game aborted by Black at move 1"; break; case 8: endExplanationString = "(Sho) Game aborted by Black's partner at move 1"; break; case 9: endExplanationString = "(Sho) Game aborted because it's too short"; break; case 10: endExplanationString = "(Adj) Game aborted because Black's account expired"; break; case 11: endExplanationString = "(BQ) Game aborted when Black got disconnected"; break; case 12: endExplanationString = "(?) No result [specific reason unknown]"; break; } break; } return endExplanationString; }
1161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1161/732916e421bbf8a8c617fa1ed44064e3a3535e92/JinChessclubConnection.java/clean/src/free/jin/chessclub/JinChessclubConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 9968, 424, 15854, 780, 12, 474, 1267, 16, 509, 1965, 15329, 565, 514, 679, 424, 15854, 780, 273, 315, 3680, 13, 2631, 563, 306, 12524, 3971, 5917, 4279, 31, 565, 1620, 261, 2327, 15329, 1377, 648, 374, 30, 3639, 1620, 261, 3188, 15329, 1850, 648, 374, 30, 5411, 679, 424, 15854, 780, 273, 7751, 607, 13, 22467, 400, 724, 87, 14432, 5411, 898, 31, 1850, 648, 404, 30, 5411, 679, 424, 15854, 780, 273, 7751, 15947, 13, 22467, 866, 81, 690, 14432, 5411, 898, 31, 1850, 648, 576, 30, 5411, 679, 424, 15854, 780, 273, 7751, 2340, 69, 13, 22467, 364, 3030, 1282, 603, 813, 1199, 31, 5411, 898, 31, 1850, 648, 890, 30, 5411, 679, 424, 15854, 780, 273, 7751, 17886, 13, 30233, 7886, 326, 5657, 1224, 635, 8307, 1100, 829, 14432, 5411, 898, 31, 1850, 648, 1059, 30, 5411, 679, 424, 15854, 780, 273, 7751, 38, 53, 13, 22467, 17853, 471, 364, 3030, 1282, 14432, 5411, 898, 31, 1850, 648, 1381, 30, 5411, 679, 424, 15854, 780, 273, 7751, 38, 53, 13, 22467, 2363, 17853, 471, 364, 3030, 1282, 14432, 5411, 898, 31, 1850, 648, 1666, 30, 5411, 679, 424, 15854, 780, 273, 7751, 38, 53, 13, 1351, 14327, 7291, 22467, 17853, 471, 364, 3030, 1282, 14432, 5411, 898, 31, 1850, 648, 2371, 30, 5411, 679, 424, 15854, 780, 273, 7751, 607, 13, 22467, 1807, 19170, 400, 724, 87, 14432, 5411, 898, 31, 1850, 648, 1725, 30, 5411, 679, 424, 15854, 780, 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, 514, 9968, 424, 15854, 780, 12, 474, 1267, 16, 509, 1965, 15329, 565, 514, 679, 424, 15854, 780, 273, 315, 3680, 13, 2631, 563, 306, 12524, 3971, 5917, 4279, 31, 565, 1620, 261, 2327, 15329, 1377, 648, 374, 30, 3639, 1620, 261, 3188, 15329, 1850, 648, 374, 30, 5411, 679, 424, 15854, 780, 273, 7751, 607, 13, 22467, 400, 724, 87, 14432, 5411, 898, 31, 1850, 648, 404, 30, 5411, 679, 424, 15854, 780, 273, 7751, 15947, 13, 22467, 866, 81, 690, 14432, 5411, 898, 31, 1850, 648, 576, 30, 5411, 679, 424, 15854, 780, 273, 7751, 2340, 69, 13, 22467, 364, 3030, 1282, 603, 813, 1199, 31, 5411, 898, 31, 1850, 648, 890, 30, 5411, 679, 2 ]
final Object value = map.remove(reference); if (value instanceof Image[]) { Display display = Display.getCurrent(); if (display == null) { display = Display.getDefault(); } display.syncExec(new Runnable() {
if (reference instanceof ImageCacheWeakReference) { ImageCacheWeakReference currentReference = (ImageCacheWeakReference) reference; Set keySet = imageMap.keySet(); EquivalenceSet currentSet = null; for (Iterator i = keySet.iterator(); i.hasNext();) { currentSet = (EquivalenceSet) i.next(); boolean removed = currentSet .removeReference(currentReference); if (removed) { if (currentSet.getSize() == 0) { final Image[] images = ((ImageMapEntry) imageMap .remove(currentSet)).getImages(); if (images == null) { throw new NullPointerException( "The array of images removed from the map on clean up should not be null."); }
public final void run() { while (true) { // Get the next reference to dispose. Reference reference = null; try { reference = referenceQueue.remove(); } catch (final InterruptedException e) { // Reference will be null. } // Check to see if we've been told to stop. if (reference == endMarker) { break; } // Remove the images and dispose them. final Object value = map.remove(reference); if (value instanceof Image[]) { Display display = Display.getCurrent(); if (display == null) { display = Display.getDefault(); } display.syncExec(new Runnable() { public void run() { final Image[] images = (Image[]) value; for (int i = 0; i < images.length; i++) { final Image image = images[i]; if ((image != null) && (!image.isDisposed())) { image.dispose(); } } } }); } // Clear the reference. if (reference != null) { reference.clear(); } } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c2f95a0909f2eb15cc65bbc902b893fdf7b3dc8d/ImageCache.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/resource/ImageCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 727, 918, 1086, 1435, 288, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 759, 968, 326, 1024, 2114, 358, 15825, 18, 9506, 202, 2404, 2114, 273, 446, 31, 9506, 202, 698, 288, 6862, 202, 6180, 273, 2114, 3183, 18, 4479, 5621, 9506, 202, 97, 1044, 261, 6385, 7558, 425, 13, 288, 6862, 202, 759, 6268, 903, 506, 446, 18, 9506, 202, 97, 9506, 202, 759, 2073, 358, 2621, 309, 732, 8081, 2118, 268, 1673, 358, 2132, 18, 9506, 202, 430, 261, 6180, 422, 679, 7078, 13, 288, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 759, 3581, 326, 4602, 471, 15825, 2182, 18, 9506, 202, 6385, 1033, 460, 273, 852, 18, 4479, 12, 6180, 1769, 9506, 202, 430, 261, 1132, 1276, 3421, 63, 5717, 288, 6862, 202, 4236, 2562, 273, 9311, 18, 588, 3935, 5621, 6862, 202, 430, 261, 5417, 422, 446, 13, 288, 25083, 202, 5417, 273, 9311, 18, 588, 1868, 5621, 6862, 202, 97, 6862, 202, 5417, 18, 8389, 1905, 12, 2704, 10254, 1435, 288, 25083, 202, 482, 918, 1086, 1435, 288, 6862, 1082, 202, 6385, 3421, 8526, 4602, 273, 261, 2040, 63, 5717, 460, 31, 6862, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4602, 18, 2469, 31, 277, 27245, 288, 6862, 9506, 202, 6385, 3421, 1316, 273, 4602, 63, 77, 15533, 6862, 9506, 202, 430, 14015, 2730, 480, 446, 13, 597, 16051, 2730, 18, 291, 1669, 7423, 1435, 3719, 288, 6862, 6862, 202, 2730, 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, 3196, 202, 482, 727, 918, 1086, 1435, 288, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 759, 968, 326, 1024, 2114, 358, 15825, 18, 9506, 202, 2404, 2114, 273, 446, 31, 9506, 202, 698, 288, 6862, 202, 6180, 273, 2114, 3183, 18, 4479, 5621, 9506, 202, 97, 1044, 261, 6385, 7558, 425, 13, 288, 6862, 202, 759, 6268, 903, 506, 446, 18, 9506, 202, 97, 9506, 202, 759, 2073, 358, 2621, 309, 732, 8081, 2118, 268, 1673, 358, 2132, 18, 9506, 202, 430, 261, 6180, 422, 679, 7078, 13, 288, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 759, 3581, 326, 4602, 471, 15825, 2182, 18, 9506, 202, 6385, 1033, 460, 273, 852, 18, 4479, 12, 6180, 2 ]
configWin.getContentPane().add(tabs, BorderLayout.CENTER); configWin.getContentPane().add(buttons, BorderLayout.SOUTH);
this.configWin.getContentPane().add(this.tabs, BorderLayout.CENTER); this.configWin.getContentPane().add(this.buttons, BorderLayout.SOUTH);
public ConfigWindow(Core core) { this.core = core; needConnectionReset = false; advancedMode = Boolean.valueOf(core.getConfig().getValue("advancedMode")).booleanValue(); configWin = new JFrame(I18n.getMessage("thaw.config.windowName")); tabs = new JTabbedPane(); buttons = new JPanel(); buttons.setLayout(new GridLayout(1, 2)); okButton = new JButton(I18n.getMessage("thaw.config.okButton")); cancelButton = new JButton(I18n.getMessage("thaw.config.cancelButton")); buttons.add(okButton); buttons.add(cancelButton); nodeConfigPanel = new NodeConfigPanel(this, core); pluginConfigPanel = new PluginConfigPanel(this, core); thawConfigPanel = new ThawConfigPanel(this, core); addTabs(); BorderLayout borderLayout = new BorderLayout(); borderLayout.setVgap(20); borderLayout.setVgap(20); configWin.getContentPane().setLayout(borderLayout); configWin.getContentPane().add(tabs, BorderLayout.CENTER); configWin.getContentPane().add(buttons, BorderLayout.SOUTH); tabs.setSize(600, 350); okButton.setSize(100, 50); configWin.setSize(600, 400); configWin.setResizable(false); okButton.addActionListener(this); cancelButton.addActionListener(this); configWin.addWindowListener(this); }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/ConfigWindow.java/clean/src/thaw/core/ConfigWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1903, 3829, 12, 4670, 2922, 13, 288, 202, 202, 2211, 18, 3644, 273, 2922, 31, 202, 202, 14891, 1952, 7013, 273, 629, 31, 202, 202, 27080, 2309, 273, 3411, 18, 1132, 951, 12, 3644, 18, 588, 809, 7675, 24805, 2932, 27080, 2309, 7923, 2934, 6494, 620, 5621, 202, 202, 1425, 18049, 273, 394, 804, 3219, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 1425, 18, 5668, 461, 7923, 1769, 202, 202, 16056, 273, 394, 804, 5661, 2992, 8485, 5621, 202, 202, 16016, 273, 394, 24048, 5621, 202, 202, 16016, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 576, 10019, 202, 202, 601, 3616, 273, 394, 28804, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 1425, 18, 601, 3616, 7923, 1769, 202, 202, 10996, 3616, 273, 394, 28804, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 1425, 18, 10996, 3616, 7923, 1769, 202, 202, 16016, 18, 1289, 12, 601, 3616, 1769, 202, 202, 16016, 18, 1289, 12, 10996, 3616, 1769, 202, 202, 2159, 809, 5537, 273, 394, 2029, 809, 5537, 12, 2211, 16, 2922, 1769, 202, 202, 4094, 809, 5537, 273, 394, 6258, 809, 5537, 12, 2211, 16, 2922, 1769, 202, 202, 451, 2219, 809, 5537, 273, 394, 935, 2219, 809, 5537, 12, 2211, 16, 2922, 1769, 202, 202, 1289, 17348, 5621, 202, 202, 8107, 3744, 5795, 3744, 273, 394, 30814, 5621, 202, 202, 8815, 3744, 18, 542, 58, 14048, 12, 3462, 1769, 202, 202, 8815, 3744, 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, 1903, 3829, 12, 4670, 2922, 13, 288, 202, 202, 2211, 18, 3644, 273, 2922, 31, 202, 202, 14891, 1952, 7013, 273, 629, 31, 202, 202, 27080, 2309, 273, 3411, 18, 1132, 951, 12, 3644, 18, 588, 809, 7675, 24805, 2932, 27080, 2309, 7923, 2934, 6494, 620, 5621, 202, 202, 1425, 18049, 273, 394, 804, 3219, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 1425, 18, 5668, 461, 7923, 1769, 202, 202, 16056, 273, 394, 804, 5661, 2992, 8485, 5621, 202, 202, 16016, 273, 394, 24048, 5621, 202, 202, 16016, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 576, 10019, 202, 202, 601, 3616, 273, 394, 28804, 12, 45, 2643, 82, 18, 24906, 2 ]
final JpasDataChange<Account> dataChange = new JpasDataChange.Modify<Account>(this); observable.notifyObservers(dataChange); notifyObservers(dataChange);
final JpasDataChange<Account> dataChange = new JpasDataChange.Modify<Account>( this); observable.notifyObservers(dataChange); notifyObservers(dataChange);
void announceModify() { final JpasDataChange<Account> dataChange = new JpasDataChange.Modify<Account>(this); observable.notifyObservers(dataChange); notifyObservers(dataChange); }
11042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11042/42f15ce06e127523723133285c793cb25214f02b/Account.java/buggy/trunk/JPAS/src/org/jpas/model/Account.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 14281, 11047, 1435, 565, 288, 377, 202, 6385, 804, 84, 345, 751, 3043, 32, 3032, 34, 501, 3043, 273, 394, 804, 84, 345, 751, 3043, 18, 11047, 32, 3032, 34, 12, 2211, 1769, 377, 202, 12199, 16845, 18, 12336, 29393, 12, 892, 3043, 1769, 377, 202, 12336, 29393, 12, 892, 3043, 1769, 377, 202, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 84, 345, 751, 3043, 32, 3032, 34, 501, 3043, 273, 394, 804, 84, 345, 751, 3043, 18, 11047, 32, 3032, 34, 12, 2211, 1769, 377, 202, 12199, 16845, 18, 12336, 29393, 12, 892, 3043, 1769, 377, 202, 12336, 29393, 12, 892, 3043, 1769, 377, 202, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!path.equals(newValue))
Object node = path.getLastPathComponent(); if (node instanceof MutableTreeNode)
public void valueForPathChanged(TreePath path, Object newValue) { if (!path.equals(newValue)) { TreeModelEvent event = new TreeModelEvent(this, path); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listeners.length - 1; i >= 0; --i) listeners[i].treeNodesChanged(event); } }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/ad9fe0128c253aaf223148f1f6216018924022e0/DefaultTreeModel.java/buggy/javax/swing/tree/DefaultTreeModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 460, 25589, 5033, 12, 2471, 743, 589, 16, 1033, 6129, 13, 225, 288, 565, 1033, 756, 273, 589, 18, 588, 3024, 743, 1841, 5621, 309, 261, 2159, 1276, 10960, 12513, 13, 1377, 288, 3639, 4902, 1488, 1133, 871, 273, 394, 4902, 1488, 1133, 12, 2211, 16, 589, 1769, 3639, 4902, 1488, 2223, 8526, 4679, 273, 15867, 1488, 5583, 5621, 7734, 364, 261, 474, 277, 273, 4679, 18, 2469, 300, 404, 31, 277, 1545, 374, 31, 1493, 77, 13, 1850, 4679, 63, 77, 8009, 3413, 3205, 5033, 12, 2575, 1769, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 460, 25589, 5033, 12, 2471, 743, 589, 16, 1033, 6129, 13, 225, 288, 565, 1033, 756, 273, 589, 18, 588, 3024, 743, 1841, 5621, 309, 261, 2159, 1276, 10960, 12513, 13, 1377, 288, 3639, 4902, 1488, 1133, 871, 273, 394, 4902, 1488, 1133, 12, 2211, 16, 589, 1769, 3639, 4902, 1488, 2223, 8526, 4679, 273, 15867, 1488, 5583, 5621, 7734, 364, 261, 474, 277, 273, 4679, 18, 2469, 300, 404, 31, 277, 1545, 374, 31, 1493, 77, 13, 1850, 4679, 63, 77, 8009, 3413, 3205, 5033, 12, 2575, 1769, 1377, 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 ]
public boolean mayHaveReferences(IElementType token) {
public boolean mayHaveReferences(IElementType token, short searchContext) {
public boolean mayHaveReferences(IElementType token) { if(token == XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN) return true; if(token == XmlTokenType.XML_DATA_CHARACTERS) return true; return super.mayHaveReferences(token); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/57ac9224412cde7806fda672ad210899f7a8d81d/XMLLanguage.java/clean/source/com/intellij/lang/xml/XMLLanguage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2026, 17944, 8221, 12, 45, 17481, 1147, 16, 3025, 1623, 1042, 13, 288, 565, 309, 12, 2316, 422, 5714, 28675, 18, 4201, 67, 11616, 67, 4051, 67, 8412, 13, 327, 638, 31, 565, 309, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2026, 17944, 8221, 12, 45, 17481, 1147, 16, 3025, 1623, 1042, 13, 288, 565, 309, 12, 2316, 422, 5714, 28675, 18, 4201, 67, 11616, 67, 4051, 67, 8412, 13, 327, 638, 31, 565, 309, 12, 2316, 422, 5714, 28675, 18, 4201, 67, 4883, 67, 7305, 6526, 11367, 13, 327, 638, 31, 565, 327, 2240, 18, 24877, 17944, 8221, 12, 2316, 1769, 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 ]
return getTabList(getVisiblePart());
return getTabList(getSelection());
public Control[] getTabList() { return getTabList(getVisiblePart()); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/45ab2bee3420234882ba61c9b99fecd868b62e8f/EditorStack.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorStack.java
[ 1, 8585, 326, 22398, 316, 326, 981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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8888, 8526, 3181, 378, 682, 1435, 288, 3639, 327, 3181, 378, 682, 12, 588, 6233, 10663, 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 ]
else { actuatorHits += countLegActuatorCrits(i);
if (!game.getOptions().booleanOption("maxtech_leg_damage")) continue;
public int getWalkMP() { int wmp = getOriginalWalkMP(); int legsDestroyed = 0; int hipHits = 0; int actuatorHits = 0; for ( int i = 0; i < locations(); i++ ) { if ( locationIsLeg(i) ) { if ( !isLocationDestroyed(i) ) { if ( legHasHipCrit(i) ) hipHits++; else { actuatorHits += countLegActuatorCrits(i); } } else { legsDestroyed++; } } } // leg damage effects if(legsDestroyed > 0) { wmp = (legsDestroyed == 1) ? 1 : 0; } else { if(hipHits > 0) { if (game.getOptions().booleanOption("maxtech_leg_damage")) { wmp = (hipHits >= 1) ? wmp - (2 * hipHits) : 0; } else { wmp = (hipHits == 1) ? (int) Math.ceil( (double) wmp / 2.0) : 0; } } wmp -= actuatorHits; } // and we still need to factor in heat! wmp -= (int)(heat / 5); // TSM negates some heat if (heat >= 9 && hasTSM()) { if (heat == 9) { wmp += 2; } else { wmp += 1; } } //For sanity sake... wmp = Math.max(0, wmp); return wmp; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/959c1f959c2a847255f48386e0624dc23536e3d1/BipedMech.java/clean/megamek/src/megamek/common/BipedMech.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 9463, 4566, 1435, 288, 3639, 509, 341, 1291, 273, 18354, 9463, 4566, 5621, 3639, 509, 884, 564, 28414, 273, 374, 31, 3639, 509, 366, 625, 20950, 273, 374, 31, 3639, 509, 1328, 28764, 20950, 273, 374, 31, 7734, 364, 261, 509, 277, 273, 374, 31, 277, 411, 7838, 5621, 277, 9904, 262, 288, 5411, 309, 261, 2117, 2520, 8329, 12, 77, 13, 262, 288, 7734, 309, 261, 401, 291, 2735, 28414, 12, 77, 13, 262, 288, 10792, 309, 261, 4553, 5582, 44, 625, 39, 583, 12, 77, 13, 262, 13491, 366, 625, 20950, 9904, 31, 10792, 469, 288, 13491, 1328, 28764, 20950, 1011, 1056, 8329, 2459, 28764, 39, 583, 87, 12, 77, 1769, 10792, 289, 7734, 289, 469, 288, 10792, 884, 564, 28414, 9904, 31, 7734, 289, 5411, 289, 3639, 289, 7734, 368, 4553, 302, 301, 410, 16605, 3639, 309, 12, 298, 564, 28414, 405, 374, 13, 288, 5411, 341, 1291, 273, 261, 298, 564, 28414, 422, 404, 13, 692, 404, 294, 374, 31, 3639, 289, 469, 288, 5411, 309, 12, 5310, 20950, 405, 374, 13, 288, 9079, 309, 261, 13957, 18, 588, 1320, 7675, 6494, 1895, 2932, 1896, 28012, 67, 1935, 67, 72, 301, 410, 6, 3719, 288, 1171, 341, 1291, 273, 261, 5310, 20950, 1545, 404, 13, 692, 341, 1291, 300, 261, 22, 380, 366, 625, 20950, 13, 294, 374, 31, 9079, 289, 469, 288, 1171, 341, 1291, 273, 261, 5310, 20950, 422, 404, 13, 692, 261, 474, 13, 2361, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 9463, 4566, 1435, 288, 3639, 509, 341, 1291, 273, 18354, 9463, 4566, 5621, 3639, 509, 884, 564, 28414, 273, 374, 31, 3639, 509, 366, 625, 20950, 273, 374, 31, 3639, 509, 1328, 28764, 20950, 273, 374, 31, 7734, 364, 261, 509, 277, 273, 374, 31, 277, 411, 7838, 5621, 277, 9904, 262, 288, 5411, 309, 261, 2117, 2520, 8329, 12, 77, 13, 262, 288, 7734, 309, 261, 401, 291, 2735, 28414, 12, 77, 13, 262, 288, 10792, 309, 261, 4553, 5582, 44, 625, 39, 583, 12, 77, 13, 262, 13491, 366, 625, 20950, 9904, 31, 10792, 469, 288, 13491, 1328, 28764, 20950, 1011, 1056, 8329, 2459, 28764, 39, 583, 87, 12, 77, 1769, 10792, 289, 2 ]
boolean breakpoint(int line, boolean value) {
public boolean breakpoint(int line) {
boolean breakpoint(int line, boolean value) { if (!breakableLine(line)) { throw new IllegalArgumentException(String.valueOf(line)); } boolean changed; synchronized (breakpoints) { if (breakpoints[line] != value) { breakpoints[line] = value; changed = true; } else { changed = false; } } return changed; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/2d4fc75b74d717c754829dde488ff0a7456682cc/Dim.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1250, 18820, 12, 474, 980, 16, 1250, 460, 13, 3639, 288, 5411, 309, 16051, 8820, 429, 1670, 12, 1369, 3719, 288, 7734, 604, 394, 2754, 12, 780, 18, 1132, 951, 12, 1369, 10019, 5411, 289, 5411, 1250, 3550, 31, 5411, 3852, 261, 8820, 4139, 13, 288, 7734, 309, 261, 8820, 4139, 63, 1369, 65, 480, 460, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1250, 18820, 12, 474, 980, 16, 1250, 460, 13, 3639, 288, 5411, 309, 16051, 8820, 429, 1670, 12, 1369, 3719, 288, 7734, 604, 394, 2754, 12, 780, 18, 1132, 951, 12, 1369, 10019, 5411, 289, 5411, 1250, 3550, 31, 5411, 3852, 261, 8820, 4139, 13, 288, 7734, 309, 261, 8820, 4139, 63, 1369, 65, 480, 460, 13, 288, 10792, 23416, 63, 1369, 65, 273, 460, 31, 10792, 3550, 273, 638, 31, 7734, 289, 469, 288, 10792, 3550, 273, 629, 31, 7734, 289, 5411, 289, 5411, 327, 3550, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]