diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 11:36:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:22 +0200 |
commit | da677dfd59c2b551f3335ee0a5d5dfb33f9869c5 (patch) | |
tree | 9aa09066c95935117bf405b119ed9f89f448a54d /bridges/source/jni_uno | |
parent | 14d1a11ec4a7ed0deeac522403248536e8d23f57 (diff) |
java: reduce scope, make fields private
found by UCDetector
Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
Diffstat (limited to 'bridges/source/jni_uno')
-rw-r--r-- | bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java | 18 |
1 files changed, 9 insertions, 9 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 ba8eb10b6caa..74f7c4a880dd 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 @@ -50,18 +50,18 @@ public final class JNI_proxy implements java.lang.reflect.InvocationHandler NativeLibraryLoader.loadLibrary(JNI_proxy.class.getClassLoader(), "java_uno"); } - protected static ClassLoader s_classloader = + private static ClassLoader s_classloader = JNI_proxy.class.getClassLoader(); - protected static Class s_InvocationHandler [] = + private static Class s_InvocationHandler [] = new Class [] { java.lang.reflect.InvocationHandler.class }; - protected long m_bridge_handle; - protected IEnvironment m_java_env; - protected long m_receiver_handle; - protected long m_td_handle; - protected Type m_type; - protected String m_oid; - protected Class m_class; + private long m_bridge_handle; + private IEnvironment m_java_env; + private long m_receiver_handle; + private long m_td_handle; + private Type m_type; + private String m_oid; + private Class m_class; public static String get_stack_trace( Throwable throwable ) |