Skip to content

Error in Expressions.PathStyleExpression#getValue #2278

@lijinliangyihao

Description

@lijinliangyihao

Expressions.PathStyleExpression#getValue:

@Override
public String getValue() {
    if (this.getPattern() != null) {
        // this line
        return "{" + this.separator + this.getName() + ":" + this.getName() + "}";
    }
    return "{" + this.separator + this.getName() + "}";
}

Maybe the intentions is:

return "{" + this.separator + this.getName() + ":" + this.getPattern() + "}";

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected or incorrect behaviorgood first issueIssues that are good for first time contributors to tackle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions