aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-11-28 12:43:43 +0200
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-11-28 12:43:43 +0200
commit900e1722a8e11b9414d43c6de9b9c0c55e93ce36 (patch)
treefd9a1ce071629e1233be3688f37dee4101e889ac
parent0b2ace85f538584c44e20764cc86ce0a47d1cdb2 (diff)
downloadLibGui-900e1722a8e11b9414d43c6de9b9c0c55e93ce36.tar.gz
LibGui-900e1722a8e11b9414d43c6de9b9c0c55e93ce36.tar.bz2
LibGui-900e1722a8e11b9414d43c6de9b9c0c55e93ce36.zip
Fix code format
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/impl/client/LibGuiClient.java1
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WTabPanel.java3
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/data/Tab.java13
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;
/**