summaryrefslogtreecommitdiff
path: root/sdk/java_sdk_test.go
diff options
context:
space:
mode:
author Ulya Trafimovich <skvadrik@google.com> 2021-07-14 16:35:33 +0100
committer Ulya Trafimovich <skvadrik@google.com> 2021-07-15 08:30:27 +0100
commit497a09310b03ce1cde15895423dcc71e8b9de9ee (patch)
treee8ec693eadff3cf324f9edcd9cf9d5d70f096893 /sdk/java_sdk_test.go
parent39924233e0679fa072366570774b16b8242b4c43 (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 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions