Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save garydgregory/c5eaaaf6333759018ce2582ae8dbd6b3 to your computer and use it in GitHub Desktop.
Save garydgregory/c5eaaaf6333759018ce2582ae8dbd6b3 to your computer and use it in GitHub Desktop.
public void deleteAll(File directory) throws IOException {
final boolean test = 1 == 2;
if (test) {
FileUtils.deleteDirectory(directory);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment