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

Exp: CayenneExpresionVisitor - replace "constructExpression" with explicit constructor call #652

Closed
andrus opened this issue Sep 25, 2023 · 1 comment

Comments

@andrus
Copy link
Contributor

andrus commented Sep 25, 2023

(micro-optimization) In CayenneExpresionVisitor we are using "constructExpression" method where we exactly know the type of the expression to be constructed. Just use the constructor instead of reflection.

@andrus
Copy link
Contributor Author

andrus commented Sep 26, 2023

Closing. This was needed because the corresponding Cayenne expressions don't have simple public constructors

@andrus andrus closed this as completed Sep 26, 2023
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