Created
February 5, 2013 20:24
-
-
Save cancerberoSgx/4717348 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int result = "abc\tABC 123".compareTo(new String()); | |
| /* notice: "abc\tABC 123".compareTo("") will work ! */ | |
| if (result != 11) | |
| Window.alert("error, result : " + result); | |
| else | |
| Window.alert("OK, result: " + result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment