< prev index next >
src/java.base/share/classes/jdk/internal/icu/impl/StringPrepDataReader.java
Print this page
rev 58552 : [mq]: 8241727-Typos-empty-lines-in-javadoc-inconsistent-indents-etc
@@ -74,14 +74,14 @@
public void read(byte[] idnaBytes,
char[] mappingTable)
throws IOException{
- //Read the bytes that make up the idnaTrie
+ // Read the bytes that make up the idnaTrie
dataInputStream.read(idnaBytes);
- //Read the extra data
+ // Read the extra data
for(int i=0;i<mappingTable.length;i++){
mappingTable[i]=dataInputStream.readChar();
}
}
@@ -92,13 +92,13 @@
public boolean isDataVersionAcceptable(byte version[]){
return version[0] == DATA_FORMAT_VERSION[0]
&& version[2] == DATA_FORMAT_VERSION[2]
&& version[3] == DATA_FORMAT_VERSION[3];
}
- public int[] readIndexes(int length)throws IOException{
+ public int[] readIndexes(int length) throws IOException{
int[] indexes = new int[length];
- //Read the indexes
+ // Read the indexes
for (int i = 0; i <length ; i++) {
indexes[i] = dataInputStream.readInt();
}
return indexes;
}
@@ -108,19 +108,19 @@
}
// private data members -------------------------------------------------
/**
- * ICU data file input stream
- */
+ * ICU data file input stream
+ */
private DataInputStream dataInputStream;
private byte[] unicodeVersion;
/**
- * File format version that this class understands.
- * No guarantees are made if a older version is used
- * see store.c of gennorm for more information and values
- */
+ * File format version that this class understands.
+ * No guarantees are made if a older version is used
+ * see store.c of gennorm for more information and values
+ */
///* dataFormat="SPRP" 0x53, 0x50, 0x52, 0x50 */
private static final byte DATA_FORMAT_ID[] = {(byte)0x53, (byte)0x50,
(byte)0x52, (byte)0x50};
private static final byte DATA_FORMAT_VERSION[] = {(byte)0x3, (byte)0x2,
(byte)0x5, (byte)0x2};
< prev index next >