Fix 2 more findbugs DM_BOXED_PRIMITIVE_FOR_PARSING in Upgrade218to22.java

Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>

This closes #500
This commit is contained in:
Rafael da Fonseca 2015-06-22 00:34:35 +02:00 committed by Daan Hoogland
parent f038a740a5
commit 58eac0b49d

View File

@ -1388,8 +1388,8 @@ public class Upgrade218to22 implements DbUpgrade {
pstmt = conn.prepareStatement("INSERT INTO load_balancing_rules VALUES (?, ?, NULL, ?, ?, ?)");
pstmt.setLong(1, newLbId);
pstmt.setString(2, name);
pstmt.setInt(3, Integer.valueOf(destPort));
pstmt.setInt(4, Integer.valueOf(destPort));
pstmt.setInt(3, Integer.parseInt(destPort));
pstmt.setInt(4, Integer.parseInt(destPort));
pstmt.setString(5, algorithm);
pstmt.executeUpdate();
pstmt.close();