diff --git a/docs/notes/14. 考虑实现Comparable接口.md b/docs/notes/14. 考虑实现Comparable接口.md index 04aa80c..7f663d8 100644 --- a/docs/notes/14. 考虑实现Comparable接口.md +++ b/docs/notes/14. 考虑实现Comparable接口.md @@ -56,7 +56,7 @@ public interface Comparable { public final class CaseInsensitiveString implements Comparable { public int compareTo(CaseInsensitiveString cis) { - return String.CASE_INSENSITIVE_[ORDER.compare(s](http://ORDER.compare(s), cis.s); + return String.CASE_INSENSITIVE_ORDER.compare(s, cis.s); } ... // Remainder omitted }