Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-19

Write out arrays through Arrays.toString()

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Linux
      Platform: PC

    Description

      Just a cosmetic enhancement with low priority. When a value is an array (f.e: byte[]), can you use Arrays.toString() when generating its String form? For example in toString methods.

      If value is byte[]:

      public String toString()

      { StringBuilder builder = new StringBuilder(); builder.append("SomeObject [_value="); builder.append(Arrays.toString(_value)); builder.append("]"); return builder.toString(); }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            dkutenicsova Dana Kutenicsova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: