summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-18 10:01:21 +0200
committerNoel Grandin <noel@peralex.com>2014-11-18 12:44:28 +0200
commit0063cf285696951e336b9cec1da8881997b286ce (patch)
treebe70dfd8127c35f9e4a6d18d4db459a587813bf4 /odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
parent250391009aec9930abcc57930ddd4b6f56f4df9c (diff)
java: make fields final where possible
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index 3f86aeff0581..1acb6eae6a40 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -80,9 +80,9 @@ public class CustomizeView extends JPanel
* @member m_aToolBarListener listener for status events of the tool bar
* @member m_aObjectBarListener listener for status events of the object bar
*/
- private JCheckBox m_cbMenuBar ;
- private JCheckBox m_cbToolBar ;
- private JCheckBox m_cbObjectBar ;
+ private final JCheckBox m_cbMenuBar ;
+ private final JCheckBox m_cbToolBar ;
+ private final JCheckBox m_cbObjectBar ;
private StatusListener m_aMenuBarListener ;
private StatusListener m_aToolBarListener ;
@@ -175,9 +175,9 @@ public class CustomizeView extends JPanel
com.sun.star.lang.XEventListener
{
/// URL, to toogle the requested UI item
- private String m_sURL;
+ private final String m_sURL;
/// name of the property which must be used in combination with the URL
- private String m_sProp;
+ private final String m_sProp;
/// we must use this frame to dispatch a request
private com.sun.star.frame.XFrame m_xFrame;