Skip to content

Commit

Permalink
Fix inconsistent Javadoc in org.eclipse.ant.tests.ui
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoKlare authored and Michael5601 committed Feb 12, 2024
1 parent acf1aa4 commit f98dfdd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ protected IHyperlink getHyperlink(int offset, IDocument doc) {
* @param waiter
* the event waiter to use
* @return Object the source of the event
* @exception Exception
* if the event is never received.
*/
@Override
protected Object launchAndWait(ILaunchConfiguration configuration, DebugEventWaiter waiter) throws CoreException {
Expand All @@ -166,8 +164,6 @@ protected Object launchAndWait(ILaunchConfiguration configuration, DebugEventWai
* @param register
* whether to register the launch
* @return Object the source of the event
* @exception Exception
* if the event is never received.
*/
protected Object launchAndWait(ILaunchConfiguration configuration, DebugEventWaiter waiter, boolean register) throws CoreException {
ILaunch launch = configuration.launch(ILaunchManager.DEBUG_MODE, null, false, register);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,8 @@ public void testExtensionPointOpenDeclaration() throws PartInitException, BadLoc

/**
* Tests that the augment task can open in the Ant editor
*
* @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=377075
* @throws Exception
*
* See https://bugs.eclipse.org/bugs/show_bug.cgi?id=377075
*/
public void testAugmentOpenInEditor() throws Exception {
IFile file = getIFile("bug377075.ent"); //$NON-NLS-1$
Expand All @@ -239,9 +238,8 @@ public void testAugmentOpenInEditor() throws Exception {

/**
* Tests that the augment task can be shown and has the correct additions
*
* @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=377075
* @throws Exception
*
* See https://bugs.eclipse.org/bugs/show_bug.cgi?id=377075
*/
public void testAugmentOpenAndSelect() throws Exception {
IFile file = getIFile("bug377075.ent"); //$NON-NLS-1$
Expand All @@ -256,9 +254,8 @@ public void testAugmentOpenAndSelect() throws Exception {

/**
* Tests that the element augmented by the augment task properly displays the augmented elements when hovering
*
* @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=377075
* @throws Exception
*
* See https://bugs.eclipse.org/bugs/show_bug.cgi?id=377075
*/
public void testAugmentOpenSelectHover() throws Exception {
IFile file = getIFile("bug377075.ent"); //$NON-NLS-1$
Expand All @@ -279,9 +276,8 @@ public void testAugmentOpenSelectHover() throws Exception {

/**
* Tests that the Ant editor is resilient to using an Augment task that references an unknown id
*
* @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=396219
* @throws Exception
*
* See https://bugs.eclipse.org/bugs/show_bug.cgi?id=396219
*/
public void testAugmentMissingId() throws Exception {
IFile file = getIFile("bug396219.ent"); //$NON-NLS-1$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void tagAsGlobalSummary(String shortName, Dimension[] dimensions) {

/**
* Called from within a test case immediately before the code to measure is run. It starts capturing of performance data. Must be followed by a
* call to {@link PerformanceTestCase#stopMeasuring()} before subsequent calls to this method or {@link PerformanceTestCase#commitMeasurements()}.
* call to {@link #stopMeasuring()} before subsequent calls to this method or {@link #commitMeasurements()}.
*/
protected void startMeasuring() {
fPerformanceMeter.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public void run(final TestResult result) {
* to the console.
*
* @param config the config to execute
* @return thread in which the first suspend event occurred
*/
protected void launch(ILaunchConfiguration config) throws CoreException {
launchAndTerminate(config, 20000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ protected void launch(String buildFileName, String arguments) throws CoreExcepti
*
* @param buildFileName
* build file to launch
* @return thread in which the first suspend event occurred
*/
protected void launchWithDebug(String buildFileName) throws CoreException {
ILaunchConfiguration config = getLaunchConfiguration(buildFileName);
Expand Down Expand Up @@ -483,8 +482,6 @@ protected void launchAndTerminate(ILaunchConfiguration config, int timeout) thro
* @param waiter
* the event waiter to use
* @return Object the source of the event
* @exception Exception
* if the event is never received.
*/
protected Object launchAndWait(ILaunchConfiguration configuration, DebugEventWaiter waiter) throws CoreException {
ILaunch launch = configuration.launch(ILaunchManager.RUN_MODE, null);
Expand Down

0 comments on commit f98dfdd

Please sign in to comment.