summaryrefslogtreecommitdiff
path: root/jurt/com/sun/star
diff options
context:
space:
mode:
Diffstat (limited to 'jurt/com/sun/star')
-rw-r--r--jurt/com/sun/star/comp/urlresolver/UrlResolver.java2
-rw-r--r--jurt/com/sun/star/lib/uno/environments/remote/ThreadId.java5
2 files changed, 3 insertions, 4 deletions
diff --git a/jurt/com/sun/star/comp/urlresolver/UrlResolver.java b/jurt/com/sun/star/comp/urlresolver/UrlResolver.java
index 5a7e91c77fe5..76058e95a6b4 100644
--- a/jurt/com/sun/star/comp/urlresolver/UrlResolver.java
+++ b/jurt/com/sun/star/comp/urlresolver/UrlResolver.java
@@ -50,7 +50,7 @@ public class UrlResolver {
static public class _UrlResolver implements XUnoUrlResolver {
static private final String __serviceName = "com.sun.star.bridge.UnoUrlResolver";
- private XMultiServiceFactory _xMultiServiceFactory;
+ private final XMultiServiceFactory _xMultiServiceFactory;
public _UrlResolver(XMultiServiceFactory xMultiServiceFactory) {
_xMultiServiceFactory = xMultiServiceFactory;
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;
}