diff options
Diffstat (limited to 'src/test/test2/ConstField.java')
-rw-r--r-- | src/test/test2/ConstField.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test2/ConstField.java b/src/test/test2/ConstField.java index d733b4f6..2d08cfc0 100644 --- a/src/test/test2/ConstField.java +++ b/src/test/test2/ConstField.java @@ -8,6 +8,6 @@ public class ConstField { public static final double d = 9.0;
public static final String s = "const";
public static final Object obj = null;
- public static final Integer integer = new Integer(4);
+ public static final Integer integer = Integer.valueOf(4);
public static int k = 2;
}
|