From 2d63200b1a017de617b6400dc4848b1bd5fd65b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?q?=D1=80=20=D0=9A=D1=83=D1=80=D1=82=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Thu, 7 Dec 2023 16:57:24 +0200 Subject: [PATCH] Javadoc format fixes (part 2) Contributes to https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/pull/1531 . It's a pity that this takes multiple cycles but fixing one thing from the log uncovers the next. Removed useless see tag comments while at it. --- .../AppletParametersTab.java | 40 ++----------------- .../org/eclipse/jdi/hcr/ThreadReference.java | 4 +- .../org/eclipse/jdi/hcr/VirtualMachine.java | 1 + 3 files changed, 7 insertions(+), 38 deletions(-) diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/AppletParametersTab.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/AppletParametersTab.java index 96ecd3be13..357dae7bd2 100644 --- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/AppletParametersTab.java +++ b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/AppletParametersTab.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2015 IBM Corporation and others. + * Copyright (c) 2000, 2023 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -54,11 +54,12 @@ import org.eclipse.ui.PlatformUI; /** - * This tab appears for java applet launch configurations and allows the user to edit - * applet-specific attributes such as width, height, name & applet parameters. + * This tab appears for java applet launch configurations and allows the user to edit applet-specific attributes such as width, height, name & + * applet parameters. *

* This class may be instantiated. *

+ * * @since 2.1 * @noextend This class is not intended to be sub-classed by clients. */ @@ -73,17 +74,11 @@ public class AppletParametersTab extends JavaLaunchTab { private class AppletTabListener extends SelectionAdapter implements ModifyListener { - /* (non-Javadoc) - * @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent) - */ @Override public void modifyText(ModifyEvent e) { updateLaunchConfigurationDialog(); } - /* (non-Javadoc) - * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent) - */ @Override public void widgetSelected(SelectionEvent e) { Object source= e.getSource(); @@ -119,9 +114,6 @@ public void widgetSelected(SelectionEvent e) { */ private TableViewer fViewer; - /** - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#createControl(Composite) - */ @Override public void createControl(Composite parent) { Composite comp = SWTFactory.createComposite(parent, 1, 1, GridData.FILL_HORIZONTAL); @@ -248,9 +240,6 @@ public void removeListener(ILabelProviderListener listener) { } - /** - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#isValid(ILaunchConfiguration) - */ @Override public boolean isValid(ILaunchConfiguration launchConfig) { setErrorMessage(null); @@ -349,9 +338,6 @@ private Map getViewerInput() { return (Map) fViewer.getInput(); } - /** - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#performApply(ILaunchConfigurationWorkingCopy) - */ @Override public void performApply(ILaunchConfigurationWorkingCopy configuration) { try { @@ -382,17 +368,11 @@ private String getHeightText() { return fHeightText.getText().trim(); } - /** - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#setDefaults(ILaunchConfigurationWorkingCopy) - */ @Override public void setDefaults(ILaunchConfigurationWorkingCopy configuration) { } - /** - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#initializeFrom(ILaunchConfiguration) - */ @Override public void initializeFrom(ILaunchConfiguration config) { try { @@ -423,9 +403,6 @@ public void initializeFrom(ILaunchConfiguration config) { fViewer.setInput(input); } - /** - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#getName() - */ @Override public String getName() { return LauncherMessages.appletlauncher_argumenttab_name; @@ -441,25 +418,16 @@ public String getId() { return "org.eclipse.jdt.debug.ui.appletParametersTab"; //$NON-NLS-1$ } - /** - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#getImage() - */ @Override public Image getImage() { return JavaDebugImages.get(JavaDebugImages.IMG_VIEW_ARGUMENTS_TAB); } - /* (non-Javadoc) - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy) - */ @Override public void activated(ILaunchConfigurationWorkingCopy workingCopy) { // do nothing when activated } - /* (non-Javadoc) - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy) - */ @Override public void deactivated(ILaunchConfigurationWorkingCopy workingCopy) { // do nothing when de-activated diff --git a/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/hcr/ThreadReference.java b/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/hcr/ThreadReference.java index 3fa3a1a8f6..7bbb73bdf1 100644 --- a/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/hcr/ThreadReference.java +++ b/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/hcr/ThreadReference.java @@ -36,11 +36,11 @@ public interface ThreadReference { *
  • If yes, the VM checks to see whether there might be a finally or synchronized block enclosing the current * instruction. *
      - *
    • If there is no enclosing finally block, the operation reduces to the above case. + *
    • If there is no enclosing finally block, the operation reduces to the above case.ll *
    • If there is an enclosing finally block, the VM creates a VM exception and activates the finally block with it. If * this exception eventually causes the stack frame to be popped, the exception is caught by the VM itself, the return value is returned, and * execution continues back in the caller. - *
        + *
      *
    *
    * Note that a finally block manifests itself as (and is indistinguishable from) a catch Throwable block. diff --git a/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/hcr/VirtualMachine.java b/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/hcr/VirtualMachine.java index dc4b074ea0..24b2509b9b 100644 --- a/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/hcr/VirtualMachine.java +++ b/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/hcr/VirtualMachine.java @@ -91,6 +91,7 @@ public interface VirtualMachine { *
  • send a class unload event, *
  • suspend the VM if it was requested by the class unload event request. * + * * *

    * Subsequent references to classes will work with the new class definition. Note the existing com.sun.jdi.ReferenceType,