Skip to content

Commit 1d6da4b

Browse files
committed
Mark Resource-related APIs for removal
1 parent 69184c6 commit 1d6da4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

junit-platform-engine/src/main/java/org/junit/platform/engine/discovery/ClasspathResourceSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public String getClasspathResourceName() {
103103
* @deprecated Please use {{@link #getResources()}} instead.
104104
*/
105105
@API(status = DEPRECATED, since = "6.0")
106-
@Deprecated(since = "6.0")
106+
@Deprecated(since = "6.0", forRemoval = true)
107107
@SuppressWarnings("removal")
108108
public Set<org.junit.platform.commons.support.Resource> getClasspathResources() {
109109
return getResources().stream() //

junit-platform-engine/src/main/java/org/junit/platform/engine/discovery/DiscoverySelectors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public static ClasspathResourceSelector selectClasspathResource(String classpath
366366
* @deprecated Please use {@link #selectClasspathResourceByName(Set)} instead.
367367
*/
368368
@API(status = DEPRECATED, since = "6.0")
369-
@Deprecated(since = "6.0")
369+
@Deprecated(since = "6.0", forRemoval = true)
370370
@SuppressWarnings("removal")
371371
public static ClasspathResourceSelector selectClasspathResource(
372372
Set<org.junit.platform.commons.support.Resource> classpathResources) {

0 commit comments

Comments
 (0)