Skip to content

Commit

Permalink
Mention that ResourceLocksProvider must have a no-args constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirDmitrienko committed Sep 27, 2024
1 parent c8d26ef commit 9383c39
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
* but for some cases may be a more flexible and less verbose alternative
* since it allows to add resources programmatically.
*
* <p>Implementations must provide a no-args constructor.
*
* @since 5.12
* @see ResourceLock#providers()
* @see Resources
Expand Down Expand Up @@ -74,7 +76,7 @@ default Set<Lock> provideForClass(Class<?> testClass) {
*
* @param testClass a nested test class to add shared resources
* @return a set of {@link Lock}; may be empty
* @see Nested
* @see Nested
*/
default Set<Lock> provideForNestedClass(Class<?> testClass) {
return emptySet();
Expand Down

0 comments on commit 9383c39

Please sign in to comment.