cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KuiLIU (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-10359) Inconsistent method names
Date Sun, 22 Apr 2018 10:29:00 GMT
KuiLIU created CLOUDSTACK-10359:

             Summary: Inconsistent method names
                 Key: CLOUDSTACK-10359
             Project: CloudStack
          Issue Type: Improvement
      Security Level: Public (Anyone can view this level - this is the default.)
            Reporter: KuiLIU

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;


This message was sent by Atlassian JIRA

View raw message