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

Bug 337518

Summary: compile warning in official build
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: DebugAssignee: Pawel Piech <pawel.1.piech>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2011-02-18 01:40:08 EST
N20110217-2000.

1. WARNING in /src/org/eclipe/debug/tests/viewer/model/StateTests.java
 (at line 983)
ModelDelta delta = new ModelDelta(model.getRootElement(), IModelDelta.NO_CHANGE);
The value of the local variable delta is not used

Either the following code is not yet complete (reading the comment) or it can be deleted:

        // Update the viewer to collapse both elements and select a third
        ModelDelta delta = new ModelDelta(model.getRootElement(), IModelDelta.NO_CHANGE);
Comment 1 Pawel Piech CLA 2011-02-18 13:49:43 EST
It was a refactoring left-over.  Thanks Dani.
Comment 2 Dani Megert CLA 2011-02-22 03:48:35 EST
Verified in N20110221-2000.