Skip to content
Snippets Groups Projects
Commit 45cbabe7 authored by brinn's avatar brinn
Browse files

Fix deprecation warnings.

SVN: 25985
parent b09d6050
No related branches found
No related tags found
No related merge requests found
...@@ -153,6 +153,7 @@ public class JsonTypeAndClassDeserializer extends AsPropertyTypeDeserializer ...@@ -153,6 +153,7 @@ public class JsonTypeAndClassDeserializer extends AsPropertyTypeDeserializer
} }
} }
@SuppressWarnings("resource") // TokenBuffer.close() just marks the buffer as closed.
private Object deserializeWithType(JsonParser jp, DeserializationContext ctxt, TokenBuffer tb, private Object deserializeWithType(JsonParser jp, DeserializationContext ctxt, TokenBuffer tb,
String type) throws IOException, JsonProcessingException String type) throws IOException, JsonProcessingException
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment