You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/04/09 14:18:25 UTC
(commons-compress) 01/06: Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit 1e1de6e5ae46a647d924667d01ee678b92f1f5b2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Apr 9 10:08:54 2025 -0400
Javadoc
main can throw IOException
---
.../java/org/apache/commons/compress/archivers/sevenz/CLI.java | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
index 0f38ec52e..420044c10 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java
@@ -89,7 +89,13 @@ private static Mode grabMode(final String[] args) {
return Enum.valueOf(Mode.class, args[1].toUpperCase(Locale.ROOT));
}
- public static void main(final String[] args) throws Exception {
+ /**
+ * Command line entry point.
+ *
+ * @param args Command line arguments.
+ * @throws IOException if an I/O problem occurs.
+ */
+ public static void main(final String[] args) throws IOException {
if (args.length == 0) {
usage();
return;