Skip to content

Commit 59530ce

Browse files
committed
fix javadoc
1 parent b7c983e commit 59530ce

File tree

10 files changed

+9
-18
lines changed

10 files changed

+9
-18
lines changed

src/main/java/org/springframework/data/elasticsearch/client/ClientConfiguration.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ static ClientConfigurationBuilderWithRequiredEndpoint builder() {
5454

5555
/**
5656
* Creates a new {@link ClientConfiguration} instance configured to localhost.
57-
* <p/>
5857
*
5958
* <pre class="code">
6059
* // "localhost:9200"
@@ -70,7 +69,6 @@ static ClientConfiguration localhost() {
7069

7170
/**
7271
* Creates a new {@link ClientConfiguration} instance configured to a single host given {@code hostAndPort}.
73-
* <p/>
7472
* For example given the endpoint http://localhost:9200
7573
*
7674
* <pre class="code">
@@ -85,7 +83,6 @@ static ClientConfiguration create(String hostAndPort) {
8583

8684
/**
8785
* Creates a new {@link ClientConfiguration} instance configured to a single host given {@link InetSocketAddress}.
88-
* <p/>
8986
* For example given the endpoint http://localhost:9200
9087
*
9188
* <pre class="code">

src/main/java/org/springframework/data/elasticsearch/client/reactive/WebClientProvider.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
/**
2929
* Provider for {@link WebClient}s using a pre-configured {@code scheme}. This class returns {@link WebClient} for a
3030
* specific {@link InetSocketAddress endpoint} and encapsulates common configuration aspects of {@link WebClient} so
31-
* that code using {@link WebClient} is not required to apply further configuration to the actual client.
32-
* <p/>
31+
* that code using {@link WebClient} is not required to apply further configuration to the actual client. <br/>
3332
* Client instances are typically cached allowing reuse of pooled connections if configured on the
3433
* {@link ClientHttpConnector}.
3534
*

src/main/java/org/springframework/data/elasticsearch/core/AbstractElasticsearchTemplate.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ public void setApplicationContext(ApplicationContext applicationContext) throws
148148
/**
149149
* Set the {@link EntityCallbacks} instance to use when invoking {@link EntityCallbacks callbacks} like the
150150
* {@link org.springframework.data.elasticsearch.core.event.BeforeConvertCallback}.
151-
* <p />
152151
* Overrides potentially existing {@link EntityCallbacks}.
153152
*
154153
* @param entityCallbacks must not be {@literal null}.

src/main/java/org/springframework/data/elasticsearch/core/Range.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static <T> Range<T> closed(T from, T to) {
5858
* @param <T>
5959
* @param value must not be {@literal null}.
6060
* @return
61-
* @see Range#closed(T, T)
61+
* @see Range#closed(Object, Object)
6262
*/
6363
public static <T> Range<T> just(T value) {
6464
return Range.closed(value, value);
@@ -231,8 +231,8 @@ public String toString() {
231231
}
232232

233233
/**
234-
* Value object representing a boundary. A boundary can either be {@link #unbounded() unbounded}, {@link #inclusive(T)
235-
* including its value} or {@link #exclusive(T) its value}.
234+
* Value object representing a boundary. A boundary can either be {@link #unbounded() unbounded}, {@link #inclusive(Object)}
235+
* including its value} or {@link #exclusive(Object)} its value}.
236236
*/
237237
public static final class Bound<T> {
238238

src/main/java/org/springframework/data/elasticsearch/core/ReactiveElasticsearchTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public void setIndicesOptions(@Nullable IndicesOptions indicesOptions) {
211211
/**
212212
* Set the {@link ReactiveEntityCallbacks} instance to use when invoking {@link ReactiveEntityCallbacks callbacks}
213213
* like the {@link ReactiveBeforeConvertCallback}.
214-
* <p />
214+
* <br/>
215215
* Overrides potentially existing {@link ReactiveEntityCallbacks}.
216216
*
217217
* @param entityCallbacks must not be {@literal null}.

src/main/java/org/springframework/data/elasticsearch/core/ReactiveSearchOperations.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ default <T> Flux<SearchHit<T>> search(Query query, Class<T> entityType, IndexCoo
127127
* @param <T>
128128
* @param query must not be {@literal null}.
129129
* @param entityType must not be {@literal null}.
130-
* @param <T>
131130
* @return a {@link Mono} emitting matching entities in a {@link SearchHits}.
132131
* @since 4.1
133132
*/
@@ -142,7 +141,6 @@ default <T> Mono<SearchPage<T>> searchForPage(Query query, Class<T> entityType)
142141
* @param query must not be {@literal null}.
143142
* @param entityType must not be {@literal null}.
144143
* @param resultType the projection result type.
145-
* @param <T>
146144
* @return a {@link Mono} emitting matching entities in a {@link SearchHits}.
147145
* @since 4.1
148146
*/
@@ -155,7 +153,6 @@ default <T> Mono<SearchPage<T>> searchForPage(Query query, Class<T> entityType)
155153
* @param query must not be {@literal null}.
156154
* @param entityType must not be {@literal null}.
157155
* @param index the target index, must not be {@literal null}
158-
* @param <T>
159156
* @return a {@link Mono} emitting matching entities in a {@link SearchHits}.
160157
* @since 4.1
161158
*/

src/main/java/org/springframework/data/elasticsearch/core/SearchOperations.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ default <T> SearchHit<T> searchOne(Query query, Class<T> clazz, IndexCoordinates
205205

206206
/**
207207
* Executes the given {@link Query} against elasticsearch and return result as {@link SearchHitsIterator}.
208-
* <p>
209208
*
210209
* @param <T> element return type
211210
* @param query the query to execute
@@ -218,7 +217,6 @@ default <T> SearchHit<T> searchOne(Query query, Class<T> clazz, IndexCoordinates
218217

219218
/**
220219
* Executes the given {@link Query} against elasticsearch and return result as {@link SearchHitsIterator}.
221-
* <p>
222220
*
223221
* @param <T> element return type
224222
* @param query the query to execute

src/main/java/org/springframework/data/elasticsearch/core/geo/GeoJson.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import org.springframework.data.elasticsearch.core.document.Document;
2121

2222
/**
23-
* Interface definition for structures defined in <a href="https://geojson.org/>GeoJSON</a> format. copied from Spring
23+
* Interface definition for structures defined in <a href="https://geojson.org">GeoJSON</a>
24+
* format. copied from Spring
2425
* Data Mongodb
2526
*
2627
* @author Christoph Strobl

src/main/java/org/springframework/data/elasticsearch/core/query/Query.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ static Query findAll() {
157157
float getMinScore();
158158

159159
/**
160-
* Get if scores will be computed and tracked, regardless of whether sorting on a field. Defaults to <tt>false</tt>.
160+
* Get if scores will be computed and tracked, regardless of whether sorting on a field. Defaults to <em>false</em>.
161161
*
162162
* @return
163163
* @since 3.1

src/main/java/org/springframework/data/elasticsearch/core/query/UpdateQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @author Mohsin Husen
3131
* @author Peter-Josef Meisch
3232
* @author Farid Faoudi
33-
* @see <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html>docs</a>
33+
* @see <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html">docs</a>
3434
*/
3535
public class UpdateQuery {
3636

0 commit comments

Comments
 (0)