From: Roland Häder Date: Sun, 13 Nov 2022 17:14:17 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a3b1873cadc553a6f0afee5e95b2ff93937c6125;p=jcoreee.git Continued: - no exceptions in private methods or constructors --- diff --git a/src/org/mxchange/jcoreee/utils/FacesUtils.java b/src/org/mxchange/jcoreee/utils/FacesUtils.java index 5dc0ac0..15458ef 100644 --- a/src/org/mxchange/jcoreee/utils/FacesUtils.java +++ b/src/org/mxchange/jcoreee/utils/FacesUtils.java @@ -88,11 +88,6 @@ public class FacesUtils implements Serializable { * No instances from this class are required */ private FacesUtils () { - // Is this null? - if (FacesContext.getCurrentInstance() == null) { - // Okay, don't allow any usage - throw new NullPointerException("Cannot access FacesContext, maybe you have tried to use this class from an EJB?"); //NOI18N - } } }