From 99eacf2f0b160cddf0b5f1d9b855f8279800d063 Mon Sep 17 00:00:00 2001 From: twosom Date: Sat, 11 Feb 2023 13:42:21 +0900 Subject: [PATCH] Change private static method to private methods --- .../authentication/ui/DefaultLoginPageGeneratingFilter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java b/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java index cec816dcad..7c87266221 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java +++ b/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -303,14 +303,14 @@ public class DefaultLoginPageGeneratingFilter extends GenericFilterBean { return matches(request, this.failureUrl); } - private static String createError(boolean isError, String message) { + private String createError(boolean isError, String message) { if (!isError) { return ""; } return "
" + HtmlUtils.htmlEscape(message) + "
"; } - private static String createLogoutSuccess(boolean isLogoutSuccess) { + private String createLogoutSuccess(boolean isLogoutSuccess) { if (!isLogoutSuccess) { return ""; }