Skip to content

Commit

Permalink
#2721 - Implement BeanManger#isPassivatingScope
Browse files Browse the repository at this point in the history
  • Loading branch information
tandraschko authored Jun 10, 2019
1 parent 66f9b36 commit 4fa6dd2
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 4fa6dd2

Please sign in to comment.