Minor documentation fixes.

This commit is contained in:
Jochen Wiedmann 2024-05-17 01:02:06 +02:00
parent 3322d97487
commit 797f9a4f5d
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ import java.lang.annotation.Target;
* This annotation is used to indicate, that a variable, field, or parameter * This annotation is used to indicate, that a variable, field, or parameter
* contains a safe value. If so, the annotated element may be used in an * contains a safe value. If so, the annotated element may be used in an
* invocation of a constructor, or method, which is annotated with * invocation of a constructor, or method, which is annotated with
* {@code @Trusted}. * {@code @Insecure}.
* *
* For example, suggest the following method declaration: * For example, suggest the following method declaration:
* <pre> * <pre>

View File

@ -30,7 +30,7 @@
* <dd>By annotating a variable with {@code @Safe}, the API user * <dd>By annotating a variable with {@code @Safe}, the API user
* declares, that the variable contains trusted input, that can be * declares, that the variable contains trusted input, that can be
* used as a parameter in an invocation of a constructor, or method, * used as a parameter in an invocation of a constructor, or method,
* that is annotated with {@code @Trusted}.</dd> * that is annotated with {@code @Insecure}.</dd>
* </dl> * </dl>
* @since 3.15 * @since 3.15
*/ */