Skip to content

Commit c39715b

Browse files
committed
Clean up javadoc warnings
1 parent 07f3efe commit c39715b

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

spring-cloud-commons/src/main/java/org/springframework/cloud/client/hypermedia/RemoteResource.java

+6-7
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,21 @@
1919

2020
/**
2121
* A REST resource that can be discovered and can be either gone or available.
22-
*
22+
*
2323
* @author Oliver Gierke
2424
*/
2525
public interface RemoteResource {
2626

2727
/**
28-
* Returns the {@link Link} to the resource in case it is available or {@literal null} in case it's gone, i.e. either
29-
* generally unavailable or can't be discovered.
30-
*
31-
* @return
28+
* Returns the {@link Link} to the resource in case it is available or {@literal null}
29+
* in case it's gone, i.e. either generally unavailable or can't be discovered.
3230
*/
3331
Link getLink();
3432

3533
/**
36-
* Discovers the the resource in case it hasn't been yet or became unavailable. In case a link has been discovered
37-
* previously, it is verified and either confirmed or the link is removed to indicate it's not available anymore.
34+
* Discovers the the resource in case it hasn't been yet or became unavailable. In
35+
* case a link has been discovered previously, it is verified and either confirmed or
36+
* the link is removed to indicate it's not available anymore.
3837
*/
3938
void verifyOrDiscover();
4039
}

spring-cloud-commons/src/main/java/org/springframework/cloud/client/hypermedia/TraversalDefinition.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@
2020

2121
/**
2222
* Callback to define the traversal to a resource.
23-
*
23+
*
2424
* @author Oliver Gierke
2525
*/
2626
public interface TraversalDefinition {
2727

2828
/**
2929
* @param traverson the Traverson instance to run the traversal on.
30-
* @return
3130
*/
3231
TraversalBuilder buildTraversal(Traverson traverson);
3332
}

0 commit comments

Comments
 (0)