aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/singlejar/input_jar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/singlejar/input_jar.h')
-rw-r--r--src/tools/singlejar/input_jar.h6
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.