Deprecate Velocity support

Issue: SPR-13235
This commit is contained in:
Juergen Hoeller
2015-12-17 17:15:57 +01:00
parent 8ce5e88c66
commit a2a9c47e59
13 changed files with 34 additions and 51 deletions

View File

@@ -69,7 +69,9 @@ import org.springframework.util.StringUtils;
* @see VelocityEngineFactoryBean
* @see org.springframework.web.servlet.view.velocity.VelocityConfigurer
* @see org.apache.velocity.app.VelocityEngine
* @deprecated as of Spring 4.3, in favor of FreeMarker
*/
@Deprecated
public class VelocityEngineFactory {
protected final Log logger = LogFactory.getLog(getClass());

View File

@@ -46,7 +46,9 @@ import org.springframework.context.ResourceLoaderAware;
* @see #setVelocityProperties
* @see #setResourceLoaderPath
* @see org.springframework.web.servlet.view.velocity.VelocityConfigurer
* @deprecated as of Spring 4.3, in favor of FreeMarker
*/
@Deprecated
public class VelocityEngineFactoryBean extends VelocityEngineFactory
implements FactoryBean<VelocityEngine>, InitializingBean, ResourceLoaderAware {

View File

@@ -30,7 +30,9 @@ import org.apache.velocity.exception.VelocityException;
*
* @author Juergen Hoeller
* @since 22.01.2004
* @deprecated as of Spring 4.3, in favor of FreeMarker
*/
@Deprecated
public abstract class VelocityEngineUtils {
/**