This is an automated email from the ASF dual-hosted git repository. domgarguilo pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git
The following commit(s) were added to refs/heads/main by this push: new 73d6314 replace use of deprecated newInstance() (#151) 73d6314 is described below commit 73d63145450c445ca1fc833c4c5502a95af00fd1 Author: Dom G <47725857+domgargu...@users.noreply.github.com> AuthorDate: Fri Sep 10 15:08:52 2021 -0400 replace use of deprecated newInstance() (#151) Replaced the use of the deprecated newInstance() method with its replacement getDeclaredConstructor().newInstance() --- src/main/java/org/apache/accumulo/testing/scalability/Run.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/accumulo/testing/scalability/Run.java b/src/main/java/org/apache/accumulo/testing/scalability/Run.java index f8d8479..9284d18 100644 --- a/src/main/java/org/apache/accumulo/testing/scalability/Run.java +++ b/src/main/java/org/apache/accumulo/testing/scalability/Run.java @@ -80,7 +80,7 @@ public class Run { ScaleTest test = (ScaleTest) Class .forName(String.format("org.apache.accumulo.test.scalability.%s", opts.testId)) - .newInstance(); + .getDeclaredConstructor().newInstance(); test.init(scaleProps, testProps, opts.numTabletServers);