Fix issue in ContentNeogitatingViewResolver

The following commit in 3.2.3 had a side effect on CNVR:
aaded7e30b

It appears that CNVR doesn't treat a request for "*/*" differently
from a request that does not request content types. Both should be
interpreted as "any content type is acceptable". This fix ensures
that CNVR treats these two cases the same way.

Issue: SPR-10683
This commit is contained in:
Rossen Stoyanchev
2013-07-18 21:53:39 -04:00
parent a0f8a894f2
commit 7fdd0c22b2
2 changed files with 6 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ import org.springframework.web.servlet.ViewResolver;
import static org.junit.Assert.*;
import static org.mockito.BDDMockito.*;
import static org.mockito.Mockito.*;
/**
* @author Arjen Poutsma