From 51ac08882dd633ea7aca1bc730f996befce789d1 Mon Sep 17 00:00:00 2001 From: Dustin Frisch Date: Wed, 25 Oct 2023 11:53:44 +0200 Subject: [PATCH] NMS-15790: No guava --- .../src/main/java/org/opennms/web/utils/Bootstrap.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/opennms-webapp/src/main/java/org/opennms/web/utils/Bootstrap.java b/opennms-webapp/src/main/java/org/opennms/web/utils/Bootstrap.java index b5a67866fefa..1eb78f776fd4 100644 --- a/opennms-webapp/src/main/java/org/opennms/web/utils/Bootstrap.java +++ b/opennms-webapp/src/main/java/org/opennms/web/utils/Bootstrap.java @@ -28,8 +28,6 @@ package org.opennms.web.utils; -import com.google.common.collect.Lists; -import com.google.common.collect.Sets; import org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager; import javax.servlet.http.HttpServletRequest; @@ -37,21 +35,23 @@ import javax.servlet.jsp.PageContext; import java.util.Arrays; import java.util.List; +import java.util.ArrayList; import java.util.Objects; import java.util.Set; +import java.util.HashSet; public class Bootstrap { private final PageContext pageContext; - private final List headTitles = Lists.newArrayList(); + private final List headTitles = new ArrayList<>(); - private final List breadcrumbs = Lists.newArrayList(); + private final List breadcrumbs = new ArrayList<>(); private String ngApp; private String scrollSpy; - private Set flags = Sets.newHashSet(); + private Set flags = new HashSet<>(); private Bootstrap(final PageContext pageContext) { this.pageContext = Objects.requireNonNull(pageContext);