From 558d757b9ec7b09cbe0d025d4eca8d5d587621f2 Mon Sep 17 00:00:00 2001 From: Sekwah Date: Tue, 19 Nov 2024 05:26:21 +0000 Subject: [PATCH] chore: pre-commit clean --- .clang-format | 1 - .../advancedportals/core/module/AdvancedPortalsModule.java | 3 +-- .../java/com/sekwah/advancedportals/core/tags/CommandTag.java | 1 - .../com/sekwah/advancedportals/core/util/GameScheduler.java | 1 - .../advancedportals/proxycore/AdvancedPortalsProxyCore.java | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.clang-format b/.clang-format index 6b3a75ad..c58f32c0 100644 --- a/.clang-format +++ b/.clang-format @@ -11,4 +11,3 @@ AlignAfterOpenBracket: Align PenaltyBreakBeforeFirstCallParameter: 1 ColumnLimit: 80 SpaceBeforeParens: ControlStatements -InsertNewlineAtEOF: true diff --git a/core/src/main/java/com/sekwah/advancedportals/core/module/AdvancedPortalsModule.java b/core/src/main/java/com/sekwah/advancedportals/core/module/AdvancedPortalsModule.java index 9f9c8695..23b6d85d 100644 --- a/core/src/main/java/com/sekwah/advancedportals/core/module/AdvancedPortalsModule.java +++ b/core/src/main/java/com/sekwah/advancedportals/core/module/AdvancedPortalsModule.java @@ -20,10 +20,9 @@ import com.sekwah.advancedportals.core.serializeddata.DataStorage; import com.sekwah.advancedportals.core.serializeddata.config.Config; import com.sekwah.advancedportals.core.serializeddata.config.ConfigProvider; import com.sekwah.advancedportals.core.util.InfoLogger; - -import javax.annotation.Nonnull; import java.util.ArrayList; import java.util.List; +import javax.annotation.Nonnull; public class AdvancedPortalsModule extends AbstractModule { private Injector injector; diff --git a/core/src/main/java/com/sekwah/advancedportals/core/tags/CommandTag.java b/core/src/main/java/com/sekwah/advancedportals/core/tags/CommandTag.java index 4db91791..8fbfb492 100644 --- a/core/src/main/java/com/sekwah/advancedportals/core/tags/CommandTag.java +++ b/core/src/main/java/com/sekwah/advancedportals/core/tags/CommandTag.java @@ -10,7 +10,6 @@ import com.sekwah.advancedportals.core.repository.ConfigRepository; import com.sekwah.advancedportals.core.util.Lang; import com.sekwah.advancedportals.core.warphandler.ActivationData; import com.sekwah.advancedportals.core.warphandler.Tag; - import javax.annotation.Nullable; public class CommandTag implements Tag.Activation, Tag.Split, Tag.Creation { diff --git a/core/src/main/java/com/sekwah/advancedportals/core/util/GameScheduler.java b/core/src/main/java/com/sekwah/advancedportals/core/util/GameScheduler.java index 8d20ce4b..ae88342c 100644 --- a/core/src/main/java/com/sekwah/advancedportals/core/util/GameScheduler.java +++ b/core/src/main/java/com/sekwah/advancedportals/core/util/GameScheduler.java @@ -1,7 +1,6 @@ package com.sekwah.advancedportals.core.util; import com.google.inject.Singleton; - import java.util.ArrayList; import java.util.Iterator; diff --git a/proxycore/src/main/java/com/sekwah/advancedportals/proxycore/AdvancedPortalsProxyCore.java b/proxycore/src/main/java/com/sekwah/advancedportals/proxycore/AdvancedPortalsProxyCore.java index abd72eef..f068fa24 100644 --- a/proxycore/src/main/java/com/sekwah/advancedportals/proxycore/AdvancedPortalsProxyCore.java +++ b/proxycore/src/main/java/com/sekwah/advancedportals/proxycore/AdvancedPortalsProxyCore.java @@ -12,7 +12,6 @@ import com.sekwah.advancedportals.proxycore.connector.container.ProxyJoinData; import com.sekwah.advancedportals.proxycore.connector.container.ProxyPlayerContainer; import com.sekwah.advancedportals.proxycore.connector.container.ProxyServerContainer; import com.sekwah.advancedportals.shadowed.guava.io.ByteStreams; - import java.util.HashMap; public class AdvancedPortalsProxyCore {