summaryrefslogtreecommitdiff
path: root/odk/examples/java/PropertySet
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 /odk/examples/java/PropertySet
parentbe1bb7b1ccee28be616b89cc95e97d656e78bbe3 (diff)
java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
Diffstat (limited to 'odk/examples/java/PropertySet')
-rw-r--r--odk/examples/java/PropertySet/PropTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/java/PropertySet/PropTest.java b/odk/examples/java/PropertySet/PropTest.java
index fd77886a6678..148c000d9938 100644
--- a/odk/examples/java/PropertySet/PropTest.java
+++ b/odk/examples/java/PropertySet/PropTest.java
@@ -152,9 +152,9 @@ public class PropTest extends PropertySet implements XServiceInfo
// readonly
public int roIntA= 100;
- public Integer roIntClassA= new Integer(100);
- public Object roObjectA= new Integer(101);
- public Any roAnyA= new Any( new Type(int.class), new Integer(102));
+ public Integer roIntClassA= Integer.valueOf(100);
+ public Object roObjectA= Integer.valueOf(101);
+ public Any roAnyA= new Any( new Type(int.class), Integer.valueOf(102));
// BOUND & CONSTRAINED
public boolean bcBoolA;