mirror of https://github.com/apache/cloudstack.git
Fix findbugs warning in Upgrade421to430.java Was creating Integer to assign to int
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #419
This commit is contained in:
parent
a299674831
commit
e409bc3e60
|
|
@ -157,7 +157,7 @@ public class Upgrade421to430 implements DbUpgrade {
|
|||
if (resultSet.next()) {
|
||||
port = DBEncryptionUtil.decrypt(resultSet.getString(1));
|
||||
if (StringUtils.isNotBlank(port)) {
|
||||
portNumber = Integer.valueOf(port);
|
||||
portNumber = Integer.parseInt(port);
|
||||
}
|
||||
}
|
||||
pstmt.close();
|
||||
|
|
|
|||
Loading…
Reference in New Issue