I searched for this problem through Google, but it turned out that I cannot find a way to fix this problem. In fact, I have a classic main method in which I run the task, but sonarqube continues to repeat that the found main Uncommented method was found.
Here is the code:
public static void main(String[] args) { ExitManager exitManager = new ExitManager();
I do not see any specific problem here, where does this problem come from? Do you know how I can fix this?
Thanks.
source share