mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 11:29:15 +00:00
Use lambdas for short anonymous methods
This commit is contained in:
1 parent
93025510ae
commit
9675585891
16 files changed
+23
-149
No files matched your search
@@ -76,14 +76,7 @@ public class CapabilityItemHandler
|
||||
}
|
||||
}
|
||||
}
|
||||
}, new Callable<ItemStackHandler>()
|
||||
{
|
||||
@Override
|
||||
public ItemStackHandler call() throws Exception
|
||||
{
|
||||
return new ItemStackHandler();
|
||||
}
|
||||
});
|
||||
}, ItemStackHandler::new);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user