Wiki Markup |
---|
According to \[[Ware|AA. Java References#Ware 08]\], methods should always return a value that allows the developer to know the current state of the object and/or the result of the operation. This is consistent with what is stated in [jg:EXP02-J. Do not ignore values returned by methods ] Do not ignore values returned by methods. The returned value should be as more representative as possible and should consider the way the developer is going to handle it. |
...