diff options
author | 2019-01-31 14:31:51 -0800 | |
---|---|---|
committer | 2019-02-01 16:43:02 -0800 | |
commit | a74ca046dacd052e2fe717ba670b309044fe9d15 (patch) | |
tree | fe062065b9192ed26fbf9e2cf4c65fe6761a4c05 /java/java_test.go | |
parent | 42b87a2e56ee922667702f1a0e05343aebcdec15 (diff) |
Replace *[]string with []string in product variables
There is no need for *[]string, []string can already hold a nil
value to specify "not set".
Test: all soong tests
Change-Id: I85a51b042c12aee1565a9287d62924feeeafd486
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go index a0b8952c4..57b2a5936 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -61,7 +61,7 @@ func testConfig(env map[string]string) android.Config { env["ANDROID_JAVA8_HOME"] = "jdk8" } config := android.TestArchConfig(buildDir, env) - config.TestProductVariables.DeviceSystemSdkVersions = &[]string{"14", "15"} + config.TestProductVariables.DeviceSystemSdkVersions = []string{"14", "15"} return config } |