Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for static variables in Check DSL #257

Open
rursprung opened this issue Sep 5, 2019 · 0 comments
Open

add support for static variables in Check DSL #257

rursprung opened this issue Sep 5, 2019 · 0 comments

Comments

@rursprung
Copy link
Contributor

the Check DSL currently does not allow defining static variables. support for this should be added to improve the performance (e.g. a java.util.regex.Pattern should be compiled only once rather than for each check execution).

a workaround exists: the static variable can be defined in a separate java helper class and then be referenced from within the Check DSL. however, this is an overkill if no such helper class exists yet and that static variable would be its only content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant