Polish
This commit is contained in:
committed by
Andy Wilkinson
parent
c71f562001
commit
38dc9ec441
@@ -148,7 +148,7 @@ public class JettyEmbeddedServletContainerFactory
|
||||
/**
|
||||
* Create a new {@link JettyEmbeddedServletContainerFactory} with the specified
|
||||
* context path and port.
|
||||
* @param contextPath root the context path
|
||||
* @param contextPath the root context path
|
||||
* @param port the port to listen on
|
||||
*/
|
||||
public JettyEmbeddedServletContainerFactory(String contextPath, int port) {
|
||||
|
||||
@@ -143,7 +143,7 @@ public class TomcatEmbeddedServletContainerFactory
|
||||
/**
|
||||
* Create a new {@link TomcatEmbeddedServletContainerFactory} with the specified
|
||||
* context path and port.
|
||||
* @param contextPath root the context path
|
||||
* @param contextPath the root context path
|
||||
* @param port the port to listen on
|
||||
*/
|
||||
public TomcatEmbeddedServletContainerFactory(String contextPath, int port) {
|
||||
|
||||
@@ -92,7 +92,7 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
|
||||
* Create a new {@link UndertowEmbeddedServletContainer} instance.
|
||||
* @param builder the builder
|
||||
* @param manager the deployment manager
|
||||
* @param contextPath root the context path
|
||||
* @param contextPath the root context path
|
||||
* @param port the port to listen on (not used)
|
||||
* @param autoStart if the server should be started
|
||||
* @param compression compression configuration
|
||||
@@ -109,7 +109,7 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
|
||||
* Create a new {@link UndertowEmbeddedServletContainer} instance.
|
||||
* @param builder the builder
|
||||
* @param manager the deployment manager
|
||||
* @param contextPath root the context path
|
||||
* @param contextPath the root context path
|
||||
* @param port the port to listen on (not used)
|
||||
* @param useForwardHeaders if x-forward headers should be used
|
||||
* @param autoStart if the server should be started
|
||||
@@ -128,12 +128,12 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
|
||||
* Create a new {@link UndertowEmbeddedServletContainer} instance.
|
||||
* @param builder the builder
|
||||
* @param manager the deployment manager
|
||||
* @param contextPath root the context path
|
||||
* @param contextPath the root context path
|
||||
* @param port the port to listen on (not used)
|
||||
* @param useForwardHeaders if x-forward headers should be used
|
||||
* @param autoStart if the server should be started
|
||||
* @param compression compression configuration
|
||||
* @param serverHeader string to be used in http header
|
||||
* @param serverHeader string to be used in HTTP header
|
||||
* @deprecated as of 1.4 in favor of
|
||||
* {@link #UndertowEmbeddedServletContainer(Builder, DeploymentManager, String, boolean, boolean, Compression, String)}
|
||||
*/
|
||||
@@ -149,7 +149,7 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
|
||||
* Create a new {@link UndertowEmbeddedServletContainer} instance.
|
||||
* @param builder the builder
|
||||
* @param manager the deployment manager
|
||||
* @param contextPath root the context path
|
||||
* @param contextPath the root context path
|
||||
* @param autoStart if the server should be started
|
||||
* @param compression compression configuration
|
||||
*/
|
||||
@@ -162,7 +162,7 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
|
||||
* Create a new {@link UndertowEmbeddedServletContainer} instance.
|
||||
* @param builder the builder
|
||||
* @param manager the deployment manager
|
||||
* @param contextPath root the context path
|
||||
* @param contextPath the root context path
|
||||
* @param useForwardHeaders if x-forward headers should be used
|
||||
* @param autoStart if the server should be started
|
||||
* @param compression compression configuration
|
||||
@@ -178,11 +178,11 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
|
||||
* Create a new {@link UndertowEmbeddedServletContainer} instance.
|
||||
* @param builder the builder
|
||||
* @param manager the deployment manager
|
||||
* @param contextPath root the context path
|
||||
* @param contextPath the root context path
|
||||
* @param useForwardHeaders if x-forward headers should be used
|
||||
* @param autoStart if the server should be started
|
||||
* @param compression compression configuration
|
||||
* @param serverHeader string to be used in http header
|
||||
* @param serverHeader string to be used in HTTP header
|
||||
*/
|
||||
public UndertowEmbeddedServletContainer(Builder builder, DeploymentManager manager,
|
||||
String contextPath, boolean useForwardHeaders, boolean autoStart,
|
||||
|
||||
@@ -144,7 +144,7 @@ public class UndertowEmbeddedServletContainerFactory
|
||||
/**
|
||||
* Create a new {@link UndertowEmbeddedServletContainerFactory} with the specified
|
||||
* context path and port.
|
||||
* @param contextPath root the context path
|
||||
* @param contextPath the root context path
|
||||
* @param port the port to listen on
|
||||
*/
|
||||
public UndertowEmbeddedServletContainerFactory(String contextPath, int port) {
|
||||
|
||||
@@ -376,8 +376,6 @@ public class ConfigFileApplicationListenerTests {
|
||||
@Test
|
||||
public void loadPropertiesThenProfilePropertiesWithOverride() throws Exception {
|
||||
this.environment.setActiveProfiles("other");
|
||||
// TestPropertySourceUtils.addInlinedPropertiesToEnvironment(this.environment,
|
||||
// "spring.profiles.active:other");
|
||||
this.initializer.setSearchNames("enableprofile");
|
||||
this.initializer.postProcessEnvironment(this.environment, this.application);
|
||||
String property = this.environment.getProperty("other.property");
|
||||
|
||||
Reference in New Issue
Block a user