Skip to content

Commit 275a843

Browse files
committed
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
1 parent 9daee90 commit 275a843

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/csv/CSVPrinterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
import java.util.Iterator;
3636
import java.util.LinkedList;
3737
import java.util.List;
38+
import java.util.Objects;
3839
import java.util.Random;
3940

40-
import org.apache.commons.lang3.ObjectUtils;
4141
import org.junit.Assert;
4242
import org.junit.Ignore;
4343
import org.junit.Test;
@@ -111,7 +111,7 @@ private void doRandom(final CSVFormat format, final int iter) throws Exception {
111111
private <T> T[] expectNulls(final T[] original, final CSVFormat csvFormat) {
112112
final T[] fixed = original.clone();
113113
for (int i = 0; i < fixed.length; i++) {
114-
if (ObjectUtils.equals(csvFormat.getNullString(), fixed[i])) {
114+
if (Objects.equals(csvFormat.getNullString(), fixed[i])) {
115115
fixed[i] = null;
116116
}
117117
}

0 commit comments

Comments
 (0)