Skip to content

Commit

Permalink
Fix small javadoc warnings (to get back to 0 warnings)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Sep 28, 2021
1 parent 542654c commit ec22344
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public JsonPointer pathAsPointer(boolean includeRoot) {
* @param srcRef Source reference needed to construct location instance
*
* @return Location pointing to the point where the context
* start marker was found (or written); never `null`.
* start marker was found (or written); never {@code null}.
*
* @since 2.13
*/
Expand All @@ -293,6 +293,9 @@ public JsonLocation startLocation(ContentReference srcRef) {
}

/**
* @param srcRef Source reference needed to construct location instance
* @return Location pointing to the point where the context
* start marker was found (or written); never {@code null}.
* @since 2.9
* @deprecated Since 2.13 use {@link #startLocation} instead
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ public static int releaseBuffers() {
/**
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} instead.
*
* @return {@code JsonStringEncoder} instance to use.
*
* @deprecated Since 2.10 (note: was accidentally removed but reintroduced as deprecated
* in 2.12.5, to be removed from 3.0)
*/
Expand All @@ -121,6 +123,9 @@ public static JsonStringEncoder getJsonStringEncoder() {
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} (and then
* {@code encodeAsUTF8()}) instead.
*
* @param text String to encode
* @return String encoded as UTF-8 bytes.
*
* @deprecated Since 2.10 (note: was accidentally removed but reintroduced as deprecated
* in 2.12.5, to be removed from 3.0)
*/
Expand Down

0 comments on commit ec22344

Please sign in to comment.