From 7941b30c6727bd97ea9bdf7a6a595afc4024018e Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Tue, 28 Jul 2020 13:27:34 -0700 Subject: [PATCH] Update language to comply with inclusive guidance See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: m nothing Change-Id: I13f42b680c6b819a2708c973e7718267c121f862 --- android/config.go | 4 ++-- java/java_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/config.go b/android/config.go index cafc71b75..aeed81dfa 100644 --- a/android/config.go +++ b/android/config.go @@ -337,8 +337,8 @@ func NewConfig(srcDir, buildDir string, moduleListFile string) (Config, error) { config: config, } - // Sanity check the build and source directories. This won't catch strange - // configurations with symlinks, but at least checks the obvious cases. + // Soundness check of the build and source directories. This won't catch strange + // configurations with symlinks, but at least checks the obvious case. absBuildDir, err := filepath.Abs(buildDir) if err != nil { return Config{}, err diff --git a/java/java_test.go b/java/java_test.go index 73e6792b4..582ebe945 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -489,7 +489,7 @@ func TestHostBinaryNoJavaDebugInfoOverride(t *testing.T) { ctx, _ := testJavaWithConfig(t, config) - // first, sanity check that the -g flag is added to target modules + // first, check that the -g flag is added to target modules targetLibrary := ctx.ModuleForTests("target_library", "android_common") targetJavaFlags := targetLibrary.Module().VariablesForTests()["javacFlags"] if !strings.Contains(targetJavaFlags, "-g:source,lines") {