Remove extra semicolons from event log tag generated files

To avoid an errorprone error.

Test: Presubmits
Change-Id: I5d5eefd5e54e6e862755894dd0b2f34e9e7fad89
This commit is contained in:
Cole Faust 2022-10-13 17:45:49 -07:00
parent 1c5f813bf0
commit 43d2d682a8

View file

@ -100,7 +100,8 @@ buffer.write("/* This file is auto-generated. DO NOT MODIFY.\n"
" * Source file: %s\n"
" */\n\n" % (fn,))
buffer.write("package %s;\n\n" % (tagfile.options["java_package"][0],))
# .rstrip(";") to avoid an empty top-level statement errorprone error
buffer.write("package %s;\n\n" % (tagfile.options["java_package"][0].rstrip(";"),))
basename, _ = os.path.splitext(os.path.basename(fn))