fix code coverage complaints of IntelliJ:
  * use native Arrays.asList instead of manual iterator