summaryrefslogtreecommitdiff
path: root/swext/mediawiki
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-12 09:30:14 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-06-15 08:45:19 +0000
commit0c18bedb7328493040c1a20822b345e624d6041f (patch)
tree2f7fb01b21a63ceef52f05035bc047173ea46785 /swext/mediawiki
parent8b85838611ed448ef18a9e4982849bbd702981aa (diff)
java: 'final static' to 'static final'
this is the canonical order, and it makes the code easier to read Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470 Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Diffstat (limited to 'swext/mediawiki')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/Helper.java70
1 files changed, 35 insertions, 35 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java
index b2c618d08f03..50750de76963 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java
@@ -68,45 +68,45 @@ import org.apache.commons.httpclient.methods.PostMethod;
public class Helper
{
- public final static int GENERALSEND_ERROR = 0;
- public final static int NOWIKIFILTER_ERROR = 1;
- public final static int NOURLCONNECTION_ERROR = 2;
- public final static int WRONGLOGIN_ERROR = 3;
- public final static int INVALIDURL_ERROR = 4;
- public final static int NOURL_ERROR = 5;
+ public static final int GENERALSEND_ERROR = 0;
+ public static final int NOWIKIFILTER_ERROR = 1;
+ public static final int NOURLCONNECTION_ERROR = 2;
+ public static final int WRONGLOGIN_ERROR = 3;
+ public static final int INVALIDURL_ERROR = 4;
+ public static final int NOURL_ERROR = 5;
- public final static int DLG_SENDTITLE = 6;
- public final static int DLG_WIKIARTICLE = 7;
+ public static final int DLG_SENDTITLE = 6;
+ public static final int DLG_WIKIARTICLE = 7;
- public final static int DLG_OK = 9;
+ public static final int DLG_OK = 9;
// 11 is reserved
- public final static int DLG_ADDBUTTON = 12;
- public final static int DLG_EDITBUTTON = 13;
- public final static int DLG_SENDBUTTON = 14;
- public final static int DLG_REMOVEBUTTON = 15;
-
- public final static int DLG_EDITSETTING_URLLABEL = 16;
- public final static int DLG_EDITSETTING_USERNAMELABEL = 17;
- public final static int DLG_EDITSETTING_PASSWORDLABEL = 18;
-
- public final static int DLG_SENDTOMEDIAWIKI_LABEL1 = 20;
- public final static int DLG_SENDTOMEDIAWIKI_LABEL2 = 21;
- public final static int DLG_SENDTOMEDIAWIKI_LABEL3 = 22;
- public final static int DLG_SENDTOMEDIAWIKI_MINORCHECK = 23;
- public final static int DLG_SENDTOMEDIAWIKI_BROWSERCHECK = 24;
- public final static int UNKNOWNCERT_ERROR = 25;
- public final static int DLG_MEDIAWIKI_TITLE = 26;
- public final static int DLG_EDITSETTING_ACCOUNTLINE = 27;
- public final static int DLG_EDITSETTING_WIKILINE = 28;
- public final static int DLG_EDITSETTING_SAVEBOX = 29;
- public final static int CANCELSENDING_ERROR = 30;
- public final static int DLG_MEDIAWIKIEXTENSION_STRING = 31;
- public final static int DLG_WIKIPAGEEXISTS_LABEL1 = 32;
-
- private final static int STRINGS_NUM = 33;
-
- private final static String[] m_pEntryNames = { "GeneralSendError",
+ public static final int DLG_ADDBUTTON = 12;
+ public static final int DLG_EDITBUTTON = 13;
+ public static final int DLG_SENDBUTTON = 14;
+ public static final int DLG_REMOVEBUTTON = 15;
+
+ public static final int DLG_EDITSETTING_URLLABEL = 16;
+ public static final int DLG_EDITSETTING_USERNAMELABEL = 17;
+ public static final int DLG_EDITSETTING_PASSWORDLABEL = 18;
+
+ public static final int DLG_SENDTOMEDIAWIKI_LABEL1 = 20;
+ public static final int DLG_SENDTOMEDIAWIKI_LABEL2 = 21;
+ public static final int DLG_SENDTOMEDIAWIKI_LABEL3 = 22;
+ public static final int DLG_SENDTOMEDIAWIKI_MINORCHECK = 23;
+ public static final int DLG_SENDTOMEDIAWIKI_BROWSERCHECK = 24;
+ public static final int UNKNOWNCERT_ERROR = 25;
+ public static final int DLG_MEDIAWIKI_TITLE = 26;
+ public static final int DLG_EDITSETTING_ACCOUNTLINE = 27;
+ public static final int DLG_EDITSETTING_WIKILINE = 28;
+ public static final int DLG_EDITSETTING_SAVEBOX = 29;
+ public static final int CANCELSENDING_ERROR = 30;
+ public static final int DLG_MEDIAWIKIEXTENSION_STRING = 31;
+ public static final int DLG_WIKIPAGEEXISTS_LABEL1 = 32;
+
+ private static final int STRINGS_NUM = 33;
+
+ private static final String[] m_pEntryNames = { "GeneralSendError",
"NoWikiFilter",
"NoConnectionToURL",
"WrongLogin",