diff options
| author | 2021-07-14 16:35:33 +0100 | |
|---|---|---|
| committer | 2021-07-15 08:30:27 +0100 | |
| commit | 497a09310b03ce1cde15895423dcc71e8b9de9ee (patch) | |
| tree | e8ec693eadff3cf324f9edcd9cf9d5d70f096893 /java/classpath_element.go | |
| parent | 39924233e0679fa072366570774b16b8242b4c43 (diff) | |
Drop `strings.HasPrefix` when guarding `strings.TrimPrefix`.
There is no need to check as `TrimPrefix` does nothing if the prefix
doesn't match (see https://pkg.go.dev/strings#TrimPrefix).
Bug: 193425964
Test: m nothing
Change-Id: Ieb82e72a471800e29eb6bb54308041a9ab4173e5
Diffstat (limited to 'java/classpath_element.go')
0 files changed, 0 insertions, 0 deletions