Skip to content

Commit

Permalink
Move javax.annotation.* to jakarta.annotation.* (#436)
Browse files Browse the repository at this point in the history
Fixes #435
  • Loading branch information
lwitkowski authored Oct 29, 2024
1 parent 55cd530 commit db14081
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
<zalando-problem.version>0.27.1</zalando-problem.version>
<assertj.version>3.26.3</assertj.version>
<jmh.version>1.37</jmh.version>
<jsr305.version>3.0.2</jsr305.version>
<archunit.version>1.3.0</archunit.version>

<!-- maven plugins -->
Expand Down
5 changes: 2 additions & 3 deletions runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
<artifactId>quarkus-arc</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${jsr305.version}</version>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;

import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;

import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;

/**
* Representation of RFC7807 Problem schema.
*/
@Immutable
public class HttpProblem extends RuntimeException {

public static final MediaType MEDIA_TYPE = new MediaType("application", "problem+json");
Expand Down

0 comments on commit db14081

Please sign in to comment.