mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
Suppress irrelevant warning
This commit is contained in:
@@ -64,6 +64,7 @@ class RepositoryTypeSupportChecker {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("javasecurity:S5145") // the type parameter is validated in the resource to only contain valid characters (\w)
|
||||
static Type type(RepositoryManager manager, String type) {
|
||||
RepositoryHandler handler = manager.getHandler(type);
|
||||
if (handler == null) {
|
||||
|
||||
Reference in New Issue
Block a user