1
mirror of https://github.com/CarmJos/EasyConfiguration.git synced 2026-06-04 10:38:19 +08:00

chore: Fixed the param errors.

This commit is contained in:
2025-03-17 01:39:08 +08:00
parent 82cca5eca2
commit dbec551c84
3 changed files with 8 additions and 7 deletions
@@ -75,10 +75,10 @@ public class SQLSource extends ConfigureSource<SourcedSection, Map<String, Objec
List<Object[]> dataValues = new ArrayList<>();
SourcedSection section = section();
Map<String, ConfigValue<?>> values = holder().registeredValues();
for (Map.Entry<String, ConfigValue<?>> entry : values.entrySet()) {
Map<String, ConfigValue<?, ?>> values = holder().registeredValues();
for (Map.Entry<String, ConfigValue<?, ?>> entry : values.entrySet()) {
@NotNull String path = entry.getKey();
@NotNull ConfigValue<?> config = entry.getValue();
@NotNull ConfigValue<?, ?> config = entry.getValue();
@Nullable Object value = section.get(path);
if (value instanceof SourcedSection) {