diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-18 10:01:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-18 12:44:28 +0200 |
commit | 0063cf285696951e336b9cec1da8881997b286ce (patch) | |
tree | be70dfd8127c35f9e4a6d18d4db459a587813bf4 /desktop/test | |
parent | 250391009aec9930abcc57930ddd4b6f56f4df9c (diff) |
java: make fields final where possible
found by PMD
Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
Diffstat (limited to 'desktop/test')
-rw-r--r-- | desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java index 86b168abc55d..f7499ceef5f7 100644 --- a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java +++ b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java @@ -49,13 +49,13 @@ public class OptionsEventHandler { static private final String __serviceName = "com.sun.star.comp.extensionoptions.OptionsEventHandler"; - private XComponentContext m_cmpCtx; + private final XComponentContext m_cmpCtx; private XNameAccess m_xAccessLeaves; /**Names of supported options pages. */ - private String[] m_arWindowNames = { + private final String[] m_arWindowNames = { "Writer1", "Writer2", "Writer3", "Calc1", "Calc2", "Calc3", "Draw1", "Draw2", "Draw3", "Node1_1", "Node1_2", "Node1_3", "Node2_1", "Node2_2", "Node2_3", "Node3_1", "Node3_2", "Node3_3"}; @@ -63,7 +63,7 @@ public class OptionsEventHandler { /**Names of the controls which are supported by this handler. All these *controls must have a "Text" property. */ - private String[] m_arStringControls = { + private final String[] m_arStringControls = { "String0", "String1", "String2", "String3", "String4"}; public _OptionsEventHandler(XComponentContext xCompContext) { |