From a1668ad1c2b0a2b7209a244bc1c4483ad63f64e0 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 6 Apr 2019 11:21:39 +0200 Subject: [PATCH] Fix Javadoc for PathPattern --- .../web/util/pattern/PathPattern.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java index 69007b5aec..acdab2eba2 100644 --- a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java +++ b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPattern.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 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. @@ -40,16 +40,16 @@ import org.springframework.util.StringUtils; *
  • {@code ?} matches one character
  • *
  • {@code *} matches zero or more characters within a path segment
  • *
  • {@code **} matches zero or more path segments until the end of the path
  • - *
  • {@code {spring}} matches a path segment and captures it as a variable named "spring"
  • - *
  • {@code {spring:[a-z]+}} matches the regexp {@code [a-z]+} as a path variable named "spring"
  • - *
  • {@code {*spring}} matches zero or more path segments until the end of the path + *
  • {spring} matches a path segment and captures it as a variable named "spring"
  • + *
  • {spring:[a-z]+} matches the regexp {@code [a-z]+} as a path variable named "spring"
  • + *
  • {*spring} matches zero or more path segments until the end of the path * and captures it as a variable named "spring"
  • * * *

    Examples

    * * @@ -260,10 +260,10 @@ public class PathPattern implements Comparable { /** * Determine the pattern-mapped part for the given path. *

    For example:

    *

    Notes: *