Skip to content

Commit 81bdfaa

Browse files
committed
Add missing javadoc param/returns for deprecated methods
1 parent ec22344 commit 81bdfaa

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/main/java/com/fasterxml/jackson/core/base/ParserBase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ protected void _handleBase64MissingPadding(Base64Variant b64variant) throws IOEx
12461246
*/
12471247

12481248
/**
1249+
* @return Source reference
12491250
* @since 2.9
12501251
* @deprecated Since 2.13, use {@link #_contentReference()} instead.
12511252
*/

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ public static byte[] encodeAsUTF8(String text) {
138138
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} (and then
139139
* {@code quoteAsString()}) instead.
140140
*
141+
* @param rawText String to quote
142+
*
143+
* @return Quoted text as {@code char[]}
144+
*
141145
* @deprecated Since 2.10 (note: was accidentally removed but reintroduced as deprecated
142146
* in 2.12.5, to be removed from 3.0)
143147
*/
@@ -150,6 +154,9 @@ public static char[] quoteAsJsonText(String rawText) {
150154
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} (and then
151155
* {@code quoteAsString()}) instead.
152156
*
157+
* @param input Textual content to quote
158+
* @param output Builder to append quoted content
159+
*
153160
* @deprecated Since 2.10 (note: was accidentally removed but reintroduced as deprecated
154161
* in 2.12.5, to be removed from 3.0)
155162
*/
@@ -162,6 +169,10 @@ public static void quoteAsJsonText(CharSequence input, StringBuilder output) {
162169
* Not to be used any more: call {@link JsonStringEncoder#getInstance()} (and then
163170
* {@code quoteAsUTF8()}) instead.
164171
*
172+
* @param rawText String to quote
173+
*
174+
* @return Quoted text as {@code byte[]}
175+
*
165176
* @deprecated Since 2.10 (note: was accidentally removed but reintroduced as deprecated
166177
* in 2.12.5, to be removed from 3.0)
167178
*/

0 commit comments

Comments
 (0)