Skip to content

Commit d9491c4

Browse files
committed
Deprecating 2 methods, test cleanup
1 parent fcdc96d commit d9491c4

File tree

2 files changed

+10
-86
lines changed

2 files changed

+10
-86
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,11 @@ public XMLInputFactory getXMLInputFactory() {
372372
return _xmlInputFactory;
373373
}
374374

375+
/**
376+
* @deprecated Since 2.12 -- should be set as part of build process
377+
* (either in builder, or constructor)
378+
*/
379+
@Deprecated
375380
public void setXMLInputFactory(XMLInputFactory f) {
376381
_xmlInputFactory = f;
377382
}
@@ -381,6 +386,11 @@ public XMLOutputFactory getXMLOutputFactory() {
381386
return _xmlOutputFactory;
382387
}
383388

389+
/**
390+
* @deprecated Since 2.12 -- should be set as part of build process
391+
* (either in builder, or constructor)
392+
*/
393+
@Deprecated
384394
public void setXMLOutputFactory(XMLOutputFactory f) {
385395
_xmlOutputFactory = f;
386396
}

src/test/java/com/fasterxml/jackson/dataformat/xml/failing/FailingNamespace326Test.java

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)