Skip to content

Commit

Permalink
Deprecate both @context and @suspended
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-krueger committed Jan 24, 2024
1 parent 7c5bdea commit 5dc806e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2019 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2024 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 @@ -76,7 +76,9 @@
*
* @author Marek Potociar
* @since 2.0
* @deprecated This class will be removed in a future version. Better align with Jakarta CDI.
*/
@Deprecated
@Target({ ElementType.PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
@Documented
Expand Down
4 changes: 3 additions & 1 deletion jaxrs-api/src/main/java/jakarta/ws/rs/core/Context.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2024 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 @@ -38,7 +38,9 @@
* @see SecurityContext
* @see jakarta.ws.rs.ext.Providers
* @since 1.0
* @deprecated This class will be removed in a future version. Better align with Jakarta CDI.
*/
@Deprecated
@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
Expand Down

0 comments on commit 5dc806e

Please sign in to comment.