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:
Rafael da Fonseca 2015-06-14 16:50:30 +02:00 committed by Rohit Yadav
parent a299674831
commit e409bc3e60
1 changed files with 1 additions and 1 deletions

View File

@ -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();