13
0
geforkt von Mirrors/Paper

Use deserialised row keys in config tables (#7962)

Dieser Commit ist enthalten in:
froobynooby 2022-06-14 06:20:43 +09:30
Ursprung e4e33753a4
Commit 98b65200d8

Datei anzeigen

@ -2461,9 +2461,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ final BasicConfigurationNode rowKeyNode = BasicConfigurationNode.root(node.options());
+
+ for (final Object key : node.childrenMap().keySet()) {
+ rowKeySerializer.deserialize(rowType, rowKeyNode.set(key));
+ final R rowKey = rowKeySerializer.deserialize(rowType, rowKeyNode.set(key));
+ final Map<C, V> map = columnValueSerializer.deserialize(mapType, node.node(rowKeyNode.raw()));
+ map.forEach((column, value) -> table.put((R) rowKeyNode.raw(), column, value));
+ map.forEach((column, value) -> table.put(rowKey, column, value));
+ }
+ }
+