From 5a040483da634803f8cdfa952f362fa1ca838294 Mon Sep 17 00:00:00 2001 From: Cyrus <24922493+cyrus-dev@users.noreply.github.com> Date: Wed, 14 Apr 2021 15:35:22 -0400 Subject: [PATCH] Fixed a checkstyle issue --- .../portal/page/controllers/PolicyPageController.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/HIRS_AttestationCAPortal/src/main/java/hirs/attestationca/portal/page/controllers/PolicyPageController.java b/HIRS_AttestationCAPortal/src/main/java/hirs/attestationca/portal/page/controllers/PolicyPageController.java index 5fccb328..2f97a01d 100644 --- a/HIRS_AttestationCAPortal/src/main/java/hirs/attestationca/portal/page/controllers/PolicyPageController.java +++ b/HIRS_AttestationCAPortal/src/main/java/hirs/attestationca/portal/page/controllers/PolicyPageController.java @@ -596,6 +596,16 @@ public class PolicyPageController extends PageController<NoPageParams> { return redirectToSelf(new NoPageParams(), model, attr); } + /** + * Updates the ignore GPT policy setting and + * redirects back to the original page. + * + * @param ppModel The data posted by the form mapped into an object. + * @param attr RedirectAttributes used to forward data back to the original + * page. + * @return View containing the url and parameters + * @throws URISyntaxException if malformed URI + */ @RequestMapping(value = "update-gpt-ignore", method = RequestMethod.POST) public RedirectView updateIgnoreGptEvents(@ModelAttribute final PolicyPageModel ppModel, final RedirectAttributes attr) throws URISyntaxException {