Make Logger.null public + minor clean up#2094
Conversation
|
Can one of the admins verify this patch? |
|
Shall I add notes too ? |
|
Yes for notes. The change looks fine pending Travis. |
|
Notes added, in 0.13.10. |
There was a problem hiding this comment.
In a Java interface, methods are implicitly public, constants are implicitly public static final, so public is not needed :)
There was a problem hiding this comment.
Found this on StackOverflow, JLS says http://docs.oracle.com/javase/specs/jls/se7/html/jls-9.html#jls-9.4
It is permitted, but discouraged as a matter of style, to redundantly specify the public and/or abstract modifier for a method declared in an interface.
|
LGTM |
|
Shall I amend my PR to make the |
|
@pdalpra No. Looks like it wouldn't be binary compatible then. |
Make Logger.null public + minor clean up
This PR makes the dummy
Logger.Nullpublic.While I was at it, I also added explicit types annotation on methods where they were missing.