Skip to content

Commit f75d848

Browse files
Release 1.2.0
1 parent 31a92e1 commit f75d848

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ can be used to verify the contents of arrays or Iterators.
100100
* To match an Iterable, use the [`ListsMembers`](http://www.cornutum.org/hamcrest-composites/apidocs/org/cornutum/hamcrest/ListsMembers.html) matcher.
101101
* To match an array, use the [`ListsElements`](http://www.cornutum.org/hamcrest-composites/apidocs/org/cornutum/hamcrest/ListsElements.html) matcher.
102102
* To match an Iterator, use the [`VisitsList`](http://www.cornutum.org/hamcrest-composites/apidocs/org/cornutum/hamcrest/VisitsList.html) matcher.
103-
* Without using `equals`, use the [`ListsMatching`](http://www.cornutum.org/hamcrest-composites/apidocs/org/cornutum/hamcrest/ListsMatching.html) matcher.
103+
* Without using `equals()`, use the [`ListsMatching`](http://www.cornutum.org/hamcrest-composites/apidocs/org/cornutum/hamcrest/ListsMatching.html) matcher.
104104
* Even if the expected or matched sequence may be `null`? No problem!
105105
* And also compare individual members using a composite matcher? No problem!
106106

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>org.cornutum.testing</groupId>
88
<artifactId>hamcrest-composites</artifactId>
99
<packaging>jar</packaging>
10-
<version>1.1.4-SNAPSHOT</version>
10+
<version>1.2.0</version>
1111

1212
<name>Hamcrest Composites</name>
1313
<description>Better testability for comparision of complex Java objects</description>

src/main/java/org/cornutum/hamcrest/ListsMatching.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
* given supplier function. Then each member of a matched Iterable must satisfy the member-specific
3030
* Matcher returned for its counterpart in the given expected Iterable.
3131
* <P/>
32-
* Unlike the {@link ListMembers} matcher, this matcher does not attempt to compare members using <CODE>equals()</CODE>.
33-
* The {@link ListMembers} matcher is preferred when <CODE>equals</CODE> methods are defined based on a few "primary key" fields.
34-
* In other cases, this matcher may provide better descriptions of match failures. But, unlike {@link ListMembers},
32+
* Unlike the {@link org.cornutum.hamcrest.ListsMembers} matcher, this matcher does not attempt to compare members using <CODE>equals()</CODE>.
33+
* The {@link org.cornutum.hamcrest.ListsMembers} matcher is preferred when member <CODE>equals</CODE> methods are defined based on a few "primary key" fields.
34+
* In other cases, this matcher may provide a more precise description of match failures. But, unlike {@link org.cornutum.hamcrest.ListsMembers},
3535
* this matcher cannot always verify that an expected member is missing or that an actual member does not belong.
3636
*/
3737
public class ListsMatching<T> extends BaseMatcher<Iterable<T>>

src/main/javadoc/overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <H2>How Does It Work?</H2>
107107
<LI> To match an Iterable, use the <CODE><A href="org/cornutum/hamcrest/ListsMembers.html">ListsMembers</A></CODE> matcher. </LI>
108108
<LI> To match an array, use the <CODE><A href="org/cornutum/hamcrest/ListsElements.html">ListsElements</A></CODE> matcher. </LI>
109109
<LI> To match an Iterator, use the <CODE><A href="org/cornutum/hamcrest/VisitsList.html">VisitsList</A></CODE> matcher. </LI>
110-
<LI> Without using <CODE>/equals<CODE>, use the <CODE><A href="org/cornutum/hamcrest/ListsMatching.html">ListsMatching</A></CODE> matcher. </LI>
110+
<LI> Without using <CODE>equals()</CODE>, use the <CODE><A href="org/cornutum/hamcrest/ListsMatching.html">ListsMatching</A></CODE> matcher. </LI>
111111
<LI> Even if the expected or matched sequence may be <CODE>null</CODE>? No problem! </LI>
112112
<LI> And also compare individual members using a composite matcher? No problem! </LI>
113113
</UL>

0 commit comments

Comments
 (0)