summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2020-07-28 11:32:07 -0700
committer Liz Kammer <eakammer@google.com> 2020-07-28 11:37:31 -0700
commit20ebfb46fc975602eba6b6915ce5e7ae8a7869e3 (patch)
tree42d8729ee0c55a673d890e7fc5a245a739d3ca12 /java
parent8ffde8c9d51810b3090ea85ccba415c9f4641afa (diff)
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: Ie1d0d63d27f1b1b48680922b7202aa6df04f4696
Diffstat (limited to 'java')
-rw-r--r--java/droiddoc.go2
-rw-r--r--java/lint.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/droiddoc.go b/java/droiddoc.go
index 190a05237..935b83915 100644
--- a/java/droiddoc.go
+++ b/java/droiddoc.go
@@ -1674,7 +1674,7 @@ func (d *Droidstubs) GenerateAndroidBuildActions(ctx android.ModuleContext) {
impRule := android.NewRuleBuilder()
impCmd := impRule.Command()
- // A dummy action that copies the ninja generated rsp file to a new location. This allows us to
+ // An action that copies the ninja generated rsp file to a new location. This allows us to
// add a large number of inputs to a file without exceeding bash command length limits (which
// would happen if we use the WriteFile rule). The cp is needed because RuleBuilder sets the
// rsp file to be ${output}.rsp.
diff --git a/java/lint.go b/java/lint.go
index 639106793..1bf7f69fd 100644
--- a/java/lint.go
+++ b/java/lint.go
@@ -252,7 +252,7 @@ func (l *linter) writeLintProjectXML(ctx android.ModuleContext,
return projectXMLPath, configXMLPath, cacheDir, homeDir, deps
}
-// generateManifest adds a command to the rule to write a dummy manifest cat contains the
+// generateManifest adds a command to the rule to write a simple manifest that contains the
// minSdkVersion and targetSdkVersion for modules (like java_library) that don't have a manifest.
func (l *linter) generateManifest(ctx android.ModuleContext, rule *android.RuleBuilder) android.Path {
manifestPath := android.PathForModuleOut(ctx, "lint", "AndroidManifest.xml")