Skip to content

Commit 836557f

Browse files
committed
Javadoc fix
1 parent 2b1a8fd commit 836557f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/java/tools/jackson/databind/JsonNode.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -756,10 +756,10 @@ public String asText(String defaultValue) {
756756

757757
/**
758758
* Method similar to {@link #shortValue()}, but that will return empty
759-
* {@link Optional<Short>} ({@code Optional.empty()}) if this node cannot
759+
* {@code Optional<Short>} ({@code Optional.empty()}) if this node cannot
760760
* be converted to Java {@code short}.
761761
*
762-
* @return Java {@code short} value this node represents, as {@link Optional<Short>},
762+
* @return Java {@code short} value this node represents, as {@code Optional<Short>},
763763
* if possible to accurately represent; {@code Optional.empty()} otherwise
764764
*/
765765
public abstract Optional<Short> shortValueOpt();
@@ -803,7 +803,7 @@ public String asText(String defaultValue) {
803803
* ({@code Optional.empty()}) if this node cannot
804804
* be coerced to {@code short}.
805805
*
806-
* @return {@link Optional<Short>} value this node represents,
806+
* @return {@code Optional<Short>} value this node represents,
807807
* if possible to accurately represent; {@code Optional.empty()} otherwise
808808
*/
809809
public abstract Optional<Short> asShortOpt();
@@ -1104,10 +1104,10 @@ public String asText(String defaultValue) {
11041104

11051105
/**
11061106
* Method similar to {@link #floatValue()}, but that will return empty
1107-
* {@link Optional<Float>} ({@code Optional.empty()}) if this node cannot
1107+
* {@code Optional<Float>} ({@code Optional.empty()}) if this node cannot
11081108
* be converted to Java {@code float}.
11091109
*
1110-
* @return Java {@code float} value this node represents, as {@link Optional<Float>},
1110+
* @return Java {@code float} value this node represents, as {@code Optional<Float>},
11111111
* if possible to accurately represent; {@code Optional.empty()} otherwise
11121112
*/
11131113
public abstract Optional<Float> floatValueOpt();
@@ -1145,7 +1145,7 @@ public String asText(String defaultValue) {
11451145
* ({@code Optional.empty()}) if this node cannot
11461146
* be coerced to {@code float}.
11471147
*
1148-
* @return {@link Optional<Float>} value this node represents,
1148+
* @return {@code Optional<Float>} value this node represents,
11491149
* if possible to accurately represent; {@code Optional.empty()} otherwise
11501150
*/
11511151
public abstract Optional<Float> asFloatOpt();

0 commit comments

Comments
 (0)