Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324995 - [preferences] New formatter profile version must not automatically touch existing projects
Summary: [preferences] New formatter profile version must not automatically touch exis...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 3.7 M2   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-10 13:11 EDT by Markus Keller CLA
Modified: 2010-09-14 11:22 EDT (History)
3 users (show)

See Also:


Attachments
Fix (2.07 KB, patch)
2010-09-10 13:16 EDT, Markus Keller CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2010-09-10 13:11:20 EDT
HEAD after bug 318010 comment 3

- In 3.7 M1, create a workspace and a project with project-specific formatter settings. Set "Insert new line after annotations on members" to "do not insert".
- Start the same workspace with HEAD
=> unsolicited changes in org.eclipse.jdt.core.prefs and org.eclipse.jdt.ui.prefs

The same bug has already been detected as bug 217874, but the resolution was wrong.
Comment 1 Markus Keller CLA 2010-09-10 13:16:16 EDT
Created attachment 178636 [details]
Fix
Comment 2 Markus Keller CLA 2010-09-10 13:17:20 EDT
Fixed in HEAD.
Comment 3 Dani Megert CLA 2010-09-14 11:22:05 EDT
Verified by migrating from M1 to I20100914-0100 and reviewing the code.