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 1616
1717package org .springframework .boot .netty .autoconfigure ;
1818
19+ import org .jspecify .annotations .Nullable ;
20+
1921import org .springframework .boot .context .properties .ConfigurationProperties ;
2022
2123/**
@@ -34,13 +36,13 @@ public class NettyProperties {
3436 * 'ResourceLeakDetector.setLevel' or the 'io.netty.leakDetection.level' system
3537 * property, default to 'simple'.
3638 */
37- private LeakDetection leakDetection ;
39+ private @ Nullable LeakDetection leakDetection ;
3840
39- public LeakDetection getLeakDetection () {
41+ public @ Nullable LeakDetection getLeakDetection () {
4042 return this .leakDetection ;
4143 }
4244
43- public void setLeakDetection (LeakDetection leakDetection ) {
45+ public void setLeakDetection (@ Nullable LeakDetection leakDetection ) {
4446 this .leakDetection = leakDetection ;
4547 }
4648
Original file line number Diff line number Diff line change 1717/**
1818 * Auto-configuration for the Netty library.
1919 */
20+ @ NullMarked
2021package org .springframework .boot .netty .autoconfigure ;
22+
23+ import org .jspecify .annotations .NullMarked ;
You can’t perform that action at this time.
0 commit comments