mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 12:59:44 +00:00
Fixed or suppressed warnings for rawtypes and unchecked
This commit is contained in:
1 parent
d314642d77
commit
2ae2cf8896
27 files changed
+54
-40
No files matched your search
@@ -31,6 +31,7 @@ public class ProxyPipes {
|
||||
PluginPropolisPipe.pipeItemsPropolis = createPipe(PipeItemsPropolis.class, CreativeTabBuildCraft.PIPES);
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public Item createPipe(Class<? extends Pipe> clas, CreativeTabBuildCraft creativeTab) {
|
||||
|
||||
return registerPipe(clas, creativeTab);
|
||||
@@ -39,6 +40,7 @@ public class ProxyPipes {
|
||||
/**
|
||||
* Overriding the method in BlockGenericPipe to fix localizations.
|
||||
*/
|
||||
@SuppressWarnings("rawtypes")
|
||||
public static ItemPipe registerPipe(Class<? extends Pipe> clas, CreativeTabBuildCraft creativeTab) {
|
||||
ItemPipe item = null;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user