Skip to content

Conversation

@vipinpanwar
Copy link

No description provided.

store.get().close();
store = Optional.empty();
}
if (store == null && server != null) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

store == null -> store.isPresent()?

Copy link
Author

Choose a reason for hiding this comment

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

Hey,
In the below line(119) I have done this, changed store == null to store.isPresent() and created a new SnitchesStore object and put that in optional, is there anything which I am missing here, please let me know.
Thanks

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should it not be store.isEmpty()?

Copy link
Author

Choose a reason for hiding this comment

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

you are correct, my bad, I have corrected it and pushed the code.

@awoo-civ
Copy link
Collaborator

I just wanna let you know that while this looks good to me, I'd like to test it before approving. Unfortunately though I don't play much these days, hence the delay.

@vipinpanwar
Copy link
Author

I just wanna let you know that while this looks good to me, I'd like to test it before approving. Unfortunately though I don't play much these days, hence the delay.

no worries, thanks for the reply.

@Gjum
Copy link
Owner

Gjum commented Nov 26, 2025

@awoo-civ any update?

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

Successfully merging this pull request may close these issues.

3 participants