[YANGTOOLS-19] Write out arrays through Arrays.toString() Created: 24/Sep/13  Updated: 10/Apr/22  Resolved: 26/Sep/13

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Dana Kutenicsova Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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(); }

 Comments   
Comment by Martin Vitez [ 26/Sep/13 ]

Implemented in version 0.5.8-SNAPSHOT.

Generated at Wed Feb 07 20:52:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.