diff --git a/core/src/main/java/com/github/cowwoc/pouch/core/Scope.java b/core/src/main/java/com/github/cowwoc/pouch/core/Scope.java index cd2ad60..a9e3d9b 100644 --- a/core/src/main/java/com/github/cowwoc/pouch/core/Scope.java +++ b/core/src/main/java/com/github/cowwoc/pouch/core/Scope.java @@ -3,8 +3,8 @@ /** * The lifespan of one or more variables. *
- * 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 {