Skip to content

Commit

Permalink
Merge pull request #1210 from jim-krueger/1209-deprecate_@Context_@Su…
Browse files Browse the repository at this point in the history
…spended

Deprecate both @context and @suspended
  • Loading branch information
jim-krueger authored Jan 24, 2024
2 parents 7c5bdea + f6dbe89 commit ece5f07
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Jakarta REST CI

on:
push:
branches: [ '3.2.0-SNAPSHOT' ]
branches: [ 'release-3.2' ]
pull_request:
branches: [ '3.2.0-SNAPSHOT' ]
branches: [ 'release-3.2' ]

jobs:
build:
Expand Down
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(forRemoval = true)
@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(forRemoval = true)
@Target({ ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
Expand Down

0 comments on commit ece5f07

Please sign in to comment.