Polishing
This commit is contained in:
parent
6c4cbd2aab
commit
555404e679
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2021 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.
|
||||
|
@ -19,8 +19,8 @@ package org.springframework.util;
|
|||
import org.springframework.lang.Nullable;
|
||||
|
||||
/**
|
||||
* Utility methods for simple pattern matching, in particular for
|
||||
* Spring's typical "xxx*", "*xxx" and "*xxx*" pattern styles.
|
||||
* Utility methods for simple pattern matching, in particular for Spring's typical
|
||||
* {@code xxx*}, {@code *xxx}, {@code *xxx*}, and {@code xxx*yyy} pattern styles.
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 2.0
|
||||
|
@ -29,8 +29,8 @@ public abstract class PatternMatchUtils {
|
|||
|
||||
/**
|
||||
* Match a String against the given pattern, supporting the following simple
|
||||
* pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an
|
||||
* arbitrary number of pattern parts), as well as direct equality.
|
||||
* pattern styles: {@code xxx*}, {@code *xxx}, {@code *xxx*}, and {@code xxx*yyy}
|
||||
* matches (with an arbitrary number of pattern parts), as well as direct equality.
|
||||
* @param pattern the pattern to match against
|
||||
* @param str the String to match
|
||||
* @return whether the String matches the given pattern
|
||||
|
@ -74,8 +74,8 @@ public abstract class PatternMatchUtils {
|
|||
|
||||
/**
|
||||
* Match a String against the given patterns, supporting the following simple
|
||||
* pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an
|
||||
* arbitrary number of pattern parts), as well as direct equality.
|
||||
* pattern styles: {@code xxx*}, {@code *xxx}, {@code *xxx*}, and {@code xxx*yyy}
|
||||
* matches (with an arbitrary number of pattern parts), as well as direct equality.
|
||||
* @param patterns the patterns to match against
|
||||
* @param str the String to match
|
||||
* @return whether the String matches any of the given patterns
|
||||
|
|
Loading…
Reference in New Issue