Javadoc (b116) lacks @FunctionalInterface on Observer signature
Paul Benedict
pbenedict at apache.org
Thu Nov 21 14:23:38 PST 2013
While reading the Observer javadocs [1], I noticed the message of it being
a functional interface yet the annotation is not appearing on the signature:
"public interface Observer" without the annotation.
Now compare that to javadocs of Comparator:
"@FunctionalInterface
public interface Comparator<T>"
[1] http://download.java.net/jdk8/docs/api/java/util/Observer.html
--
Cheers,
Paul
More information about the lambda-dev
mailing list