From a74ca046dacd052e2fe717ba670b309044fe9d15 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 31 Jan 2019 14:31:51 -0800 Subject: 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 --- java/java_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/java_test.go') diff --git a/java/java_test.go b/java/java_test.go index a0b8952c..57b2a593 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 } -- cgit v1.2.3