8329717: Missing @since tags in elements in DocumentationTool and Taglet

Reviewed-by: prappo
This commit is contained in:
Nizar Benalla 2024-04-22 20:36:43 +00:00 committed by Jonathan Gibbons
parent 0b9350e8b6
commit 83c74d7307
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -188,6 +188,8 @@ public interface DocumentationTool extends Tool, OptionChecker {
/**
* Location to search for snippets.
*
* @since 18
*/
SNIPPET_PATH;

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -96,6 +96,8 @@ public interface Taglet {
* @return true if this taglet supports block tags
* @implSpec This implementation returns the inverse
* result to {@code isInlineTag}.
*
* @since 15
*/
default boolean isBlockTag() {
return !isInlineTag();