Formatting

This commit is contained in:
Phillip Webb
2018-05-04 12:00:50 -07:00
parent 1314aaa368
commit 0a0247975c
36 changed files with 59 additions and 28 deletions

View File

@@ -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 = { '_', '.', '[' };

View File

@@ -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")) {

View File

@@ -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)}

View File

@@ -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

View File

@@ -701,6 +701,7 @@ public class UndertowEmbeddedServletContainerFactory
return null;
}
}
}
/**
@@ -722,6 +723,7 @@ public class UndertowEmbeddedServletContainerFactory
initializer.onStartup(servletContext);
}
}
}
/**

View File

@@ -112,6 +112,7 @@ public class Jetty8JettyEmbeddedServletContainerFactoryTests {
resp.getWriter().print("An error occurred");
resp.flushBuffer();
}
}
}

View File

@@ -554,6 +554,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
interface ValidatedProperties {
String getFoo();
}
@ConfigurationProperties("test")
@@ -890,6 +891,7 @@ public class ConfigurationPropertiesBindingPostProcessorTests {
}
return null;
}
}
}

View File

@@ -117,5 +117,7 @@ public class JsonComponentModuleTests {
static class ConcreteSerializer extends AbstractSerializer {
}
}
}