Skip to content

org.spongepowered.configurate.ConfigurationNode#784 #244

@portlek

Description

@portlek

i guess this line is wrong. it should be String.class

default String getString(final String def) { // @cs-: NoGetSetPrefix (not a bean method)
    requireNonNull(def, "def");
    final @Nullable String value = getString();
    if (value != null) {
        return value;
    }
    if (options().shouldCopyDefaults()) {
        Scalars.STRING.serialize(/*This thing*/float.class, def, this);
    }
    return def;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions