1717import static com .google .common .base .Preconditions .checkNotNull ;
1818import static com .google .common .base .Preconditions .checkPositionIndexes ;
1919
20- import com .google .common .annotations .Beta ;
2120import com .google .common .annotations .GwtIncompatible ;
2221import com .google .common .annotations .J2ktIncompatible ;
2322import com .google .errorprone .annotations .CanIgnoreReturnValue ;
@@ -195,7 +194,6 @@ private static StringBuilder toStringBuilder(Readable r) throws IOException {
195194 * @return a mutable {@link List} containing all the lines
196195 * @throws IOException if an I/O error occurs
197196 */
198- @ Beta
199197 public static List <String > readLines (Readable r ) throws IOException {
200198 List <String > result = new ArrayList <>();
201199 LineReader lineReader = new LineReader (r );
@@ -215,7 +213,6 @@ public static List<String> readLines(Readable r) throws IOException {
215213 * @throws IOException if an I/O error occurs
216214 * @since 14.0
217215 */
218- @ Beta
219216 @ CanIgnoreReturnValue // some processors won't return a useful result
220217 @ ParametricNullness
221218 public static <T extends @ Nullable Object > T readLines (
@@ -239,7 +236,6 @@ public static List<String> readLines(Readable r) throws IOException {
239236 *
240237 * @since 20.0
241238 */
242- @ Beta
243239 @ CanIgnoreReturnValue
244240 public static long exhaust (Readable readable ) throws IOException {
245241 long total = 0 ;
@@ -261,7 +257,6 @@ public static long exhaust(Readable readable) throws IOException {
261257 * @throws EOFException if this stream reaches the end before skipping all the characters
262258 * @throws IOException if an I/O error occurs
263259 */
264- @ Beta
265260 public static void skipFully (Reader reader , long n ) throws IOException {
266261 checkNotNull (reader );
267262 while (n > 0 ) {
@@ -278,7 +273,6 @@ public static void skipFully(Reader reader, long n) throws IOException {
278273 *
279274 * @since 15.0
280275 */
281- @ Beta
282276 public static Writer nullWriter () {
283277 return NullWriter .INSTANCE ;
284278 }
@@ -346,7 +340,6 @@ public String toString() {
346340 * @param target the object to which output will be sent
347341 * @return a new Writer object, unless target is a Writer, in which case the target is returned
348342 */
349- @ Beta
350343 public static Writer asWriter (Appendable target ) {
351344 if (target instanceof Writer ) {
352345 return (Writer ) target ;
0 commit comments