diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2017-10-10 14:19:16 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2017-10-10 14:23:46 +0200 |
commit | db2093a19f4cda810194cf9c0ab7a6db73b4a4a1 (patch) | |
tree | 07ea9db869bf8aebb2b9368a0becf5d1579639ae /sonar-scanner-engine/src/main/java | |
parent | a2451079763bfc04f0e0bcdbd2ee158da3446fe4 (diff) | |
download | sonarqube-db2093a19f4cda810194cf9c0ab7a6db73b4a4a1.tar.gz sonarqube-db2093a19f4cda810194cf9c0ab7a6db73b4a4a1.zip |
remove misleading thread safety comment
thanks to dtrebbien for spotting it
Diffstat (limited to 'sonar-scanner-engine/src/main/java')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorStorage.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorStorage.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorStorage.java index c12c55cc820..9404d772204 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorStorage.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorStorage.java @@ -205,9 +205,6 @@ public class DefaultSensorStorage implements SensorStorage { saveMeasure(newMeasure.inputComponent(), (DefaultMeasure<?>) newMeasure); } - /** - * Thread safe - */ private void logOnce(String metricKey, String msg, Object... params) { if (alreadyLogged.add(metricKey)) { LOG.warn(msg, params); |