summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-10 15:36:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-12-11 06:09:03 +0000
commit7557f23b31dcfb4d86c122bb34d9675c0db9a694 (patch)
tree5feb7be2b0841d8ee60d935cf2e29e9a01a31a27 /javaunohelper
parent808fd5fbd8868dfd95c8a38676815798fa2b79c4 (diff)
java: reduce visibility of fields and methods
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java
index 9a67b2049f5c..28a277994bac 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java
@@ -27,7 +27,7 @@ import com.sun.star.lib.uno.environments.java.java_environment;
public class ProxyProvider
{
- static java_environment env= new java_environment(null);
+ private static java_environment env= new java_environment(null);
/** returns Holder proxy objects for the specified interface. If the method is called
* several times with the same arguments then each time a new HolderProxy is returned.
@@ -61,7 +61,7 @@ public class ProxyProvider
class Proxy implements IQueryInterface, XEventListener
{
- String oid;
+ private String oid;
Type type;
Proxy(String oid, Type t) {
this.oid = oid;