Bug 88295 - [1.5][assist] too many completion on enum case label
Summary: [1.5][assist] too many completion on enum case label
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M6   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 03:34 EST by Philipe Mulet CLA
Modified: 2005-03-30 15:01 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2005-03-17 03:34:18 EST
20050315

When completing in enum case label 'R<|>' only enum constants should be offered.

public class Class3 {

	enum Color {
		BLUE, WHITE, RED;
	}
	
	void select(Color c) {
		
		switch(c){
			case BLUE :
			case WHITE:
			case R<|>
		}
	}
}
Comment 1 David Audel CLA 2005-03-18 12:32:35 EST
Fixed and test updated
  CompletionTests_1_5#test0142()
Comment 2 Olivier Thomann CLA 2005-03-30 15:01:56 EST
Verified in I20050330-0500