Skip to content

Commit

Permalink
removed system exit calls
Browse files Browse the repository at this point in the history
  • Loading branch information
scmacdon committed Dec 13, 2024
1 parent 95e7e4c commit 06390b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void main(String[] args) {

if (args.length != 3) {
System.out.println(usage);
System.exit(1);
return;
}

String bucketARN = args[0];
Expand Down Expand Up @@ -70,7 +70,6 @@ public static void createStream(FirehoseClient firehoseClient, String bucketARN,

} catch (FirehoseException e) {
System.out.println(e.getLocalizedMessage());
System.exit(1);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void main(String[] args) {

if (args.length != 1) {
System.out.println(usage);
System.exit(1);
return;
}

String streamName = args[0];
Expand All @@ -57,7 +57,6 @@ public static void delStream(FirehoseClient firehoseClient, String streamName) {

} catch (FirehoseException e) {
System.out.println(e.getLocalizedMessage());
System.exit(1);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public static void listStreams(FirehoseClient firehoseClient) {

} catch (FirehoseException e) {
System.out.println(e.getLocalizedMessage());
System.exit(1);
}
}
}
Expand Down

0 comments on commit 06390b9

Please sign in to comment.