You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class Testcase {
/**
* The name of the ECDSA (Elliptic Curve Digital Signature Algorithm).
*
* @see <a
* href="https://docs.oracle.com/en/java/javase/23/docs/specs/security/standard-names.html#keypairgenerator-algorithms">
* KeyPairGenerator Algorithms</a>.
*/
public static final String ELLIPTIC_CURVE_ALGORITHM = "EC";
}
setRUN_LOCALE="-Duser.language=en -Duser.country=US"
java %RUN_LOCALE% -jar checkstyle-10.20.2-all.jar -c config.xml Testcase.java
Starting audit...
[ERROR] C:\Users\Gili\Documents\3rdparty\checkstyle-javadoc-parsing\Testcase.java:7: Javadoc comment at column 38 has parse error. Details: mismatched input '.' expecting <EOF> while parsing JAVADOC [JavadocBlockTagLocation]
[ERROR] C:\Users\Gili\Documents\3rdparty\checkstyle-javadoc-parsing\Testcase.java:7: Javadoc comment at column 38 has parse error. Details: mismatched input '.' expecting <EOF> while parsing JAVADOC [JavadocMissingLeadingAsterisk]
[ERROR] C:\Users\Gili\Documents\3rdparty\checkstyle-javadoc-parsing\Testcase.java:7: Javadoc comment at column 38 has parse error. Details: mismatched input '.' expecting <EOF> while parsing JAVADOC [JavadocMissingWhitespaceAfterAsterisk]
[ERROR] C:\Users\Gili\Documents\3rdparty\checkstyle-javadoc-parsing\Testcase.java:7: Javadoc comment at column 38 has parse error. Details: mismatched input '.' expecting <EOF> while parsing JAVADOC [JavadocTagContinuationIndentation]
[ERROR] C:\Users\Gili\Documents\3rdparty\checkstyle-javadoc-parsing\Testcase.java:7: Javadoc comment at column 38 has parse error. Details: mismatched input '.' expecting <EOF> while parsing JAVADOC [NonEmptyAtclauseDescription]
[ERROR] C:\Users\Gili\Documents\3rdparty\checkstyle-javadoc-parsing\Testcase.java:7: Javadoc comment at column 38 has parse error. Details: mismatched input '.' expecting <EOF> while parsing JAVADOC [RequireEmptyLineBeforeBlockTagGroup]
[ERROR] C:\Users\Gili\Documents\3rdparty\checkstyle-javadoc-parsing\Testcase.java:7: Javadoc comment at column 38 has parse error. Details: mismatched input '.' expecting <EOF> while parsing JAVADOC [SingleLineJavadoc]
Audit done.
Checkstyle ends with 7 errors.
Describe what you expect in detail.
No parsing errors since the javadoc in JDK 23.0.1 tool does not report any parsing problems.
The text was updated successfully, but these errors were encountered:
I have read check documentation: https://checkstyle.org/checks/javadoc/javadocmethod.html
I have downloaded the latest checkstyle from: https://checkstyle.org/cmdline.html#Download_and_Run
I have executed the cli and showed it below, as cli describes the problem better than 1,000 words
/var/tmp $ cat config.xml
/var/tmp $ cat YOUR_FILE.java
Describe what you expect in detail.
No parsing errors since the
javadoc
in JDK 23.0.1 tool does not report any parsing problems.The text was updated successfully, but these errors were encountered: