Closed EM-Creations closed 2 years ago
This will have to be addressed in Checkstyle (https://github.com/checkstyle/checkstyle/issues/8240). In the meantime, you should be able to configure it to ignore module-info.java
files.
Yeah that's what I'm doing for now thanks.
Recently encountered a problem at work where when checkStyle tries to look at a
module-info.java
file, it will throw an exception regarding theopen
keyword, as if it doesn't recognise it as valid syntax, it's perfectly valid in amodule-info.java
file.Exception:
no viable alternative at input 'open'
module-info.java
: