Skip to content

Commit 5d85cbe

Browse files
committed
Clarified Scope Javadoc.
1 parent 31b2bf3 commit 5d85cbe

File tree

1 file changed

+2
-2
lines changed
  • core/src/main/java/com/github/cowwoc/pouch/core

1 file changed

+2
-2
lines changed

core/src/main/java/com/github/cowwoc/pouch/core/Scope.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/**
44
* The lifespan of one or more variables.
55
* <p>
6-
* Child scopes must call {@link #addChild(Scope)} at the end of their constructor and
7-
* {@link #removeChild(Scope)} at the end of their {@link #close()} method.
6+
* Child scopes must call {@link #addChild(Scope) parent.addChild(this)} at the end of their constructor and
7+
* {@link #removeChild(Scope) parent.removeChild(this)} at the end of their {@link #close()} method.
88
*/
99
public interface Scope extends AutoCloseable
1010
{

0 commit comments

Comments
 (0)