Skip to content

Commit 499e97a

Browse files
committed
compiler warning fix
1 parent 077c0e1 commit 499e97a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/fasterxml/jackson/dataformat/xml/XmlFactory.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ public MatchStrength hasFormat(InputAccessor acc) throws IOException {
393393
* have no working mechanism for recycling buffers. So we have to
394394
* admit that can not make efficient use.
395395
*/
396+
@Override
396397
public boolean canUseCharArrays() { return false; }
397398

398399
/*
@@ -407,7 +408,8 @@ public MatchStrength hasFormat(InputAccessor acc) throws IOException {
407408
* that temporary buffer gets recycled; so let's just use StringReader.
408409
*/
409410
@SuppressWarnings("resource")
410-
public JsonParser createParser(String content) throws IOException, JsonParseException {
411+
@Override
412+
public JsonParser createParser(String content) throws IOException {
411413
Reader r = new StringReader(content);
412414
IOContext ctxt = _createContext(r, true);
413415
if (_inputDecorator != null) {

0 commit comments

Comments
 (0)