Skip to content

Commit 77bd355

Browse files
committed
Merge remote-tracking branch 'origin/4.0' into 4.1
2 parents 74eb57b + 6d3e602 commit 77bd355

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

impl/src/main/java/com/sun/faces/application/resource/ResourceHandlerImpl.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ public boolean isResourceRequest(FacesContext context) {
216216

217217
@Override
218218
public String getRendererTypeForResourceName(String resourceName) {
219+
if (resourceName == null) {
220+
return null;
221+
}
222+
219223
String rendererType = null;
220224

221225
String contentType = getContentType(FacesContext.getCurrentInstance(), resourceName);

0 commit comments

Comments
 (0)