}
}
private static boolean isError401(ConnectionException ex) {
return ex.getMessage().contains("HTTP error: 401");
}
<BUG>public List<SonarQubeProject> getProjects(UserCredentials userCredentials) {
</BUG>
try{
Sonar sonar;
if(userCredentials == null) {

}
}
public SonarQube() {
this("http://localhost:9000");
}
public String getServerUrl() {
return serverUrl;
}
public String getVersion(UserCredentials userCredentials) {
Sonar sonar;
if(userCredentials == null) {
