mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-26 02:19:48 -05:00
Apply IDE suggestions
Former-commit-id: eaecea5ac17917f4e10d22a8bba1640338e67ac4
This commit is contained in:
1 parent
020ef861d1
commit
f3ebced4cd
6 files changed
+9
-17
No files matched your search
@@ -36,8 +36,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
public class EconomyTransactionTest {
|
||||
|
||||
|
||||
static EconomyCore economy = new TestEconomy();
|
||||
static UUID taxAccount = UUID.randomUUID();
|
||||
static final EconomyCore economy = new TestEconomy();
|
||||
static final UUID taxAccount = UUID.randomUUID();
|
||||
|
||||
static {
|
||||
economy.getBalance(taxAccount);
|
||||
@@ -106,7 +106,7 @@ public class EconomyTransactionTest {
|
||||
|
||||
static class TestEconomy implements EconomyCore {
|
||||
|
||||
Map<UUID, Double> playerBalanceMap = new HashMap<>(10);
|
||||
final Map<UUID, Double> playerBalanceMap = new HashMap<>(10);
|
||||
|
||||
private Double getOrCreateAccount(UUID uuid) {
|
||||
if (!playerBalanceMap.containsKey(uuid)) {
|
||||
|
||||
Reference in new issue
Block a user