From: David Cho-Lerat Date: Wed, 17 Jan 2024 14:33:16 +0000 (+0100) Subject: SONAR-21393 Fix article: "an" instead of "a" X-Git-Tag: 10.4.0.87286~160 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=adac0feada5e2e4500994a752bb950cee3e4a4c9;p=sonarqube.git SONAR-21393 Fix article: "an" instead of "a" --- diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/httpd/HttpAction.java b/server/sonar-ce/src/main/java/org/sonar/ce/httpd/HttpAction.java index 9a009993f8f..34a8e691408 100644 --- a/server/sonar-ce/src/main/java/org/sonar/ce/httpd/HttpAction.java +++ b/server/sonar-ce/src/main/java/org/sonar/ce/httpd/HttpAction.java @@ -26,7 +26,7 @@ import org.apache.http.protocol.HttpContext; import org.apache.http.protocol.HttpRequestHandler; /** - * A Http action of the CE's HTTP server handles a request for a specified path. + * An Http action of the CE's HTTP server handles a request for a specified path. */ public interface HttpAction extends HttpRequestHandler { /** diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/webhook/WebhookCaller.java b/server/sonar-server-common/src/main/java/org/sonar/server/webhook/WebhookCaller.java index b9306562762..1bf62ec9b9a 100644 --- a/server/sonar-server-common/src/main/java/org/sonar/server/webhook/WebhookCaller.java +++ b/server/sonar-server-common/src/main/java/org/sonar/server/webhook/WebhookCaller.java @@ -22,7 +22,7 @@ package org.sonar.server.webhook; public interface WebhookCaller { /** - * Call webhook by sending a HTTP(S) POST request containing + * Call webhook by sending an HTTP(S) POST request containing * the JSON payload. *
* Errors are silently ignored. They don't generate logs or diff --git a/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/LogOAuthWarning.java b/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/LogOAuthWarning.java index 400ba8a3fe2..edec18bea68 100644 --- a/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/LogOAuthWarning.java +++ b/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/LogOAuthWarning.java @@ -53,7 +53,7 @@ public class LogOAuthWarning implements Startable { String publicRootUrl = server.getPublicRootUrl(); if (StringUtils.startsWithIgnoreCase(publicRootUrl, "http:")) { LoggerFactory.getLogger(getClass()).warn( - "For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to a HTTPS URL."); + "For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to an HTTPS URL."); } } diff --git a/server/sonar-webserver-auth/src/test/java/org/sonar/server/authentication/LogOAuthWarningTest.java b/server/sonar-webserver-auth/src/test/java/org/sonar/server/authentication/LogOAuthWarningTest.java index 3cd320db6e2..916551a31ce 100644 --- a/server/sonar-webserver-auth/src/test/java/org/sonar/server/authentication/LogOAuthWarningTest.java +++ b/server/sonar-webserver-auth/src/test/java/org/sonar/server/authentication/LogOAuthWarningTest.java @@ -47,7 +47,7 @@ public class LogOAuthWarningTest { underTest.start(); - assertThat(logTester.logs(Level.WARN)).containsOnly("For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to a HTTPS URL."); + assertThat(logTester.logs(Level.WARN)).containsOnly("For security reasons, OAuth authentication should use HTTPS. You should set the property 'Administration > Configuration > Server base URL' to an HTTPS URL."); underTest.stop(); } diff --git a/server/sonar-webserver-core/src/main/java/org/sonar/server/telemetry/CloudUsageDataProvider.java b/server/sonar-webserver-core/src/main/java/org/sonar/server/telemetry/CloudUsageDataProvider.java index ab81753d7f4..7959407d245 100644 --- a/server/sonar-webserver-core/src/main/java/org/sonar/server/telemetry/CloudUsageDataProvider.java +++ b/server/sonar-webserver-core/src/main/java/org/sonar/server/telemetry/CloudUsageDataProvider.java @@ -135,7 +135,7 @@ public class CloudUsageDataProvider { } /** - * Create a http client to call the Kubernetes API. + * Create an http client to call the Kubernetes API. * This is based on the client creation in the official Kubernetes Java client. */ private void initHttpClient() { diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/saml/ws/ValidationAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/saml/ws/ValidationAction.java index e4072e72d9c..8e7561d6143 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/saml/ws/ValidationAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/saml/ws/ValidationAction.java @@ -105,7 +105,7 @@ public class ValidationAction extends HttpFilter implements SamlAction { .setPost(true) .setHandler(ServletFilterHandler.INSTANCE) .setDescription("Handle the callback of a SAML assertion from the identity Provider and produces " + - "a HTML page with all information available in the assertion.") + "an HTML page with all information available in the assertion.") .setSince("9.7"); action.createParam("SAMLResponse") .setDescription("SAML assertion value")