Formatting
This commit is contained in:
@@ -54,8 +54,8 @@ import org.springframework.validation.Validator;
|
||||
* @param <T> the target type
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public class PropertiesConfigurationFactory<T>
|
||||
implements FactoryBean<T>, ApplicationContextAware, MessageSourceAware, InitializingBean {
|
||||
public class PropertiesConfigurationFactory<T> implements FactoryBean<T>,
|
||||
ApplicationContextAware, MessageSourceAware, InitializingBean {
|
||||
|
||||
private static final char[] EXACT_DELIMITERS = { '_', '.', '[' };
|
||||
|
||||
|
||||
@@ -42,8 +42,8 @@ public class AnsiOutputApplicationListener
|
||||
event.getEnvironment(), "spring.output.ansi.");
|
||||
if (resolver.containsProperty("enabled")) {
|
||||
String enabled = resolver.getProperty("enabled");
|
||||
AnsiOutput.setEnabled(Enum.valueOf(Enabled.class,
|
||||
enabled.toUpperCase(Locale.ENGLISH)));
|
||||
AnsiOutput.setEnabled(
|
||||
Enum.valueOf(Enabled.class, enabled.toUpperCase(Locale.ENGLISH)));
|
||||
}
|
||||
|
||||
if (resolver.containsProperty("console-available")) {
|
||||
|
||||
@@ -130,7 +130,6 @@ public abstract class AbstractEmbeddedServletContainerFactory
|
||||
|
||||
/**
|
||||
* Converts the given {@code url} into a decoded file path.
|
||||
*
|
||||
* @param url the url to convert
|
||||
* @return the file path
|
||||
* @deprecated Since 1.5.13 in favor of {@link File#File(java.net.URI)}
|
||||
|
||||
@@ -102,7 +102,6 @@ import org.springframework.util.StringUtils;
|
||||
* @author Venil Noronha
|
||||
* @author Henri Kerola
|
||||
* @author Henrich Krämer
|
||||
*
|
||||
* @see #setPort(int)
|
||||
* @see #setConfigurations(Collection)
|
||||
* @see JettyEmbeddedServletContainer
|
||||
|
||||
@@ -701,6 +701,7 @@ public class UndertowEmbeddedServletContainerFactory
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -722,6 +723,7 @@ public class UndertowEmbeddedServletContainerFactory
|
||||
initializer.onStartup(servletContext);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -112,6 +112,7 @@ public class Jetty8JettyEmbeddedServletContainerFactoryTests {
|
||||
resp.getWriter().print("An error occurred");
|
||||
resp.flushBuffer();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -554,6 +554,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
|
||||
interface ValidatedProperties {
|
||||
|
||||
String getFoo();
|
||||
|
||||
}
|
||||
|
||||
@ConfigurationProperties("test")
|
||||
@@ -890,6 +891,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -117,5 +117,7 @@ public class JsonComponentModuleTests {
|
||||
static class ConcreteSerializer extends AbstractSerializer {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user