Browse Source

SONAR-21393 Fix article: "an" instead of "a"

tags/10.4.0.87286
David Cho-Lerat 5 months ago
parent
commit
adac0feada

+ 1
- 1
server/sonar-ce/src/main/java/org/sonar/ce/httpd/HttpAction.java View File

@@ -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 {
/**

+ 1
- 1
server/sonar-server-common/src/main/java/org/sonar/server/webhook/WebhookCaller.java View File

@@ -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

+ 1
- 1
server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/LogOAuthWarning.java View File

@@ -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.");
}
}


+ 1
- 1
server/sonar-webserver-auth/src/test/java/org/sonar/server/authentication/LogOAuthWarningTest.java View File

@@ -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();
}

+ 1
- 1
server/sonar-webserver-core/src/main/java/org/sonar/server/telemetry/CloudUsageDataProvider.java View File

@@ -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() {

+ 1
- 1
server/sonar-webserver-webapi/src/main/java/org/sonar/server/saml/ws/ValidationAction.java View File

@@ -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")

Loading…
Cancel
Save