From 03c7c26cbe7d75f103515e62dc39103f11d4637f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 16 Oct 2014 13:02:45 +0200 Subject: java: final fields that can be static Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447 --- javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java | 2 +- javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'javaunohelper/com') 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. -- cgit