Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 23087 - Flip conditional refactoring [refactoring]
Summary: Flip conditional refactoring [refactoring]
Status: RESOLVED DUPLICATE of bug 6605
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-02 16:28 EDT by Erich Gamma CLA
Modified: 2003-02-17 14:12 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2002-09-02 16:28:31 EDT
if (b) {
  //long list of statements
} else
  foo();
}

->

if (!b)
   foo();
else {
    //long list of statements
}
Comment 1 Stefan Borggraefe CLA 2003-02-17 13:43:54 EST
This is a dupe of bug 6605.
Comment 2 Dirk Baeumer CLA 2003-02-17 14:12:06 EST
Thanks for letting us know.

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