cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KuiLIU (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-10364) Inconsiste "setXXX" method names.
Date Tue, 24 Apr 2018 09:43:00 GMT
KuiLIU created CLOUDSTACK-10364:

             Summary: Inconsiste "setXXX" method names.
                 Key: CLOUDSTACK-10364
             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 as "setXXX",
actually, they are not setter but getter.
Thus, they should be renamed as "getXXX".
 private String setVnetBrName(String pifName, String vnetId) {
        return "br" + pifName + "-" + vnetId;

    private String setVxnetBrName(String pifName, String vnetId) {
        return "brvx-" + vnetId;

This message was sent by Atlassian JIRA

View raw message