Skip to content

Instantly share code, notes, and snippets.

@GaetanoPiazzolla
Created January 20, 2022 19:47
Show Gist options
  • Save GaetanoPiazzolla/020a995ce8600b56db71bb72f843d6c8 to your computer and use it in GitHub Desktop.
Save GaetanoPiazzolla/020a995ce8600b56db71bb72f843d6c8 to your computer and use it in GitHub Desktop.
FileInputStream input = null;
try {
input = new FileInputStream(file1);
input.close(); input = null;
} finally {
if (input != null) input.close();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment