Skip to content

Commit

Permalink
src: remove unintended deprecation annotation
Browse files Browse the repository at this point in the history
The commit cb5fdde have dropped NullaryFunction in favor or java.util.Supplier,
however, the deprecation annotation was not removed.

fixes: #2196

Signed-off-by: Tigran Mkrtchyan <[email protected]>
  • Loading branch information
kofemann committed Oct 31, 2023
1 parent 24faaf6 commit fe874fc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -73,7 +73,6 @@ public interface AttributeBuilder {
*
* @return Attribute<T>
*/
@Deprecated
<T> Attribute<T> createAttribute(String name, Supplier<T> initializer);

/**
Expand Down

0 comments on commit fe874fc

Please sign in to comment.