summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-16 13:02:45 +0200
committerNoel Grandin <noel@peralex.com>2014-10-17 08:26:21 +0200
commit03c7c26cbe7d75f103515e62dc39103f11d4637f (patch)
treed2e3e75fd84ce6fcb58c3ccbb59d5a1a62990c47 /javaunohelper
parent12b01b920f42666db84c8be1c9b6fd89a86eea4e (diff)
java: final fields that can be static
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java2
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java b/javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java
index 0f222d7d3506..783c1d0cfcc2 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java
@@ -27,7 +27,7 @@ import com.sun.star.uno.Type;
*/
public class ComponentBase extends WeakBase implements XComponent
{
- private final boolean DEBUG= false;
+ private static final boolean DEBUG= false;
protected MultiTypeInterfaceContainer listenerContainer;
protected boolean bInDispose= false;
protected boolean bDisposed= false;
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
index c867cad5d439..c51475e4cd12 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
@@ -87,7 +87,7 @@ import com.sun.star.uno.UnoRuntime;
*/
public class InterfaceContainer implements Cloneable
{
- final boolean DEBUG= false;
+ static final boolean DEBUG= false;
/**
* The array buffer into which the elements of the ArrayList are stored.
* The capacity of the ArrayList is the length of this array buffer.