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

IGNITE-18302 ignite-spring-sessions: IgniteSession serialization drags its parent class. #229

Merged
merged 4 commits into from
Sep 11, 2023

Conversation

nva
Copy link
Contributor

@nva nva commented Sep 1, 2023

@nva nva requested a review from ashapkin September 1, 2023 04:43
Copy link
Contributor

@ashapkin ashapkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bugfix itself works, tested locally. Please fix Licnese and proceed with merge

Assert.notNull(indexResolver, "indexResolver cannot be null");
this.indexResolver = indexResolver;
public void setIndexResolver(IndexResolver<Session> idxResolver) {
Assert.notNull(idxResolver, "indexResolver cannot be null");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"idxResolver cannot be null'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose it's ok to have a different name for the variable and use the setter name in assert.
Same logic was used here ExpressionBasedStringQuery#renderQueryIfExpressionOrReturnQuery

@nva nva requested a review from ashapkin September 8, 2023 03:47
@nva nva merged commit d6762c1 into master Sep 11, 2023
@nva nva deleted the ignite-18302 branch September 11, 2023 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants