diff options
author | 2016-12-06 00:32:41 +0000 | |
---|---|---|
committer | 2016-12-06 12:07:07 +0000 | |
commit | ca9d98dc853e2d45111df8af8b7619f4670c4f0c (patch) | |
tree | f387ebc6f67a371b8fdf1dfcab85bc78c77025da /src/tools | |
parent | 7505d94c19727e3100ac5e16a960bff2cb324f23 (diff) |
Fix typos in usage example
--
PiperOrigin-RevId: 141116980
MOS_MIGRATED_REVID=141116980
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/singlejar/input_jar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/singlejar/input_jar.h b/src/tools/singlejar/input_jar.h index 3905245c4c..9c30df2856 100644 --- a/src/tools/singlejar/input_jar.h +++ b/src/tools/singlejar/input_jar.h @@ -26,11 +26,11 @@ /* * An input jar. The usage pattern is: - * InputJar input_jar("path/to/file"); - * if (!input_jar.Open()) { fail...} + * InputJar input_jar; + * if (!input_jar.Open("path/to/file")) { fail...} * CDH *dir_entry; * LH *local_header; - * while (dir_entry = input_jar.NextExtry(&local_header)) { + * while (dir_entry = input_jar.NextEntry(&local_header)) { * // process entry. * } * input_jar.Close(); // actually, called by destructor, too. |