Commit 87f4865
committed
Prefer strings.SplitSeq over strings.Split where possible
SplitSeq returns an iterator over the substrings rather than
constructing and returning a slice, which works well in cases where
we are just iterating over the result anyways.
Signed-off-by: Caleb Xu <caxu@redhat.com>1 parent f6829d4 commit 87f4865
3 files changed
Lines changed: 5 additions & 5 deletions
File tree
- internal
- bindata/olm
- olm/operator
- util/projutil
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments