diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-11-15 09:41:20 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-11-16 10:09:21 +0100 |
commit | 91a6c35e590a92b02e7406133162d8d5ec2fb5ac (patch) | |
tree | a172d0ce8113ff1885f854263e454dc3137f8afe /it/it-plugins | |
parent | ad40128e3d6b300eef57e24180fc22d2e374f125 (diff) | |
download | sonarqube-91a6c35e590a92b02e7406133162d8d5ec2fb5ac.tar.gz sonarqube-91a6c35e590a92b02e7406133162d8d5ec2fb5ac.zip |
SONAR-8333 fixing ITs
Diffstat (limited to 'it/it-plugins')
-rw-r--r-- | it/it-plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/it/it-plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java b/it/it-plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java index c13fad55dc1..a7e9e8be1f9 100644 --- a/it/it-plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java +++ b/it/it-plugins/global-property-change-plugin/src/main/java/FakeGlobalPropertyChange.java @@ -20,12 +20,13 @@ import org.sonar.api.Properties; import org.sonar.api.Property; import org.sonar.api.config.GlobalPropertyChangeHandler; +import org.sonar.api.utils.log.Loggers; @Properties(@Property(key = "globalPropertyChange.received", name = "Check that extension has correctly been notified by global property change", category = "fake")) public final class FakeGlobalPropertyChange extends GlobalPropertyChangeHandler { @Override public void onChange(PropertyChange propertyChange) { - System.out.println("Received change: " + propertyChange); + Loggers.get(FakeGlobalPropertyChange.class).info("Received change: " + propertyChange); } } |