Skip to content

Commit 03eca04

Browse files
committed
Bumping version to 4.0.0-SNAPSHOT; removing apache-commons test dep
1 parent bc36657 commit 03eca04

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

pom.xml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

56
<parent>
@@ -9,7 +10,7 @@
910
</parent>
1011

1112
<artifactId>lambda</artifactId>
12-
<version>3.3.1-SNAPSHOT</version>
13+
<version>4.0.0-SNAPSHOT</version>
1314
<packaging>jar</packaging>
1415

1516
<name>Lambda</name>
@@ -53,7 +54,6 @@
5354
</developers>
5455

5556
<properties>
56-
<commons-lang3.version>3.1</commons-lang3.version>
5757
<traitor.version>1.2</traitor.version>
5858
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
5959
<hamcrest-all.version>1.3</hamcrest-all.version>
@@ -81,12 +81,6 @@
8181
<version>${traitor.version}</version>
8282
<scope>test</scope>
8383
</dependency>
84-
<dependency>
85-
<groupId>org.apache.commons</groupId>
86-
<artifactId>commons-lang3</artifactId>
87-
<version>${commons-lang3.version}</version>
88-
<scope>test</scope>
89-
</dependency>
9084
</dependencies>
9185

9286
<build>

src/test/java/testsupport/matchers/IterableMatcher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
import java.util.ArrayList;
77
import java.util.Iterator;
8+
import java.util.Objects;
89

910
import static java.util.Arrays.asList;
10-
import static org.apache.commons.lang3.builder.EqualsBuilder.reflectionEquals;
1111

1212
public class IterableMatcher<E> extends BaseMatcher<Iterable<E>> {
1313

@@ -48,7 +48,7 @@ private boolean iterablesIterateSameElementsInOrder(Iterable<?> expected, Iterab
4848
if (nextExpected instanceof Iterable && nextActual instanceof Iterable) {
4949
if (!iterablesIterateSameElementsInOrder((Iterable<?>) nextExpected, (Iterable<?>) nextActual))
5050
return false;
51-
} else if (!reflectionEquals(nextExpected, nextActual))
51+
} else if (!Objects.equals(nextExpected, nextActual))
5252
return false;
5353
}
5454

0 commit comments

Comments
 (0)