Skip to content

Commit 83c74d7

Browse files
nizarbenallajonathan-gibbons
authored andcommitted
8329717: Missing @since tags in elements in DocumentationTool and Taglet
Reviewed-by: prappo
1 parent 0b9350e commit 83c74d7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/java.compiler/share/classes/javax/tools/DocumentationTool.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -188,6 +188,8 @@ enum Location implements JavaFileManager.Location {
188188

189189
/**
190190
* Location to search for snippets.
191+
*
192+
* @since 18
191193
*/
192194
SNIPPET_PATH;
193195

src/jdk.javadoc/share/classes/jdk/javadoc/doclet/Taglet.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2001, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -96,6 +96,8 @@ public interface Taglet {
9696
* @return true if this taglet supports block tags
9797
* @implSpec This implementation returns the inverse
9898
* result to {@code isInlineTag}.
99+
*
100+
* @since 15
99101
*/
100102
default boolean isBlockTag() {
101103
return !isInlineTag();

0 commit comments

Comments
 (0)