From 0b52d83b6029016e7cffd9de7a7680e746f1e99c Mon Sep 17 00:00:00 2001 From: Usta Shrestha Date: Fri, 4 Feb 2022 21:37:39 -0500 Subject: [PATCH] typos fixed Bug: N/A Test: m nothing Change-Id: Ia3abc4b9db2b811bf589447e32a7f29f341f2307 --- android/arch.go | 2 +- android/bazel_handler.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/arch.go b/android/arch.go index a719cf3f5..69d66e98d 100644 --- a/android/arch.go +++ b/android/arch.go @@ -829,7 +829,7 @@ func createArchPropTypeDesc(props reflect.Type) []archPropTypeDesc { const maxArchTypeNameSize = 500 // Convert the type to a new set of types that contains only the arch-specific properties - // (those that are tagged with `android:"arch_specific"`), and sharded into multiple types + // (those that are tagged with `android:"arch_variant"`), and sharded into multiple types // to keep the runtime-generated names under the limit. propShards, _ := proptools.FilterPropertyStructSharded(props, maxArchTypeNameSize, filterArchStruct) diff --git a/android/bazel_handler.go b/android/bazel_handler.go index 0052551f4..804a5fbbd 100644 --- a/android/bazel_handler.go +++ b/android/bazel_handler.go @@ -73,7 +73,7 @@ type BazelHandler interface { } type BazelContext interface { - // The below methods involve queuing cquery requests to be later invoked + // The methods below involve queuing cquery requests to be later invoked // by bazel. If any of these methods return (_, false), then the request // has been queued to be run later. @@ -561,7 +561,7 @@ def %s(target): return id_string + ">>" + %s(target) ` - for requestType, _ := range requestTypeToCqueryIdEntries { + for requestType := range requestTypeToCqueryIdEntries { labelMapName := requestType.Name() + "_Labels" functionName := requestType.Name() + "_Fn" labelRegistrationMapSection += fmt.Sprintf(mapDeclarationFormatString,