Skip to content

Commit 9af1689

Browse files
Ahlichristophstrobl
authored andcommitted
Fix javadoc parameter names.
Closes: #4179
1 parent 51ca3be commit 9af1689

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ScriptOperators.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ public AccumulatorBuilder init(String function) {
446446
/**
447447
* Define the optional {@code initArgs} for the {@link #init(String)} function.
448448
*
449-
* @param function must not be {@literal null}.
449+
* @param args must not be {@literal null}.
450450
* @return this.
451451
*/
452452
@Override

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/geo/GeoSpatialIndexTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ public void useGeneratedNameShouldGenerateAnIndexName() {
117117
/**
118118
* Returns whether an index with the given name exists for the given entity type.
119119
*
120-
* @param indexName
121120
* @param entityType
121+
* @param type
122122
* @return
123123
*/
124124
private boolean hasIndexOfType(Class<?> entityType, final String type) {

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/messaging/SubscriptionUtils.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static void awaitSubscription(Subscription subscription) throws InterruptedExcep
4545
* Wait for all {@link Subscription Subscriptions} to {@link Subscription#isActive() become active} but not longer
4646
* than {@link #DEFAULT_TIMEOUT}.
4747
*
48-
* @param subscription
48+
* @param subscriptions
4949
* @throws InterruptedException
5050
*/
5151
static void awaitSubscriptions(Subscription... subscriptions) throws InterruptedException {
@@ -131,7 +131,8 @@ static void awaitMessages(CollectingMessageListener listener, int nrMessages, Du
131131
/**
132132
* {@link MessageListener} implementation collecting received {@link Message messages}.
133133
*
134-
* @param <M>
134+
* @param <S> source message type.
135+
* @param <T> target message type.
135136
*/
136137
static class CollectingMessageListener<S, T> implements MessageListener<S, T> {
137138

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/test/util/Assertions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private Assertions() {
3232
/**
3333
* Create assertion for {@link Document}.
3434
*
35-
* @param actual the actual value.
35+
* @param document the actual value.
3636
* @return the created assertion object.
3737
*/
3838
public static DocumentAssert assertThat(Document document) {

0 commit comments

Comments
 (0)