No longer warn about this method invocation

This commit is contained in:
Sebastian Stenzel
2020-02-20 11:09:52 +01:00
parent 864e92ea59
commit d2a27c782d
@@ -41,7 +41,6 @@ public final class WindowsDriveLetters {
public Set<String> getOccupiedDriveLetters() {
if (!SystemUtils.IS_OS_WINDOWS) {
LOG.warn("Attempted to get occupied drive letters on non-Windows machine.");
return Set.of();
} else {
Iterable<Path> rootDirs = FileSystems.getDefault().getRootDirectories();