Skip to content

Instantly share code, notes, and snippets.

@japborst
Last active October 5, 2022 16:22
Show Gist options
  • Save japborst/2254ae936dad7c4079292c43692d0741 to your computer and use it in GitHub Desktop.
Save japborst/2254ae936dad7c4079292c43692d0741 to your computer and use it in GitHub Desktop.
public static void main(String[] args) {
if (args.length > 0 && args[0].isEmpty()) {
new IllegalArgumentException( );
}
// ... rest of the main code ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment