[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 |
||
| 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. |