mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix findbugs warning in ClusterManagerImpl.java ManagementServerHostDao.findByMsid takes long as input, and a boxed Long was being created for it
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #420
This commit is contained in:
parent
e409bc3e60
commit
eeeb2bb31d
@ -413,7 +413,7 @@ public class ClusterManagerImpl extends ManagerBase implements ClusterManager, C
|
||||
|
||||
@Override
|
||||
public ManagementServerHostVO getPeer(String mgmtServerId) {
|
||||
return _mshostDao.findByMsid(Long.valueOf(mgmtServerId));
|
||||
return _mshostDao.findByMsid(Long.parseLong(mgmtServerId));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user