Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added @MethodsReturnNonnullByDefault and @ParametersAreNonnullByDefault to API. Several other null fixes, and minor tweaks to help clean up null warnings.
- Loading branch information
1 parent
3f165c7
commit cbb4e57
Showing
28 changed files
with
179 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
@net.minecraftforge.fml.common.API( apiVersion = "12.5.0", owner = "chiselsandbits", provides = "ChiselsAndBitsAPI" ) | ||
package mod.chiselsandbits.api; | ||
@net.minecraftforge.fml.common.API( apiVersion = "13.6.0", owner = "chiselsandbits", provides = "ChiselsAndBitsAPI" ) | ||
@ParametersAreNonnullByDefault | ||
@MethodsReturnNonnullByDefault | ||
package mod.chiselsandbits.api; | ||
|
||
import javax.annotation.ParametersAreNonnullByDefault; | ||
|
||
import mcp.MethodsReturnNonnullByDefault; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.