diff --git a/org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfigurationConstants.java b/org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfigurationConstants.java index d45248e367e..2d3e55b20ea 100644 --- a/org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfigurationConstants.java +++ b/org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchConfigurationConstants.java @@ -57,8 +57,9 @@ public class JUnitLaunchConfigurationConstants { public static final String ATTR_TEST_NAME= JUnitCorePlugin.PLUGIN_ID + ".TESTNAME"; //$NON-NLS-1$ /** - * @Deprecated use {@link #ATTR_TEST_NAME} + * @deprecated use {@link #ATTR_TEST_NAME} **/ + @Deprecated(forRemoval= true, since= "2024-03" ) public static final String ATTR_TEST_METHOD_NAME= ATTR_TEST_NAME; public static final String ATTR_KEEPRUNNING = JUnitCorePlugin.PLUGIN_ID+ ".KEEPRUNNING_ATTR"; //$NON-NLS-1$ diff --git a/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/Resources.java b/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/Resources.java index 26ed0e0eb2b..166a569abb9 100644 --- a/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/Resources.java +++ b/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/Resources.java @@ -73,7 +73,7 @@ public static IStatus checkInSync(IResource[] resources) { /** * Makes the given resource committable. Committable means that it is * writeable and that its content hasn't changed by calling - * validateEdit for the given resource on IWorkspace. + * validateEdit for the given resource on IWorkspace. * * @param resource the resource to be checked * @param context the context passed to validateEdit @@ -91,7 +91,7 @@ public static IStatus makeCommittable(IResource resource, Object context) { * Makes the given resources committable. Committable means that all * resources are writeable and that the content of the resources hasn't * changed by calling validateEdit for a given file on - * IWorkspace. + * IWorkspace. * * @param resources the resources to be checked * @param context the context passed to validateEdit