Skip to content

Commit a82f91f

Browse files
committed
JavaDoc only whitespace
1 parent b378743 commit a82f91f

40 files changed

+80
-105
lines changed

hamcrest/src/main/java/org/hamcrest/CoreMatchers.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static <LHS> org.hamcrest.core.CombinableMatcher.CombinableEitherMatcher<
6767
* delegated to the decorated matcher, including its mismatch description.
6868
* For example:
6969
* <pre>describedAs("a big decimal equal to %0", equalTo(myBigDecimal), myBigDecimal.toPlainString())</pre>
70-
*
70+
*
7171
* @param description
7272
* the new description for the wrapped matcher
7373
* @param matcher
@@ -85,7 +85,7 @@ public static <T> org.hamcrest.Matcher<T> describedAs(java.lang.String descripti
8585
* <code>itemMatcher</code>.
8686
* For example:
8787
* <pre>assertThat(Arrays.asList("bar", "baz"), everyItem(startsWith("ba")))</pre>
88-
*
88+
*
8989
* @param itemMatcher
9090
* the matcher to apply to every item provided by the examined {@link Iterable}
9191
*/

hamcrest/src/main/java/org/hamcrest/SelfDescribing.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public interface SelfDescribing {
88
* Generates a description of the object. The description may be part of a
99
* a description of a larger object of which this is just a component, so it
1010
* should be worded appropriately.
11-
*
11+
*
1212
* @param description
1313
* The description to be built or appended to.
1414
*/

hamcrest/src/main/java/org/hamcrest/StringDescription.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public StringDescription(Appendable out) {
1818

1919
/**
2020
* Return the description of a {@link SelfDescribing} object as a String.
21-
*
21+
*
2222
* @param selfDescribing
2323
* The object to be described.
2424
* @return

hamcrest/src/main/java/org/hamcrest/beans/HasProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void describeTo(Description description) {
4545
* with the specified name.
4646
* For example:
4747
* <pre>assertThat(myBean, hasProperty("foo"))</pre>
48-
*
48+
*
4949
* @param propertyName
5050
* the name of the JavaBean property that examined beans should possess
5151
*/

hamcrest/src/main/java/org/hamcrest/beans/HasPropertyWithValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public Condition<Method> apply(PropertyDescriptor property, Description mismatch
154154
* with the specified name whose value satisfies the specified matcher.
155155
* For example:
156156
* <pre>assertThat(myBean, hasProperty("foo", equalTo("bar"))</pre>
157-
*
157+
*
158158
* @param propertyName
159159
* the name of the JavaBean property that examined beans should possess
160160
* @param valueMatcher

hamcrest/src/main/java/org/hamcrest/beans/PropertyUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static PropertyDescriptor getPropertyDescriptor(String propertyName, Obje
3333

3434
/**
3535
* Returns all the property descriptors for the class associated with the given object
36-
*
36+
*
3737
* @param fromObj Use the class of this object
3838
* @param stopClass Don't include any properties from this ancestor class upwards.
3939
* @return Property descriptors

hamcrest/src/main/java/org/hamcrest/collection/IsArray.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void describeTo(Description description) {
5252

5353
/**
5454
* Returns the string that starts the description.
55-
*
55+
*
5656
* Can be overridden in subclasses to customise how the matcher is
5757
* described.
5858
*/
@@ -62,7 +62,7 @@ protected String descriptionStart() {
6262

6363
/**
6464
* Returns the string that separates the elements in the description.
65-
*
65+
*
6666
* Can be overridden in subclasses to customise how the matcher is
6767
* described.
6868
*/
@@ -72,7 +72,7 @@ protected String descriptionSeparator() {
7272

7373
/**
7474
* Returns the string that ends the description.
75-
*
75+
*
7676
* Can be overridden in subclasses to customise how the matcher is
7777
* described.
7878
*/
@@ -86,7 +86,7 @@ protected String descriptionEnd() {
8686
* each matcher[i] is satisfied by array[i].
8787
* For example:
8888
* <pre>assertThat(new Integer[]{1,2,3}, is(array(equalTo(1), equalTo(2), equalTo(3))))</pre>
89-
*
89+
*
9090
* @param elementMatchers
9191
* the matchers that the elements of examined arrays should satisfy
9292
*/

hamcrest/src/main/java/org/hamcrest/collection/IsArrayWithSize.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ protected Integer featureValueOf(E[] actual) {
2424
* satisfies the specified matcher.
2525
* For example:
2626
* <pre>assertThat(new String[]{"foo", "bar"}, arrayWithSize(equalTo(2)))</pre>
27-
*
27+
*
2828
* @param sizeMatcher
2929
* a matcher for the length of an examined array
3030
*/
@@ -37,7 +37,7 @@ public static <E> Matcher<E[]> arrayWithSize(Matcher<? super Integer> sizeMatche
3737
* equals the specified <code>size</code>.
3838
* For example:
3939
* <pre>assertThat(new String[]{"foo", "bar"}, arrayWithSize(2))</pre>
40-
*
40+
*
4141
* @param size
4242
* the length that an examined array must have for a positive match
4343
*/
@@ -50,7 +50,6 @@ public static <E> Matcher<E[]> arrayWithSize(int size) {
5050
* is zero.
5151
* For example:
5252
* <pre>assertThat(new String[0], emptyArray())</pre>
53-
*
5453
*/
5554
public static <E> Matcher<E[]> emptyArray() {
5655
return describedAs("an empty array", IsArrayWithSize.<E>arrayWithSize(0));

hamcrest/src/main/java/org/hamcrest/collection/IsCollectionWithSize.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected Integer featureValueOf(Collection<? extends E> actual) {
2525
* a value that satisfies the specified matcher.
2626
* For example:
2727
* <pre>assertThat(Arrays.asList("foo", "bar"), hasSize(equalTo(2)))</pre>
28-
*
28+
*
2929
* @param sizeMatcher
3030
* a matcher for the size of an examined {@link java.util.Collection}
3131
*/
@@ -38,7 +38,7 @@ public static <E> Matcher<Collection<? extends E>> hasSize(Matcher<? super Integ
3838
* a value equal to the specified <code>size</code>.
3939
* For example:
4040
* <pre>assertThat(Arrays.asList("foo", "bar"), hasSize(2))</pre>
41-
*
41+
*
4242
* @param size
4343
* the expected size of an examined {@link java.util.Collection}
4444
*/

hamcrest/src/main/java/org/hamcrest/collection/IsEmptyCollection.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public void describeTo(Description description) {
3131
* method returns <code>true</code>.
3232
* For example:
3333
* <pre>assertThat(new ArrayList&lt;String&gt;(), is(empty()))</pre>
34-
*
3534
*/
3635
public static <E> Matcher<Collection<? extends E>> empty() {
3736
return new IsEmptyCollection<E>();
@@ -42,7 +41,7 @@ public static <E> Matcher<Collection<? extends E>> empty() {
4241
* method returns <code>true</code>.
4342
* For example:
4443
* <pre>assertThat(new ArrayList&lt;String&gt;(), is(emptyCollectionOf(String.class)))</pre>
45-
*
44+
*
4645
* @param unusedToForceReturnType
4746
* the type of the collection's content
4847
*/

0 commit comments

Comments
 (0)