aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>2024-01-17 15:33:16 +0100
committersonartech <sonartech@sonarsource.com>2024-01-17 20:02:45 +0000
commitadac0feada5e2e4500994a752bb950cee3e4a4c9 (patch)
tree8f7231cf3ab8aa4946c4bee9eaa9133cf87d3680
parent56afeba6b92a8bc67b8c60f0812c824c6874029d (diff)
downloadsonarqube-adac0feada5e2e4500994a752bb950cee3e4a4c9.tar.gz
sonarqube-adac0feada5e2e4500994a752bb950cee3e4a4c9.zip
SONAR-21393 Fix article: "an" instead of "a"
-rw-r--r--server/sonar-ce/src/main/java/org/sonar/ce/httpd/HttpAction.java2
-rw-r--r--server/sonar-server-common/src/main/java/org/sonar/server/webhook/WebhookCaller.java2
-rw-r--r--server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/LogOAuthWarning.java2
-rw-r--r--server/sonar-webserver-auth/src/test/java/org/sonar/server/authentication/LogOAuthWarningTest.java2
-rw-r--r--server/sonar-webserver-core/src/main/java/org/sonar/server/telemetry/CloudUsageDataProvider.java2
-rw-r--r--server/sonar-webserver-webapi/src/main/java/org/sonar/server/saml/ws/ValidationAction.java2
6 files changed, 6 insertions, 6 deletions
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.
* <br/>
* 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")