-
Notifications
You must be signed in to change notification settings - Fork 92
Fix for #193:deprecate XMLEventReader #199
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
Conversation
Thanks for this. Doesn't look like your commit is assigned to your GitHub account. Did you configure your e-mail in git? See https://help.github.com/articles/setting-your-commit-email-address-in-git/ After fixing git, you should also update the commit you made here with a command like this:
It's also good to use a Git workflow with branches, see: |
Descriptions in pull requests are usually helpful for reviewiers. For this PR, one thing worth mentioning is what the deprecation message is for the compiler:
Maybe the deprecation message should just be:
|
@mghildiy still interested in pursuing this...? |
Review comment by @ashawley has been implemented, and committed. Or am I still missing something here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just realized scala.xml.pull.XMLEvent
should be deprecated too, shouldn't it?
@@ -24,6 +24,7 @@ import scala.xml.parsing.{ ExternalSources, MarkupHandler, MarkupParser } | |||
* @author Burak Emir | |||
* @author Paul Phillips | |||
*/ | |||
@deprecated("class XMLEventReader in package pull is deprecated(since 1.1.1):Consider javax.xml.stream.XMLEventReader instead.", "1.1.1") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or am I still missing something here?
The deprecated tag message should just be "Consider javax.xml.stream.XMLEventReader instead."
. Currently, the message is duplicated by the compiler:
class XMLEventReader in package pull is deprecated (since 1.1.1): class XMLEventReader
in package pull is deprecated(since 1.1.1):Consider javax.xml.stream.XMLEventReader instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just realized scala.xml.pull.XMLEvent should be deprecated too, shouldn't it?
Yes, it probably should be deprecated, as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'd suggest rebasing, but your branch name is called |
I don't think there's a problem, the contents of the PR seem fine. |
Fix for #193:deprecate XMLEventReader
Merged in 1b951af. Thanks for this contribution. |
class XMLEventReader in package pull is deprecated(since 1.1.1)