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

Bug 260747

Summary: Compiler warnings in N20090111-2000 seems to expose a bug
Product: [Eclipse Project] Platform Reporter: Olivier Thomann <Olivier_Thomann>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: hsoliwal
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description Olivier Thomann CLA 2009-01-12 12:11:31 EST
Created attachment 122298 [details]
Proposed fix

1. WARNING in /Eclipse UI/org/eclipse/ui/internal/actions/ModifyWorkingSetDelegate.java
 (at line 273)
for (int k = 0; k < adaptables.length; k++) {
Dead code

I believe the intent was to put the two statements:
visible = true;
and
break;
into a block.
Comment 1 Hitesh CLA 2009-01-13 02:31:39 EST
This is a duplicate of Bug 256561.
Comment 2 Paul Webster CLA 2009-01-13 08:35:05 EST

*** This bug has been marked as a duplicate of bug 256561 ***