From 720e51666421f00fe6feed69a66cfca04baaf6e3 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Fri, 27 Sep 2024 18:31:18 +0200 Subject: [PATCH] Avoid reference to Guava in GitLabSupport --- .../java/org/eclipse/dash/licenses/review/GitLabSupport.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/eclipse/dash/licenses/review/GitLabSupport.java b/core/src/main/java/org/eclipse/dash/licenses/review/GitLabSupport.java index 5323cfaa..61289c39 100644 --- a/core/src/main/java/org/eclipse/dash/licenses/review/GitLabSupport.java +++ b/core/src/main/java/org/eclipse/dash/licenses/review/GitLabSupport.java @@ -9,6 +9,7 @@ *************************************************************************/ package org.eclipse.dash.licenses.review; +import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.BiConsumer; @@ -28,8 +29,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.google.common.collect.Maps; - public class GitLabSupport { final Logger logger = LoggerFactory.getLogger(GitLabSupport.class); @@ -111,7 +110,7 @@ public void execute(Consumer callable) { IProxySettings proxySettings = this.proxySettings.get(); if (proxySettings != null) { // Configure GitLab API for the proxy server - clientConfig = Maps.newHashMap(); + clientConfig = new HashMap<>(); proxySettings.configureJerseyClient(clientConfig); }