Bug 48404 - formatter: no edit returned
Summary: formatter: no edit returned
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 08:15 EST by Tom Hofmann CLA
Modified: 2004-02-11 08:13 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 Tom Hofmann CLA 2003-12-10 08:15:47 EST
I20031203 + plugin-export 20031209

1. Have this code:
public class Foo {

  void bar() {
    if (true && false || false || true && false) 
      return;
  }
}

2. Choose Source->Format
-> Console output: "No edit returned..."
-> No formatting happens
Comment 1 Nikolay Metchev CLA 2003-12-10 08:42:39 EST
the same error shows in Bug 46773 
Comment 2 Olivier Thomann CLA 2004-01-02 13:04:39 EST
Fixed and released in HEAD.
Regression test added.
Comment 3 Frederic Fusier CLA 2004-02-11 08:13:46 EST
Verified for 3.0-M7 with build I200402102000.