summaryrefslogtreecommitdiff
path: root/scripts/lint-project-xml.py
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2020-05-26 10:10:17 +0100
committerPaul Duffin <paulduffin@google.com>2020-05-26 11:12:28 +0100
commitc91f5d0cc7d97dde90170da494fc1a22b6d5014e (patch)
tree386ca1d3e461056375d630a6417caab51c8d58ed /scripts/lint-project-xml.py
parent42ada5cff3fca011b5a0d017955f14dc63898807 (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 Change-Id: Ib7c544b48dfb53bad3e15f9f73f71bd05cff9b49
Diffstat (limited to 'scripts/lint-project-xml.py')
0 files changed, 0 insertions, 0 deletions