Consistent attribute value spelling for PATH_ATTRIBUTE
See gh-24945
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user