File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
module/spring-boot-netty/src/main/java/org/springframework/boot/netty/autoconfigure Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .boot .netty .autoconfigure ;
18
18
19
+ import org .jspecify .annotations .Nullable ;
20
+
19
21
import org .springframework .boot .context .properties .ConfigurationProperties ;
20
22
21
23
/**
@@ -34,13 +36,13 @@ public class NettyProperties {
34
36
* 'ResourceLeakDetector.setLevel' or the 'io.netty.leakDetection.level' system
35
37
* property, default to 'simple'.
36
38
*/
37
- private LeakDetection leakDetection ;
39
+ private @ Nullable LeakDetection leakDetection ;
38
40
39
- public LeakDetection getLeakDetection () {
41
+ public @ Nullable LeakDetection getLeakDetection () {
40
42
return this .leakDetection ;
41
43
}
42
44
43
- public void setLeakDetection (LeakDetection leakDetection ) {
45
+ public void setLeakDetection (@ Nullable LeakDetection leakDetection ) {
44
46
this .leakDetection = leakDetection ;
45
47
}
46
48
Original file line number Diff line number Diff line change 17
17
/**
18
18
* Auto-configuration for the Netty library.
19
19
*/
20
+ @ NullMarked
20
21
package org .springframework .boot .netty .autoconfigure ;
22
+
23
+ import org .jspecify .annotations .NullMarked ;
You can’t perform that action at this time.
0 commit comments