File tree Expand file tree Collapse file tree 2 files changed +1
-32
lines changed
junit-platform-commons/src/main/java/org/junit/platform/commons/util Expand file tree Collapse file tree 2 files changed +1
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 16
16
import static java .util .stream .Collectors .toSet ;
17
17
import static org .apiguardian .api .API .Status .INTERNAL ;
18
18
import static org .apiguardian .api .API .Status .STABLE ;
19
- import static org .junit .platform .commons .util .PackageNameUtils .getPackageName ;
20
19
import static org .junit .platform .commons .util .ReflectionUtils .HierarchyTraversalMode .BOTTOM_UP ;
21
20
import static org .junit .platform .commons .util .ReflectionUtils .HierarchyTraversalMode .TOP_DOWN ;
22
21
@@ -1877,7 +1876,7 @@ private static boolean isPackagePrivate(Member member) {
1877
1876
}
1878
1877
1879
1878
private static boolean declaredInSamePackage (Method m1 , Method m2 ) {
1880
- return getPackageName ( m1 .getDeclaringClass ()).equals (getPackageName ( m2 .getDeclaringClass ()));
1879
+ return m1 .getDeclaringClass (). getPackageName ( ).equals (m2 .getDeclaringClass (). getPackageName ( ));
1881
1880
}
1882
1881
1883
1882
/**
You can’t perform that action at this time.
0 commit comments