Removed compilation warnings.

X-SVN-Rev: 5559
This commit is contained in:
Syn Wee Quek 2001-08-22 22:38:30 +00:00
parent c6e32df453
commit 24ae94c42a
5 changed files with 13 additions and 20 deletions

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/lang/UCharacter.java,v $
* $Date: 2001/07/03 16:34:22 $
* $Revision: 1.10 $
* $Date: 2001/08/22 22:38:30 $
* $Revision: 1.11 $
*
*******************************************************************************
*/
@ -1117,8 +1117,6 @@ public final class UCharacter
public static boolean isLegal(String str)
{
int size = str.length();
char lead,
trail;
int codepoint;
for (int i = 0; i < size; i ++)
{
@ -1272,7 +1270,6 @@ public final class UCharacter
int size = UTF16.countCodePoint(str);
StringBuffer result = new StringBuffer(size << 1); // initial buffer
int props;
int exception;
int ch;
int index;
String lang = locale.getLanguage();
@ -1322,7 +1319,6 @@ public final class UCharacter
int size = UTF16.countCodePoint(str);
StringBuffer result = new StringBuffer(size << 1); // initial buffer
int props;
int exception;
int ch;
int index;
String lang = locale.getLanguage();

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/text/Attic/UCharacter.java,v $
* $Date: 2001/07/03 16:34:22 $
* $Revision: 1.10 $
* $Date: 2001/08/22 22:38:30 $
* $Revision: 1.11 $
*
*******************************************************************************
*/
@ -1117,8 +1117,6 @@ public final class UCharacter
public static boolean isLegal(String str)
{
int size = str.length();
char lead,
trail;
int codepoint;
for (int i = 0; i < size; i ++)
{
@ -1272,7 +1270,6 @@ public final class UCharacter
int size = UTF16.countCodePoint(str);
StringBuffer result = new StringBuffer(size << 1); // initial buffer
int props;
int exception;
int ch;
int index;
String lang = locale.getLanguage();
@ -1322,7 +1319,6 @@ public final class UCharacter
int size = UTF16.countCodePoint(str);
StringBuffer result = new StringBuffer(size << 1); // initial buffer
int props;
int exception;
int ch;
int index;
String lang = locale.getLanguage();

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/text/Attic/UCharacterNameDB.java,v $
* $Date: 2001/07/03 16:34:22 $
* $Revision: 1.4 $
* $Date: 2001/08/22 22:38:30 $
* $Revision: 1.5 $
*
*******************************************************************************
*/
@ -770,6 +770,7 @@ final class UCharacterNameDB extends UCharacterDB
}
catch (NumberFormatException e)
{
return -1;
}
break;
case TYPE_1_ :

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/text/Attic/UGenPropReader.java,v $
* $Date: 2001/03/23 19:51:38 $
* $Revision: 1.5 $
* $Date: 2001/08/22 22:38:30 $
* $Revision: 1.6 $
*
*******************************************************************************
*/
@ -193,7 +193,6 @@ final class UGenPropReader extends UGenReader
char array[] = new char[stagesize];
int max = 0;
int props = m_prop_ - INDEX_SIZE_;
// setting up the propery index for stage 1 to 3
for (int count = 0; count < stagesize; count ++)

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/text/Attic/UGenReader.java,v $
* $Date: 2001/03/23 19:51:38 $
* $Revision: 1.3 $
* $Date: 2001/08/22 22:38:30 $
* $Revision: 1.4 $
*
*******************************************************************************
*/
@ -94,7 +94,7 @@ abstract class UGenReader
headersize --;
byte charsize = input.readByte();
headersize --;
byte reserved = input.readByte();
input.readByte();
headersize --;
byte dataformatid[] = new byte[getFileFormatIDSize()];
@ -115,6 +115,7 @@ abstract class UGenReader
}
}
catch (Exception e) {
return false;
}
return false;
}