Skip to content

Commit 822d3cb

Browse files
committed
javadoc warnings cleanup
1 parent 93e82dd commit 822d3cb

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

src/main/java/com/fasterxml/jackson/databind/jsontype/TypeSerializer.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public abstract WritableTypeId writeTypeSuffix(JsonGenerator g,
172172
*{@code writeTypePrefix(g, typeId(value, JsonToken.VALUE_STRING));}.
173173
* See {@link #writeTypePrefix} for more info.
174174
*
175-
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId) instead
175+
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId)} instead
176176
*/
177177
@Deprecated // since 2.9
178178
public void writeTypePrefixForScalar(Object value, JsonGenerator g) throws IOException {
@@ -184,7 +184,7 @@ public void writeTypePrefixForScalar(Object value, JsonGenerator g) throws IOExc
184184
*{@code writeTypePrefix(g, typeId(value, JsonToken.START_OBJECT));}.
185185
* See {@link #writeTypePrefix} for more info.
186186
*
187-
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId) instead
187+
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId)} instead
188188
*/
189189
@Deprecated // since 2.9
190190
public void writeTypePrefixForObject(Object value, JsonGenerator g) throws IOException {
@@ -196,7 +196,7 @@ public void writeTypePrefixForObject(Object value, JsonGenerator g) throws IOExc
196196
*{@code writeTypePrefix(g, typeId(value, JsonToken.START_ARRAY));}.
197197
* See {@link #writeTypePrefix} for more info.
198198
*
199-
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId) instead
199+
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId)} instead
200200
*/
201201
@Deprecated // since 2.9
202202
public void writeTypePrefixForArray(Object value, JsonGenerator g) throws IOException {
@@ -208,7 +208,7 @@ public void writeTypePrefixForArray(Object value, JsonGenerator g) throws IOExce
208208
*{@code writeTypeSuffix(g, typeId(value, JsonToken.VALUE_STRING));}.
209209
* See {@link #writeTypeSuffix} for more info.
210210
*
211-
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId) instead
211+
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId)} instead
212212
*/
213213
@Deprecated // since 2.9
214214
public void writeTypeSuffixForScalar(Object value, JsonGenerator g) throws IOException {
@@ -220,7 +220,7 @@ public void writeTypeSuffixForScalar(Object value, JsonGenerator g) throws IOExc
220220
*{@code writeTypeSuffix(g, typeId(value, JsonToken.START_OBJECT));}.
221221
* See {@link #writeTypeSuffix} for more info.
222222
*
223-
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId) instead
223+
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId)} instead
224224
*/
225225
@Deprecated // since 2.9
226226
public void writeTypeSuffixForObject(Object value, JsonGenerator g) throws IOException {
@@ -232,7 +232,7 @@ public void writeTypeSuffixForObject(Object value, JsonGenerator g) throws IOExc
232232
*{@code writeTypeSuffix(g, typeId(value, JsonToken.START_ARRAY));}.
233233
* See {@link #writeTypeSuffix} for more info.
234234
*
235-
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId) instead
235+
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId)} instead
236236
*/
237237
@Deprecated // since 2.9
238238
public void writeTypeSuffixForArray(Object value, JsonGenerator g) throws IOException {
@@ -244,7 +244,7 @@ public void writeTypeSuffixForArray(Object value, JsonGenerator g) throws IOExce
244244
*{@code writeTypePrefix(g, typeId(value, type, JsonToken.VALUE_STRING));}.
245245
* See {@link #writeTypePrefix} for more info.
246246
*
247-
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId) instead
247+
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId)} instead
248248
*/
249249
@Deprecated // since 2.9
250250
public void writeTypePrefixForScalar(Object value, JsonGenerator g, Class<?> type) throws IOException {
@@ -256,7 +256,7 @@ public void writeTypePrefixForScalar(Object value, JsonGenerator g, Class<?> typ
256256
*{@code writeTypePrefix(g, typeId(value, type, JsonToken.START_OBJECT));}.
257257
* See {@link #writeTypePrefix} for more info.
258258
*
259-
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId) instead
259+
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId)} instead
260260
*/
261261
@Deprecated // since 2.9
262262
public void writeTypePrefixForObject(Object value, JsonGenerator g, Class<?> type) throws IOException {
@@ -268,7 +268,7 @@ public void writeTypePrefixForObject(Object value, JsonGenerator g, Class<?> typ
268268
*{@code writeTypePrefix(g, typeId(value, type, JsonToken.START_ARRAY));}.
269269
* See {@link #writeTypePrefix} for more info.
270270
*
271-
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId) instead
271+
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId)} instead
272272
*/
273273
@Deprecated // since 2.9
274274
public void writeTypePrefixForArray(Object value, JsonGenerator g, Class<?> type) throws IOException {
@@ -286,7 +286,7 @@ public void writeTypePrefixForArray(Object value, JsonGenerator g, Class<?> type
286286
*{@code writeTypePrefix(g, typeId(value, JsonToken.VALUE_STRING, typeId));}.
287287
* See {@link #writeTypePrefix} for more info.
288288
*
289-
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId) instead
289+
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId)} instead
290290
*/
291291
@Deprecated // since 2.9
292292
public void writeCustomTypePrefixForScalar(Object value, JsonGenerator g, String typeId) throws IOException {
@@ -298,7 +298,7 @@ public void writeCustomTypePrefixForScalar(Object value, JsonGenerator g, String
298298
*{@code writeTypePrefix(g, typeId(value, JsonToken.START_OBJECT, typeId));}.
299299
* See {@link #writeTypePrefix} for more info.
300300
*
301-
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId) instead
301+
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId)} instead
302302
*/
303303
@Deprecated // since 2.9
304304
public void writeCustomTypePrefixForObject(Object value, JsonGenerator g, String typeId) throws IOException {
@@ -310,31 +310,31 @@ public void writeCustomTypePrefixForObject(Object value, JsonGenerator g, String
310310
*{@code writeTypePrefix(g, typeId(value, JsonToken.START_ARRAY, typeId));}.
311311
* See {@link #writeTypePrefix} for more info.
312312
*
313-
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId) instead
313+
* @deprecated Since 2.9 use {@link #writeTypePrefix(JsonGenerator, WritableTypeId)} instead
314314
*/
315315
@Deprecated // since 2.9
316316
public void writeCustomTypePrefixForArray(Object value, JsonGenerator g, String typeId) throws IOException {
317317
writeTypePrefix(g, typeId(value, JsonToken.START_ARRAY, typeId));
318318
}
319319

320320
/**
321-
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId) instead
321+
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId)} instead
322322
*/
323323
@Deprecated // since 2.9
324324
public void writeCustomTypeSuffixForScalar(Object value, JsonGenerator g, String typeId) throws IOException {
325325
_writeLegacySuffix(g, typeId(value, JsonToken.VALUE_STRING, typeId));
326326
}
327327

328328
/**
329-
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId) instead
329+
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId)} instead
330330
*/
331331
@Deprecated // since 2.9
332332
public void writeCustomTypeSuffixForObject(Object value, JsonGenerator g, String typeId) throws IOException {
333333
_writeLegacySuffix(g, typeId(value, JsonToken.START_OBJECT, typeId));
334334
}
335335

336336
/**
337-
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId) instead
337+
* @deprecated Since 2.9 use {@link #writeTypeSuffix(JsonGenerator, WritableTypeId)} instead
338338
*/
339339
@Deprecated // since 2.9
340340
public void writeCustomTypeSuffixForArray(Object value, JsonGenerator g, String typeId) throws IOException {

src/test/java/com/fasterxml/jackson/failing/NodeContext2049Test.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ static class Child implements HasParent {
2424
public Parent parent;
2525
public String property;
2626

27+
@Override
2728
public void setParent(Parent p) { parent = p; }
29+
@Override
2830
public Parent getParent() { return parent; }
2931
}
3032

0 commit comments

Comments
 (0)