Replace 'e.g.' with 'for example' in documentation and comments

Closes gh-33515
This commit is contained in:
Yanming Zhou
2024-09-26 14:03:46 +02:00
committed by Sam Brannen
parent e55fe9077f
commit 8941e2876e
722 changed files with 1290 additions and 1290 deletions

View File

@@ -78,7 +78,7 @@ public class MockClientHttpRequest extends AbstractClientHttpRequest implements
* Configure a custom handler for writing the request body.
*
* <p>The default write handler consumes and caches the request body so it
* may be accessed subsequently, e.g. in test assertions. Use this property
* may be accessed subsequently, for example, in test assertions. Use this property
* when the request body is an infinite stream.
*
* @param writeHandler the write handler to use returning {@code Mono<Void>}

View File

@@ -100,7 +100,7 @@ public abstract class AbstractHttpHandlerIntegrationTests {
/**
* Return an interval stream of N number of ticks and buffer the emissions
* to avoid back pressure failures (e.g. on slow CI server).
* to avoid back pressure failures (for example, on slow CI server).
*
* <p>Use this method as follows:
* <ul>

View File

@@ -1460,7 +1460,7 @@ public class MockHttpServletRequest implements HttpServletRequest {
}
/**
* Best effort to detect a Servlet path mapping, e.g. {@code "/foo/*"}, by
* Best effort to detect a Servlet path mapping, for example, {@code "/foo/*"}, by
* checking whether the length of requestURI > contextPath + servletPath.
* This helps {@link org.springframework.web.util.ServletRequestPathUtils}
* to take into account the Servlet path when parsing the requestURI.