Commit 36ca32d
committed
Introduced
The local `isNew` variable is more semantically meaningful and less repetitive than checking `topic.Id != -1` multiple times.isNew variable1 parent 0f7b917 commit 36ca32d
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | 335 | | |
| 336 | + | |
340 | 337 | | |
341 | 338 | | |
342 | 339 | | |
343 | 340 | | |
344 | | - | |
| 341 | + | |
345 | 342 | | |
346 | 343 | | |
347 | 344 | | |
348 | 345 | | |
349 | 346 | | |
350 | 347 | | |
351 | 348 | | |
352 | | - | |
| 349 | + | |
353 | 350 | | |
354 | 351 | | |
355 | 352 | | |
| |||
0 commit comments