summaryrefslogtreecommitdiff
path: root/jurt/com/sun/star/lib/uno/protocols/urp
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 /jurt/com/sun/star/lib/uno/protocols/urp
parentff0ad0493ee1729c726587f667761b04101d774c (diff)
java: use 'Long.valueOf' instead of 'new Long'
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
Diffstat (limited to 'jurt/com/sun/star/lib/uno/protocols/urp')
-rw-r--r--jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java b/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java
index b2776e23b66d..865bb0733bb7 100644
--- a/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java
+++ b/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java
@@ -234,7 +234,7 @@ final class Unmarshal {
private Long readHyperValue() {
try {
- return new Long(input.readLong());
+ return Long.valueOf(input.readLong());
} catch (IOException e) {
throw new RuntimeException(e.toString());
}