Skip to content

Commit

Permalink
orCreateAccount -> accountOrCreate
Browse files Browse the repository at this point in the history
This is for parity with the scorboard scoreOrCreate
  • Loading branch information
dualspiral committed Mar 22, 2021
1 parent e5717ac commit aee5e7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public interface EconomyService extends ContextualService<Account> {
* @param uuid The {@link UUID} of the account to get.
* @return The {@link UniqueAccount}, if available.
*/
Optional<UniqueAccount> orCreateAccount(UUID uuid);
Optional<UniqueAccount> accountOrCreate(UUID uuid);

/**
* Gets the {@link VirtualAccount} with the specified identifier.
Expand All @@ -108,7 +108,7 @@ public interface EconomyService extends ContextualService<Account> {
* @param identifier The identifier of the account to get.
* @return The {@link Account}, if available.
*/
Optional<Account> orCreateAccount(String identifier);
Optional<Account> accountOrCreate(String identifier);

/**
* Gets a {@link Stream} of all available {@link UniqueAccount}s.
Expand Down

0 comments on commit aee5e7c

Please sign in to comment.