Skip to content

Commit

Permalink
Add missing javadoc param/returns for deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Sep 30, 2021
1 parent ec22344 commit 81bdfaa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,7 @@ protected void _handleBase64MissingPadding(Base64Variant b64variant) throws IOEx
*/

/**
* @return Source reference
* @since 2.9
* @deprecated Since 2.13, use {@link #_contentReference()} instead.
*/
Expand Down
11 changes: 11 additions & 0 deletions src/main/java/com/fasterxml/jackson/core/util/BufferRecyclers.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ public static byte[] encodeAsUTF8(String text) {
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} (and then
* {@code quoteAsString()}) instead.
*
* @param rawText String to quote
*
* @return Quoted text as {@code char[]}
*
* @deprecated Since 2.10 (note: was accidentally removed but reintroduced as deprecated
* in 2.12.5, to be removed from 3.0)
*/
Expand All @@ -150,6 +154,9 @@ public static char[] quoteAsJsonText(String rawText) {
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} (and then
* {@code quoteAsString()}) instead.
*
* @param input Textual content to quote
* @param output Builder to append quoted content
*
* @deprecated Since 2.10 (note: was accidentally removed but reintroduced as deprecated
* in 2.12.5, to be removed from 3.0)
*/
Expand All @@ -162,6 +169,10 @@ public static void quoteAsJsonText(CharSequence input, StringBuilder output) {
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} (and then
* {@code quoteAsUTF8()}) instead.
*
* @param rawText String to quote
*
* @return Quoted text as {@code byte[]}
*
* @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 81bdfaa

Please sign in to comment.