Skip to content

Commit

Permalink
Improve Annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Jul 14, 2024
1 parent 9aea330 commit 436df00
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ private boolean removeByInput(Predicate<Recipe> condition, List<ItemStack> items

@Unique
@Nullable
@SuppressWarnings("DuplicatedCode")
public List<Recipe> findByOutput(long voltage, List<ItemStack> items, List<FluidStack> fluids,
List<ChancedItemOutput> chancedItems, List<ChancedFluidOutput> chancedFluids) {
items = validateList(items);
Expand Down Expand Up @@ -131,6 +132,8 @@ public List<Recipe> findRecipeByOutput(GTRecipeCategory category, List<ItemStack
}

@Unique
@Nullable
@SuppressWarnings("DuplicatedCode")
public List<Recipe> findByOutput(Predicate<Recipe> condition, List<ItemStack> items, List<FluidStack> fluids,
List<ChancedItemOutput> chancedItems, List<ChancedFluidOutput> chancedFluids) {
items = validateList(items);
Expand Down

0 comments on commit 436df00

Please sign in to comment.