Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
Description
The following two methods are named "getXXX".
The two method are checking the status of variables.
"getCustomized" is not as intuitive as "isCustomized".
"getIsSystem" is not as intuitive as "isSystem" as well.
public boolean getCustomized() { return (cpuNumber == null || memory == null || cpuSpeed == null); } public Boolean getIsSystem() { return isSystem == null ? false : isSystem; }
Attachments
Issue Links
- links to