gerrit/gerrit-launcher
David Ostrovsky 2634933198 GerritLauncher: Fix ClassNewInstance warning flagged by error prone
The following warning is issued on the base version by error prone:

warning: [ClassNewInstance] Class.newInstance() bypasses exception
checking; prefer getConstructor().newInstance()
        res = main.invoke(clazz.newInstance(), new Object[] {argv});
                                           ^
    (see http://errorprone.info/bugpattern/ClassNewInstance)
  Did you mean 'res = main.invoke(clazz.getConstructor().newInstance(),
new Object[] {argv});'?

Change-Id: I669f2c58ef60257d1b10dca294cc14d5c60e6171
2017-02-20 08:58:12 +00:00
..
src/main/java/com/google/gerrit/launcher GerritLauncher: Fix ClassNewInstance warning flagged by error prone 2017-02-20 08:58:12 +00:00
BUILD Bazel: Reformat build files 2016-12-07 11:33:07 +00:00