adoroszlai commented on code in PR #4990:
URL: https://github.com/apache/ozone/pull/4990#discussion_r1245565614
##########
hadoop-hdds/annotations/src/main/java/org/apache/ozone/annotations/ReplicateAnnotationProcessor.java:
##########
@@ -67,14 +85,14 @@ private void checkMethodSignature(Element element) {
return;
}
final ExecutableElement executableElement = (ExecutableElement) element;
- final List<? extends TypeMirror> exceptions =
- executableElement.getThrownTypes();
+ final boolean found = executableElement.getThrownTypes().stream()
+ .map(TypeMirror::toString)
Review Comment:
Thanks for the pointer. I'll make the change, although using `toString` is
not new to the patch.
--
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]