This repository was archived by the owner on Jul 31, 2022. It is now read-only.
Description Prerequisites
If all checks are not passed then the issue will be closed
Operating System: Operating system name and version
Windows 10
Release Version: Release version or branch where the issue occurred
03.05.04
Issue
Explain your issue. Add any screenshots here
When adding a directory that is a root there is a null file name.
Expected Behavior
Explain what was supposed to happen
Root directory should return directory name.
Steps To Reproduce
Explain how and/or when the error occurred
These methods may return null on #getName() when a drive is supplied.
addDirectory ("" ,directory ,directory .getName (),ByteLoadingOption .LIVELOAD ,false );
addDirectory ("" ,directory ,directory .getName (),ByteLoadingOption .LIVELOAD ,walk );
addDirectory ("" ,directory ,directory .getName (),loadingOption ,false );
addDirectory ("" ,directory ,directory .getName (),loadingOption ,walk );
addDirectory (context ,directory ,directory .getName (),ByteLoadingOption .LIVELOAD ,false );
addDirectory (context ,directory ,directory .getName (),ByteLoadingOption .LIVELOAD ,walk );
addDirectory (context ,directory ,directory .getName (),loadingOption ,false );
addDirectory (context ,directory ,directory .getName (),loadingOption ,walk );
Reactions are currently unavailable
Prerequisites
If all checks are not passed then the issue will be closed
Operating System: Operating system name and version
Windows 10
Release Version: Release version or branch where the issue occurred
03.05.04
Issue
Explain your issue. Add any screenshots here
When adding a directory that is a root there is a null file name.
Expected Behavior
Explain what was supposed to happen
Root directory should return directory name.
Steps To Reproduce
Explain how and/or when the error occurred
These methods may return null on
#getName()when a drive is supplied.simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java
Line 52 in 4ad8b17
simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java
Line 343 in 4ad8b17
simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java
Line 371 in 4ad8b17
simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java
Line 400 in 4ad8b17
simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java
Line 430 in 4ad8b17
simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java
Line 576 in 4ad8b17
simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java
Line 603 in 4ad8b17
simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java
Line 633 in 4ad8b17
simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java
Line 664 in 4ad8b17