Use the generic types now available in 1.8+. remove warning suppressions

This commit is contained in:
mezz committed 2016-03-04 00:36:47 -08:00
1 parent 2ddad6ec37
commit 626d0d8fb5
60 files changed
+56 -137

No files matched your search

@@ -139,7 +139,6 @@ public class PluginApiculture extends BlankForestryPlugin {
private final Map<String, String[]> defaultPlantableFlowers = new HashMap<>();
@Override
@SuppressWarnings({"unchecked"})
public void setupAPI() {
super.setupAPI();
@@ -127,7 +127,6 @@ public class PluginLepidopterology extends BlankForestryPlugin {
config.save();
}
@SuppressWarnings("unchecked")
@Override
public void registerRecipes() {
CraftingManager.getInstance().getRecipeList().add(new MatingRecipe());
@@ -103,7 +103,6 @@ public class PluginStorage extends BlankForestryPlugin {
public static ItemRegistryStorage items;
@Override
@SuppressWarnings({"unchecked", "rawtypes"})
public void setupAPI() {
super.setupAPI();
@@ -153,7 +152,6 @@ public class PluginStorage extends BlankForestryPlugin {
}
@Override
@SuppressWarnings({"unchecked", "rawtypes"})
public void disabledSetupAPI() {
BackpackManager.backpackItems = new ArrayList[6];
BackpackManager.backpackItems[0] = minerItems;