@@ -774,31 +774,15 @@ public static Try<Class<?>> tryToLoadClass(String name, ClassLoader classLoader)
774
774
}
775
775
776
776
/**
777
- * Try to get {@linkplain Resource resources} by their name, using the
778
- * {@link ClassLoaderUtils#getDefaultClassLoader()}.
779
- *
780
- * <p>See {@link org.junit.platform.commons.support.ReflectionSupport#tryToGetResources(String)}
781
- * for details.
782
- *
783
- * @param classpathResourceName the name of the resources to load; never {@code null} or blank
784
- * @since 1.12
785
- * @see org.junit.platform.commons.support.ReflectionSupport#tryToGetResources(String, ClassLoader)
777
+ * @see org.junit.platform.commons.support.ReflectionSupport#tryToGetResources(String)
786
778
*/
787
779
@ API (status = INTERNAL , since = "1.12" )
788
780
public static Try <Set <Resource >> tryToGetResources (String classpathResourceName ) {
789
781
return tryToGetResources (classpathResourceName , ClassLoaderUtils .getDefaultClassLoader ());
790
782
}
791
783
792
784
/**
793
- * Try to get {@linkplain Resource resources} by their name, using the
794
- * supplied {@link ClassLoader}.
795
- *
796
- * <p>See {@link org.junit.platform.commons.support.ReflectionSupport#tryToGetResources(String, ClassLoader)}
797
- * for details.
798
- *
799
- * @param classpathResourceName the name of the resources to load; never {@code null} or blank
800
- * @param classLoader the {@code ClassLoader} to use; never {@code null}
801
- * @since 1.12
785
+ * @see org.junit.platform.commons.support.ReflectionSupport#tryToGetResources(String, ClassLoader)
802
786
*/
803
787
@ API (status = INTERNAL , since = "1.12" )
804
788
public static Try <Set <Resource >> tryToGetResources (String classpathResourceName , ClassLoader classLoader ) {
0 commit comments