Functional interfaces and deprecated methods

Paul Benedict pbenedict at apache.org
Thu Feb 7 19:13:18 PST 2013


Versioned functional interfaces is an answer too. Swap out a SomethingFunc
for SomethingFunc2 works just as well. If that's the "better" answer,
that's the justification I am seeking.

Paul

On Thu, Feb 7, 2013 at 6:27 PM, Jed Wesley-Smith <jed at wesleysmith.io> wrote:

> Why would that be any better than deprecating the entire interface in
> favour of a new one?
>
> cheers,
> jed
>
> On 8 February 2013 07:28, Paul Benedict <pbenedict at apache.org> wrote:
> > A @FunctionalInterface has one method. If that method needs replacing, is
> > it possible to @Deprecate the existing method and introduce a new one? I
> > know the spec doesn't allow it now. What are your opinions on whether
> this
> > should be allowed?
>


More information about the lambda-dev mailing list