Skip to content

Commit 492244c

Browse files
committed
Add Nonnull annotations
1 parent dcb9802 commit 492244c

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines

1 file changed

+3
-3
lines changed

src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/FluidPump.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ private BlockBreakHandler onBreak() {
7373
return new SimpleBlockBreakHandler() {
7474

7575
@Override
76-
public void onBlockBreak(Block b) {
76+
public void onBlockBreak(@Nonnull Block b) {
7777
BlockMenu inv = BlockStorage.getInventory(b);
7878

7979
if (inv != null) {
@@ -112,7 +112,7 @@ public int[] getOutputSlots() {
112112
}
113113

114114
@Override
115-
public EnergyNetComponentType getEnergyComponentType() {
115+
public @Nonnull EnergyNetComponentType getEnergyComponentType() {
116116
return EnergyNetComponentType.CONSUMER;
117117
}
118118

@@ -255,7 +255,7 @@ private boolean isSource(@Nonnull Block block) {
255255
}
256256

257257
@Override
258-
public BlockTicker getItemHandler() {
258+
public @Nonnull BlockTicker getItemHandler() {
259259
return new BlockTicker() {
260260

261261
@Override

0 commit comments

Comments
 (0)