Skip to content

Commit d583ab0

Browse files
committed
Fix Javadoc errors
1 parent 2e14b3d commit d583ab0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

junit-jupiter-api/src/main/java/org/junit/jupiter/api/parallel/ResourceLocksProvider.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* <p>Each shared resource is represented by an instance of {@link Lock}.
2929
*
3030
* <p>Adding shared resources via this API has the same semantics as declaring
31-
* them declaratively via {@link ResouceLock @ResourceLock(value, mode)}, but for
31+
* them declaratively via {@link ResourceLock @ResourceLock(value, mode)}, but for
3232
* some use cases the programmatic approach may be more flexible and less verbose.
3333
*
3434
* <p>Implementations must provide a no-args constructor.
@@ -77,7 +77,7 @@ default Set<Lock> provideForClass(Class<?> testClass) {
7777
*
7878
* @param testClass a nested test class for which to add shared resources
7979
* @return a set of {@link Lock}; may be empty
80-
* @see Nested
80+
* @see org.junit.jupiter.api.Nested @Nested
8181
*/
8282
default Set<Lock> provideForNestedClass(Class<?> testClass) {
8383
return emptySet();
@@ -97,10 +97,11 @@ default Set<Lock> provideForNestedClass(Class<?> testClass) {
9797
* has the same semantics as annotating a test method
9898
* with analogous {@code @ResourceLock(value, mode)}.
9999
*
100-
* @param testClass the test class or {@code @Nested} test class that contains
101-
* the {@code testMethod}
100+
* @param testClass the test class or {@link org.junit.jupiter.api.Nested @Nested}
101+
* test class that contains the {@code testMethod}
102102
* @param testMethod a test method for which to add shared resources
103103
* @return a set of {@link Lock}; may be empty
104+
* @see org.junit.jupiter.api.Nested @Nested
104105
*/
105106
default Set<Lock> provideForMethod(Class<?> testClass, Method testMethod) {
106107
return emptySet();

0 commit comments

Comments
 (0)