From 46c9b8bfd56bf23a54f8e482e282cf84bb407a6f Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 22 Jun 2017 16:51:17 -0700 Subject: Remove non-idiomatic inheritance Remove inheritance implemented with the bad "superclass calls subclass through interface" pattern, and replace it with composition. Test: builds Change-Id: If323f89360455b3f98b40777edaaaa265bb3b5fc --- java/gen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/gen.go') diff --git a/java/gen.go b/java/gen.go index e3973bf8..e473859f 100644 --- a/java/gen.go +++ b/java/gen.go @@ -84,7 +84,7 @@ func genLogtags(ctx android.ModuleContext, logtagsFile android.Path) android.Pat return javaFile } -func (j *javaBase) genSources(ctx android.ModuleContext, srcFiles android.Paths, +func (j *Module) genSources(ctx android.ModuleContext, srcFiles android.Paths, flags javaBuilderFlags) android.Paths { for i, srcFile := range srcFiles { -- cgit v1.2.3