Skip to content
This repository was archived by the owner on Mar 20, 2021. It is now read-only.

Commit 1f7ad17

Browse files
author
Ed Burns
committed
#4253 remove the context-param for Server Push to comply with JSF 2.3 spec 2.2.6
1 parent 61a0027 commit 1f7ad17

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

jsf-ri/src/main/java/com/sun/faces/application/ApplicationAssociate.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,6 @@ public ApplicationAssociate(ApplicationImpl appImpl) {
285285
private boolean checkForPushBuilder() {
286286
boolean result = false;
287287

288-
if (!webConfig.isOptionEnabled(BooleanWebContextInitParameter.EnablePushResources)) {
289-
return result;
290-
}
291-
292288
Class clazz = HttpServletRequest.class;
293289
try {
294290
result = null != clazz.getMethod("newPushBuilder", (Class[]) null);

jsf-ri/src/main/java/com/sun/faces/config/WebConfiguration.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,10 +1242,6 @@ public enum BooleanWebContextInitParameter {
12421242
"com.sun.faces.enableCoreTagLibValidator",
12431243
false
12441244
),
1245-
EnablePushResources(
1246-
"com.sun.faces.enablePushResources",
1247-
false
1248-
),
12491245
PreferXHTMLContentType(
12501246
"com.sun.faces.preferXHTML",
12511247
false

0 commit comments

Comments
 (0)