From 0063cf285696951e336b9cec1da8881997b286ce Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Nov 2014 10:01:21 +0200 Subject: java: make fields final where possible found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec --- .../jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bridges/source/jni_uno/java') 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 ) -- cgit