Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for closeUnchecked (0.05 sec)

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

        return reader.lines().onClose(() -> closeUnchecked(reader));
      }
    
      @IgnoreJRERequirement // helper for lines()
      /*
       * If we make these calls inline inside the lambda inside lines(), we get an Animal Sniffer error,
       * despite the @IgnoreJRERequirement annotation there. For details, see ImmutableSortedMultiset.
       */
      private static void closeUnchecked(Closeable closeable) {
        try {
          closeable.close();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

        return reader.lines().onClose(() -> closeUnchecked(reader));
      }
    
      @IgnoreJRERequirement // helper for lines()
      /*
       * If we make these calls inline inside the lambda inside lines(), we get an Animal Sniffer error,
       * despite the @IgnoreJRERequirement annotation there. For details, see ImmutableSortedMultiset.
       */
      private static void closeUnchecked(Closeable closeable) {
        try {
          closeable.close();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top