summaryrefslogtreecommitdiff
path: root/swext
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 /swext
parent12b01b920f42666db84c8be1c9b6fd89a86eea4e (diff)
java: final fields that can be static
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
Diffstat (limited to 'swext')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java2
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
index aa95ea4a6016..2e262fb37356 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java
@@ -35,7 +35,7 @@ import com.sun.star.uno.XComponentContext;
public class WikiEditSettingDialog extends WikiDialog
{
- private final String sOKMethod = "OK";
+ private static final String sOKMethod = "OK";
private String[] Methods = {sOKMethod };
private Map<String,String> setting;
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java
index a9df95282b51..22d8e3d0a439 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java
@@ -29,10 +29,10 @@ public class WikiPropDialog extends WikiDialog{
private WikiEditorImpl m_aWikiEditor;
- private final String sSendMethod = "Send";
- private final String sWikiListMethod = "WikiListChange";
- private final String sArticleTextMethod = "ArticleTextChange";
- private final String sAddWikiMethod = "AddWiki";
+ private static final String sSendMethod = "Send";
+ private static final String sWikiListMethod = "WikiListChange";
+ private static final String sArticleTextMethod = "ArticleTextChange";
+ private static final String sAddWikiMethod = "AddWiki";
private String[] m_pMethods = {sSendMethod, sWikiListMethod, sArticleTextMethod, sAddWikiMethod};