Fix several type-safety issues

This commit is contained in:
Joseph C. Sible committed 2017-09-23 22:21:28 -04:00
1 parent 2c4c997e02
commit b0bbf5cb68
38 files changed
+69 -68

No files matched your search

@@ -207,7 +207,7 @@ public class PacketHandler
}
else if(data instanceof ArrayList)
{
encode(((ArrayList)data).toArray(), output);
encode(((ArrayList<?>)data).toArray(), output);
}
else {
throw new RuntimeException("Un-encodable data passed to encode(): " + data + ", full data: " + Arrays.toString(dataValues));