RFR: Replaced hardcoded String[] args, by varargs String... where reasonable

Jiří Vaněk jvanek at openjdk.org
Mon Jun 27 10:51:29 UTC 2022


Replaced hardcoded String[] args, by varargs String... where reasonable
    
    Once the "tool" mandatory array memebr was removed from each tool's main
    method, and considering calls from libraries, and form tests where the
    argument is very often just one file, or more readable "a1", a2"...
    without new String[]{} declaration, changed those String[] enforcing
    headers to more benevolent String...

-------------

Commit messages:
 - Replaced hardcoded String[] args, by varargs String... where reasonable

Changes: https://git.openjdk.org/asmtools/pull/25/files
 Webrev: https://webrevs.openjdk.org/?repo=asmtools&pr=25&range=00
  Stats: 33 lines in 9 files changed: 0 ins; 0 del; 33 mod
  Patch: https://git.openjdk.org/asmtools/pull/25.diff
  Fetch: git fetch https://git.openjdk.org/asmtools pull/25/head:pull/25

PR: https://git.openjdk.org/asmtools/pull/25


More information about the asmtools-dev mailing list