diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-12 09:30:14 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-06-15 08:45:19 +0000 |
commit | 0c18bedb7328493040c1a20822b345e624d6041f (patch) | |
tree | 2f7fb01b21a63ceef52f05035bc047173ea46785 /wizards/com/sun/star/wizards/table | |
parent | 8b85838611ed448ef18a9e4982849bbd702981aa (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 'wizards/com/sun/star/wizards/table')
-rw-r--r-- | wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java | 2 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/table/ScenarioSelector.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java index e715a7732b45..0fa3e29888ad 100644 --- a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java +++ b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java @@ -54,7 +54,7 @@ public class PrimaryKeyHandler implements XFieldSelectionListener private String[] fieldnames; private final TableDescriptor curTableDescriptor; private final boolean bAutoPrimaryKeysupportsAutoIncrmentation; - private final static String SAUTOMATICKEYFIELDNAME = "ID"; + private static final String SAUTOMATICKEYFIELDNAME = "ID"; public PrimaryKeyHandler(TableWizard _CurUnoDialog, TableDescriptor _curTableDescriptor) { diff --git a/wizards/com/sun/star/wizards/table/ScenarioSelector.java b/wizards/com/sun/star/wizards/table/ScenarioSelector.java index ac650759931f..6cd094c13bc6 100644 --- a/wizards/com/sun/star/wizards/table/ScenarioSelector.java +++ b/wizards/com/sun/star/wizards/table/ScenarioSelector.java @@ -45,8 +45,8 @@ import com.sun.star.wizards.ui.event.XItemListenerAdapter; */ public class ScenarioSelector extends FieldSelection implements XItemListener, XFieldSelectionListener { - private final static int PRIVATE = 0; - private final static int BUSINESS = 1; + private static final int PRIVATE = 0; + private static final int BUSINESS = 1; private final XRadioButton optBusiness; private XListBox xTableListBox; |