From 0d5324165a85234a93efb64cd601d45d719fd545 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 25 Mar 2021 09:38:45 -0700 Subject: [PATCH] Fix lint warnings in droidstubs.go Test: none Change-Id: Ie387c8c4feddad7bd134604e442fd326e606cd2f --- java/droidstubs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/droidstubs.go b/java/droidstubs.go index 4dff98c6d..4f9e14f81 100644 --- a/java/droidstubs.go +++ b/java/droidstubs.go @@ -495,7 +495,7 @@ func (d *Droidstubs) GenerateAndroidBuildActions(ctx android.ModuleContext) { d.apiLevelsAnnotationsFlags(ctx, cmd) if android.InList("--generate-documentation", d.Javadoc.args) { - // Currently Metalava have the ability to invoke Javadoc in a seperate process. + // Currently Metalava have the ability to invoke Javadoc in a separate process. // Pass "-nodocs" to suppress the Javadoc invocation when Metalava receives // "--generate-documentation" arg. This is not needed when Metalava removes this feature. d.Javadoc.args = append(d.Javadoc.args, "-nodocs") @@ -526,7 +526,7 @@ func (d *Droidstubs) GenerateAndroidBuildActions(ctx android.ModuleContext) { d.apiLintReport = android.PathForModuleOut(ctx, "api_lint_report.txt") cmd.FlagWithOutput("--report-even-if-suppressed ", d.apiLintReport) // TODO: Change to ":api-lint" - // TODO(b/154317059): Clean up this whitelist by baselining and/or checking in last-released. + // TODO(b/154317059): Clean up this allowlist by baselining and/or checking in last-released. if d.Name() != "android.car-system-stubs-docs" && d.Name() != "android.car-stubs-docs" { cmd.Flag("--lints-as-errors")