Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions smoke-test/spring-boot-smoke-test-jackson2-mixed/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ dependencies {

testImplementation(project(":starter:spring-boot-starter-webmvc-test"))
}

tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}
4 changes: 4 additions & 0 deletions smoke-test/spring-boot-smoke-test-jackson2-only/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ dependencies {
}
testImplementation(project(":test-support:spring-boot-test-support"))
}

tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,32 @@

package smoketest.jackson2.only;

import org.jspecify.annotations.Nullable;

/**
* POJO for serialization to JSON.
*
* @author Andy Wilkinson
*/
class JsonPojo {

private String alpha;
private @Nullable String alpha;

private String bravo;
private @Nullable String bravo;

String getAlpha() {
@Nullable String getAlpha() {
return this.alpha;
}

void setAlpha(String alpha) {
void setAlpha(@Nullable String alpha) {
this.alpha = alpha;
}

String getBravo() {
@Nullable String getBravo() {
return this.bravo;
}

void setBravo(String bravo) {
void setBravo(@Nullable String bravo) {
this.bravo = bravo;
}

Expand Down
4 changes: 4 additions & 0 deletions smoke-test/spring-boot-smoke-test-jersey/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ dependencies {
testImplementation(project(":starter:spring-boot-starter-jersey-test"))
testImplementation(project(":module:spring-boot-restclient"))
}

tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}
4 changes: 4 additions & 0 deletions smoke-test/spring-boot-smoke-test-log4j2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ dependencies {

testImplementation(project(":starter:spring-boot-starter-test"))
}

tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}
4 changes: 4 additions & 0 deletions smoke-test/spring-boot-smoke-test-secure-jersey/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ dependencies {
testImplementation(project(":starter:spring-boot-starter-jersey-test"))
testImplementation(project(":module:spring-boot-restclient"))
}

tasks.named("compileTestJava") {
options.nullability.checking = "tests"
}
Loading