diff --git a/src/main/java/me/mrnavastar/sqlib/Table.java b/src/main/java/me/mrnavastar/sqlib/Table.java index 2aae944..acd9f6c 100644 --- a/src/main/java/me/mrnavastar/sqlib/Table.java +++ b/src/main/java/me/mrnavastar/sqlib/Table.java @@ -266,7 +266,7 @@ public boolean contains(int id) { /** * @return A list of all the {@link DataContainer}'s in this table */ - public ArrayList getDataContainers() { - return (ArrayList) dataContainers.values().stream().toList(); + public List getDataContainers() { + return dataContainers.values().stream().toList(); } } \ No newline at end of file