You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/04/27 22:01:32 UTC

[GitHub] DaanHoogland commented on a change in pull request #2601: CLOUDSTACK-10364: Change the "setXXX" method names to "getXXX".

DaanHoogland commented on a change in pull request #2601: CLOUDSTACK-10364: Change the "setXXX" method names to "getXXX".
URL: https://github.com/apache/cloudstack/pull/2601#discussion_r184816424
 
 

 ##########
 File path: plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
 ##########
 @@ -298,11 +298,11 @@ public void detach(LibvirtVMDef.InterfaceDef iface) {
         Script.runSimpleBashScript("test -d /sys/class/net/" + iface.getBrName() + "/brif/" + iface.getDevName() + " && brctl delif " + iface.getBrName() + " " + iface.getDevName());
     }
 
-    private String setVnetBrName(String pifName, String vnetId) {
+    private String getVnetBrName(String pifName, String vnetId) {
 
 Review comment:
   i dont think getVnetBrName() is a good name, what it does is format/generate/create a vnetBrName! not get it from somewhere.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services