mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-01 19:15:52 +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;
|
||||
|
||||
@SuppressWarnings("squid:S110")
|
||||
@SuppressWarnings("squid:MaximumInheritanceDepth") // exceptions have a deep inheritance depth themselves; therefore we accept this here
|
||||
public class NotPublicKeyException extends BadRequestException {
|
||||
public NotPublicKeyException(List<ContextEntry> context, String message) {
|
||||
super(context, message);
|
||||
|
||||
Reference in New Issue
Block a user