summaryrefslogtreecommitdiff
path: root/python/python_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2020-05-26 10:10:17 +0100
committer Paul Duffin <paulduffin@google.com> 2020-05-26 20:20:23 +0100
commit00b206ee23e5dea6ce3785d2e23b172b0fc5a66f (patch)
tree5fb74b17d9a524f2bee5ec382c8424f4ce915ab8 /python/python_test.go
parent2eb4ace0efd4512db99e54c04e563750cabb408f (diff)
java_sdk_library: Simplify SdkLibrary.sdkJars
The expression !sdkVersion.specified() is equivalent to the following: !sdkVersion.valid() || sdkVersion.kind == sdkPrivate That means that the else if clause "sdkVersion.kind == sdkPrivate" will never be reached so it was removed. There is also no need to check sdkVersion.valid() as that will already have been checked, and an error reported, before this code has been called. Therefore that has been removed. Bug: 148080325 Test: m nothing Merged-In: Ib7c544b48dfb53bad3e15f9f73f71bd05cff9b49 Change-Id: Ib7c544b48dfb53bad3e15f9f73f71bd05cff9b49 (cherry picked from commit c91f5d0cc7d97dde90170da494fc1a22b6d5014e)
Diffstat (limited to 'python/python_test.go')
0 files changed, 0 insertions, 0 deletions