Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 217874 - [preferences] avoid formatter profile version increment
Summary: [preferences] avoid formatter profile version increment
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M5   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 217809 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-05 13:08 EST by Martin Aeschlimann CLA
Modified: 2008-02-06 11:52 EST (History)
2 users (show)

See Also:


Attachments
Patch (1.47 KB, patch)
2008-02-05 13:08 EST, Martin Aeschlimann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2008-02-05 13:08:02 EST
Created attachment 88910 [details]
Patch

20080205-0010

The code that splits the 'new line after annotation' setting incremented the formatter profile version.

We should avoid this if possible, as all projects in existing workspaces will get changes in 
  org.eclipse.jdt.core.prefs
  org.eclipse.jdt.ui.prefs

which means a lot of work for users.

The attached patch reverts the version increment change.

I tested that the version increment is not necessary.
I also tested that workspaces that got the version increment will continue to work (the version will be set back again, no settings lost)
Comment 1 Martin Aeschlimann CLA 2008-02-05 13:12:56 EST
patch released > 20080205
Comment 2 Martin Aeschlimann CLA 2008-02-06 03:36:14 EST
*** Bug 217809 has been marked as a duplicate of this bug. ***
Comment 3 Dani Megert CLA 2008-02-06 11:52:40 EST
Verified in I20080206-0010.