]> git.mxchange.org Git - jcoreee.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 13 Nov 2022 17:14:17 +0000 (18:14 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 13 Nov 2022 17:14:17 +0000 (18:14 +0100)
- no exceptions in private methods or constructors

src/org/mxchange/jcoreee/utils/FacesUtils.java

index 5dc0ac0724a22c8c26a9b0638c07f8109b3068ad..15458efd8ae7bcc603161e93b7cb14d1ffbd024e 100644 (file)
@@ -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
-               }
        }
 
 }