diff options
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org')
3 files changed, 15 insertions, 0 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/DeprecatedIssueAdapterForFilter.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/DeprecatedIssueAdapterForFilter.java index 4b45945147e..389ace4a936 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/DeprecatedIssueAdapterForFilter.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/DeprecatedIssueAdapterForFilter.java @@ -160,6 +160,11 @@ class DeprecatedIssueAdapterForFilter implements Issue { throw unsupported(); } + @Override + public boolean isCopied() { + throw unsupported(); + } + @Deprecated @Override public Duration debt() { diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/DeprecatedIssueWrapper.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/DeprecatedIssueWrapper.java index 843d7c1e7e4..5c487b5bf4b 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/DeprecatedIssueWrapper.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/DeprecatedIssueWrapper.java @@ -161,6 +161,11 @@ public class DeprecatedIssueWrapper implements Issue { } @Override + public boolean isCopied() { + return false; + } + + @Override public Duration debt() { return null; } diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/TrackedIssueAdapter.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/TrackedIssueAdapter.java index 6db8b0abaa6..5d969e3a56e 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/TrackedIssueAdapter.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/TrackedIssueAdapter.java @@ -114,6 +114,11 @@ public class TrackedIssueAdapter implements Issue { } @Override + public boolean isCopied() { + return false; + } + + @Override public Map<String, String> attributes() { return new HashMap<>(); } |