8000 Remove beta tags for DataStores · bulejava/google-http-java-client@5ba978a · GitHub
[go: up one dir, main page]

Skip to content

Commit 5ba978a

Browse files
committed
Remove beta tags for DataStores
1 parent f2f885d commit 5ba978a

File tree

15 files changed

+0
-141
lines changed

15 files changed

+0
-141
lines changed

findbugs-exclude.xml

Lines changed: 0 additions & 86 deletions
This file was deleted.

google-http-client-appengine/src/main/java/com/google/api/client/extensions/appengine/datastore/AppEngineDataStoreFactory.java

Lines changed: 0 additions & 7 deletions
67F4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
package com.google.api.client.extensions.appengine.datastore;
1616

17-
import com.google.api.client.util.Beta;
1817
import com.google.api.client.util.IOUtils;
1918
import com.google.api.client.util.Lists;
2019
import com.google.api.client.util.Maps;
@@ -48,7 +47,6 @@
4847
import java.util.concurrent.locks.ReentrantLock;
4948

5049
/**
51-
* {@link Beta} <br/>
5250
* Thread-safe Google App Engine implementation of a data store factory that directly uses the App
5351
* Engine Data Store API.
5452
*
@@ -68,7 +66,6 @@
6866
* @since 1.16
6967
* @author Yaniv Inbar
7068
*/
71-
@Beta
7269
public class AppEngineDataStoreFactory extends AbstractDataStoreFactory {
7370

7471
/** Whether to disable the memcache (which is enabled by default). */
@@ -108,12 +105,10 @@ public static AppEngineDataStoreFactory getDefaultInstance() {
108105
}
109106

110107
/** Holder for the result of {@link #getDefaultInstance()}. */
111-
@Beta
112108
static class InstanceHolder {
113109
static final AppEngineDataStoreFactory INSTANCE = new AppEngineDataStoreFactory();
114110
}
115111

116-
@Beta
117112
static class AppEngineDataStore<V extends Serializable> extends AbstractDataStore<V> {
118113

119114
/** Lock on access to the store. */
@@ -299,7 +294,6 @@ private Iterable<Entity> query(boolean keysOnly) {
299294
}
300295

301296
/**
302-
* {@link Beta} <br/>
303297
* App Engine data store factory builder.
304298
*
305299
* <p>
@@ -308,7 +302,6 @@ private Iterable<Entity> query(boolean keysOnly) {
308302
*
309303
* @since 1.16
310304
*/
311-
@Beta
312305
public static class Builder {
313306

314307
/** Whether to disable the memcache. */

google-http-client-appengine/src/main/java/com/google/api/client/extensions/appengine/datastore/package-info.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
1313
*/
1414

1515
/**
16-
* {@link com.google.api.client.util.Beta} <br/>
1716
* Support for the App Engine data store.
1817
*
1918
* @since 1.15
2019
* @author Yaniv Inbar
2120
*/
22-
@com.google.api.client.util.Beta
2321
package com.google.api.client.extensions.appengine.datastore;
2422

google-http-client-jdo/src/main/java/com/google/api/client/extensions/jdo/JdoDataStoreFactory.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
package com.google.api.client.extensions.jdo;
1616

1717
import com.google.api.client.extensions.jdo.JdoDataStoreFactory.PrivateUtils.ComposedIdKey;
18-
import com.google.api.client.util.Beta;
1918
import com.google.api.client.util.IOUtils;
2019
import com.google.api.client.util.Lists;
2120
import com.google.api.client.util.Preconditions;
@@ -43,13 +42,11 @@
4342
import javax.jdo.annotations.PrimaryKey;
4443

4544
/**
46-
* {@link Beta} <br/>
4745
* Thread-safe JDO implementation of a data store factory.
4846
*
4947
* @since 1.16
5048
* @author Yaniv Inbar
5149
*/
52-
@Beta
5350
public class JdoDataStoreFactory extends AbstractDataStoreFactory {
5451

5552
/** Persistence manager factory. */
@@ -64,7 +61,6 @@ protected <V extends Serializable> DataStore<V> createDataStore(String id) throw
6461
return new JdoDataStore<V>(this, persistenceManagerFactory, id);
6562
}
6663

67-
@Beta
6864
static class JdoDataStore<V extends Serializable> extends AbstractDataStore<V> {
6965

7066
/** Lock on storing, loading and deleting a credential. */
@@ -286,7 +282,6 @@ JdoValue executeKeyQuery(Query keyQuery, String key) {
286282
/**
287283
* JDO value class that contains the key-value pair, as well as the data store ID.
288284
*/
289-
@Beta
290285
@PersistenceCapable(objectIdClass = ComposedIdKey.class)
291286
static class JdoValue {
292287

google-http-client-jdo/src/main/java/com/google/api/client/extensions/jdo/package-info.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
1313
*/
1414

1515
/**
16-
* {@link com.google.api.client.util.Beta} <br/>
1716
* Support for the JDO data store.
1817
*
1918
* @since 1.15
2019
* @author Yaniv Inbar
2120
*/
22-
@com.google.api.client.util.Beta
2321
package com.google.api.client.extensions.jdo;
2422

google-http-client/src/main/java/com/google/api/client/util/IOUtils.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,28 +118,24 @@ public static long computeLength(StreamingContent content) throws IOException {
118118
}
119119

120120
/**
121-
* {@link Beta} <br/>
122121
* Serializes the given object value to a newly allocated byte array.
123122
*
124123
* @param value object value to serialize
125124
* @since 1.16
126125
*/
127-
@Beta
128126
public static byte[] serialize(Object value) throws IOException {
129127
ByteArrayOutputStream out = new ByteArrayOutputStream();
130128
serialize(value, out);
131129
return out.toByteArray();
132130
}
133131

134132
/**
135-
* {@link Beta} <br/>
136133
* Serializes the given object value to an output stream, and close the output stream.
137134
*
138135
* @param value object value to serialize
139136
* @param outputStream output stream to serialize into
140137
* @since 1.16
141138
*/
142-
@Beta
143139
public static void serialize(Object value, OutputStream outputStream) throws IOException {
144140
try {
145141
new ObjectOutputStream(outputStream).writeObject(value);
@@ -149,14 +145,12 @@ public static void serialize(Object value, OutputStream outputStream) throws IOE
149145
}
150146

151147
/**
152-
* {@link Beta} <br/>
153148
* Deserializes the given byte array into to a newly allocated object.
154149
*
155150
* @param bytes byte array to deserialize or {@code null} for {@code null} result
156151
* @return new allocated object or {@code null} for {@code null} input
157152
* @since 1.16
158153
*/
159-
@Beta
160154
public static <S extends Serializable> S deserialize(byte[] bytes) throws IOException {
161155
if (bytes == null) {
162156
return null;
@@ -165,14 +159,12 @@ public static <S extends Serializable> S deserialize(byte[] bytes) throws IOExce
165159
}
166160

167161
/**
168-
* {@link Beta} <br/>
169162
* Deserializes the given input stream into to a newly allocated object, and close the input
170163
* stream.
171164
*
172165
* @param inputStream input stream to deserialize
173166
* @since 1.16
174167
*/
175-
@Beta
176168
@SuppressWarnings("unchecked")
177169
public static <S extends Serializable> S deserialize(InputStream inputStream) throws IOException {
178170
try {
@@ -187,12 +179,10 @@ public static <S extends Serializable> S deserialize(InputStream inputStream) th
187179
}
188180

189181
/**
190-
* {@link Beta} <br/>
191182
* Returns whether the given file is a symbolic link.
192183
*
193184
* @since 1.16
194185
*/
195-
@Beta
196186
public static boolean isSymbolicLink(File file) throws IOException {
197187
// first try using Java 7
198188
try {

google-http-client/src/main/java/com/google/api/client/util/store/AbstractDataStore.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
package com.google.api.client.util.store;
1616

17-
import com.google.api.client.util.Beta;
1817
import com.google.api.client.util.Preconditions;
1918

2019
import java.io.IOException;
@@ -23,15 +22,13 @@
2322
import java.util.Set;
2423

2524
/**
26-
* {@link Beta} <br/>
2725
* Abstract data store implementation.
2826
*
2927
* @param <V> serializable type of the mapped value
3028
*
3129
* @author Yaniv Inbar
3230
* @since 1.16
3331
*/
34-
@Beta
3532
public abstract class AbstractDataStore<V extends Serializable> implements DataStore<V> {
3633

3734
/** Data store factory. */

google-http-client/src/main/java/com/google/api/client/util/store/AbstractDataStoreFactory.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
package com.google.api.client.util.store;
1616

17-
import com.google.api.client.util.Beta;
1817
import com.google.api.client.util.Maps;
1918
import com.google.api.client.util.Preconditions;
2019

@@ -26,13 +25,11 @@
2625
import java.util.regex.Pattern;
2726

2827
/**
29-
* {@link Beta} <br/>
3028
* Abstract data store factory implementation.
3129
*
3230
* @author Yaniv Inbar
3331
* @since 1.16
3432
*/
35-
@Beta
3633
public abstract class AbstractDataStoreFactory implements DataStoreFactory {
3734

3835
/** Lock on access to the data store map. */

google-http-client/src/main/java/com/google/api/client/util/store/AbstractMemoryDataStore.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
package com.google.api.client.util.store;
1616

17-
import com.google.api.client.util.Beta;
1817
import com.google.api.client.util.IOUtils;
1918
import com.google.api.client.util.Lists;
2019
import com.google.api.client.util.Maps;
@@ -32,14 +31,12 @@
3231
import java.util.concurrent.locks.ReentrantLock;
3332

3433
/**
35-
* {@link Beta} <br/>
3634
* Abstract, thread-safe, in-memory implementation of a data store factory.
3735
*
3836
* @param <V> serializable type of the mapped value
3937
*
4038
* @author Yaniv Inbar
4139
*/
42-
@Beta
4340
class AbstractMemoryDataStore<V extends Serializable> extends AbstractDataStore<V> {
4441

4542
/** Lock on access to the store. */

google-http-client/src/main/java/com/google/api/client/util/store/DataStore.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@
1414

1515
package com.google.api.client.util.store;
1616

17-
import com.google.api.client.util.Beta;
1817

1918
import java.io.IOException;
2019
import java.io.Serializable;
2120
import java.util.Collection;
2221
import java.util.Set;
2322

2423
/**
25-
* {@link Beta} <br/>
2624
* Stores and manages serializable data of a specific type, where the key is a string and the value
2725
* is a {@link Serializable} object.
2826
*
@@ -35,7 +33,6 @@
3533
* @author Yaniv Inbar
3634
* @since 1.16
3735
*/
38-
@Beta
3936
public interface DataStore<V extends Serializable> {
4037

4138
/** Returns the data store factory. */

google-http-client/src/main/java/com/google/api/client/util/store/DataStoreFactory.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414

1515
package com.google.api.client.util.store;
1616

17-
import com.google.api.client.util.Beta;
1817

1918
import java.io.IOException;
2019
import java.io.Serializable;
2120

2221
/**
23-
* {@link Beta} <br/>
2422
* Factory for a store that manages serializable data, where the key is a string and the value is a
2523
* {@link Serializable} object.
2624
*
@@ -43,7 +41,6 @@
4341
* @author Yaniv Inbar
4442
* @since 1.16
4543
*/
46-
@Beta
4744
public interface DataStoreFactory {
4845

4946
/**

0 commit comments

Comments
 (0)
0