From d438422d52ca0d3ac55a3523aa99b45f0b31de61 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sun, 9 Apr 2023 12:19:50 -0400 Subject: [PATCH] Get a bit more spotless --- .gitignore | 1 + .../velocitypowered/proxy/config/VelocityConfiguration.java | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ad9eb5909..f90c93da9 100644 --- a/.gitignore +++ b/.gitignore @@ -82,6 +82,7 @@ gradle-app.setting ### Other trash ### logs/ /velocity.toml +/forwarding.secret server-icon.png /bin/ run/ diff --git a/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java b/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java index cf91b21b4..3afd9fc10 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/config/VelocityConfiguration.java @@ -20,7 +20,6 @@ package com.velocitypowered.proxy.config; import com.electronwill.nightconfig.core.CommentedConfig; import com.electronwill.nightconfig.core.UnmodifiableConfig; import com.electronwill.nightconfig.core.file.CommentedFileConfig; -import com.electronwill.nightconfig.toml.TomlFormat; import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; @@ -29,15 +28,12 @@ import com.velocitypowered.api.proxy.config.ProxyConfig; import com.velocitypowered.api.util.Favicon; import com.velocitypowered.proxy.util.AddressUtil; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; -import java.io.File; import java.io.IOException; -import java.io.InputStream; import java.net.InetSocketAddress; import java.net.URL; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; -import java.nio.file.StandardCopyOption; import java.security.SecureRandom; import java.util.HashMap; import java.util.List;