Polishing

This commit is contained in:
Andy Wilkinson
2017-06-07 17:14:26 +01:00
parent bddf9232a8
commit a03ddd331c
7 changed files with 13 additions and 14 deletions

View File

@@ -202,8 +202,7 @@ public class CacheProperties {
*/
private Resource config;
@DeprecatedConfigurationProperty(replacement = "spring.hazelcast.config",
reason = "Use general hazelcast auto-configuration instead.")
@DeprecatedConfigurationProperty(replacement = "spring.hazelcast.config", reason = "Use general hazelcast auto-configuration instead.")
@Deprecated
public Resource getConfig() {
return this.config;

View File

@@ -33,7 +33,7 @@ import org.springframework.beans.factory.FactoryBean;
* @author Dave Syer
* @since 1.2.2
* @see MustacheResourceTemplateLoader
* @deprecated as of 1.5
* @deprecated as of 1.5
*/
@Deprecated
public class MustacheCompilerFactoryBean implements FactoryBean<Mustache.Compiler> {

View File

@@ -59,7 +59,7 @@ public class JooqExceptionTranslatorTests {
new Object[] { SQLDialect.POSTGRES_9_3, sqlException("03000") },
new Object[] { SQLDialect.POSTGRES_9_4, sqlException("03000") },
new Object[] { SQLDialect.POSTGRES_9_5, sqlException("03000") },
new Object[] { SQLDialect.SQLITE, sqlException("21000") }};
new Object[] { SQLDialect.SQLITE, sqlException("21000") } };
}
private static SQLException sqlException(String sqlState) {

View File

@@ -54,8 +54,7 @@ public class WebMvcValidatorTests {
@Test
public void wrapLocalValidatorFactoryBean() {
WebMvcValidator wrapper = load(
LocalValidatorFactoryBeanConfig.class);
WebMvcValidator wrapper = load(LocalValidatorFactoryBeanConfig.class);
assertThat(wrapper.supports(SampleData.class)).isTrue();
MapBindingResult errors = new MapBindingResult(new HashMap<String, Object>(),
"test");