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

Bug 426961

Summary: [server] fix 95 warnings in the server bundles
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 RC1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2014-01-29 19:44:21 EST
There are 95 warnings in the server bundles introduced in the last few milestones that we can fix.
Comment 1 Anthony Hunter CLA 2014-01-29 20:07:44 EST
A plug-in manifest must contain at least one extension or extension point:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=897bf8a5ea88ac16d8984c30cf6afe3c38559c11

Discouraged access warnings: 
The constructor XXX is not accessible due to restriction on required project org.eclipse.orion.server.ZZZ
The field XXX from the type YYY is not accessible due to restriction on required project org.eclipse.orion.server.ZZZ
The method XXX from the type YYY is not accessible due to restriction on required project org.eclipse.orion.server.ZZZ
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=6ee3e531583c77bae75c4c66f71292015e4a3a60

The value of the field ComputeTargetCommand.ZZZ is not used
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=9520739d7868100d33dc62fbf53f7ac2b90d541c

The value of the field LogoutCommand.ZZZ is not used
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=022f84b552b757b7370268cd75f00c17e3112102

The value of the local variable jsonData is not used
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=2941c00208faa49ae193bed785df2aa48c9cd26b

Type safety: The expression of type Iterator needs unchecked conversion to conform to Iterator<String>
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=80b4fd3e2f4812229224f371da65cdd804b5b522

The server is back down to 4 warnings again.