mirror of
https://github.com/sjsdfg/effective-java-3rd-chinese.git
synced 2025-01-21 09:41:01 +08:00
Merge pull request #9 from kmer1224/patch-1
Update 10. 重写equals方法时遵守通用约定.md
This commit is contained in:
commit
28e51ff3ca
@ -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);
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user