Bug 155824 - [javadoc] Content assist doesn't suggest Varargs
Summary: [javadoc] Content assist doesn't suggest Varargs
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 160210 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-31 10:22 EDT by Victor Toni CLA
Modified: 2006-11-13 15:16 EST (History)
2 users (show)

See Also:


Attachments
Proposed fix (5.28 KB, patch)
2006-10-02 12:22 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Toni CLA 2006-08-31 10:22:47 EDT
In the following code the first @see will be suggested by the content assist instead of the second one which would be clearer:

/*********************************************/
package test;

public interface VarArgsTest {

	/**
	 * 
	 * @see #addAll(Object[])
	 * @see #addAll(Object...)
	 */
	void add(final Object object);

	void addAll(final Object ...objects);
}
Comment 1 David Audel CLA 2006-10-02 12:22:13 EDT
Created attachment 51263 [details]
Proposed fix
Comment 2 David Audel CLA 2006-10-02 12:25:22 EDT
Released for 3.3 M3.

Tests added
  JavadocMethodCompletionModelTest#test162() -> test163()
Comment 3 Olivier Thomann CLA 2006-10-30 15:01:21 EST
Only the second one is proposed now.
Verified for 3.3 M3 using warm-up build I20061030-0800
Comment 4 Frederic Fusier CLA 2006-11-13 15:16:04 EST
*** Bug 160210 has been marked as a duplicate of this bug. ***