From 0a8a80ede3d01f1782a4b8ff842057703dfcb664 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 13 May 2009 14:26:56 +0000 Subject: [PATCH] Velocity/FreeMarker/TilesViewResolver only return a view if the target resource exists now --- .../ui/freemarker/FreeMarkerConfigurationFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.springframework.context.support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java b/org.springframework.context.support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java index d937ec3e20..d6bb8297db 100644 --- a/org.springframework.context.support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java +++ b/org.springframework.context.support/src/main/java/org/springframework/ui/freemarker/FreeMarkerConfigurationFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2009 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. @@ -383,7 +383,7 @@ public class FreeMarkerConfigurationFactory { * @see #createConfiguration() * @see #setPostTemplateLoaders */ - protected void postProcessTemplateLoaders(List templateLoaders) { + protected void postProcessTemplateLoaders(List templateLoaders) { } /**