bad logic, should use || rather than &&, but instanceof covers the null case anyway
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1200112 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2417ea6c4e
commit
9acd5cd4d3
|
@ -283,7 +283,7 @@ public class CSVConfig {
|
|||
* @see java.lang.Object#equals(java.lang.Object)
|
||||
*/
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == null && !(obj instanceof CSVConfig)) {
|
||||
if (!(obj instanceof CSVConfig)) {
|
||||
return false;
|
||||
}
|
||||
return super.equals(obj);
|
||||
|
|
Loading…
Reference in New Issue