From 900e1722a8e11b9414d43c6de9b9c0c55e93ce36 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Sat, 28 Nov 2020 12:43:43 +0200 Subject: Fix code format --- .../cottonmc/cotton/gui/impl/client/LibGuiClient.java | 1 - .../io/github/cottonmc/cotton/gui/widget/WTabPanel.java | 3 +-- .../java/io/github/cottonmc/cotton/gui/widget/data/Tab.java | 13 ++++++++----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/java/io/github/cottonmc/cotton/gui/impl/client/LibGuiClient.java b/src/main/java/io/github/cottonmc/cotton/gui/impl/client/LibGuiClient.java index 5ebc2bb..c9e0010 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/impl/client/LibGuiClient.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/impl/client/LibGuiClient.java @@ -11,7 +11,6 @@ import blue.endless.jankson.JsonObject; import io.github.cottonmc.jankson.JanksonFactory; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; -import org.jetbrains.annotations.ApiStatus; import java.io.File; import java.io.FileOutputStream; diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java index df6ad29..647f88b 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java @@ -1,7 +1,5 @@ package io.github.cottonmc.cotton.gui.widget; -import io.github.cottonmc.cotton.gui.widget.data.Tab; - import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.client.MinecraftClient; @@ -17,6 +15,7 @@ import io.github.cottonmc.cotton.gui.client.LibGui; import io.github.cottonmc.cotton.gui.client.ScreenDrawing; import io.github.cottonmc.cotton.gui.widget.data.Axis; import io.github.cottonmc.cotton.gui.widget.data.HorizontalAlignment; +import io.github.cottonmc.cotton.gui.widget.data.Tab; import io.github.cottonmc.cotton.gui.widget.icon.Icon; import java.util.ArrayList; diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/data/Tab.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/data/Tab.java index 7711bde..05f6933 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/data/Tab.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/data/Tab.java @@ -1,16 +1,19 @@ package io.github.cottonmc.cotton.gui.widget.data; -import io.github.cottonmc.cotton.gui.widget.TooltipBuilder; -import io.github.cottonmc.cotton.gui.widget.WWidget; -import io.github.cottonmc.cotton.gui.widget.icon.Icon; - import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.minecraft.text.Text; +import io.github.cottonmc.cotton.gui.widget.TooltipBuilder; +import io.github.cottonmc.cotton.gui.widget.WWidget; +import io.github.cottonmc.cotton.gui.widget.icon.Icon; import org.jetbrains.annotations.Nullable; -import java.util.*; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.List; +import java.util.Objects; import java.util.function.Consumer; /** -- cgit