diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sandbox/common/declares/Declares.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sandbox/common/declares/Declares.java b/docs/sandbox/common/declares/Declares.java index 4f763440b..42fbcf4a2 100644 --- a/docs/sandbox/common/declares/Declares.java +++ b/docs/sandbox/common/declares/Declares.java @@ -36,7 +36,7 @@ declare error : staticinitialization(SoughtException+) && ! staticinitialization(SoughtException) && ! staticinitialization(Throwable+) : "all SoughtException must be subclasses of Throwable"; -// END-SAMPLE declares-typeConstraints Using declare to enforce type constraints +// END-SAMPLE declares-typeConstraints } // START-SAMPLE declares-exceptionSpelunking Using declare warning to find Exception-related code |