Remove unnecessary snake case variables.
Test: m nothing + TreeHugger
Change-Id: I99f7162944daa6c57c6ae4763261e108bb5cb6b1
diff --git a/java/droiddoc.go b/java/droiddoc.go
index 9c88a3c..cbca12a 100644
--- a/java/droiddoc.go
+++ b/java/droiddoc.go
@@ -305,17 +305,17 @@
}
func ignoreMissingModules(ctx android.BottomUpMutatorContext, apiToCheck *ApiToCheck) {
- api_file := String(apiToCheck.Api_file)
- removed_api_file := String(apiToCheck.Removed_api_file)
+ apiFile := String(apiToCheck.Api_file)
+ removedApiFile := String(apiToCheck.Removed_api_file)
- api_module := android.SrcIsModule(api_file)
- removed_api_module := android.SrcIsModule(removed_api_file)
+ apiModule := android.SrcIsModule(apiFile)
+ removedApiModule := android.SrcIsModule(removedApiFile)
- if api_module == "" || removed_api_module == "" {
+ if apiModule == "" || removedApiModule == "" {
return
}
- if ctx.OtherModuleExists(api_module) || ctx.OtherModuleExists(removed_api_module) {
+ if ctx.OtherModuleExists(apiModule) || ctx.OtherModuleExists(removedApiModule) {
return
}