Skip to content

🟠 [BUG] StringUtils.padRight() throws StringIndexOutOfBoundsException #7

Description

@github-actions

Description

StringUtils.padRight() throws StringIndexOutOfBoundsException when the input string is longer than the target length.

Steps to Reproduce

StringUtils.padRight("long string", 5); // throws exception

Expected Behavior

Should return the original string (or truncate) when input is longer than target length.

Files Affected

  • src/main/java/com/taskflow/util/StringUtils.java (padRight method)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions