Files
build_soong/java
Paul Duffin c91f5d0cc7 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
2020-05-26 11:12:28 +01:00
..
2020-05-14 19:01:11 -07:00
2020-01-16 12:19:49 -08:00
2020-05-14 19:01:11 -07:00
2019-10-04 14:00:36 -07:00
2019-01-23 18:05:18 +00:00
2019-07-17 11:15:09 -07:00
2019-10-26 20:35:13 +00:00
2019-10-18 15:14:15 -07:00