-
Notifications
You must be signed in to change notification settings - Fork 12
[XERCES-1781] Javadoc changes for AbstractSAXParser #74
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
| * Send startPrefixMapping events | ||
| * Send startPrefixMapping events. | ||
| * | ||
| * @throws SAXException if an error occurs |
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.
is this thrown, ever? From the code it looks like it might not be.
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.
Not here but it's abstract class, so expect that other classes will override so want the docs to make sure they make sense when overridden
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.
abstract class but final method, so not overridden
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.
good point, I'll change it
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.
the underlying call to startPrefixMapping could throw depending on the handler implementation
| * Send startPrefixMapping events | ||
| * Send startPrefixMapping events. | ||
| * | ||
| * @throws SAXException if an error occurs |
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.
abstract class but final method, so not overridden
| * Send endPrefixMapping events | ||
| * Send endPrefixMapping events. | ||
| * | ||
| * @throws SAXException if an error occurs |
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.
I don't think this can be thrown either
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.
will fix shortly
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.
for this one the call to endPrefixMapping could throw depending on the handler implementation
|
I took another look at both of these. There are methods on the ContentHandler that are used within each which can throw (based on method signature of the ContentHandler interface. As implementations can be changed it's worth keeping these javadocs as-is. |
No description provided.