88 * https://www.eclipse.org/legal/epl-v20.html
99 */
1010
11- package org .junit .platform .commons .support . scanning ;
11+ package org .junit .platform .commons .util ;
1212
1313import static java .util .stream .Collectors .joining ;
14- import static org .apiguardian .api .API .Status .INTERNAL ;
15- import static org .junit .platform .commons .support .scanning .ClasspathFilters .CLASS_FILE_SUFFIX ;
14+ import static org .junit .platform .commons .util .ClasspathFilters .CLASS_FILE_SUFFIX ;
1615import static org .junit .platform .commons .util .StringUtils .isNotBlank ;
1716
1817import java .io .IOException ;
3332import java .util .function .Supplier ;
3433import java .util .stream .Stream ;
3534
36- import org .apiguardian .api .API ;
3735import org .junit .platform .commons .PreconditionViolationException ;
3836import org .junit .platform .commons .function .Try ;
3937import org .junit .platform .commons .logging .Logger ;
4038import org .junit .platform .commons .logging .LoggerFactory ;
4139import org .junit .platform .commons .support .Resource ;
42- import org .junit .platform .commons .util .PackageUtils ;
43- import org .junit .platform .commons .util .Preconditions ;
44- import org .junit .platform .commons .util .UnrecoverableExceptions ;
40+ import org .junit .platform .commons .support .scanning .ClassFilter ;
41+ import org .junit .platform .commons .support .scanning .ClasspathScanner ;
4542
4643/**
4744 * <h2>DISCLAIMER</h2>
5249 *
5350 * @since 1.0
5451 */
55- @ API (status = INTERNAL , since = "1.12" )
56- public class DefaultClasspathScanner implements ClasspathScanner {
52+ class DefaultClasspathScanner implements ClasspathScanner {
5753
5854 private static final Logger logger = LoggerFactory .getLogger (DefaultClasspathScanner .class );
5955
@@ -72,7 +68,7 @@ public class DefaultClasspathScanner implements ClasspathScanner {
7268
7369 private final BiFunction <String , ClassLoader , Try <Class <?>>> loadClass ;
7470
75- public DefaultClasspathScanner (Supplier <ClassLoader > classLoaderSupplier ,
71+ DefaultClasspathScanner (Supplier <ClassLoader > classLoaderSupplier ,
7672 BiFunction <String , ClassLoader , Try <Class <?>>> loadClass ) {
7773
7874 this .classLoaderSupplier = classLoaderSupplier ;
0 commit comments