]> granicus.if.org Git - icu/commitdiff
ICU-6954 remove unused CharsetRecognizer field from CharsetMatch
authorAndy Heninger <andy.heninger@gmail.com>
Thu, 21 Jun 2012 22:42:12 +0000 (22:42 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Thu, 21 Jun 2012 22:42:12 +0000 (22:42 +0000)
X-SVN-Rev: 31980

icu4j/main/classes/core/src/com/ibm/icu/text/CharsetMatch.java

index 88ea61317607f3752f28ee6dce8e3218028d6dab..264b4b5d443e1b9433dea6690066a8b03264b2af 100644 (file)
@@ -189,7 +189,6 @@ public class CharsetMatch implements Comparable<CharsetMatch> {
      *  Constructor.  Implementation internal
      */
     CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) {
-        fRecognizer = rec;
         fConfidence = conf;
         
         // The references to the original application input data must be copied out
@@ -210,7 +209,6 @@ public class CharsetMatch implements Comparable<CharsetMatch> {
      *  Constructor.  Implementation internal
      */
     CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) {
-        fRecognizer = rec;
         fConfidence = conf;
         
         // The references to the original application input data must be copied out
@@ -232,7 +230,6 @@ public class CharsetMatch implements Comparable<CharsetMatch> {
     //   Private Data
     //
     private int                 fConfidence;
-    private CharsetRecognizer   fRecognizer;
     private byte[]              fRawInput = null;     // Original, untouched input bytes.
                                                       //  If user gave us a byte array, this is it.
     private int                 fRawLength;           // Length of data in fRawInput array.