mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-06-16 22:11:58 +02:00
suppress SonarQube security hotspot warning
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user