commit | 6862bac5b2c881540e8ee99020975a89cb997684 | [log] [tgz] |
---|---|---|
author | Carsten Hammer <carsten.hammer@t-online.de> | Wed Sep 25 22:04:49 2019 +0200 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Sun Oct 27 05:12:49 2019 -0400 |
tree | f329286fab97aeb4cc57d418ae3d310f0b9e6611 | |
parent | 3d0b351e0d3f340bcc26f7a651f4eebfc817b722 [diff] |
Use jdk 5 for-each loop Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. toString() on array toString() implementation for arrays does not convert array contents to String, rather it will print array's type and hash code (defined as identity hash code). To get string representation of contents of the array, the array could be for example wrapped into Arrays.asList(), as Collections produce content representation in their toString(). Change-Id: I5db7c1cb516f25cb8410278d1d687862de471c6a Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>