Use Java 7 method instead of Apache Commons Lang 3.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1748095 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2016-06-13 06:57:56 +00:00
parent 9daee9042c
commit 275a8431e0
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@ import java.util.Date;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import java.util.Random;
import org.apache.commons.lang3.ObjectUtils;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
@ -111,7 +111,7 @@ public class CSVPrinterTest {
private <T> T[] expectNulls(final T[] original, final CSVFormat csvFormat) {
final T[] fixed = original.clone();
for (int i = 0; i < fixed.length; i++) {
if (ObjectUtils.equals(csvFormat.getNullString(), fixed[i])) {
if (Objects.equals(csvFormat.getNullString(), fixed[i])) {
fixed[i] = null;
}
}