Code cleanup

This commit is contained in:
Zixxl committed 2015-07-07 12:00:17 +02:00
1 parent 3990a81390
commit 39e415b36d
5 files changed
+106 -47

No files matched your search

@@ -88,7 +88,7 @@ public class InputHelper {
}
}
public static String getArrayDescription(List objects) {
public static String getArrayDescription(List<?> objects) {
StringBuilder sb = new StringBuilder();
if(objects.isEmpty()) {
@@ -209,7 +209,8 @@ public class InputHelper {
}
}
public static Object[] toShapedObjects(IIngredient[][] ingredients) {
@SuppressWarnings({ "rawtypes", "unchecked" })
public static Object[] toShapedObjects(IIngredient[][] ingredients) {
if (ingredients == null)
return null;
else {