Commit 8b4868d
committed
refactor: optimize user reader and writer initialization in QueueSubscriptions
- Simplified the initialization of user reader and writer instances in the QueueSubscriptions function by reusing the created userReaderWriter variable, enhancing code clarity and reducing redundancy.
Jira Ticket: https://linuxfoundation.atlassian.net/browse/LFXV2-492
Reviewed with [GitHub Copilot](https://github.com/features/copilot)
Signed-off-by: Mauricio Zanetti Salomao <mauriciozanetti86@gmail.com>1 parent 4159789 commit 8b4868d
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
143 | | - | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | | - | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
0 commit comments