Bug 271153

Summary: Why is FileRevision#getFileRevisionFor(IFile) deprecated
Product: [Eclipse Project] Platform Reporter: Michael Valenta <Michael.Valenta>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 3.4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michael Valenta CLA 2009-04-03 13:02:19 EDT
The method FileRevision#getFileRevisionFor(IFile) is marked as deprecated with the reason "This method doesn't do anything useful so it has been deprecated.". To me, this method is useful because I need to create an IFileRevision for a local file in order to provide logical model support and this is the only API available to do this. If there is some other way to do this now, the deprecation message should say this. Otherwise the method should not be deprecated.
Comment 1 Szymon Brandys CLA 2009-04-03 14:10:43 EDT
(In reply to comment #0)
> Otherwise the method should not be deprecated.

Looking at the history of FileRevision, this method was marked as deprecated by Michael V. ;-) It was deprecated in 3.4 and nothing has change since then. 

We could make this quick fix, but let me first ask PMC. I have to double check if this change is not considered as API change. 
Comment 2 Michael Valenta CLA 2009-04-03 14:32:11 EDT
I'm not overly concerned about the change getting into 3.5 as long as the method doesn't disappear.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:09:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.