Minor: Replace a number of trivial Guava usages with constructor calls and kotlin-stdlib function calls

This commit is contained in:
Yan Zhulanow
2018-06-01 18:03:19 +03:00
parent 61ffde54fd
commit ab5614eaac
44 changed files with 100 additions and 144 deletions
@@ -16,19 +16,19 @@
package org.jetbrains.kotlin.psi;
import com.google.common.collect.Maps;
import com.intellij.openapi.project.Project;
import kotlin.collections.CollectionsKt;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.kotlin.resolve.ImportPath;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
public class KtImportsFactory {
@NotNull private final Project project;
private final Map<ImportPath, KtImportDirective> importsCache = Maps.newHashMap();
private final Map<ImportPath, KtImportDirective> importsCache = new HashMap<>();
public KtImportsFactory(@NotNull Project project) {
this.project = project;