diff --git a/src/main/java/org/apache/commons/lang3/annotations/Safe.java b/src/main/java/org/apache/commons/lang3/annotations/Safe.java index 4b5212c71..c3a710cf2 100644 --- a/src/main/java/org/apache/commons/lang3/annotations/Safe.java +++ b/src/main/java/org/apache/commons/lang3/annotations/Safe.java @@ -26,7 +26,7 @@ import java.lang.annotation.Target; * 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 * invocation of a constructor, or method, which is annotated with - * {@code @Trusted}. + * {@code @Insecure}. * * For example, suggest the following method declaration: *
diff --git a/src/main/java/org/apache/commons/lang3/annotations/package-info.java b/src/main/java/org/apache/commons/lang3/annotations/package-info.java
index 43d54d606..720d61069 100644
--- a/src/main/java/org/apache/commons/lang3/annotations/package-info.java
+++ b/src/main/java/org/apache/commons/lang3/annotations/package-info.java
@@ -30,7 +30,7 @@
  *   
By annotating a variable with {@code @Safe}, the API user * declares, that the variable contains trusted input, that can be * used as a parameter in an invocation of a constructor, or method, - * that is annotated with {@code @Trusted}.
+ * that is annotated with {@code @Insecure}. * * @since 3.15 */