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

Fix conversion #13

Merged
merged 2 commits into from
Sep 2, 2024
Merged

Fix conversion #13

merged 2 commits into from
Sep 2, 2024

Conversation

NonSwag
Copy link
Member

@NonSwag NonSwag commented Sep 2, 2024

No description provided.

Eliminated IllegalStateException from the method signatures of createAccount variants in EconomyController. This simplifies the method interface and assumes the calling code handles the exception appropriately.
Synchronize account retrieval with optional creation using CompletableFuture. This ensures that the account is checked and created only if necessary, streamlining the convert method's execution path.
@NonSwag NonSwag merged commit e1c7833 into main Sep 2, 2024
2 checks passed
@NonSwag NonSwag deleted the fix-conversion branch September 2, 2024 13:54
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.

1 participant