elharo commented on a change in pull request #59:
URL:
https://github.com/apache/maven-javadoc-plugin/pull/59#discussion_r543627492
##########
File path:
src/test/resources/unit/fix-test/expected/src/main/java/fix/test/ClassWithJavadoc.java
##########
@@ -451,6 +451,21 @@ public void testException3()
{
throw new Exception();
}
+
+ /**
+ * to test if it will handle static final field correctly.
+ */
+ public static final int TEST_STATIC_FINAL_FIELD_0 = 1 << 2;
Review comment:
If there's some reason it has to be this way, you need a comment
explaining that. It is not self-evident. The current comment says it's testing
a static final field. Static final fields don't have to have shift operators.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]