Suppress irrelevant warning

This commit is contained in:
René Pfeuffer
2021-01-15 17:40:59 +01:00
parent 4bd162ebcf
commit 664d9f5156

View File

@@ -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) {