Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipe to Migrate Deprecated javax.xml APIs #9

Closed
3 tasks done
tkvangorder opened this issue May 31, 2021 · 3 comments
Closed
3 tasks done

Recipe to Migrate Deprecated javax.xml APIs #9

tkvangorder opened this issue May 31, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@tkvangorder
Copy link
Contributor

tkvangorder commented May 31, 2021

  • javax.xml.stream.XMLEventFactory.newInstance() -> newFactory()
  • javax.xml.stream.XMLInputFactory.newInstance() -> newFactory()
  • javax.xml.stream.XMLOutputFactory.newInstance() -> newFactory()
@tkvangorder tkvangorder added the enhancement New feature or request label May 31, 2021
@tkvangorder tkvangorder changed the title Recipe to migrate deprecated javax.xml APIs Recipe to Migrate Deprecated javax.xml APIs Jun 1, 2021
@traceyyoshima traceyyoshima self-assigned this Jun 8, 2021
traceyyoshima referenced this issue Jun 8, 2021
Added suppression of deprecation warnings.
Minor name changes for consistency.
Added recipe to migrate deprecated javax xml stream apis.
Updated scanning of runtime classpath to reflect package space.
@traceyyoshima
Copy link
Contributor

The commit has a comment with a tag to this issue, but it didn't close.
Fixed in commit.

@tkvangorder
Copy link
Contributor Author

@traceyyoshima The deprecations on newInstance() are actually on the two-argument variant and those are the ones that are deprecated.

@tkvangorder tkvangorder reopened this Jun 11, 2021
@tkvangorder
Copy link
Contributor Author

Fixed with #53fcb4e

@tkvangorder tkvangorder added this to the 0.2.0 milestone Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants