mirror of https://github.com/apache/cloudstack.git
Fix findbugs warning in UcsManagerImpl.java Integer was being created to assign value to int
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #424
This commit is contained in:
parent
9ba4e9cb86
commit
16ddd498d5
|
|
@ -175,7 +175,7 @@ public class UcsManagerImpl implements UcsManager {
|
|||
@Override
|
||||
public boolean start() {
|
||||
try {
|
||||
syncBladeInterval = Integer.valueOf(configDao.getValue(Config.UCSSyncBladeInterval.key()));
|
||||
syncBladeInterval = Integer.parseInt(configDao.getValue(Config.UCSSyncBladeInterval.key()));
|
||||
} catch (NumberFormatException e) {
|
||||
syncBladeInterval = 600;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue