Commit 7ccce53
committed
Refactor ackMode configuration to use JavaUtils pattern
Replace explicit null check and manual ackMode setting with the
JavaUtils.acceptIfNotNull() pattern for consistency with other
property configurations in the initializeContainer method.
This improves code readability and maintains a uniform style
throughout the property initialization logic.
Signed-off-by: Go BeomJun <alap_u@naver.com>1 parent 2cb40fe commit 7ccce53
File tree
1 file changed
+3
-7
lines changed- spring-kafka/src/main/java/org/springframework/kafka/config
1 file changed
+3
-7
lines changedLines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
466 | 462 | | |
467 | 463 | | |
468 | 464 | | |
| |||
0 commit comments