Consistent attribute value spelling for PATH_ATTRIBUTE

See gh-24945
This commit is contained in:
Juergen Hoeller 2020-11-16 17:40:39 +01:00
parent 83996b12cc
commit 7206a23d33
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ import org.springframework.util.Assert;
public abstract class ServletRequestPathUtils {
/** Name of Servlet request attribute that holds the parsed {@link RequestPath}. */
public static final String PATH_ATTRIBUTE = ServletRequestPathUtils.class.getName() + ".path";
public static final String PATH_ATTRIBUTE = ServletRequestPathUtils.class.getName() + ".PATH";
/**

View File

@ -58,9 +58,9 @@ public class UrlPathHelper {
* {@link #getLookupPathForRequest resolved} lookupPath.
* @since 5.3
*/
public static final String PATH_ATTRIBUTE = UrlPathHelper.class.getName() + ".path";
public static final String PATH_ATTRIBUTE = UrlPathHelper.class.getName() + ".PATH";
private static boolean isServlet4Present =
private static final boolean isServlet4Present =
ClassUtils.isPresent("javax.servlet.http.HttpServletMapping",
UrlPathHelper.class.getClassLoader());