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

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

by Martijn Dashorst :: Rate this Message:

Reply to Author | View in Thread

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?
>

--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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