The Java scanner has reported the following log line in the Java sensor:
ERROR: Parse error at line 6 column 35: Syntax error on token ";", delete this token
This line contains an unnecessary trailing semicolon. It’s syntactically correct but produces a parse error:
import java.util.stream.Collectors;;
Versions used:
INFO: SonarScanner 4.4.0.2170
INFO: Java 11.0.6 AdoptOpenJDK (64-bit)
INFO: Linux 5.4.0-47-generic amd64
This is quite minor to resolve, but I imagine it prevented the rest of my file from being analysed.
Hope that’s useful,
Martin