Remove warnings from DeploymentsController.java