From c73abdd8f999d28379be8b0a04bbfc7a6460048d Mon Sep 17 00:00:00 2001 From: Stephan Fuhrmann Date: Mon, 8 Jan 2024 16:08:07 +0100 Subject: [PATCH] Clean up imports Reduce visibility --- .../main/java/com/oneandone/snmpman/configuration/Walks.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/snmpman/src/main/java/com/oneandone/snmpman/configuration/Walks.java b/snmpman/src/main/java/com/oneandone/snmpman/configuration/Walks.java index eff964d..7c91938 100644 --- a/snmpman/src/main/java/com/oneandone/snmpman/configuration/Walks.java +++ b/snmpman/src/main/java/com/oneandone/snmpman/configuration/Walks.java @@ -1,7 +1,6 @@ package com.oneandone.snmpman.configuration; import com.google.common.primitives.UnsignedLong; -import com.oneandone.snmpman.SnmpmanAgent; import lombok.extern.slf4j.Slf4j; import org.snmp4j.smi.Counter32; import org.snmp4j.smi.Counter64; @@ -20,7 +19,6 @@ import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.Charset; -import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; @@ -78,7 +76,7 @@ public static Map readWalk(final File walk) throws IOException { * @param reader the reader to read the bindings from. * @return the map of oid to variable binding. */ - static Map readVariableBindings(final File walk, final BufferedReader reader) throws IOException { + private static Map readVariableBindings(final File walk, final BufferedReader reader) throws IOException { final Map bindings = new HashMap<>(); OID lastOid = null; String lastType = null;