Commit 4e41bc9
Address Copilot review: fix 3 missed static final fields, long lines, stale docs
- Removed remaining static final accessor fields in
DocumentQueryExecutionContextFactory, CosmosQueryRequestOptionsBase,
CosmosQueryRequestOptionsImpl
- Extracted local variables for long inline accessor chains in
SessionTokenMismatchRetryPolicy, RxDocumentClientImpl,
CosmosPagedFluxDefaultImpl
- Updated test Javadoc to reflect lazy accessor approach (not Class.forName)
- Reduced child JVM runs from 3 to 1 (invocationCount=5 provides repetition)
- Fixed CHANGELOG PR link to #48689
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 95e43c4 commit 4e41bc9
File tree
8 files changed
+97
-65
lines changed- sdk/cosmos
- azure-cosmos-tests/src/test/java/com/azure/cosmos/implementation
- azure-cosmos
- src/main/java/com/azure/cosmos
- implementation
- query
- util
8 files changed
+97
-65
lines changedLines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
365 | | - | |
| 364 | + | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
400 | | - | |
| 399 | + | |
| 400 | + | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
373 | 370 | | |
374 | 371 | | |
375 | 372 | | |
376 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
377 | 376 | | |
378 | 377 | | |
379 | 378 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
0 commit comments