mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +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
Executable → Regular
+2
-2
@@ -179,7 +179,7 @@ public class PluginApiculture extends ForestryPlugin {
|
||||
public static MachineDefinition definitionChest;
|
||||
public static MachineDefinition definitionBeehouse;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
@Override
|
||||
public void preInit() {
|
||||
super.preInit();
|
||||
@@ -750,7 +750,7 @@ public class PluginApiculture extends ForestryPlugin {
|
||||
return beeItem;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
private void createHiveDropArrays() {
|
||||
|
||||
BeeManager.hiveDrops = new ArrayList[8];
|
||||
|
||||
Reference in new issue
Block a user