1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-17 05:37:12 +00:00

Generic dependency update

A couple of changes caused by checkstyle being a little more strict.
This commit is contained in:
Jonathan Coates
2023-08-31 19:14:37 +01:00
parent 8fb1dd346c
commit 5dd6b9a637
22 changed files with 2104 additions and 528 deletions

View File

@@ -49,7 +49,7 @@ public class FabricContainerTransfer implements ContainerTransfer {
*
* @param <T> The type of the object to accept.
*/
private static class GatePredicate<T> implements Predicate<T> {
private static final class GatePredicate<T> implements Predicate<T> {
private @Nullable T instance = null;
@Override
@@ -67,7 +67,7 @@ public class FabricContainerTransfer implements ContainerTransfer {
}
}
private static class SlottedImpl extends FabricContainerTransfer implements ContainerTransfer.Slotted {
private static final class SlottedImpl extends FabricContainerTransfer implements ContainerTransfer.Slotted {
private final SlottedStorage<ItemVariant> storage;
SlottedImpl(SlottedStorage<ItemVariant> storage) {