mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Fix for 1125389 RV: Bad use of return value - make sure the replace call is done after replaceAll and the correct value is returned
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
This commit is contained in:
parent
f03dcdab19
commit
56070c644b
@ -239,8 +239,7 @@ public class ContrailManagerImpl extends ManagerBase implements ContrailManager
|
||||
@Override
|
||||
public String getPhysicalNetworkName(PhysicalNetworkVO phys_net) {
|
||||
String physname = phys_net.getName();
|
||||
physname = physname.replaceAll("\\s", "");
|
||||
physname.replace("_", "");
|
||||
physname = physname.replaceAll("\\s", "").replace("_", "");
|
||||
return physname;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user