diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2018-06-22 16:03:36 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2018-06-29 09:10:16 +0200 |
commit | ca183f7f3f45e1ae2338f3a5c37d44fc0e295111 (patch) | |
tree | 53fe65285d19dd6874315c664bf89e61980a3eac /sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ExtensionUtils.java | |
parent | e5827b3671013c14776ca189e400e3687bfa0983 (diff) | |
download | sonarqube-ca183f7f3f45e1ae2338f3a5c37d44fc0e295111.tar.gz sonarqube-ca183f7f3f45e1ae2338f3a5c37d44fc0e295111.zip |
SONAR-10138 Remove support for API < 5.6
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ExtensionUtils.java')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ExtensionUtils.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ExtensionUtils.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ExtensionUtils.java index 64f9db336df..0dc53079c22 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ExtensionUtils.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ExtensionUtils.java @@ -19,7 +19,6 @@ */ package org.sonar.scanner.bootstrap; -import org.sonar.api.batch.BatchSide; import org.sonar.api.batch.InstantiationStrategy; import org.sonar.api.batch.ScannerSide; import org.sonar.api.utils.AnnotationUtils; @@ -39,8 +38,7 @@ public class ExtensionUtils { } public static boolean isScannerSide(Object extension) { - return AnnotationUtils.getAnnotation(extension, BatchSide.class) != null || - AnnotationUtils.getAnnotation(extension, ScannerSide.class) != null; + return AnnotationUtils.getAnnotation(extension, ScannerSide.class) != null; } public static boolean isType(Object extension, Class<?> extensionClass) { |