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:
David Brosius 2011-11-10 03:37:47 +00:00
parent 2417ea6c4e
commit 9acd5cd4d3
1 changed files with 1 additions and 1 deletions

View File

@ -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);