- *
+ *
* @param itemMatcher
* the matcher to apply to every item provided by the examined {@link Iterable}
*/
diff --git a/hamcrest/src/main/java/org/hamcrest/SelfDescribing.java b/hamcrest/src/main/java/org/hamcrest/SelfDescribing.java
index 06b361d2..d3aa6db7 100644
--- a/hamcrest/src/main/java/org/hamcrest/SelfDescribing.java
+++ b/hamcrest/src/main/java/org/hamcrest/SelfDescribing.java
@@ -8,7 +8,7 @@ public interface SelfDescribing {
* Generates a description of the object. The description may be part of a
* a description of a larger object of which this is just a component, so it
* should be worded appropriately.
- *
+ *
* @param description
* The description to be built or appended to.
*/
diff --git a/hamcrest/src/main/java/org/hamcrest/StringDescription.java b/hamcrest/src/main/java/org/hamcrest/StringDescription.java
index 813c1782..7aac98d1 100644
--- a/hamcrest/src/main/java/org/hamcrest/StringDescription.java
+++ b/hamcrest/src/main/java/org/hamcrest/StringDescription.java
@@ -18,7 +18,7 @@ public StringDescription(Appendable out) {
/**
* Return the description of a {@link SelfDescribing} object as a String.
- *
+ *
* @param selfDescribing
* The object to be described.
* @return
diff --git a/hamcrest/src/main/java/org/hamcrest/beans/HasProperty.java b/hamcrest/src/main/java/org/hamcrest/beans/HasProperty.java
index 320a49ef..7f2f2687 100644
--- a/hamcrest/src/main/java/org/hamcrest/beans/HasProperty.java
+++ b/hamcrest/src/main/java/org/hamcrest/beans/HasProperty.java
@@ -45,7 +45,7 @@ public void describeTo(Description description) {
* with the specified name.
* For example:
*
assertThat(myBean, hasProperty("foo"))
- *
+ *
* @param propertyName
* the name of the JavaBean property that examined beans should possess
*/
diff --git a/hamcrest/src/main/java/org/hamcrest/beans/HasPropertyWithValue.java b/hamcrest/src/main/java/org/hamcrest/beans/HasPropertyWithValue.java
index 29b299b8..b9e33d22 100644
--- a/hamcrest/src/main/java/org/hamcrest/beans/HasPropertyWithValue.java
+++ b/hamcrest/src/main/java/org/hamcrest/beans/HasPropertyWithValue.java
@@ -154,7 +154,7 @@ public Condition apply(PropertyDescriptor property, Description mismatch
* with the specified name whose value satisfies the specified matcher.
* For example:
*
- *
+ *
* @param propertyName
* the name of the JavaBean property that examined beans should possess
* @param valueMatcher
diff --git a/hamcrest/src/main/java/org/hamcrest/beans/PropertyUtil.java b/hamcrest/src/main/java/org/hamcrest/beans/PropertyUtil.java
index 946c4f84..d1564653 100644
--- a/hamcrest/src/main/java/org/hamcrest/beans/PropertyUtil.java
+++ b/hamcrest/src/main/java/org/hamcrest/beans/PropertyUtil.java
@@ -33,7 +33,7 @@ public static PropertyDescriptor getPropertyDescriptor(String propertyName, Obje
/**
* Returns all the property descriptors for the class associated with the given object
- *
+ *
* @param fromObj Use the class of this object
* @param stopClass Don't include any properties from this ancestor class upwards.
* @return Property descriptors
diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsArray.java b/hamcrest/src/main/java/org/hamcrest/collection/IsArray.java
index 38f5d915..8fbd93b4 100644
--- a/hamcrest/src/main/java/org/hamcrest/collection/IsArray.java
+++ b/hamcrest/src/main/java/org/hamcrest/collection/IsArray.java
@@ -52,7 +52,7 @@ public void describeTo(Description description) {
/**
* Returns the string that starts the description.
- *
+ *
* Can be overridden in subclasses to customise how the matcher is
* described.
*/
@@ -62,7 +62,7 @@ protected String descriptionStart() {
/**
* Returns the string that separates the elements in the description.
- *
+ *
* Can be overridden in subclasses to customise how the matcher is
* described.
*/
@@ -72,7 +72,7 @@ protected String descriptionSeparator() {
/**
* Returns the string that ends the description.
- *
+ *
* Can be overridden in subclasses to customise how the matcher is
* described.
*/
@@ -86,7 +86,7 @@ protected String descriptionEnd() {
* each matcher[i] is satisfied by array[i].
* For example:
*
- *
+ *
* @param sizeMatcher
* a matcher for the length of an examined array
*/
@@ -37,7 +37,7 @@ public static Matcher arrayWithSize(Matcher super Integer> sizeMatche
* equals the specified size.
* For example:
*
- *
+ *
* @param size
* the length that an examined array must have for a positive match
*/
@@ -50,7 +50,6 @@ public static Matcher arrayWithSize(int size) {
* is zero.
* For example:
*
assertThat(new String[0], emptyArray())
- *
*/
public static Matcher emptyArray() {
return describedAs("an empty array", IsArrayWithSize.arrayWithSize(0));
diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsCollectionWithSize.java b/hamcrest/src/main/java/org/hamcrest/collection/IsCollectionWithSize.java
index f79afdc6..ccb3798e 100644
--- a/hamcrest/src/main/java/org/hamcrest/collection/IsCollectionWithSize.java
+++ b/hamcrest/src/main/java/org/hamcrest/collection/IsCollectionWithSize.java
@@ -25,7 +25,7 @@ protected Integer featureValueOf(Collection extends E> actual) {
* a value that satisfies the specified matcher.
* For example:
*
- *
+ *
* @param sizeMatcher
* a matcher for the size of an examined {@link java.util.Collection}
*/
@@ -38,7 +38,7 @@ public static Matcher> hasSize(Matcher super Integ
* a value equal to the specified size.
* For example:
*
- *
+ *
* @param unusedToForceReturnType
* the type of the collection's content
*/
diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyIterable.java b/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyIterable.java
index 047e670c..9900ebd3 100644
--- a/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyIterable.java
+++ b/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyIterable.java
@@ -27,7 +27,6 @@ public void describeTo(Description description) {
* Creates a matcher for {@link Iterable}s matching examined iterables that yield no items.
* For example:
*
- *
*/
public static Matcher> emptyIterable() {
return new IsEmptyIterable();
@@ -37,7 +36,7 @@ public static Matcher> emptyIterable() {
* Creates a matcher for {@link Iterable}s matching examined iterables that yield no items.
* For example:
*
- *
+ *
* @param collection
* the collection in which matching items must be found
- *
*/
public static Matcher in(Collection collection) {
return new IsIn<>(collection);
@@ -66,12 +64,11 @@ public static Matcher in(Collection collection) {
* specified array.
* For example:
*
- *
+ *
* @deprecated use is(in(...)) instead
- *
+ *
* @param elements
* the array in which matching items must be found
- *
*/
@Deprecated
public static Matcher isIn(T[] elements) {
@@ -83,10 +80,9 @@ public static Matcher isIn(T[] elements) {
* specified array.
* For example:
*
- *
+ *
* @param elements
* the array in which matching items must be found
- *
*/
public static Matcher in(T[] elements) {
return new IsIn<>(elements);
@@ -97,12 +93,11 @@ public static Matcher in(T[] elements) {
* specified elements.
* For example:
*
assertThat("foo", isOneOf("bar", "foo"))
- *
+ *
* @deprecated use is(oneOf(...)) instead
- *
+ *
* @param elements
* the elements amongst which matching items will be found
- *
*/
@SafeVarargs
@Deprecated
@@ -115,10 +110,9 @@ public static Matcher isOneOf(T... elements) {
* specified elements.
* For example:
*
assertThat("foo", is(oneOf("bar", "foo")))
- *
+ *
* @param elements
* the elements amongst which matching items will be found
- *
*/
@SafeVarargs
public static Matcher oneOf(T... elements) {
diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrder.java b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrder.java
index d6a9a33d..c9ea7964 100644
--- a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrder.java
+++ b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrder.java
@@ -92,7 +92,7 @@ private boolean isMatched(S item) {
* For example:
*
- *
+ *
* @param itemMatchers
* a list of matchers, each of which must be satisfied by an item provided by an examined {@link Iterable}
*/
@@ -117,7 +117,7 @@ public static Matcher> containsInAnyOrder(Matcher su
* For example:
*
*
- *
+ *
* @param items
* the items that must equal the items provided by an examined {@link Iterable} in any order
*/
@@ -145,7 +145,7 @@ public static Matcher> containsInAnyOrder(T... items)
*
*
- *
+ *
* @param itemMatchers
* a list of matchers, each of which must be satisfied by an item provided by an examined {@link Iterable}
*/
diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInOrder.java b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInOrder.java
index ed62aa29..ee6b04c3 100644
--- a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInOrder.java
+++ b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInOrder.java
@@ -88,7 +88,7 @@ private void describeMismatch(Matcher super F> matcher, F item) {
* must be of the same length as the number of specified items.
* For example:
*
- *
+ *
* @param items
* the items that must equal the items provided by an examined {@link Iterable}
*/
@@ -103,7 +103,7 @@ public static Matcher> contains(E... items) {
* For a positive match, the examined iterable must only yield one item.
* For example:
*
- *
+ *
* @param itemMatcher
* the matcher that must be satisfied by the single item provided by an
* examined {@link Iterable}
@@ -120,7 +120,7 @@ public static Matcher> contains(final Matcher super
* must be of the same length as the number of specified matchers.
* For example:
*
- *
+ *
* @param itemMatchers
* the matchers that must be satisfied by the items provided by an examined {@link Iterable}
*/
@@ -139,7 +139,7 @@ public static Matcher> contains(Matcher super E>...
* must be of the same length as the specified list of matchers.
* For example:
*
- *
+ *
* @param itemMatchers
* a list of matchers, each of which must be satisfied by the corresponding item provided by
* an examined {@link Iterable}
diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInRelativeOrder.java b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInRelativeOrder.java
index 06577685..31ae8d94 100644
--- a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInRelativeOrder.java
+++ b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInRelativeOrder.java
@@ -73,7 +73,7 @@ public boolean isFinished() {
* corresponding item in the specified items, in the same relative order
* For example:
*
- *
+ *
* @param items
* the items that must be contained within items provided by an examined {@link Iterable} in the same relative order
*/
@@ -93,7 +93,7 @@ public static Matcher> containsInRelativeOrder(E... it
* matcher in the specified matchers, in the same relative order.
* For example:
*
- *
+ *
* @param itemMatchers
* the matchers that must be satisfied by the items provided by an examined {@link Iterable} in the same relative order
*/
@@ -108,7 +108,7 @@ public static Matcher> containsInRelativeOrder(Matcher
* matcher in the specified list of matchers, in the same relative order.
* For example:
*
- *
+ *
* @param itemMatchers
* a list of matchers, each of which must be satisfied by the items provided by
* an examined {@link Iterable} in the same relative order
diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableWithSize.java b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableWithSize.java
index 0a1535fe..7c79e746 100644
--- a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableWithSize.java
+++ b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableWithSize.java
@@ -29,7 +29,7 @@ protected Integer featureValueOf(Iterable actual) {
* matcher.
* For example:
*
- *
+ *
* @param sizeMatcher
* a matcher for the number of items that should be yielded by an examined {@link Iterable}
*/
@@ -43,7 +43,7 @@ public static Matcher> iterableWithSize(Matcher super Integer>
* size argument.
* For example:
*
- *
+ *
* @param size
* the number of items that should be yielded by an examined {@link Iterable}
*/
diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsMapContaining.java b/hamcrest/src/main/java/org/hamcrest/collection/IsMapContaining.java
index 4ed45392..72c7899a 100644
--- a/hamcrest/src/main/java/org/hamcrest/collection/IsMapContaining.java
+++ b/hamcrest/src/main/java/org/hamcrest/collection/IsMapContaining.java
@@ -49,7 +49,7 @@ public void describeTo(Description description) {
* value satisfies the specified valueMatcher.
* For example:
*
- *
+ *
* @param keyMatcher
* the key matcher that, in combination with the valueMatcher, must be satisfied by at least one entry
* @param valueMatcher
@@ -65,7 +65,7 @@ public static Matcher