Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 420920

Summary: [server] The enum constant ZZZ needs a corresponding case label in this enum switch
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2013-11-01 18:08:00 EDT
There are many warnings:
The enum constant ZZZ needs a corresponding case label in this enum switch

We are using pattern:
switch (Method) {
	case GET:
		return true;
	case DELETE:
		return true;
}
return false;                   <-----------------

Replace with:
switch (Method) {
	case GET:
		return true;
	case DELETE:
		return true;
	default:                <-----------------
		return false;   <-----------------
}

And the warnings are eliminated.