Skip to content

Commit 3f121ba

Browse files
authored
chore: replace Checker Framework with JSpecify (#313)
1 parent 18d39aa commit 3f121ba

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@
133133
<scope>test</scope>
134134
</dependency>
135135
<dependency>
136-
<groupId>org.checkerframework</groupId>
137-
<artifactId>checker-qual</artifactId>
136+
<groupId>org.jspecify</groupId>
137+
<artifactId>jspecify</artifactId>
138138
</dependency>
139139
<dependency>
140140
<groupId>ch.qos.logback</groupId>

src/main/java/io/dropwizard/testing/junit/DropwizardAppRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
import io.dropwizard.testing.ConfigOverride;
1313
import io.dropwizard.testing.DropwizardTestSupport;
1414
import jakarta.ws.rs.client.Client;
15-
import org.checkerframework.checker.nullness.qual.Nullable;
1615
import org.glassfish.jersey.client.ClientProperties;
1716
import org.glassfish.jersey.client.HttpUrlConnectorProvider;
1817
import org.glassfish.jersey.client.JerseyClientBuilder;
18+
import org.jspecify.annotations.Nullable;
1919
import org.junit.rules.ExternalResource;
2020

2121
import java.util.Optional;

src/test/java/io/dropwizard/testing/junit/app/DropwizardTestApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import jakarta.ws.rs.Path;
1212
import jakarta.ws.rs.Produces;
1313
import jakarta.ws.rs.core.MediaType;
14-
import org.checkerframework.checker.nullness.qual.Nullable;
14+
import org.jspecify.annotations.Nullable;
1515

1616
import java.io.PrintWriter;
1717
import java.util.Collections;

src/test/java/io/dropwizard/testing/junit/app/PersonResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
import jakarta.ws.rs.Produces;
1515
import jakarta.ws.rs.QueryParam;
1616
import jakarta.ws.rs.core.MediaType;
17-
import org.checkerframework.checker.nullness.qual.Nullable;
1817
import org.eclipse.jetty.io.EofException;
18+
import org.jspecify.annotations.Nullable;
1919

2020
import java.util.Collections;
2121
import java.util.List;

src/test/java/io/dropwizard/testing/junit/app/TestEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import jakarta.persistence.Id;
88
import jakarta.persistence.Table;
99
import jakarta.validation.constraints.NotNull;
10-
import org.checkerframework.checker.nullness.qual.Nullable;
10+
import org.jspecify.annotations.Nullable;
1111

1212
import static java.util.Objects.requireNonNull;
1313

0 commit comments

Comments
 (0)