diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-18 10:01:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-18 12:44:28 +0200 |
commit | 0063cf285696951e336b9cec1da8881997b286ce (patch) | |
tree | be70dfd8127c35f9e4a6d18d4db459a587813bf4 /jurt/com/sun/star/lib | |
parent | 250391009aec9930abcc57930ddd4b6f56f4df9c (diff) |
java: make fields final where possible
found by PMD
Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
Diffstat (limited to 'jurt/com/sun/star/lib')
-rw-r--r-- | jurt/com/sun/star/lib/uno/environments/remote/ThreadId.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/remote/ThreadId.java b/jurt/com/sun/star/lib/uno/environments/remote/ThreadId.java index b652aaf130c0..24d1572f866c 100644 --- a/jurt/com/sun/star/lib/uno/environments/remote/ThreadId.java +++ b/jurt/com/sun/star/lib/uno/environments/remote/ThreadId.java @@ -101,10 +101,9 @@ public final class ThreadId { return id; } - private static final String PREFIX - = "java:" + UnoRuntime.getUniqueKey() + ":"; + private static final String PREFIX = "java:" + UnoRuntime.getUniqueKey() + ":"; private static BigInteger count = BigInteger.ZERO; - private byte[] id; + private final byte[] id; private int hash = 0; } |