diff --git a/src/main/java/gregtech/common/covers/CoverItemFilter.java b/src/main/java/gregtech/common/covers/CoverItemFilter.java index 118525e1fa3..8040a459212 100644 --- a/src/main/java/gregtech/common/covers/CoverItemFilter.java +++ b/src/main/java/gregtech/common/covers/CoverItemFilter.java @@ -99,7 +99,6 @@ public ItemFilterMode getFilterMode() { return filterMode; } - @SuppressWarnings("DataFlowIssue") // this cover always has a filter public @NotNull ItemFilter getItemFilter() { diff --git a/src/main/java/gregtech/common/covers/filter/BaseFilterContainer.java b/src/main/java/gregtech/common/covers/filter/BaseFilterContainer.java index 54f3299b7be..6e6ab87ea40 100644 --- a/src/main/java/gregtech/common/covers/filter/BaseFilterContainer.java +++ b/src/main/java/gregtech/common/covers/filter/BaseFilterContainer.java @@ -103,6 +103,7 @@ public int getTransferLimit(R stack) { /** * Called when the filter slot has changed to a different filter or has been removed + * * @param notify if true, call {@code onFilterInstanceChange()} */ protected abstract void onFilterSlotChange(boolean notify); diff --git a/src/main/java/gregtech/common/covers/filter/FluidFilterContainer.java b/src/main/java/gregtech/common/covers/filter/FluidFilterContainer.java index 88a94b38fba..642d9049f28 100644 --- a/src/main/java/gregtech/common/covers/filter/FluidFilterContainer.java +++ b/src/main/java/gregtech/common/covers/filter/FluidFilterContainer.java @@ -22,7 +22,6 @@ import com.cleanroommc.modularui.widgets.layout.Row; import org.jetbrains.annotations.NotNull; -import java.io.IOException; import java.util.function.BooleanSupplier; import java.util.function.Consumer; diff --git a/src/main/java/gregtech/common/covers/filter/FluidFilterWrapper.java b/src/main/java/gregtech/common/covers/filter/FluidFilterWrapper.java index 83fe82c05ef..785774d237d 100644 --- a/src/main/java/gregtech/common/covers/filter/FluidFilterWrapper.java +++ b/src/main/java/gregtech/common/covers/filter/FluidFilterWrapper.java @@ -1,7 +1,5 @@ package gregtech.common.covers.filter; -import net.minecraft.item.ItemStack; - import org.jetbrains.annotations.ApiStatus; /** diff --git a/src/main/java/gregtech/common/covers/filter/ItemFilterContainer.java b/src/main/java/gregtech/common/covers/filter/ItemFilterContainer.java index 021d09da91d..1f6791454c8 100644 --- a/src/main/java/gregtech/common/covers/filter/ItemFilterContainer.java +++ b/src/main/java/gregtech/common/covers/filter/ItemFilterContainer.java @@ -26,7 +26,6 @@ import com.cleanroommc.modularui.widgets.layout.Row; import org.jetbrains.annotations.NotNull; -import java.io.IOException; import java.util.function.BooleanSupplier; import java.util.function.Consumer;