Hide Utility Class Constructor : Utility classes should not have a public or default constructor

If this class is only a utility class, you should make the class final and define a private constructor: This prevents the default parameter-less constructor from being used elsewhere in your code. Additionally, you can make the class final, so that it can’t be extended in subclasses, which is a best practice for utility classes. … Read more

SonarQube Runner vs Scanner

Answer is very simple: “Runner” is the old name for “Scanner”. Everything you need to know about the different SonarQube Scanners is available on the Scanners part of the official documentation. If you’re stuck to Java 7, then you can use: SonarQube Runner (sonar-runner) up to version 5.5 of SonarQube SonarQube Scanner (sonar-scanner) 2.6.1

Pod status as `CreateContainerConfigError` in Minikube cluster

I am trying to run Sonarqube service using the following helm chart. So the set-up is like it starts a MySQL and Sonarqube service in the minikube cluster and Sonarqube service talks to the MySQL service to dump the data. When I do helm install followed by kubectl get pods I see the MySQL pod status as running, but the Sonarqube pos status shows as CreateContainerConfigError. I reckon … Read more