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

Bug 328526

Summary: expected warning text needs adjusting
Product: [Eclipse Project] PDE Reporter: Stephan Herrmann <stephan.herrmann>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer
Version: 3.7   
Target Milestone: 3.7 M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description Stephan Herrmann CLA 2010-10-23 06:25:52 EDT
In bug 185682 JDT/Core has changed the wording of a warning (in order to
give precise advice while the warning is now generated in more cases).

This change currently causes ScriptGenerationTest.testBug291527() to fail.
The expected problem text should be changed from
   "The local variable b is never read"
to
   "The value of the local variable b is not used"
Comment 1 Olivier Thomann CLA 2010-10-25 09:29:15 EDT
Created attachment 181634 [details]
Proposed fix

Could not test as I cannot run the test locally.
Comment 2 Andrew Niefer CLA 2010-10-25 14:05:52 EDT
patch released, Thanks Olivier