suppress SonarQube security hotspot warning

This commit is contained in:
Sebastian Sdorra
2020-04-25 18:22:32 +02:00
parent f08978dad4
commit 4488382a4b

View File

@@ -72,6 +72,7 @@ final class BaseDirectory {
*
* @return base directory
*/
@SuppressWarnings("java:S5304") // it is safe to use environment in this case
static Path get() {
return new BaseDirectory(
SystemUtil.getPlatform(),