Fix Java Code so that it no longer throws warnings

Mainly turn every single ArrayList into ArrayList<String>