« 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


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?