Skip to content

Commit 9460ab4

Browse files
author
Alex Klymenko
committed
refactoring: redundant accessing to methods has been removed
1 parent 20d2c5b commit 9460ab4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/java/com/thealgorithms/sorts/FlashSortTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ private List<TestMethod> getTestMethodsFromSuperClass() {
7575
if (method.isAnnotationPresent(Test.class)) {
7676
testMethods.add(new TestMethod(() -> {
7777
try {
78-
method.setAccessible(true);
7978
method.invoke(this);
8079
} catch (Exception e) {
8180
throw new RuntimeException(e);

0 commit comments

Comments
 (0)