mobile: fix some typos

Change-Id: Iaffde6f90b92b1f8b96c76d2bc3d8c312ebb764f
GitHub-Last-Rev: 7413e9537adc1626c76386cf2d47188eeed8342e
GitHub-Pull-Request: golang/mobile#76
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/390014
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
cuishuang
2022-03-07 22:04:22 +00:00
committed by Hyang-Ah Hana Kim
parent 8a0a1e5073
commit 55113b94f0
8 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -849,7 +849,7 @@ func (g *JavaGen) genFuncSignature(o *types.Func, jm *java.Func, hasThis bool) {
if returnsError {
if jm != nil {
if jm.Throws == "" {
g.errorf("%s declares an error return value but the overriden method does not throw", o)
g.errorf("%s declares an error return value but the overridden method does not throw", o)
return
}
g.Printf(" throws %s", jm.Throws)