Remove extra semicolons from event log tag generated files
To avoid an errorprone error. Test: Presubmits Change-Id: I5d5eefd5e54e6e862755894dd0b2f34e9e7fad89
This commit is contained in:
parent
1c5f813bf0
commit
43d2d682a8
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue