17
17
import static com .google .common .base .Preconditions .checkNotNull ;
18
18
import static com .google .common .base .Preconditions .checkPositionIndexes ;
19
19
20
- import com .google .common .annotations .Beta ;
21
20
import com .google .common .annotations .GwtIncompatible ;
22
21
import com .google .common .annotations .J2ktIncompatible ;
23
22
import com .google .errorprone .annotations .CanIgnoreReturnValue ;
@@ -195,7 +194,6 @@ private static StringBuilder toStringBuilder(Readable r) throws IOException {
195
194
* @return a mutable {@link List} containing all the lines
196
195
* @throws IOException if an I/O error occurs
197
196
*/
198
- @ Beta
199
197
public static List <String > readLines (Readable r ) throws IOException {
200
198
List <String > result = new ArrayList <>();
201
199
LineReader lineReader = new LineReader (r );
@@ -215,7 +213,6 @@ public static List<String> readLines(Readable r) throws IOException {
215
213
* @throws IOException if an I/O error occurs
216
214
* @since 14.0
217
215
*/
218
- @ Beta
219
216
@ CanIgnoreReturnValue // some processors won't return a useful result
220
217
@ ParametricNullness
221
218
public static <T extends @ Nullable Object > T readLines (
@@ -239,7 +236,6 @@ public static List<String> readLines(Readable r) throws IOException {
239
236
*
240
237
* @since 20.0
241
238
*/
242
- @ Beta
243
239
@ CanIgnoreReturnValue
244
240
public static long exhaust (Readable readable ) throws IOException {
245
241
long total = 0 ;
@@ -261,7 +257,6 @@ public static long exhaust(Readable readable) throws IOException {
261
257
* @throws EOFException if this stream reaches the end before skipping all the characters
262
258
* @throws IOException if an I/O error occurs
263
259
*/
264
- @ Beta
265
260
public static void skipFully (Reader reader , long n ) throws IOException {
266
261
checkNotNull (reader );
267
262
while (n > 0 ) {
@@ -278,7 +273,6 @@ public static void skipFully(Reader reader, long n) throws IOException {
278
273
*
279
274
* @since 15.0
280
275
*/
281
- @ Beta
282
276
public static Writer nullWriter () {
283
277
return NullWriter .INSTANCE ;
284
278
}
@@ -346,7 +340,6 @@ public String toString() {
346
340
* @param target the object to which output will be sent
347
341
* @return a new Writer object, unless target is a Writer, in which case the target is returned
348
342
*/
349
- @ Beta
350
343
public static Writer asWriter (Appendable target ) {
351
344
if (target instanceof Writer ) {
352
345
return (Writer ) target ;
0 commit comments