summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 15:09:06 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:17 +0200
commitff0ad0493ee1729c726587f667761b04101d774c (patch)
tree8c0f97e8740fbdb2ed0cdbfc5d99d82cae8f7df6 /qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
parentbe1bb7b1ccee28be616b89cc95e97d656e78bbe3 (diff)
java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
Diffstat (limited to 'qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
index 83bfe72a665d..f540d77db610 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
@@ -106,8 +106,8 @@ public class _SheetSortDescriptor extends MultiMethodTest {
sValue = props[nr].Value;
if ( name.equals("OutputPosition")) {
sInt = ((CellAddress) sValue).Row;
- gValue = new Integer(gInt);
- sValue = new Integer(sInt);
+ gValue = Integer.valueOf(gInt);
+ sValue = Integer.valueOf(sInt);
}
//check get-set methods