aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol/src/main
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2019-07-15 15:59:23 -0500
committerSonarTech <sonartech@sonarsource.com>2019-07-17 20:21:13 +0200
commite4c5ada51ddcc8cd2ac3c19961e9158af2a46e8a (patch)
treea32da619600d0200d4e414d13c0fb4ebb2f9a31e /sonar-scanner-protocol/src/main
parent03bb045cca26245804592602c7ff0c6e477f3b8d (diff)
downloadsonarqube-e4c5ada51ddcc8cd2ac3c19961e9158af2a46e8a.tar.gz
sonarqube-e4c5ada51ddcc8cd2ac3c19961e9158af2a46e8a.zip
Clean deps
Diffstat (limited to 'sonar-scanner-protocol/src/main')
-rw-r--r--sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/input/MultiModuleProjectRepository.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/input/MultiModuleProjectRepository.java b/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/input/MultiModuleProjectRepository.java
index b04fbe0c7b7..efaca6fa252 100644
--- a/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/input/MultiModuleProjectRepository.java
+++ b/sonar-scanner-protocol/src/main/java/org/sonar/scanner/protocol/input/MultiModuleProjectRepository.java
@@ -19,14 +19,14 @@
*/
package org.sonar.scanner.protocol.input;
-import com.google.common.collect.Maps;
+import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import javax.annotation.CheckForNull;
import javax.annotation.Nullable;
public class MultiModuleProjectRepository implements ProjectRepositories {
- private Map<String, SingleProjectRepository> repositoryPerModule = Maps.newHashMap();
+ private Map<String, SingleProjectRepository> repositoryPerModule = new HashMap<>();
public MultiModuleProjectRepository addFileDataToModule(String moduleKey, @Nullable String path, FileData fileData) {
if (path == null || (fileData.hash() == null && fileData.revision() == null)) {