aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2021-11-18 16:45:02 -0600
committersonartech <sonartech@sonarsource.com>2021-11-20 20:03:51 +0000
commit3f9445c25962f914ccdd889c002ddd8e19b0cf89 (patch)
treeeb4f34a62b7164a71fd0bbe34d6f59621a687d8d /sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java
parentaa640be9e2b9cfa2c027ef0768940b31ebb5536c (diff)
downloadsonarqube-3f9445c25962f914ccdd889c002ddd8e19b0cf89.tar.gz
sonarqube-3f9445c25962f914ccdd889c002ddd8e19b0cf89.zip
Improve code quality
Diffstat (limited to 'sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java')
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java
index 5aed83ef381..c7d1c8d131a 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar/api/config/EmailSettingsTest.java
@@ -36,7 +36,7 @@ public class EmailSettingsTest {
@Test
public void should_return_default_values() {
- assertThat(underTest.getSmtpHost()).isEqualTo("");
+ assertThat(underTest.getSmtpHost()).isEmpty();
assertThat(underTest.getSmtpPort()).isEqualTo(25);
assertThat(underTest.getSmtpUsername()).isEmpty();
assertThat(underTest.getSmtpPassword()).isEmpty();