Skip to content

Commit 16ddd49

Browse files
rsafonsecayadvr
authored andcommitted
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 apache#424
1 parent 9ba4e9c commit 16ddd49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/hypervisors/ucs/src/com/cloud/ucs/manager/UcsManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public boolean configure(String name, Map<String, Object> params) throws Configu
175175
@Override
176176
public boolean start() {
177177
try {
178-
syncBladeInterval = Integer.valueOf(configDao.getValue(Config.UCSSyncBladeInterval.key()));
178+
syncBladeInterval = Integer.parseInt(configDao.getValue(Config.UCSSyncBladeInterval.key()));
179179
} catch (NumberFormatException e) {
180180
syncBladeInterval = 600;
181181
}

0 commit comments

Comments
 (0)