You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great addition. We just started using this in our project and the error descriptions thrown out for each bug is very informative and much appreciated.
I have a small issue to report:
private static final Predicate<String> predicateString = Pattern.compile("test").asPredicate() throws NON_STATIC_PATTERN_COMPILE_CALL even though logically the pattern is compiled once.
The workaround we used was to create a redundant static Pattern object and then use that to create another static predicate.
private static final Pattern patternString = Pattern.compile("test");
private static final Predicate<String> predicateString = patternString.asPredicate();
The text was updated successfully, but these errors were encountered:
Great addition. We just started using this in our project and the error descriptions thrown out for each bug is very informative and much appreciated.
I have a small issue to report:
private static final Predicate<String> predicateString = Pattern.compile("test").asPredicate()
throwsNON_STATIC_PATTERN_COMPILE_CALL
even though logically the pattern is compiled once.The workaround we used was to create a redundant static
Pattern
object and then use that to create another static predicate.The text was updated successfully, but these errors were encountered: