Skip to content

Commit

Permalink
Clarified Scope Javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
cowwoc committed Dec 30, 2024
1 parent 31b2bf3 commit 8e3c50d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/com/github/cowwoc/pouch/core/Scope.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* The lifespan of one or more variables.
* <p>
* Child scopes must call {@link #addChild(Scope)} at the end of their constructor and
* {@link #removeChild(Scope)} at the end of their {@link #close()} method.
* Child scopes must call {@link #addChild(Scope) addChild(this)} at the end of their constructor and
* {@link #removeChild(Scope) removeChild(this)} at the end of their {@link #close()} method.
*/
public interface Scope extends AutoCloseable
{
Expand Down

0 comments on commit 8e3c50d

Please sign in to comment.