From 35bdf1f0090ebcd349571521bb46a0be633538ca Mon Sep 17 00:00:00 2001 From: Lars Grefer Date: Fri, 9 Aug 2019 00:43:13 +0200 Subject: [PATCH] Unnecessary semicolon --- .../org/springframework/security/samples/pages/SecurePage.java | 2 +- .../org/springframework/security/samples/pages/SecurePage.java | 2 +- .../web/server/header/XFrameOptionsServerHttpHeadersWriter.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/xml/jaas/src/integration-test/java/org/springframework/security/samples/pages/SecurePage.java b/samples/xml/jaas/src/integration-test/java/org/springframework/security/samples/pages/SecurePage.java index fa4931f7d8..e20e0984cb 100644 --- a/samples/xml/jaas/src/integration-test/java/org/springframework/security/samples/pages/SecurePage.java +++ b/samples/xml/jaas/src/integration-test/java/org/springframework/security/samples/pages/SecurePage.java @@ -32,7 +32,7 @@ public class SecurePage { public static LoginPage to(WebDriver driver, int port) { driver.get("http://localhost:" + port + "/secure"); return PageFactory.initElements(driver, LoginPage.class); - }; + } private final WebDriver webDriver; diff --git a/samples/xml/ldap/src/integration-test/java/org/springframework/security/samples/pages/SecurePage.java b/samples/xml/ldap/src/integration-test/java/org/springframework/security/samples/pages/SecurePage.java index 39e88c12d0..f03bdf3870 100644 --- a/samples/xml/ldap/src/integration-test/java/org/springframework/security/samples/pages/SecurePage.java +++ b/samples/xml/ldap/src/integration-test/java/org/springframework/security/samples/pages/SecurePage.java @@ -32,7 +32,7 @@ public class SecurePage { public static LoginPage to(WebDriver driver, int port) { driver.get("http://localhost:" + port + "/secure"); return PageFactory.initElements(driver, LoginPage.class); - }; + } private final WebDriver webDriver; diff --git a/web/src/main/java/org/springframework/security/web/server/header/XFrameOptionsServerHttpHeadersWriter.java b/web/src/main/java/org/springframework/security/web/server/header/XFrameOptionsServerHttpHeadersWriter.java index e7ea862a89..3a42fd9f3b 100644 --- a/web/src/main/java/org/springframework/security/web/server/header/XFrameOptionsServerHttpHeadersWriter.java +++ b/web/src/main/java/org/springframework/security/web/server/header/XFrameOptionsServerHttpHeadersWriter.java @@ -80,7 +80,7 @@ public class XFrameOptionsServerHttpHeadersWriter implements ServerHttpHeadersWr * origin of the content and the frame are the same, this MUST be * treated as "DENY". */ - SAMEORIGIN; + SAMEORIGIN } private static ServerHttpHeadersWriter createDelegate(Mode mode) {