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 /sc/qa/complex/dataPilot/CheckDataPilot.java | |
parent | be1bb7b1ccee28be616b89cc95e97d656e78bbe3 (diff) |
java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
Diffstat (limited to 'sc/qa/complex/dataPilot/CheckDataPilot.java')
-rw-r--r-- | sc/qa/complex/dataPilot/CheckDataPilot.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/complex/dataPilot/CheckDataPilot.java b/sc/qa/complex/dataPilot/CheckDataPilot.java index efa3aee6b6f3..ee4980fece72 100644 --- a/sc/qa/complex/dataPilot/CheckDataPilot.java +++ b/sc/qa/complex/dataPilot/CheckDataPilot.java @@ -249,7 +249,7 @@ public class CheckDataPilot { int y = sCellAdress.Row + 3; // cell of the data pilot output oCheckCell = oSheet.getCellByPosition(x, y); - aChangeValue = new Integer(27); + aChangeValue = Integer.valueOf(27); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { e.printStackTrace(); throw new StatusException( "Couldn't get cells for changing.", e); @@ -335,7 +335,7 @@ public class CheckDataPilot { param.put("CELLFORCHANGE", oChangeCell); param.put("CELLFORCHECK", oCheckCell); param.put("CHANGEVALUE", aChangeValue); - param.put("FIELDSAMOUNT", new Integer(5)); + param.put("FIELDSAMOUNT", Integer.valueOf(5)); } |