Skip to content

Commit f72b86f

Browse files
Changing @deprecated to @GcpLaunchStage.Deprecated
1 parent 4b5535f commit f72b86f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

google-cloud-datastore/src/main/java/com/google/cloud/datastore/Value.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import static com.google.common.base.Preconditions.checkNotNull;
2020

21+
import com.google.cloud.GcpLaunchStage;
2122
import com.google.common.base.MoreObjects;
2223
import com.google.datastore.v1.Value.ValueTypeCase;
2324

@@ -111,13 +112,13 @@ public B setExcludeFromIndexes(boolean excludeFromIndexes) {
111112
return self();
112113
}
113114

114-
@Deprecated
115+
@GcpLaunchStage.Deprecated
115116
@Override
116117
public int getMeaning() {
117118
return meaning;
118119
}
119120

120-
@Deprecated
121+
@GcpLaunchStage.Deprecated
121122
@Override
122123
public B setMeaning(int meaning) {
123124
this.meaning = meaning;
@@ -166,7 +167,7 @@ public final boolean excludeFromIndexes() {
166167
return excludeFromIndexes;
167168
}
168169

169-
@Deprecated
170+
@GcpLaunchStage.Deprecated
170171
final int getMeaning() {
171172
return meaning;
172173
}

google-cloud-datastore/src/main/java/com/google/cloud/datastore/ValueBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
package com.google.cloud.datastore;
1818

19+
import com.google.cloud.GcpLaunchStage;
20+
1921
/**
2022
* A common interface for Value builders.
2123
*
@@ -36,13 +38,13 @@ public interface ValueBuilder<V, P extends Value<V>, B extends ValueBuilder<V, P
3638
/**
3739
* Deprecated. This library preserves the field for backwards compatibility.
3840
*/
39-
@Deprecated
41+
@GcpLaunchStage.Deprecated
4042
int getMeaning();
4143

4244
/**
4345
* Deprecated. This library preserves the field for backwards compatibility.
4446
*/
45-
@Deprecated
47+
@GcpLaunchStage.Deprecated
4648
B setMeaning(int meaning);
4749

4850
V get();

0 commit comments

Comments
 (0)