Copilot commented on code in PR #120:
URL: https://github.com/apache/xerces-j/pull/120#discussion_r4492097768


##########
src/org/apache/xerces/xpointer/XPointerHandler.java:
##########
@@ -565,7 +549,7 @@ private boolean hasMore() {
          * Obtains the token at the current position, then advance
          * the current position by one.
          * 
-         * throws If there's no such next token, this method throws
+         * @throws if there's no such next token, this method throws
          * <code>new XNIException("XPointerProcessingError");</code>.

Review Comment:
   The first argument to `@throws` must be an exception type, but this tag 
supplies `if`. Javadoc therefore treats `if` as an exception reference, making 
the tag invalid when private-member documentation is generated. Specify 
`XNIException` before the description.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to