Merge pull request #23986 from izeye

* pr/23986:
  Polish

Closes gh-23986
pull/23999/head
Stephane Nicoll 4 years ago
commit b547a53bc3

@ -653,7 +653,7 @@ As of Undertow 1.4.0+, HTTP/2 is supported without any additional requirement on
[[howto-configure-http2-h2c]] [[howto-configure-http2-h2c]]
==== HTTP/2 Cleartext with supported servers ==== HTTP/2 Cleartext with supported servers
To enable HTTP/2 with cleartext support, you need to leave the `configprop:server.http2.enabled[]` property set to `false`, To enable HTTP/2 with cleartext support, you need to leave the configprop:server.http2.enabled[] property set to `false`,
and instead apply a customizer specific to your choice of server: and instead apply a customizer specific to your choice of server:
For Tomcat, we need to add an upgrade protocol: For Tomcat, we need to add an upgrade protocol:

@ -1441,7 +1441,7 @@ NOTE: The `prefix` value for the annotation _must_ be in kebab case (lowercase a
| Environment Variables | Environment Variables
| Upper case format with underscore as the delimiter (see <<boot-features-external-config-relaxed-binding-from-environment-variables>>). | Upper case format with underscore as the delimiter (see <<boot-features-external-config-relaxed-binding-from-environment-variables>>).
| Numeric values surrounded by underscores (see <<boot-features-external-config-relaxed-binding-from-environment-variables>>)` | Numeric values surrounded by underscores (see <<boot-features-external-config-relaxed-binding-from-environment-variables>>)
| System properties | System properties
| Camel case, kebab case, or underscore notation | Camel case, kebab case, or underscore notation

@ -68,6 +68,7 @@ public class ConfigurationMetadata {
/** /**
* Add item meta-data if it's not already present. * Add item meta-data if it's not already present.
* @param itemMetadata the meta-data to add * @param itemMetadata the meta-data to add
* @since 2.4.0
*/ */
public void addIfMissing(ItemMetadata itemMetadata) { public void addIfMissing(ItemMetadata itemMetadata) {
add(this.items, itemMetadata.getName(), itemMetadata, true); add(this.items, itemMetadata.getName(), itemMetadata, true);

@ -121,7 +121,7 @@ public final class ConfigDataLocation implements OriginProvider {
/** /**
* Create a new {@link ConfigDataLocation} with a specific {@link Origin}. * Create a new {@link ConfigDataLocation} with a specific {@link Origin}.
* @param origin the orgin to set * @param origin the origin to set
* @return a new {@link ConfigDataLocation} instance. * @return a new {@link ConfigDataLocation} instance.
*/ */
ConfigDataLocation withOrigin(Origin origin) { ConfigDataLocation withOrigin(Origin origin) {

Loading…
Cancel
Save