Make a pass over our codebase cleaning up non-precise / non-inclusive language.

Test: treehugger
Bug: 204369779
Change-Id: I6e63cae824d323535cdb14b493edd868df47738d
This commit is contained in:
Joe Onorato 2021-10-27 15:47:06 -07:00
parent 0f3b7d2fc4
commit b4638c1ac3
6 changed files with 6 additions and 6 deletions

View file

@ -27,7 +27,7 @@ import (
// "neverallow" rules for the build system. // "neverallow" rules for the build system.
// //
// This allows things which aren't related to the build system and are enforced // This allows things which aren't related to the build system and are enforced
// for sanity, in progress code refactors, or policy to be expressed in a // against assumptions, in progress code refactors, or policy to be expressed in a
// straightforward away disjoint from implementations and tests which should // straightforward away disjoint from implementations and tests which should
// work regardless of these restrictions. // work regardless of these restrictions.
// //

View file

@ -105,7 +105,7 @@ var (
Description: "convert ${in}=>${out}", Description: "convert ${in}=>${out}",
}) })
// TODO(b/113233103): make sure that file_contexts is sane, i.e., validate // TODO(b/113233103): make sure that file_contexts is as expected, i.e., validate
// against the binary policy using sefcontext_compiler -p <policy>. // against the binary policy using sefcontext_compiler -p <policy>.
// TODO(b/114327326): automate the generation of file_contexts // TODO(b/114327326): automate the generation of file_contexts

View file

@ -33,7 +33,7 @@ package cc
// Component 3: Stub Libraries // Component 3: Stub Libraries
// The shared libraries in the NDK are not the actual shared libraries they // The shared libraries in the NDK are not the actual shared libraries they
// refer to (to prevent people from accidentally loading them), but stub // refer to (to prevent people from accidentally loading them), but stub
// libraries with dummy implementations of everything for use at build time // libraries with placeholder implementations of everything for use at build time
// only. // only.
// //
// Since we don't actually need to know anything about the stub libraries aside // Since we don't actually need to know anything about the stub libraries aside

View file

@ -60,7 +60,7 @@ var (
) )
func init() { func init() {
// Poor man's flag aliasing: works, but the usage string is ugly and // Simplistic flag aliasing: works, but the usage string is ugly and
// both flag and its alias can be present on the command line // both flag and its alias can be present on the command line
flagAlias := func(target string, alias string) { flagAlias := func(target string, alias string) {
if f := flag.Lookup(target); f != nil { if f := flag.Lookup(target); f != nil {

View file

@ -53,7 +53,7 @@ type variableRegistrar interface {
NewVariable(name string, varClass varClass, valueType starlarkType) NewVariable(name string, varClass varClass, valueType starlarkType)
} }
// ScopeBase is a dummy implementation of the mkparser.Scope. // ScopeBase is a placeholder implementation of the mkparser.Scope.
// All our scopes are read-only and resolve only simple variables. // All our scopes are read-only and resolve only simple variables.
type ScopeBase struct{} type ScopeBase struct{}

View file

@ -786,7 +786,7 @@ func TestIssue10957(t *testing.T) {
} }
} }
// Verify the number of files is sane. // Verify the number of files is within expected bounds
func TestIssue10956(t *testing.T) { func TestIssue10956(t *testing.T) {
data := []byte("PK\x06\x06PK\x06\a0000\x00\x00\x00\x00\x00\x00\x00\x00" + data := []byte("PK\x06\x06PK\x06\a0000\x00\x00\x00\x00\x00\x00\x00\x00" +
"0000PK\x05\x06000000000000" + "0000PK\x05\x06000000000000" +