File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
client/src/main/java/io/split/engine/experiments Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -75,15 +75,18 @@ private ParsedSplit parseWithoutExceptionHandling(Split split) {
7575 }
7676
7777 private boolean checkUnsupportedMatcherExist (List <io .split .client .dtos .Matcher > matchers ) {
78+ MatcherType typeCheck = null ;
7879 for (io .split .client .dtos .Matcher matcher : matchers ) {
80+ typeCheck = null ;
7981 try {
80- MatcherType typeCheck = matcher .matcherType ;
82+ typeCheck = matcher .matcherType ;
8183 } catch (NullPointerException e ) {
8284 // If the exception is caught, it means unsupported matcher
83- return true ;
85+ break ;
8486 }
8587 }
86- return false ;
88+ if (typeCheck != null ) return false ;
89+ return true ;
8790 }
8891
8992 private ParsedCondition getTemplateCondition () {
You can’t perform that action at this time.
0 commit comments