Changeset 254:8bca790583c3
- Timestamp:
- 06/08/08 09:11:48
(4 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
Fix string compare in dwthelper/utils
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r250 |
r254 |
|
| 592 | 592 | |
|---|
| 593 | 593 | public int compareToIgnoreCase( String src, String other ){ |
|---|
| 594 | | return tango.text.Unicode.toFold(src) < tango.text.Unicode.toFold(other); |
|---|
| | 594 | return compareTo( tango.text.Unicode.toFold(src), tango.text.Unicode.toFold(other)); |
|---|
| 595 | 595 | } |
|---|
| 596 | 596 | public int compareTo( String src, String other ){ |
|---|
| 597 | | return src < other; |
|---|
| | 597 | return typeid(String).compare( cast(void*)&src, cast(void*)&other ); |
|---|
| 598 | 598 | } |
|---|
| 599 | 599 | |
|---|
| r240 |
r254 |
|
| 51 | 51 | import tango.core.Thread; |
|---|
| 52 | 52 | import tango.io.Stdout; |
|---|
| 53 | | import tango.util.log.Trace; |
|---|
| 54 | 53 | |
|---|
| 55 | 54 | /** |
|---|