mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 14:17:56 +00:00
fix[storage]: Fix record class generation protocol error.
This commit is contained in:
1 parent
91a60a8fa8
commit
41bfac323e
4 files changed
+12
-7
No files matched your search
@@ -86,7 +86,7 @@ public class StorageInt<K, V> extends StorageObject<K, V> {
|
||||
|
||||
@Override
|
||||
public Collection<V> getAll() {
|
||||
return dataMap.values().stream().collect(Collectors.toUnmodifiableList());
|
||||
return dataMap.values().stream().toList();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -86,7 +86,7 @@ public class StorageLong<K, V> extends StorageObject<K, V> {
|
||||
|
||||
@Override
|
||||
public Collection<V> getAll() {
|
||||
return dataMap.values().stream().collect(Collectors.toUnmodifiableList());
|
||||
return dataMap.values().stream().toList();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -145,7 +145,7 @@ public class StorageObject<K, V> implements IStorage<K, V> {
|
||||
@Override
|
||||
public List<V> getList() {
|
||||
Collection<V> all = getAll();
|
||||
return all.stream().collect(Collectors.toUnmodifiableList());
|
||||
return all.stream().toList();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user