diff --git a/independent-projects/tools/registry-client/src/main/java/io/quarkus/registry/util/GlobUtil.java b/independent-projects/tools/registry-client/src/main/java/io/quarkus/registry/util/GlobUtil.java deleted file mode 100644 index 49f1453592e11..0000000000000 --- a/independent-projects/tools/registry-client/src/main/java/io/quarkus/registry/util/GlobUtil.java +++ /dev/null @@ -1,74 +0,0 @@ -package io.quarkus.registry.util; - -import java.util.regex.Pattern; - -/** - * @deprecated Use {@link io.quarkus.util.GlobUtil} instead - */ -@Deprecated(forRemoval = true, since = "2.11.0.Final") -public class GlobUtil { - - private GlobUtil() { - } - - /** - * Transforms the given {@code glob} to a regular expression suitable for passing to - * {@link Pattern#compile(String)}. - * - *

Glob syntax - *

- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
ConstructDescription
*Matches a (possibly empty) sequence of characters that does not contain slash ({@code /})
**Matches a (possibly empty) sequence of characters that may contain slash ({@code /})
?Matches one character, but not slash
[abc]Matches one character given in the bracket, but not slash
[a-z]Matches one character from the range given in the bracket, but not slash
[!abc]Matches one character not named in the bracket; does not match slash
[a-z]Matches one character outside the range given in the bracket; does not match slash
{one,two,three}Matches any of the alternating tokens separated by comma; the tokens may contain wildcards, nested - * alternations and ranges
\The escape character
- * - * @param glob the glob expression to transform - * @return a regular expression suitable for {@link Pattern} - * @throws IllegalStateException in case the {@code glob} is syntactically invalid - * @deprecated Use {@link io.quarkus.util.GlobUtil#toRegexPattern(String)} instead - */ - @Deprecated(forRemoval = true, since = "2.11.0.Final") - public static String toRegexPattern(String glob) { - return io.quarkus.util.GlobUtil.toRegexPattern(glob); - } -}