Commit 3b342da
committed
Refactor LB CIDR list comparison & rollback code
- Replace manual null-check comparison with Objects.equals for clarity and null safety
- Simplify CIDR list rollback to always restore backup value unconditionally
- Add JavaDoc for setCidrList method for improved documentation1 parent dd59044 commit 3b342da
File tree
2 files changed
+5
-3
lines changed- engine/schema/src/main/java/com/cloud/network/dao
- server/src/main/java/com/cloud/network/lb
2 files changed
+5
-3
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
148 | 153 | | |
149 | 154 | | |
150 | 155 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2306 | 2306 | | |
2307 | 2307 | | |
2308 | 2308 | | |
2309 | | - | |
2310 | | - | |
2311 | | - | |
2312 | 2309 | | |
2313 | 2310 | | |
2314 | 2311 | | |
| |||
0 commit comments