Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Closeables (0.06 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            public Settings effectiveSettings;
    
            public final List<AutoCloseable> closeables = new ArrayList<>();
    
            @Override
            public void close() throws InvokerException {
                List<Exception> causes = null;
                List<AutoCloseable> cs = new ArrayList<>(closeables);
                Collections.reverse(cs);
                for (AutoCloseable c : cs) {
                    if (c != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            // Create the build log appender
            ProjectBuildLogAppender projectBuildLogAppender =
                    new ProjectBuildLogAppender(determineBuildEventListener(context));
            context.closeables.add(projectBuildLogAppender);
        }
    
        protected BuildEventListener determineBuildEventListener(C context) {
            if (context.buildEventListener == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

       * despite the @IgnoreJRERequirement annotation there. For details, see ImmutableSortedMultiset.
       */
      private static void closeUnchecked(Closeable closeable) {
        try {
          closeable.close();
        } catch (IOException e) {
          throw new UncheckedIOException(e);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSink.java

          }
        }
      }
    
      /**
       * Writes all the text from the given {@link Readable} (such as a {@link Reader}) to this sink.
       * Does not close {@code readable} if it is {@code Closeable}.
       *
       * @return the number of characters written
       * @throws IOException if an I/O error occurs while reading from {@code readable} or writing to
       *     this sink
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top