2
0
Lars Grefer 6 жил өмнө
parent
commit
35bdf1f009

+ 1 - 1
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;
 

+ 1 - 1
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;
 

+ 1 - 1
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) {