Skip to content

Commit ec22344

Browse files
committed
Fix small javadoc warnings (to get back to 0 warnings)
1 parent 542654c commit ec22344

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/main/java/com/fasterxml/jackson/core/JsonStreamContext.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public JsonPointer pathAsPointer(boolean includeRoot) {
284284
* @param srcRef Source reference needed to construct location instance
285285
*
286286
* @return Location pointing to the point where the context
287-
* start marker was found (or written); never `null`.
287+
* start marker was found (or written); never {@code null}.
288288
*
289289
* @since 2.13
290290
*/
@@ -293,6 +293,9 @@ public JsonLocation startLocation(ContentReference srcRef) {
293293
}
294294

295295
/**
296+
* @param srcRef Source reference needed to construct location instance
297+
* @return Location pointing to the point where the context
298+
* start marker was found (or written); never {@code null}.
296299
* @since 2.9
297300
* @deprecated Since 2.13 use {@link #startLocation} instead
298301
*/

src/main/java/com/fasterxml/jackson/core/util/BufferRecyclers.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ public static int releaseBuffers() {
109109
/**
110110
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} instead.
111111
*
112+
* @return {@code JsonStringEncoder} instance to use.
113+
*
112114
* @deprecated Since 2.10 (note: was accidentally removed but reintroduced as deprecated
113115
* in 2.12.5, to be removed from 3.0)
114116
*/
@@ -121,6 +123,9 @@ public static JsonStringEncoder getJsonStringEncoder() {
121123
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} (and then
122124
* {@code encodeAsUTF8()}) instead.
123125
*
126+
* @param text String to encode
127+
* @return String encoded as UTF-8 bytes.
128+
*
124129
* @deprecated Since 2.10 (note: was accidentally removed but reintroduced as deprecated
125130
* in 2.12.5, to be removed from 3.0)
126131
*/

0 commit comments

Comments
 (0)