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 /bridges/source/jni_uno | |
parent | 250391009aec9930abcc57930ddd4b6f56f4df9c (diff) |
java: make fields final where possible
found by PMD
Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
Diffstat (limited to 'bridges/source/jni_uno')
-rw-r--r-- | bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java index e49deff6bd18..d3a7425d83c6 100644 --- a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java +++ b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java @@ -56,13 +56,13 @@ public final class JNI_proxy implements java.lang.reflect.InvocationHandler new Class [] { java.lang.reflect.InvocationHandler.class }; private long m_bridge_handle; - private IEnvironment m_java_env; + private final IEnvironment m_java_env; /** these 2 fields are accessed directly from C++ */ private long m_receiver_handle; // on the C++ side, this is a "UNO_Interface *" private long m_td_handle; // on the C++ side, this is a "typelib_TypeDescription *" - private Type m_type; - private String m_oid; - private Class m_class; + private final Type m_type; + private final String m_oid; + private final Class m_class; public static String get_stack_trace( Throwable throwable ) |