diff options
| author | 2021-03-25 09:38:45 -0700 | |
|---|---|---|
| committer | 2021-03-25 11:11:36 -0700 | |
| commit | 0d5324165a85234a93efb64cd601d45d719fd545 (patch) | |
| tree | 2577755b4a1b777ecb19c3429a62510e2547c870 /java | |
| parent | 2207f87756b644a2129a07b8794d963e63cd38d2 (diff) | |
Fix lint warnings in droidstubs.go
Test: none
Change-Id: Ie387c8c4feddad7bd134604e442fd326e606cd2f
Diffstat (limited to 'java')
| -rw-r--r-- | java/droidstubs.go | 4 |
1 files 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") |