summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 15:10:41 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:17 +0200
commit8a2c6c29af41cd7a62f37861fb0d4e81a857bb45 (patch)
tree87575bd76a2ce98793d2bb1773ddc4a9c4e5e41c /testtools
parentff0ad0493ee1729c726587f667761b04101d774c (diff)
java: use 'Long.valueOf' instead of 'new Long'
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
Diffstat (limited to 'testtools')
-rw-r--r--testtools/com/sun/star/comp/bridge/TestComponent.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/testtools/com/sun/star/comp/bridge/TestComponent.java b/testtools/com/sun/star/comp/bridge/TestComponent.java
index ea7f572cc4aa..beba7850dae4 100644
--- a/testtools/com/sun/star/comp/bridge/TestComponent.java
+++ b/testtools/com/sun/star/comp/bridge/TestComponent.java
@@ -1170,8 +1170,8 @@ public class TestComponent {
new Any(Type.UNSIGNED_SHORT, new Short((short) -1)),
Integer.valueOf(Integer.MIN_VALUE),
new Any(Type.UNSIGNED_LONG, Integer.valueOf(-1)),
- new Long(Long.MIN_VALUE),
- new Any(Type.UNSIGNED_HYPER, new Long(-1L)),
+ Long.valueOf(Long.MIN_VALUE),
+ new Any(Type.UNSIGNED_HYPER, Long.valueOf(-1L)),
new Float(0.123f),
new Double(0.456),
new Character('X'),
@@ -1226,7 +1226,7 @@ public class TestComponent {
new TestPolyStruct(new Byte(Byte.MIN_VALUE)),
new TestPolyStruct(new Short(Short.MIN_VALUE)),
new TestPolyStruct(Integer.valueOf(Integer.MIN_VALUE)),
- new TestPolyStruct(new Long(Long.MIN_VALUE)),
+ new TestPolyStruct(Long.valueOf(Long.MIN_VALUE)),
new TestPolyStruct(new Character('X')),
new TestPolyStruct("test"),
new TestPolyStruct(new Float(0.123f)),