Description
FileUtils.deleteDirectory javadoc claims:
@throws IllegalArgumentException if {@code directory} does not exist or is not a directory
but the first two lines of the code are:
Objects.requireNonNull(directory, "directory"); if (!directory.exists()) { return; }