mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-1923
updated compareUnsigned for optimization X-SVN-Rev: 9304
This commit is contained in:
parent
797337b29b
commit
92f0dca23c
1 changed files with 6 additions and 6 deletions
|
@ -5,8 +5,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/impl/Utility.java,v $
|
||||
* $Date: 2002/07/24 01:17:21 $
|
||||
* $Revision: 1.27 $
|
||||
* $Date: 2002/07/24 01:30:39 $
|
||||
* $Revision: 1.28 $
|
||||
*
|
||||
*****************************************************************************************
|
||||
*/
|
||||
|
@ -1544,10 +1544,10 @@ public final class Utility {
|
|||
if (source < target || target < 0) {
|
||||
return -1;
|
||||
}
|
||||
else if (source < target && target < 0) {
|
||||
// source < 0, so
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
else if (source < target && target < 0) {
|
||||
// source < 0, so
|
||||
return -1;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue