diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-04-24 14:05:12 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-04-24 14:05:12 +0200 |
commit | b94b75c9eb37d9890655f9de4e192ac829caf86a (patch) | |
tree | ad31b73f67bedd9dd40145f65483ade33afbea02 /test/core | |
parent | 532c28ea62bcf6e1be4e45fd0a4694dfe7c1b75d (diff) | |
download | lombok-b94b75c9eb37d9890655f9de4e192ac829caf86a.tar.gz lombok-b94b75c9eb37d9890655f9de4e192ac829caf86a.tar.bz2 lombok-b94b75c9eb37d9890655f9de4e192ac829caf86a.zip |
[trivial] making a part of the test framework code not warn on default JDK11+ linter settings.
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/src/lombok/DirectoryRunner.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/src/lombok/DirectoryRunner.java b/test/core/src/lombok/DirectoryRunner.java index ea15cdb9..9410b4c7 100644 --- a/test/core/src/lombok/DirectoryRunner.java +++ b/test/core/src/lombok/DirectoryRunner.java @@ -91,7 +91,7 @@ public class DirectoryRunner extends Runner { public DirectoryRunner(Class<?> testClass) throws Exception { description = Description.createSuiteDescription(testClass); - this.params = (TestParams) testClass.newInstance(); + this.params = (TestParams) testClass.getConstructor().newInstance(); Throwable error = null; try { |