diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-04 10:10:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-04 11:52:16 +0200 |
commit | dc2cd08af181e8f29ac403a242a15cf4cf7a5bd2 (patch) | |
tree | f2391736f9ad0dbfae6f049051a2f140d370e9a2 /qadevOOo | |
parent | 768d32cf5b7dc35ab1b93e898e1bb5beab43c27c (diff) |
simplify some java static initializers
Change-Id: Ic767b655297bfb5fcfb5cd7878d7131a9cb6b2f1
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java index 773ea0a1490f..8f454c7a2e75 100644 --- a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java +++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java @@ -220,12 +220,10 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest { */ public static class UnicodeStringPair { final static int valCount = 78; - static String[] sStringEquivalence = null; - static char[] iUnicodeEquivalence = null; + static final String[] sStringEquivalence = new String[valCount]; + static final char[] iUnicodeEquivalence = new char[valCount]; static { - sStringEquivalence = new String[valCount]; - iUnicodeEquivalence = new char[valCount]; fillValues(); } |