Skip to content

Commit

Permalink
Merge pull request #2772 from tandraschko/master
Browse files Browse the repository at this point in the history
#2721 - Implement BeanManger#isPassivatingScope
  • Loading branch information
cescoffier authored Jun 11, 2019
2 parents 4a17215 + 4fa6dd2 commit 3702128
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ public boolean isNormalScope(Class<? extends Annotation> annotationType) {

@Override
public boolean isPassivatingScope(Class<? extends Annotation> annotationType) {
throw new UnsupportedOperationException();
// return false instead of a UnsupportedOperationException, so libs like DeltaSpike can handle it "nicer"
return false;
}

@Override
Expand Down

0 comments on commit 3702128

Please sign in to comment.