Commit 0a1261d
authored
use the collection directly (#10917)
getComputers() calls getComputerCollection() before using streams to sort the entries, to put the results into an array, all just to get the number of computers.
just use the collection directly and call size() to avoid the overhead.1 parent d205e10 commit 0a1261d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments