Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for closeUnchecked (0.14 sec)

  1. guava/src/com/google/common/io/CharSource.java

       */
      @MustBeClosed
      public Stream<String> lines() throws IOException {
        BufferedReader reader = openBufferedStream();
        return reader.lines().onClose(() -> closeUnchecked(reader));
      }
    
      @SuppressWarnings("Java7ApiChecker")
      @IgnoreJRERequirement // helper for lines()
      /*
       * If we make these calls inline inside the lambda inside lines(), we get an Animal Sniffer error,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top