Bug 285699 - [fiximprove]: The type Preferences is deprecated
Summary: [fiximprove]: The type Preferences is deprecated
Status: RESOLVED FIXED
Alias: None
Product: MTJ (Archived)
Classification: Tools
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 1.0.2   Edit
Assignee: Gorkem Ercan CLA
QA Contact:
URL: http://help.eclipse.org/stable/topic/...
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2009-08-05 09:40 EDT by Diego Madruga Sandin CLA
Modified: 2010-01-13 08:35 EST (History)
2 users (show)

See Also:


Attachments
Proposed patch for MTJ bug 285699 (58.54 KB, patch)
2009-12-15 13:52 EST, Jon Dearden CLA
no flags Details | Diff
Patch for MTJ bug 285699 Rev 2 (60.09 KB, patch)
2010-01-11 10:31 EST, Jon Dearden CLA
gorkem.ercan: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Madruga Sandin CLA 2009-08-05 09:40:03 EDT
We should start using org.eclipse.core.runtime.preferences.IEclipsePreferences instead of org.eclipse.core.runtime.Preferences.Preferences.

Resource: org.eclipse.mtj.core/src/org/eclipse/mtj/internal/core/PreferenceAccessor.java
Location: line 322
Comment 1 Jon Dearden CLA 2009-10-23 10:48:00 EDT
I will take a look at this bug.


Regards,
Jon
Comment 2 Jon Dearden CLA 2009-12-15 13:52:32 EST
Created attachment 154512 [details]
Proposed patch for MTJ bug 285699
Comment 3 Jon Dearden CLA 2009-12-15 13:53:42 EST
I, Jon Dearden, have created the patch 154512 solely based on existing (EPL licensed) code in the MTJ project, and wrote 100% of the new code myself without using any other open source or proprietary source code as a basis for my work.

I am making my contribution available under the terms of the Eclipse Public License (EPL) to be included in the code base of the MTJ project.
Comment 4 Gorkem Ercan CLA 2010-01-11 09:38:00 EST
Patch has a problem it removes MTJCorePreferenceInitializer however it is still used by the PreferenceAccessor, so it does not compile.
Comment 5 Jon Dearden CLA 2010-01-11 10:31:22 EST
Created attachment 155749 [details]
Patch for MTJ bug 285699 Rev 2

This patch adds the missing MTJCorePreferenceInitializer.java file.
Comment 6 Gorkem Ercan CLA 2010-01-11 10:40:22 EST
It now compiles. I will do some testing and apply the patch.
Comment 7 Gorkem Ercan CLA 2010-01-13 08:35:09 EST
Patch applied to HEAD thanks for this.