diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2021-12-03 10:56:25 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-12-03 20:03:32 +0000 |
commit | 1ffcc9a85c962e716b3c7e0dd73e0a955dd36c69 (patch) | |
tree | 345e052939548cd2fa8592755080e7acfe070eaf /sonar-scanner-engine/src/main/java/org/sonar | |
parent | 0c2ad3d5d708b3d34049767d5b37e7f5d7939325 (diff) | |
download | sonarqube-1ffcc9a85c962e716b3c7e0dd73e0a955dd36c69.tar.gz sonarqube-1ffcc9a85c962e716b3c7e0dd73e0a955dd36c69.zip |
SONAR-15761 new API to identify Sensors processing files independently (#5091)
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/AbstractSensorWrapper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/AbstractSensorWrapper.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/AbstractSensorWrapper.java index 21e5308d66e..2df1bec52c7 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/AbstractSensorWrapper.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/AbstractSensorWrapper.java @@ -56,7 +56,7 @@ public abstract class AbstractSensorWrapper<G extends ProjectSensor> { } public void analyse() { - boolean sensorIsRestricted = descriptor.onlyChangedFilesInPullRequest() && isPullRequest; + boolean sensorIsRestricted = descriptor.isProcessesFilesIndependently() && isPullRequest; if (sensorIsRestricted) { LOGGER.info("Sensor {} is restricted to changed files only", descriptor.name()); } |