File tree Expand file tree Collapse file tree 4 files changed +43
-0
lines changed
smoke-test/spring-boot-smoke-test-simple/src/main/java/smoketest/simple Expand file tree Collapse file tree 4 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 26
26
public final class SampleConfigurationProperties {
27
27
28
28
@ NotNull
29
+ @ SuppressWarnings ("NullAway.Init" )
29
30
private String name ;
30
31
31
32
public String getName () {
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2012-present the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ @ NullMarked
18
+ package smoketest .simple ;
19
+
20
+ import org .jspecify .annotations .NullMarked ;
Original file line number Diff line number Diff line change 25
25
public class HelloWorldService {
26
26
27
27
@ Value ("${test.name:World}" )
28
+ @ SuppressWarnings ("NullAway.Init" )
28
29
private String name ;
29
30
30
31
@ Value ("${test.duration:10s}" )
32
+ @ SuppressWarnings ("NullAway.Init" )
31
33
private Duration duration ;
32
34
33
35
public String getHelloMessage () {
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2012-present the original author or authors.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ @ NullMarked
18
+ package smoketest .simple .service ;
19
+
20
+ import org .jspecify .annotations .NullMarked ;
You can’t perform that action at this time.
0 commit comments