garydgregory commented on a change in pull request #821:
URL: https://github.com/apache/commons-lang/pull/821#discussion_r748277349
##########
File path: src/main/java/org/apache/commons/lang3/AnnotationUtils.java
##########
@@ -69,9 +69,9 @@
*/
@Override
protected String getShortClassName(final Class<?> cls) {
- for (final Class<?> iface : ClassUtils.getAllInterfaces(cls)) {
- if (Annotation.class.isAssignableFrom(iface)) {
- return "@" + iface.getName();
+ for (final Class<?> iFace : ClassUtils.getAllInterfaces(cls)) {
Review comment:
-1: _iface_ is short for _interface_, not _interFace_. We can't use
"interface" since its reserved. No change is needed IMO.
--
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]