-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
None
A DESCRIPTION OF THE REQUEST :
Hi
The way we have optional flower braces for single if and for statement, we can have it for single line methods also. Example
public void setXXX(y xxx)
this.xxx=xxx;
public y getXXX()
return xxx;
this will be very helpful, when writing single line methods like accessors and mutators incase of beans, TO, VO and Pojos
JUSTIFICATION :
This will reduce unwanted code in POJOS and will be very handy for developers
Hi
The way we have optional flower braces for single if and for statement, we can have it for single line methods also. Example
public void setXXX(y xxx)
this.xxx=xxx;
public y getXXX()
return xxx;
this will be very helpful, when writing single line methods like accessors and mutators incase of beans, TO, VO and Pojos
JUSTIFICATION :
This will reduce unwanted code in POJOS and will be very handy for developers
- relates to
-
JDK-8366511 Export lambda arrow definition expression syntax to regular method definition
-
- New
-