@ -172,7 +172,9 @@ public class EncodedResourceResolver extends AbstractResourceResolver {
@@ -172,7 +172,9 @@ public class EncodedResourceResolver extends AbstractResourceResolver {
privateStringgetExtension(Stringcoding){
Stringextension=this.extensions.get(coding);
Assert.state(extension!=null,()->"No file extension associated with content coding "+coding);
if(extension==null){
thrownewIllegalStateException("No file extension associated with content coding "+coding);
@ -167,7 +167,9 @@ public class EncodedResourceResolver extends AbstractResourceResolver {
@@ -167,7 +167,9 @@ public class EncodedResourceResolver extends AbstractResourceResolver {
privateStringgetExtension(Stringcoding){
Stringextension=this.extensions.get(coding);
Assert.state(extension!=null,()->"No file extension associated with content coding "+coding);
if(extension==null){
thrownewIllegalStateException("No file extension associated with content coding "+coding);
@ -87,7 +86,6 @@ public class ResourceUrlEncodingFilter extends GenericFilterBean {
@@ -87,7 +86,6 @@ public class ResourceUrlEncodingFilter extends GenericFilterBean {
@ -97,10 +95,12 @@ public class ResourceUrlEncodingFilter extends GenericFilterBean {
@@ -97,10 +95,12 @@ public class ResourceUrlEncodingFilter extends GenericFilterBean {
@ -116,7 +116,7 @@ public class ResourceUrlEncodingFilter extends GenericFilterBean {
@@ -116,7 +116,7 @@ public class ResourceUrlEncodingFilter extends GenericFilterBean {
publicStringresolveUrlPath(Stringurl){
if(this.resourceUrlProvider==null){
logger.trace("ResourceUrlProvider not available via request attribute "+