Bug 80126 - [assist] CompletionRequestor.setIgnored should allow POTENTIAL_METHOD_DECLARATION
Summary: [assist] CompletionRequestor.setIgnored should allow POTENTIAL_METHOD_DECLARA...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 12:33 EST by Martin Aeschlimann CLA
Modified: 2004-12-14 11:23 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2004-12-03 12:33:51 EST
20041203

The code in CompletionRequestor.setIgnored should be updated as new constants
POTENTIAL_METHOD_DECLARATION and METHOD_NAME_REFERENCE are larger than
VARIABLE_DECLARATION

public final void setIgnored(int completionProposalKind, boolean ignore) {
if (completionProposalKind < CompletionProposal.ANONYMOUS_CLASS_DECLARATION
	|| completionProposalKind > CompletionProposal.VARIABLE_DECLARATION) {
	throw new IllegalArgumentException();
}
Comment 1 David Audel CLA 2004-12-09 07:57:40 EST
Fixed.
Comment 2 Frederic Fusier CLA 2004-12-14 11:23:12 EST
Verified for 3.1 M4 using build I200412140800.