Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] How to handle IFileModificationValidator deprecation ?


Jerome,

Thanks for pointing this out. I have logged bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=176992 to track this issue. Basically, we will need to deprecate this method and add a new one that returns the new type. Unfortunately, we need to come up with anothe method name. Any ideas for the new method nam,e are welcome.

The other option is to not deprecate the old interface but we really feel that we need to signal to clients that the API has changed.

Michael



Jerome Lanneluc <jerome_lanneluc@xxxxxxxxxx>
Sent by: platform-core-dev-bounces@xxxxxxxxxxx

12/03/2007 05:40 AM

Please respond to
"Eclipse Platform Core component developers list."        <platform-core-dev@xxxxxxxxxxx>

To
"Eclipse Platform Core component developers list." <platform-core-dev@xxxxxxxxxxx>
cc
Subject
[platform-core-dev] How to handle IFileModificationValidator        deprecation ?





In build I20070306-1200, IFileModificationValidator has been deprecated.
However the RepositoryProvider#getFileModificationValidator() still returns
an IFileModificationValidator.
Thus a subclass of RepositoryProvider has to override this method returning
a deprecated type. As a consequence this method is flagged with a warning
saying that a
deprecated type is being used.

How is a repository provider now supposed to provide a file modification
validator ?

_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-core-dev


Back to the top