mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
f038a740a5
commit
58eac0b49d
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user