Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 4,604 for finally (0.06 seconds)

  1. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
                        } catch (final IOException e) {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

          ExecutionException e = assertThrows(ExecutionException.class, f::get);
          assertThat(e).hasCauseThat().isInstanceOf(TimeoutException.class);
        } finally {
          executor.shutdown();
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                    applyGoal.execute(context);
    
                    // Verify that the Apply-specific header is logged
                    verify(context.logger).info("Maven Upgrade Tool - Apply");
                } finally {
                    // Clean up - delete all files in the directory first
                    try {
                        Files.walk(tempDir)
                                .sorted(java.util.Comparator.reverseOrder())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         */
        @Override
        protected int doSendReceiveFragment(final byte[] buf, final int off, final int length, final byte[] inB) throws IOException {
            if (this.handle.isStale()) {
                throw new IOException("DCERPC pipe is no longer open");
            }
    
            int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv());
    
            final int fraglen = Encdec.dec_uint16le(inB, 8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

    import java.io.*;
    import java.nio.channels.*;
    import java.util.Properties;
    
    public class MavenWrapperDownloader {
    
        private static final String WRAPPER_VERSION = "0.5.6";
        /**
         * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
         */
        private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
  6. .teamcity/scripts/CheckWrapper.java

     */
    public class CheckWrapper {
        private static final ExecutorService THREAD_POOL = Executors.newCachedThreadPool();
    
        private static final Pattern ALLOWED_WRAPPER_VERSION =
            Pattern.compile("^[0-9.]+(-(rc|milestone|m)-[0-9]+)?$");
    
        // Keep the same extraction semantics as the old sed:
        //   sed 's/.*gradle-\(.*\)-[a-z]*\.[a-z]*/\1/'
        private static final Pattern WRAPPER_VERSION_EXTRACT =
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/ByteSink.java

        }
      }
    
      /**
       * A char sink that encodes written characters with a charset and writes resulting bytes to this
       * byte sink.
       */
      private final class AsCharSink extends CharSink {
    
        private final Charset charset;
    
        private AsCharSink(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public Writer openStream() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

            } else {
                try (final CurlResponse response = curlRequest.body(buf.toString()).execute()) {
                    final File tempFile = ComponentUtil.getSystemHelper().createTempFile("sereq_", ".json");
                    try (final InputStream in = response.getContentAsStream()) {
                        CopyUtil.copy(in, tempFile);
                    } catch (final Exception e1) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

     *
     * @since 3.0
     */
    @Named
    @Singleton
    public class LifecycleModuleBuilder {
    
        private final MojoExecutor mojoExecutor;
        private final BuilderCommon builderCommon;
        private final ExecutionEventCatapult eventCatapult;
        private final ProjectExecutionListener projectExecutionListener;
        private final TransformerManager transformerManager;
    
        @Inject
        public LifecycleModuleBuilder(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        @Mock
        private SmbPipeHandle mockSmbPipeHandle;
        @Mock
        private BufferCache mockBufferCache;
    
        private static final String TEST_URL = "ncacn_np:server[\\pipe\\test]";
        private static final String TEST_SERVER = "server";
        private static final String TEST_ENDPOINT = "\\pipe\\test";
    
        @BeforeEach
        void setUp() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
Back to Top