From 82962c12cbabfe0c07387fc6d78dcc231ef14e97 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Fri, 4 Nov 2011 15:17:34 +0000 Subject: [PATCH] ICU-8854 Unused final instance variable. Should be static. X-SVN-Rev: 30922 --- .../classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java | 4 ++-- .../classes/core/src/com/ibm/icu/text/ThaiBreakIterator.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java b/icu4j/main/classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java index 5786e8b309d..31fb8e1d017 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/RBBIRuleScanner.java @@ -1,6 +1,6 @@ /* ******************************************************************************* - * Copyright (C) 2003-2010, International Business Machines Corporation and others. All Rights Reserved. + * Copyright (C) 2003-2011, International Business Machines Corporation and others. All Rights Reserved. ******************************************************************************* */ @@ -20,7 +20,7 @@ import com.ibm.icu.lang.UCharacter; */ class RBBIRuleScanner { - private final int kStackSize = 100; // The size of the state stack for + private final static int kStackSize = 100; // The size of the state stack for // rules parsing. Corresponds roughly // to the depth of parentheses nesting // that is allowed in the rules. diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/ThaiBreakIterator.java b/icu4j/main/classes/core/src/com/ibm/icu/text/ThaiBreakIterator.java index 16c465d7f20..9b9d83dc3cc 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/ThaiBreakIterator.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/ThaiBreakIterator.java @@ -1,6 +1,6 @@ /* ******************************************************************************* - * Copyright (C) 1996-2010, International Business Machines Corporation and * + * Copyright (C) 1996-2011, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* */ @@ -21,7 +21,7 @@ class ThaiBreakIterator extends DictionaryBasedBreakIterator { static class PossibleWord { // List size, limited by the maximum number of words in the dictionary // that form a nested sequence. - private final int POSSIBLE_WORD_LIST_MAX = 20; + private final static int POSSIBLE_WORD_LIST_MAX = 20; //list of word candidate lengths, in increasing length order private int lengths[]; private int count[]; // Count of candidates -- 2.40.0