Skip to content

[BUG] Unnecessary String.format() could be replaced with a simple concatenation #193

@lestephane

Description

@lestephane
    public ExceptionTracker stepIntoArray(final int index) {
        return this.stepInto(format("[%d]", index));
    }

could be

    public ExceptionTracker stepIntoArray(final int index) {
        return this.stepInto("[" + index + "]");
    }

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions