mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-5410 Remove unused code.
X-SVN-Rev: 20514
This commit is contained in:
parent
a1f2781f54
commit
da43b8e081
2 changed files with 15 additions and 15 deletions
|
@ -11,7 +11,7 @@ package com.ibm.icu.charset;
|
|||
import java.io.*;
|
||||
|
||||
import com.ibm.icu.impl.ICUBinary;
|
||||
import com.ibm.icu.impl.ICUDebug;
|
||||
|
||||
|
||||
/* Format of cnvalias.icu -----------------------------------------------------
|
||||
*
|
||||
|
@ -123,7 +123,7 @@ import com.ibm.icu.impl.ICUDebug;
|
|||
*/
|
||||
|
||||
final class UConverterAliasDataReader implements ICUBinary.Authenticate {
|
||||
private final static boolean debug = ICUDebug.enabled("UConverterAliasDataReader");
|
||||
// private final static boolean debug = ICUDebug.enabled("UConverterAliasDataReader");
|
||||
|
||||
/**
|
||||
* <p>Protected constructor.</p>
|
||||
|
@ -133,15 +133,15 @@ final class UConverterAliasDataReader implements ICUBinary.Authenticate {
|
|||
*/
|
||||
protected UConverterAliasDataReader(InputStream inputStream)
|
||||
throws IOException{
|
||||
if(debug) System.out.println("Bytes in inputStream " + inputStream.available());
|
||||
//if(debug) System.out.println("Bytes in inputStream " + inputStream.available());
|
||||
|
||||
unicodeVersion = ICUBinary.readHeader(inputStream, DATA_FORMAT_ID, this);
|
||||
/*unicodeVersion = */ICUBinary.readHeader(inputStream, DATA_FORMAT_ID, this);
|
||||
|
||||
if(debug) System.out.println("Bytes left in inputStream " +inputStream.available());
|
||||
//if(debug) System.out.println("Bytes left in inputStream " +inputStream.available());
|
||||
|
||||
dataInputStream = new DataInputStream(inputStream);
|
||||
|
||||
if(debug) System.out.println("Bytes left in dataInputStream " +dataInputStream.available());
|
||||
//if(debug) System.out.println("Bytes left in dataInputStream " +dataInputStream.available());
|
||||
}
|
||||
|
||||
// protected methods -------------------------------------------------
|
||||
|
@ -194,9 +194,9 @@ final class UConverterAliasDataReader implements ICUBinary.Authenticate {
|
|||
&& version[2] == DATA_FORMAT_VERSION[2];
|
||||
}
|
||||
|
||||
public byte[] getUnicodeVersion(){
|
||||
/*byte[] getUnicodeVersion(){
|
||||
return unicodeVersion;
|
||||
}
|
||||
}*/
|
||||
// private data members -------------------------------------------------
|
||||
|
||||
|
||||
|
@ -205,7 +205,7 @@ final class UConverterAliasDataReader implements ICUBinary.Authenticate {
|
|||
*/
|
||||
private DataInputStream dataInputStream;
|
||||
|
||||
private byte[] unicodeVersion;
|
||||
// private byte[] unicodeVersion;
|
||||
|
||||
/**
|
||||
* File format version that this class understands.
|
||||
|
|
|
@ -420,7 +420,7 @@ final class UConverterDataReader implements ICUBinary.Authenticate {
|
|||
throws IOException{
|
||||
//if(debug) System.out.println("Bytes in inputStream " + inputStream.available());
|
||||
|
||||
unicodeVersion = ICUBinary.readHeader(inputStream, DATA_FORMAT_ID, this);
|
||||
/*unicodeVersion = */ICUBinary.readHeader(inputStream, DATA_FORMAT_ID, this);
|
||||
|
||||
//if(debug) System.out.println("Bytes left in inputStream " +inputStream.available());
|
||||
|
||||
|
@ -518,19 +518,19 @@ final class UConverterDataReader implements ICUBinary.Authenticate {
|
|||
return tables;
|
||||
}
|
||||
|
||||
byte[] getDataFormatVersion(){
|
||||
byte[] getDataFormatVersion(){
|
||||
return DATA_FORMAT_VERSION;
|
||||
}
|
||||
/**
|
||||
* Inherited method
|
||||
*/
|
||||
public boolean isDataVersionAcceptable(byte version[]){
|
||||
public boolean isDataVersionAcceptable(byte version[]){
|
||||
return version[0] == DATA_FORMAT_VERSION[0];
|
||||
}
|
||||
|
||||
byte[] getUnicodeVersion(){
|
||||
/* byte[] getUnicodeVersion(){
|
||||
return unicodeVersion;
|
||||
}
|
||||
}*/
|
||||
// private data members -------------------------------------------------
|
||||
|
||||
/**
|
||||
|
@ -538,7 +538,7 @@ final class UConverterDataReader implements ICUBinary.Authenticate {
|
|||
*/
|
||||
private DataInputStream dataInputStream;
|
||||
|
||||
private byte[] unicodeVersion;
|
||||
// private byte[] unicodeVersion;
|
||||
|
||||
/**
|
||||
* File format version that this class understands.
|
||||
|
|
Loading…
Add table
Reference in a new issue