summaryrefslogtreecommitdiff
path: root/comphelper/qa
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 /comphelper/qa
parentff0ad0493ee1729c726587f667761b04101d774c (diff)
java: use 'Long.valueOf' instead of 'new Long'
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
Diffstat (limited to 'comphelper/qa')
-rw-r--r--comphelper/qa/complex/comphelper/Map.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/qa/complex/comphelper/Map.java b/comphelper/qa/complex/comphelper/Map.java
index a615c8f86323..9ff558a44b2c 100644
--- a/comphelper/qa/complex/comphelper/Map.java
+++ b/comphelper/qa/complex/comphelper/Map.java
@@ -237,7 +237,7 @@ public class Map /* extends complexlib.ComplexTestCase */
case 0: someValue = Boolean.FALSE; break;
case 1: someValue = new Short( (short)0 ); break;
case 2: someValue = Integer.valueOf( 0 ); break;
- case 3: someValue = new Long( 0 ); break;
+ case 3: someValue = Long.valueOf( 0 ); break;
case 4: someValue = UnoRuntime.queryInterface( XInterface.class, new DummyInterface() ); break;
case 5: someValue = UnoRuntime.queryInterface( XSet.class, new DummySet() ); break;
case 6: someValue = UnoRuntime.queryInterface( XContainer.class, new DummyContainer() ); break;