Update 10. 重写equals方法时遵守通用约定.md

This commit is contained in:
Allen Chang 2019-07-22 09:59:38 +08:00 committed by GitHub
parent 7c69ce0de7
commit d6a294f38f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,6 @@ System.out.println(s.equals(cis)); // false
```java
List<CaseInsensitiveString> list = new ArrayList<>();
list.add(cis);List<CaseInsensitiveString> list = new ArrayList<>();
list.add(cis);
```