This is an automated email from the ASF dual-hosted git repository. fschumacher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jmeter.git
commit 8e7a4aac89bc83b5a6e9af8ee669e49ef038c292 Author: Felix Schumacher <[email protected]> AuthorDate: Sun Feb 21 10:50:23 2021 +0100 Make inner class static, because we can. Silence ErrorProne --- src/core/src/test/java/org/apache/jorphan/reflect/TestFunctor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/src/test/java/org/apache/jorphan/reflect/TestFunctor.java b/src/core/src/test/java/org/apache/jorphan/reflect/TestFunctor.java index 94d0a0d..83ca1fe 100644 --- a/src/core/src/test/java/org/apache/jorphan/reflect/TestFunctor.java +++ b/src/core/src/test/java/org/apache/jorphan/reflect/TestFunctor.java @@ -41,7 +41,7 @@ public class TestFunctor extends JMeterTestCase { String getString(String s); } - class Test1 implements HasName { + static class Test1 implements HasName { private final String name; public Test1(){ this(""); @@ -57,7 +57,7 @@ public class TestFunctor extends JMeterTestCase { return s; } } - class Test1a extends Test1{ + static class Test1a extends Test1{ Test1a(){ super("1a"); }
