Polishing
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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> {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user