Skip to content

Commit

Permalink
HttpProblem::getStatus() deprecated and marked for removal in next ma…
Browse files Browse the repository at this point in the history
…jor version
  • Loading branch information
lwitkowski committed Oct 30, 2023
1 parent c69cc6a commit f2a4498
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemProperties>
<systemPropertyVariables>
<performance-test>true</performance-test>
</systemProperties>
</systemPropertyVariables>
<excludes />
<includes>
<include>**/*Benchmark.java</include>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ public int getStatusCode() {

/**
* Returns null if status code has no representation in Response.Status enum.
*
* @deprecated Replaced by {@link #getStatusCode()}, will be removed in 4.0.0 release as part of minimizing
* dependencies to JaxRS/JakartaRS classes.
*/
@Deprecated(since = "3.1.0", forRemoval = true)
public Response.StatusType getStatus() {
return Response.Status.fromStatusCode(statusCode);
}
Expand Down

0 comments on commit f2a4498

Please sign in to comment.