diff --git a/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/package-info.java b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/package-info.java new file mode 100644 index 00000000000..4b41009ad10 --- /dev/null +++ b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright 2012-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@NullMarked +package smoketest.tomcat; + +import org.jspecify.annotations.NullMarked; diff --git a/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/service/HelloWorldService.java b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/service/HelloWorldService.java index dc197088b94..f342cae43c4 100644 --- a/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/service/HelloWorldService.java +++ b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/service/HelloWorldService.java @@ -23,6 +23,7 @@ import org.springframework.stereotype.Component; public class HelloWorldService { @Value("${test.name:World}") + @SuppressWarnings("NullAway.Init") private String name; public String getHelloMessage() { diff --git a/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/service/package-info.java b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/service/package-info.java new file mode 100644 index 00000000000..68b6af68c52 --- /dev/null +++ b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/service/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright 2012-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@NullMarked +package smoketest.tomcat.service; + +import org.jspecify.annotations.NullMarked; diff --git a/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/util/package-info.java b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/util/package-info.java new file mode 100644 index 00000000000..bb40ead42ea --- /dev/null +++ b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/util/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright 2012-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@NullMarked +package smoketest.tomcat.util; + +import org.jspecify.annotations.NullMarked; diff --git a/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/web/package-info.java b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/web/package-info.java new file mode 100644 index 00000000000..464980ff96e --- /dev/null +++ b/smoke-test/spring-boot-smoke-test-tomcat/src/main/java/smoketest/tomcat/web/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright 2012-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +@NullMarked +package smoketest.tomcat.web; + +import org.jspecify.annotations.NullMarked;