Replace 'e.g.' with 'for example' in documentation and comments
Closes gh-33515
This commit is contained in:
committed by
Sam Brannen
parent
e55fe9077f
commit
8941e2876e
@@ -64,7 +64,7 @@ this `Map`.
|
||||
|
||||
You can also extend `ProblemDetail` to add dedicated non-standard properties.
|
||||
The copy constructor in `ProblemDetail` allows a subclass to make it easy to be created
|
||||
from an existing `ProblemDetail`. This could be done centrally, e.g. from an
|
||||
from an existing `ProblemDetail`. This could be done centrally, for example, from an
|
||||
`@ControllerAdvice` such as `ResponseEntityExceptionHandler` that re-creates the
|
||||
`ProblemDetail` of an exception into a subclass with the additional non-standard fields.
|
||||
|
||||
@@ -107,7 +107,7 @@ Message codes and arguments for each error are also resolved via `MessageSource`
|
||||
|
||||
| `MissingRequestValueException`
|
||||
| (default)
|
||||
| `+{0}+` a label for the value (e.g. "request header", "cookie value", ...), `+{1}+` the value name
|
||||
| `+{0}+` a label for the value (for example, "request header", "cookie value", ...), `+{1}+` the value name
|
||||
|
||||
| `NotAcceptableStatusException`
|
||||
| (default)
|
||||
|
||||
Reference in New Issue
Block a user