Skip to content

Commit b272d77

Browse files
committed
Revert "Fix 2 findbugs high priority warnings"
This reverts commit 1ca74da.
1 parent c5437d2 commit b272d77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
312312
protected DiskControllerType _rootDiskController = DiskControllerType.ide;
313313

314314
protected ManagedObjectReference _morHyperHost;
315-
protected static final ThreadLocal<VmwareContext> s_serviceContext = new ThreadLocal<VmwareContext>();
315+
protected static ThreadLocal<VmwareContext> s_serviceContext = new ThreadLocal<VmwareContext>();
316316
protected String _hostName;
317317

318318
protected List<PropertyMapDynamicBean> _cmdMBeans = new ArrayList<PropertyMapDynamicBean>();
@@ -328,7 +328,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
328328

329329
protected static HashMap<VirtualMachinePowerState, PowerState> s_powerStatesTable;
330330
static {
331-
final s_powerStatesTable = new HashMap<VirtualMachinePowerState, PowerState>();
331+
s_powerStatesTable = new HashMap<VirtualMachinePowerState, PowerState>();
332332
s_powerStatesTable.put(VirtualMachinePowerState.POWERED_ON, PowerState.PowerOn);
333333
s_powerStatesTable.put(VirtualMachinePowerState.POWERED_OFF, PowerState.PowerOff);
334334
s_powerStatesTable.put(VirtualMachinePowerState.SUSPENDED, PowerState.PowerOn);

0 commit comments

Comments
 (0)