Remove unused configuration map
Remove the configuration map defined in `GroovyTemplateProperties` which isn't used. Ironically, that configuration map was exposed with the exact same prefix as `GroovyMarkupConfigurer`, which broke IDEs support since two entries had the exact same prefix. Fixes gh-2840
This commit is contained in:
parent
337673b31d
commit
326bdf29c2
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012-2014 the original author or authors.
|
||||
* Copyright 2012-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -16,9 +16,6 @@
|
|||
|
||||
package org.springframework.boot.autoconfigure.groovy.template;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
|
@ -45,11 +42,6 @@ public class GroovyTemplateProperties extends AbstractViewResolverProperties {
|
|||
*/
|
||||
private String suffix = DEFAULT_SUFFIX;
|
||||
|
||||
/**
|
||||
* Configuration to pass to TemplateConfiguration.
|
||||
*/
|
||||
private Map<String, Object> configuration = new HashMap<String, Object>();
|
||||
|
||||
public String getPrefix() {
|
||||
return this.prefix;
|
||||
}
|
||||
|
@ -66,12 +58,4 @@ public class GroovyTemplateProperties extends AbstractViewResolverProperties {
|
|||
this.suffix = suffix;
|
||||
}
|
||||
|
||||
public void setConfiguration(Map<String, Object> configuration) {
|
||||
this.configuration = configuration;
|
||||
}
|
||||
|
||||
public Map<String, Object> getConfiguration() {
|
||||
return this.configuration;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue