mirror of https://github.com/apache/cloudstack.git
Revert "Fix 2 findbugs high priority warnings"
This reverts commit 1ca74dac26.
This commit is contained in:
parent
c5437d216f
commit
b272d7717e
|
|
@ -312,7 +312,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
|||
protected DiskControllerType _rootDiskController = DiskControllerType.ide;
|
||||
|
||||
protected ManagedObjectReference _morHyperHost;
|
||||
protected static final ThreadLocal<VmwareContext> s_serviceContext = new ThreadLocal<VmwareContext>();
|
||||
protected static ThreadLocal<VmwareContext> s_serviceContext = new ThreadLocal<VmwareContext>();
|
||||
protected String _hostName;
|
||||
|
||||
protected List<PropertyMapDynamicBean> _cmdMBeans = new ArrayList<PropertyMapDynamicBean>();
|
||||
|
|
@ -328,7 +328,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
|||
|
||||
protected static HashMap<VirtualMachinePowerState, PowerState> s_powerStatesTable;
|
||||
static {
|
||||
final s_powerStatesTable = new HashMap<VirtualMachinePowerState, PowerState>();
|
||||
s_powerStatesTable = new HashMap<VirtualMachinePowerState, PowerState>();
|
||||
s_powerStatesTable.put(VirtualMachinePowerState.POWERED_ON, PowerState.PowerOn);
|
||||
s_powerStatesTable.put(VirtualMachinePowerState.POWERED_OFF, PowerState.PowerOff);
|
||||
s_powerStatesTable.put(VirtualMachinePowerState.SUSPENDED, PowerState.PowerOn);
|
||||
|
|
|
|||
Loading…
Reference in New Issue