mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 19:45:51 +01:00
Make clear why sonar finding is suppressed
This commit is contained in:
@@ -29,7 +29,7 @@ import sonia.scm.ContextEntry;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@SuppressWarnings("squid:S110")
|
@SuppressWarnings("squid:MaximumInheritanceDepth") // exceptions have a deep inheritance depth themselves; therefore we accept this here
|
||||||
public class NotPublicKeyException extends BadRequestException {
|
public class NotPublicKeyException extends BadRequestException {
|
||||||
public NotPublicKeyException(List<ContextEntry> context, String message) {
|
public NotPublicKeyException(List<ContextEntry> context, String message) {
|
||||||
super(context, message);
|
super(context, message);
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ package sonia.scm.security.gpg;
|
|||||||
import sonia.scm.BadRequestException;
|
import sonia.scm.BadRequestException;
|
||||||
import sonia.scm.ContextEntry;
|
import sonia.scm.ContextEntry;
|
||||||
|
|
||||||
@SuppressWarnings("squid:S110")
|
@SuppressWarnings("squid:MaximumInheritanceDepth") // exceptions have a deep inheritance depth themselves; therefore we accept this here
|
||||||
public final class DeletingReadonlyKeyNotAllowedException extends BadRequestException {
|
public final class DeletingReadonlyKeyNotAllowedException extends BadRequestException {
|
||||||
|
|
||||||
public DeletingReadonlyKeyNotAllowedException(String keyId) {
|
public DeletingReadonlyKeyNotAllowedException(String keyId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user