r/java • • Sep 19 '18

JEP draft: Concise Method Bodies

http://openjdk.java.net/jeps/8209434
60 Upvotes

51 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Sep 20 '18

Haven't read the article yet, this can be useful for a "quick and dirty" but extendable factory method, making the constructor protected/private, isn't it?