From: Duarte Meneses Date: Wed, 4 Nov 2015 09:44:17 +0000 (+0100) Subject: Fix typos X-Git-Tag: 5.3-RC1~344 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=347978968e87735dacb333f72e32f20b8a7a3163;p=sonarqube.git Fix typos --- diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalSettings.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalSettings.java index 921e0f8f902..fea6157d8d6 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalSettings.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/GlobalSettings.java @@ -33,7 +33,7 @@ public class GlobalSettings extends Settings { private static final Logger LOG = LoggerFactory.getLogger(GlobalSettings.class); - private static final String JDBC_SPECIFIC_MESSAGE = "There is no more DB connection to the SQ database. It will be ignored."; + private static final String JDBC_SPECIFIC_MESSAGE = "It will be ignored. There is no longer any DB connection to the SQ database."; /** * A map of dropped properties as key and specific message to display for that property * (what will happen, what should the user do, ...) as a value diff --git a/sonar-batch/src/main/java/org/sonar/batch/cache/ProjectCacheSynchronizer.java b/sonar-batch/src/main/java/org/sonar/batch/cache/ProjectCacheSynchronizer.java index 3487247ae2b..9ff8b6bb4ed 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/cache/ProjectCacheSynchronizer.java +++ b/sonar-batch/src/main/java/org/sonar/batch/cache/ProjectCacheSynchronizer.java @@ -112,7 +112,7 @@ public class ProjectCacheSynchronizer { private void saveStatus() { cacheStatus.save(); - LOG.info("-- Succesfully synchronized project cache"); + LOG.info("-- Successfully synchronized project cache"); } private void loadData(String projectKey) { diff --git a/sonar-batch/src/test/java/org/sonar/batch/bootstrap/GlobalSettingsTest.java b/sonar-batch/src/test/java/org/sonar/batch/bootstrap/GlobalSettingsTest.java index 7b0f3fc534e..ce3a3811173 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/bootstrap/GlobalSettingsTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/bootstrap/GlobalSettingsTest.java @@ -70,9 +70,9 @@ public class GlobalSettingsTest { new GlobalSettings(bootstrapProps, new PropertyDefinitions(), globalRef, mode); assertThat(logTester.logs(LoggerLevel.WARN)).containsOnly( - "Property 'sonar.jdbc.url' is not supported any more. There is no more DB connection to the SQ database. It will be ignored.", - "Property 'sonar.jdbc.username' is not supported any more. There is no more DB connection to the SQ database. It will be ignored.", - "Property 'sonar.jdbc.password' is not supported any more. There is no more DB connection to the SQ database. It will be ignored." + "Property 'sonar.jdbc.url' is not supported any more. It will be ignored. There is no longer any DB connection to the SQ database.", + "Property 'sonar.jdbc.username' is not supported any more. It will be ignored. There is no longer any DB connection to the SQ database.", + "Property 'sonar.jdbc.password' is not supported any more. It will be ignored. There is no longer any DB connection to the SQ database." ); } }