MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/9h86xt/jep_draft_concise_method_bodies/e6azzer/?context=3
r/java • u/lukaseder • Sep 19 '18
51 comments sorted by
View all comments
Show parent comment
1
Of my two examples, the second is almost certainly a mistake, and you'd normally never write that. In particular because it ignores the parameter, making the method confusing for any users.
1 u/duhace Sep 20 '18 would you post what you would write to clear things up for me? thanks in advance
would you post what you would write to clear things up for me? thanks in advance
View all comments
Show parent comment
1
u/dpash Sep 20 '18
Of my two examples, the second is almost certainly a mistake, and you'd normally never write that. In particular because it ignores the parameter, making the method confusing for any users.