mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-07-29 08:17:28 +02:00
Fix some quality flaws
This commit is contained in:
parent
2bdd7679ed
commit
6e6cea3033
@ -20,7 +20,6 @@
|
||||
package org.sonar.plugins.cpd;
|
||||
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
import org.apache.commons.configuration.Configuration;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.sonar.api.CoreProperties;
|
||||
|
@ -24,7 +24,6 @@ import org.apache.commons.lang.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.sonar.api.BatchComponent;
|
||||
import org.sonar.api.batch.InstantiationStrategy;
|
||||
import org.sonar.api.batch.bootstrap.ProjectBuilder;
|
||||
import org.sonar.api.batch.bootstrap.ProjectDefinition;
|
||||
import org.sonar.api.batch.bootstrap.ProjectReactor;
|
||||
@ -50,8 +49,8 @@ public class ProjectExclusions implements BatchComponent {
|
||||
}
|
||||
|
||||
public ProjectExclusions(Settings settings, ProjectReactor reactor) {
|
||||
this(settings, reactor, new ProjectBuilder[0]);
|
||||
}
|
||||
this(settings, reactor, new ProjectBuilder[0]);
|
||||
}
|
||||
|
||||
public void start() {
|
||||
LOG.info("Apply project exclusions");
|
||||
|
@ -61,7 +61,6 @@ public class ProjectSettings extends Settings {
|
||||
addBuildProperties(project);
|
||||
addEnvironmentVariables();
|
||||
addSystemProperties();
|
||||
//addProgrammaticProperties();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,6 @@ import org.slf4j.LoggerFactory;
|
||||
import org.sonar.api.BatchComponent;
|
||||
import org.sonar.api.CoreProperties;
|
||||
import org.sonar.api.config.Settings;
|
||||
import org.sonar.api.platform.Server;
|
||||
import org.sonar.api.utils.HttpDownloader;
|
||||
import org.sonar.api.utils.SonarException;
|
||||
import org.sonar.batch.bootstrapper.EnvironmentInformation;
|
||||
@ -45,6 +44,7 @@ import java.util.Date;
|
||||
|
||||
/**
|
||||
* TODO extends Server when removing the deprecated org.sonar.batch.ServerMetadata
|
||||
*
|
||||
* @since 3.4
|
||||
*/
|
||||
public class ServerClient implements BatchComponent {
|
||||
|
@ -22,10 +22,7 @@ package org.sonar.core.persistence;
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
import org.apache.ibatis.session.SqlSession;
|
||||
import org.sonar.api.BatchComponent;
|
||||
import org.sonar.api.CoreProperties;
|
||||
import org.sonar.api.ServerComponent;
|
||||
import org.sonar.core.properties.PropertiesMapper;
|
||||
import org.sonar.core.properties.PropertyDto;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
Loading…
Reference in New Issue
Block a user