Skip to content

Warn against toString() on an array #65

Closed
@cushon

Description

@cushon

Original issue created by [email protected] on 2012-12-10 at 09:15 PM


Much like an Array's equals() method is warned against, so too should Array's toString() method. The resolution is also similar: use java.util.Arrays.toString(array).

I've attached a patch adding the check based on the ArrayEquals check.

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