From fe874fc38ce4aa8343a77857477c666ddc4abb75 Mon Sep 17 00:00:00 2001 From: Tigran Mkrtchyan Date: Tue, 31 Oct 2023 12:30:04 +0100 Subject: [PATCH] src: remove unintended deprecation annotation The commit cb5fdde0 have dropped NullaryFunction in favor or java.util.Supplier, however, the deprecation annotation was not removed. fixes: #2196 Signed-off-by: Tigran Mkrtchyan --- .../org/glassfish/grizzly/attributes/AttributeBuilder.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/grizzly/src/main/java/org/glassfish/grizzly/attributes/AttributeBuilder.java b/modules/grizzly/src/main/java/org/glassfish/grizzly/attributes/AttributeBuilder.java index c9b8c5fff..4583679ff 100644 --- a/modules/grizzly/src/main/java/org/glassfish/grizzly/attributes/AttributeBuilder.java +++ b/modules/grizzly/src/main/java/org/glassfish/grizzly/attributes/AttributeBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2020 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2023 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -73,7 +73,6 @@ public interface AttributeBuilder { * * @return Attribute */ - @Deprecated Attribute createAttribute(String name, Supplier initializer); /**