diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 15:09:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:17 +0200 |
commit | ff0ad0493ee1729c726587f667761b04101d774c (patch) | |
tree | 8c0f97e8740fbdb2ed0cdbfc5d99d82cae8f7df6 /ucb/qa/complex | |
parent | be1bb7b1ccee28be616b89cc95e97d656e78bbe3 (diff) |
java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
Diffstat (limited to 'ucb/qa/complex')
-rw-r--r-- | ucb/qa/complex/ucb/UCB.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/qa/complex/ucb/UCB.java b/ucb/qa/complex/ucb/UCB.java index be511c95444c..660b4c4bfefc 100644 --- a/ucb/qa/complex/ucb/UCB.java +++ b/ucb/qa/complex/ucb/UCB.java @@ -85,7 +85,7 @@ public class UCB { } else if (type.equals(Integer.class)) { - return new Integer(xrow.getInt(1)); + return Integer.valueOf(xrow.getInt(1)); } else if (type.equals(Short.class)) { |