Skip to content

Empty comments #603

Open
Open
@Dahaka934

Description

@Dahaka934

Why do you use a final private static default comment?

final private static ConfigOrigin defaultValueOrigin = SimpleConfigOrigin
            .newSimple("hardcoded value");

Maybe you add possibility to set default comment in ConfigRenderOptions, for example?

Also, if I use ConfigValueFactory.fromAnyRef(obj, "") then generated empty comment with '#'.

#
value=1

Maybe in the case of empty lines do not need to generate a comment?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions