Skip to content

Commit

Permalink
fix crash when calling getDataContainers()
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNavaStar committed Nov 16, 2023
1 parent 080c556 commit d1a7d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/mrnavastar/sqlib/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public boolean contains(int id) {
/**
* @return A list of all the {@link DataContainer}'s in this table
*/
public ArrayList<DataContainer> getDataContainers() {
return (ArrayList<DataContainer>) dataContainers.values().stream().toList();
public List<DataContainer> getDataContainers() {
return dataContainers.values().stream().toList();
}
}

0 comments on commit d1a7d84

Please sign in to comment.