Fixed or suppressed warnings for rawtypes and unchecked

This commit is contained in:
mezz committed 2014-09-21 01:52:57 -07:00
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 {