Skip to content

Commit

Permalink
List -> collection.
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorfromhell committed Jun 12, 2024
1 parent eb5b5c6 commit b4ff409
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/net/milkbowl/vault2/economy/Economy.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package net.milkbowl.vault2.economy;

import java.math.BigDecimal;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.UUID;
Expand Down Expand Up @@ -125,7 +126,7 @@ public interface Economy {
* @return list of currencies used by the economy plugin. These are able to be used
* in the calls in the methods of the API.
*/
List<String> currencies();
Collection<String> currencies();

/*
* Account-related methods follow.
Expand Down Expand Up @@ -550,5 +551,5 @@ public interface Economy {
*
* @return the List of Banks' UUIDs.
*/
List<UUID> getBanks();
Collection<UUID> getBanks();
}

0 comments on commit b4ff409

Please sign in to comment.