[ROO-3651] Roo doesn't allow to generate methods with empty body Created: 26/Jul/15 Updated: 26/Jul/15 Resolved: 26/Jul/15
|Reporter:||Juan Carlos García del Canto||Assignee:||Juan Carlos García del Canto|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
If you try to generate a method using MethodMetadataBuilder and you want that your method has empty body, ROO shell shows the following error:
This check is only necessary if return type is distinct to void, because method needs to return something, so body should not be blank...
|Comment by Juan Carlos García del Canto [ 26/Jul/15 ]|
Now ROO allow to generate methods with empty body.
This changes were tested to prevent errors: