2424/**
2525 * implementation for Ant-style path patterns.
2626 *
27- * <p> Part of this mapping code has been kindly borrowed from <a href="http://ant.apache.org">Apache Ant</a>.
27+ * Part of this mapping code has been kindly borrowed from <a href="http://ant.apache.org">Apache Ant</a>.
2828 *
29- * <p> The mapping matches URLs using the following rules:
29+ * The mapping matches URLs using the following rules:
3030 * <ul>
3131 * <li>{@code ?} matches one character</li>
3232 * <li>{@code *} matches zero or more characters</li>
5151 * to the {@code filename} variable</li>
5252 * </ul>
5353 *
54- * <p>< strong>Note:</strong> a pattern and a path must both be absolute or must
54+ * <strong>Note:</strong> a pattern and a path must both be absolute or must
5555 * both be relative in order for the two to match. Therefore it is recommended
5656 * that users of this implementation to sanitize patterns in order to prefix
5757 * them with "/" as it makes sense in the context in which they're used.
@@ -188,7 +188,7 @@ public void setTrimTokens(boolean trimTokens) {
188188 * into this matcher's {@link #match} method. A value of {@code true}
189189 * activates an unlimited pattern cache; a value of {@code false} turns
190190 * the pattern cache off completely.
191- * <p> Default is for the cache to be on, but with the variant to automatically
191+ * Default is for the cache to be on, but with the variant to automatically
192192 * turn it off when encountering too many patterns to cache at runtime
193193 * (the threshold is 65536), assuming that arbitrary permutations of patterns
194194 * are coming in, with little chance for encountering a recurring pattern.
@@ -412,7 +412,7 @@ private boolean isWildcardChar(char c) {
412412
413413 /**
414414 * Tokenize the given path pattern into parts, based on this matcher's settings.
415- * <p> Performs caching based on {@link #setCachePatterns}, delegating to
415+ * Performs caching based on {@link #setCachePatterns}, delegating to
416416 * {@link #tokenizePath(String)} for the actual tokenization algorithm.
417417 *
418418 * @param pattern the pattern to tokenize
@@ -467,13 +467,13 @@ private boolean matchStrings(String pattern, String str, Map<String, String> uri
467467
468468 /**
469469 * Build or retrieve an {@link AntPathStringMatcher} for the given pattern.
470- * <p> The default implementation checks this AntPathMatcher's internal cache
470+ * The default implementation checks this AntPathMatcher's internal cache
471471 * (see {@link #setCachePatterns}), creating a new AntPathStringMatcher instance
472472 * if no cached copy is found.
473- * <p> When encountering too many patterns to cache at runtime (the threshold is 65536),
473+ * When encountering too many patterns to cache at runtime (the threshold is 65536),
474474 * it turns the default cache off, assuming that arbitrary permutations of patterns
475475 * are coming in, with little chance for encountering a recurring pattern.
476- * <p> This method may be overridden to implement a custom cache strategy.
476+ * This method may be overridden to implement a custom cache strategy.
477477 *
478478 * @param pattern the pattern to match against (never {@code null})
479479 * @return a corresponding AntPathStringMatcher (never {@code null})
@@ -503,7 +503,7 @@ protected AntPathStringMatcher getStringMatcher(String pattern) {
503503
504504 /**
505505 * Given a pattern and a full path, determine the pattern-mapped part.
506- * <p> For example: <ul>
506+ * For example: <ul>
507507 * <li>'{@code /docs/cvs/commit.html}' and '{@code /docs/cvs/commit.html} -- ''</li>
508508 * <li>'{@code /docs/*}' and '{@code /docs/cvs/commit} -- '{@code cvs/commit}'</li>
509509 * <li>'{@code /docs/cvs/*.html}' and '{@code /docs/cvs/commit.html} -- '{@code commit.html}'</li>
@@ -512,7 +512,7 @@ protected AntPathStringMatcher getStringMatcher(String pattern) {
512512 * <li>'{@code /*.html}' and '{@code /docs/cvs/commit.html} -- '{@code docs/cvs/commit.html}'</li>
513513 * <li>'{@code *.html}' and '{@code /docs/cvs/commit.html} -- '{@code /docs/cvs/commit.html}'</li>
514514 * <li>'{@code *}' and '{@code /docs/cvs/commit.html} -- '{@code /docs/cvs/commit.html}'</li> </ul>
515- * <p> Assumes that {@link #match} returns {@code true} for '{@code pattern}' and '{@code path}', but
515+ * Assumes that {@link #match} returns {@code true} for '{@code pattern}' and '{@code path}', but
516516 * does <strong>not</strong> enforce this.
517517 *
518518 * @param pattern pattern
@@ -552,7 +552,7 @@ public Map<String, String> extractUriTemplateVariables(String pattern, String pa
552552
553553 /**
554554 * Combine two patterns into a new pattern.
555- * <p> This implementation simply concatenates the two patterns, unless
555+ * This implementation simply concatenates the two patterns, unless
556556 * the first pattern contains a file extension match (e.g., {@code *.html}).
557557 * In that case, the second pattern will be merged into the first. Otherwise,
558558 * an {@code IllegalArgumentException} will be thrown.
@@ -628,15 +628,15 @@ private String concat(String path1, String path2) {
628628 /**
629629 * Given a full path, returns a {@link Comparator} suitable for sorting patterns in order of
630630 * explicitness.
631- * <p> This{@code Comparator} will {@linkplain Collections#sort(List, Comparator) sort}
631+ * This{@code Comparator} will {@linkplain Collections#sort(List, Comparator) sort}
632632 * a list so that more specific patterns (without uri templates or wild cards) come before
633633 * generic patterns. So given a list with the following patterns:
634634 * <ol>
635635 * <li>{@code /hotels/new}</li>
636636 * <li>{@code /hotels/{hotel}}</li> <li>{@code /hotels/*}</li>
637637 * </ol>
638638 * the returned comparator will sort this list so that the order will be as indicated.
639- * <p> The full path given as parameter is used to test for exact matches. So when the given path
639+ * The full path given as parameter is used to test for exact matches. So when the given path
640640 * is {@code /hotels/2}, the pattern {@code /hotels/2} will be sorted before {@code /hotels/1}.
641641 *
642642 * @param path the full path to use for comparison
@@ -649,7 +649,7 @@ public Comparator<String> getPatternComparator(String path) {
649649
650650 /**
651651 * Tests whether or not a string matches against a pattern via a {@link Pattern}.
652- * <p> The pattern may contain special characters: '*' means zero or more characters; '?' means one and
652+ * The pattern may contain special characters: '*' means zero or more characters; '?' means one and
653653 * only one character; '{' and '}' indicate a URI template pattern. For example <tt>/users/{user}</tt>.
654654 */
655655 protected static class AntPathStringMatcher {
@@ -737,7 +737,7 @@ public boolean matchStrings(String str, Map<String, String> uriTemplateVariables
737737 /**
738738 * The default {@link Comparator} implementation returned by
739739 * {@link #getPatternComparator(String)}.
740- * <p> In order, the most "generic" pattern is determined by the following:
740+ * In order, the most "generic" pattern is determined by the following:
741741 * <ul>
742742 * <li>if it's null or a capture all pattern (i.e. it is equal to "/**")</li>
743743 * <li>if the other pattern is an actual match</li>
0 commit comments