qulice
qulice copied to clipboard
RegexpSinglelineCheck is broken
I've got a Java class with string literal "/**/"
. For some reason RegexpSinglelineCheck
rule violation is reported for it with the following message:
This kind of comment is not allowed. (RegexpSinglelineCheck)
It also impossible to disable the rule using @checkstyle RegexpSinglelineCheck (X lines)
in JavaDoc.
"/**/"
string literal does not has anything to do with RegEx and is not a comment, so it should not cause any errors.
Version of Qulice Maven Plugin is 0.18.19
I have this
/**
* Ctor.
*
* @param line Line position.
* @param column Column position.
* @param message Error message.
*/
public ParseError(
final Integer line,
final Integer column,
final String message
) {
and got @param tag description should start with capital letter (RegexpSinglelineCheck)
for the first two params, the third one is ok.
as I see that something is wrong, so I tried to use
// @checkstyle RegexpSinglelineJava (50 lines)
/**
* Ctor.
*
* @param line Line position.
* @param column Column position.
* @param message Error message.
*/
but the problem still pops up when running the build
I'm using version 0.22.0 on Java 17
I downgraded to 0.19.5 and worked fine