Fix #11902 undeprecate addHiddenClasses(Attributes, String...) (#11903)

This commit is contained in:
Jan Bartel 2024-06-12 03:20:14 +02:00 committed by GitHub
parent 45562b012a
commit 9d0a457e59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -169,9 +169,7 @@ public class WebAppClassLoading
* Add a hidden (server) Class pattern to use for all WebAppContexts of a given {@link Server}. * Add a hidden (server) Class pattern to use for all WebAppContexts of a given {@link Server}.
* @param attributes The {@link Attributes} instance to add classes to * @param attributes The {@link Attributes} instance to add classes to
* @param patterns the patterns to use * @param patterns the patterns to use
* @deprecated use {@link #addHiddenClasses(Server, String...)} instead
*/ */
@Deprecated (since = "12.0.9", forRemoval = true)
public static void addHiddenClasses(Attributes attributes, String... patterns) public static void addHiddenClasses(Attributes attributes, String... patterns)
{ {
if (patterns != null && patterns.length > 0) if (patterns != null && patterns.length > 0)