myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: removed old quarkus workaround
Date Sun, 18 Aug 2019 21:44:56 GMT
This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/master by this push:
     new 95a97e4  removed old quarkus workaround
95a97e4 is described below

commit 95a97e452345ec8300d4519dccb6e9b7883bb099
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Sun Aug 18 23:44:48 2019 +0200

    removed old quarkus workaround
---
 .../main/java/org/apache/myfaces/cdi/util/AbstractContext.java | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/cdi/util/AbstractContext.java b/impl/src/main/java/org/apache/myfaces/cdi/util/AbstractContext.java
index f1bcae4..45c6256 100644
--- a/impl/src/main/java/org/apache/myfaces/cdi/util/AbstractContext.java
+++ b/impl/src/main/java/org/apache/myfaces/cdi/util/AbstractContext.java
@@ -43,15 +43,7 @@ public abstract class AbstractContext implements Context
 
     protected AbstractContext(BeanManager beanManager)
     {
-        try
-        {
-            passivatingScope = beanManager.isPassivatingScope(getScope());
-        }
-        catch (UnsupportedOperationException e)
-        {
-            // Quarkus throws a UnsupportedOperationException instead return false currently
-            passivatingScope = false;
-        }
+        passivatingScope = beanManager.isPassivatingScope(getScope());
     }
 
     /**


Mime
View raw message