« Return to Thread: Should IStringResourceLoader#loadStringResource(Class,String,Locale,String) exist?

Re: Should IStringResourceLoader#loadStringResource(Class,String,Locale,String) exist?

by Erik van Oosten :: Rate this Message:

Reply to Author | View in Thread


Correct. So its not a thing to do for 1.4 as you will have a compile error
iff you use @Override.

Can we go back to main point now?

Regards,
    Erik.


On Tue, 30 Jun 2009 15:03:31 +0200, Martijn Dashorst
<martijn.dashorst@...> wrote:

> Except when you use @override annotation.
>
>
> On Tuesday, June 30, 2009, Erik van Oosten <e.vanoosten@...> wrote:
>>
>> No, no warnings, the method is only referred from classes that implement
>> the interface and therefore continue to work after the declaration has
>> been
>> removed from the interface. Those classes might have an {@InheritDoc} on
>> the method in question, but that's easy to fix.
>>
>>     Erik.
>>
>>
>> On Tue, 30 Jun 2009 08:54:20 -0400, James Carman
>> <jcarman@...> wrote:
>>> On Tue, Jun 30, 2009 at 8:50 AM, Erik van Oosten<e.vanoosten@...>
>>> wrote:
>>>>
>>>> I am only talking about the declaration on the interface.
>>>
>>> So, if deprecating the method on the interface would cause compiler
>>> warnings, then removing the method on the interface would cause
>>> compiler errors.  Right?
>>

 « Return to Thread: Should IStringResourceLoader#loadStringResource(Class,String,Locale,String) exist?