Skip to content

Commit 84c94aa

Browse files
committed
Merge branch 'master' of https://github.com/nutzam/nutz
2 parents 4de1483 + 50ee677 commit 84c94aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/nutz/lang/Strings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1749,7 +1749,7 @@ public static String removeLast(CharSequence str) {
17491749
* <p>
17501750
* 比如:
17511751
* <ul>
1752-
* <li>removeLast("12345",5) => "12345"
1752+
* <li>removeLast("12345",'5') => "1234"
17531753
* <li>removeLast("ABC",'B') => "ABC"
17541754
* <li>removeLast("A",'B') => "A"
17551755
* <li>removeLast("A",'A') => ""

0 commit comments

Comments
 (0)