ICU-8854 Unused final instance variable. Should be static.

X-SVN-Rev: 30858
This commit is contained in:
Abhinav Gupta 2011-10-24 19:23:29 +00:00
parent 04b9f1678a
commit 77598a7d62
3 changed files with 7 additions and 7 deletions

View File

@ -106,7 +106,7 @@ class CharsetISCII extends CharsetICU {
static final short ZERO = 0x00;
}
private final String ISCII_CNV_PREFIX = "ISCII,version=";
private final static String ISCII_CNV_PREFIX = "ISCII,version=";
@SuppressWarnings("unused")
private final class UConverterDataISCII {

View File

@ -20,7 +20,7 @@ import com.ibm.icu.text.UnicodeSet;
*
*/
class CharsetUTF7 extends CharsetICU {
private final String IMAP_NAME="IMAP-mailbox-name";
private final static String IMAP_NAME="IMAP-mailbox-name";
private boolean useIMAP;
protected byte[] fromUSubstitution=new byte[]{0x3F};

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 2008, International Business Machines Corporation and *
* Copyright (C) 2008-2011, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -16,10 +16,10 @@ import com.ibm.icu.impl.jdkadapter.NumberFormatICU;
public class NumberFormatProviderICU extends NumberFormatProvider {
private final int NUMBER = 0;
private final int INTEGER = 1;
private final int CURRENCY = 2;
private final int PERCENT = 3;
private final static int NUMBER = 0;
private final static int INTEGER = 1;
private final static int CURRENCY = 2;
private final static int PERCENT = 3;
@Override
public NumberFormat getCurrencyInstance(Locale locale) {