aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/src/main/java/io/opencensus/tags/Tags.java2
-rw-r--r--api/src/main/java/io/opencensus/tags/TagsComponent.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/api/src/main/java/io/opencensus/tags/Tags.java b/api/src/main/java/io/opencensus/tags/Tags.java
index 8772e8ec..593312ae 100644
--- a/api/src/main/java/io/opencensus/tags/Tags.java
+++ b/api/src/main/java/io/opencensus/tags/Tags.java
@@ -74,7 +74,7 @@ public final class Tags {
* @deprecated This method is deprecated because other libraries could cache the result of {@link
* #getState()}, use a stale value, and behave incorrectly. It is only safe to call early in
* initialization. This method throws {@link IllegalStateException} after {@link #getState()}
- * has been called, in order to prevent the result of {@code getState()} from changing.
+ * has been called, in order to limit changes to the result of {@code getState()}.
*/
@Deprecated
public static void setState(TaggingState state) {
diff --git a/api/src/main/java/io/opencensus/tags/TagsComponent.java b/api/src/main/java/io/opencensus/tags/TagsComponent.java
index 076fe48d..b0965077 100644
--- a/api/src/main/java/io/opencensus/tags/TagsComponent.java
+++ b/api/src/main/java/io/opencensus/tags/TagsComponent.java
@@ -54,7 +54,7 @@ public abstract class TagsComponent {
* @deprecated This method is deprecated because other libraries could cache the result of {@link
* #getState()}, use a stale value, and behave incorrectly. It is only safe to call early in
* initialization. This method throws {@link IllegalStateException} after {@code getState()}
- * has been called, in order to prevent the result of {@code getState()} from changing.
+ * has been called, in order to limit changes to the result of {@code getState()}.
*/
@Deprecated
public abstract void setState(TaggingState state);