void (boolean validate, boolean refresh) { if (refresh) { myTaskController.request(new RefreshRequest(), new ValidateRequest(validate)); } else { myTaskController.request(new ValidateRequest(validate)); } }