Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 70 for closeQuietly (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          logger.get().log(SEVERE, "Uh oh! An open ClosingFuture has leaked and will close: {0}", this);
          FluentFuture<V> unused = finishToFuture();
        }
      }
    
      private static void closeQuietly(@Nullable AutoCloseable closeable, Executor executor) {
        if (closeable == null) {
          return;
        }
        try {
          executor.execute(
              () -> {
                try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                updateResponseData(uri, includeContent, responseData, client, ftpInfo, file);
            } catch (final CrawlerSystemException e) {
                CloseableUtil.closeQuietly(responseData);
                throw e;
            } catch (final Exception e) {
                CloseableUtil.closeQuietly(responseData);
                throw new CrawlingAccessException("Could not access " + uri, e);
            }
    
            return responseData;
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            try {
                writer = new OutputStreamWriter(new FileOutputStream(testFile), Constants.UTF_8);
                writer.write(content);
                writer.flush();
            } finally {
                CloseableUtil.closeQuietly(writer);
            }
        }
    
        // Helper method to assert arrays are equal (handles sorting)
        private void assertArrayEquals(String[] expected, String[] actual) {
            java.util.Arrays.sort(expected);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            @Override
            public void close() {
                try {
                    writer.flush();
                } catch (final IOException e) {
                    // ignore
                }
                CloseableUtil.closeQuietly(writer);
    
                if (isCommit) {
                    try {
                        dictionaryManager.store(SynonymFile.this, newFile);
                    } finally {
                        newFile.delete();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        }
    
                        return false;
                    }
                } finally {
                    if (responseData != null) {
                        CloseableUtil.closeQuietly(responseData);
                    }
                }
            }
            return true;
        }
    
        /**
         * Stores child URLs from the given set into the crawling queue for future processing.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            if (responseData.getHttpStatusCode() == 404) {
                response.httpStatus(responseData.getHttpStatusCode());
                CloseableUtil.closeQuietly(responseData);
                return response;
            }
            writeFileName(response, responseData);
            writeContentType(response, responseData);
            writeNoCache(response, responseData);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ClosingFuture.java

          logger.get().log(SEVERE, "Uh oh! An open ClosingFuture has leaked and will close: {0}", this);
          FluentFuture<V> unused = finishToFuture();
        }
      }
    
      private static void closeQuietly(@Nullable AutoCloseable closeable, Executor executor) {
        if (closeable == null) {
          return;
        }
        try {
          executor.execute(
              () -> {
                try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

         * @param responseData The response data to close
         */
        protected void closeResources(final HttpUriRequest httpRequest, final ResponseData responseData) {
            CloseableUtil.closeQuietly(responseData);
            httpRequest.abort();
        }
    
        /**
         * Checks if the HTTP status code indicates a redirect.
         *
         * @param httpStatusCode The HTTP status code to check
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  9. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/_UtilCommonKt;-><clinit>()V
    HSPLokhttp3/internal/_UtilCommonKt;->checkOffsetAndCount(JJJ)V
    HSPLokhttp3/internal/_UtilCommonKt;->closeQuietly(Ljava/io/Closeable;)V
    HSPLokhttp3/internal/_UtilCommonKt;->delimiterOffset(Ljava/lang/String;CII)I
    HSPLokhttp3/internal/_UtilCommonKt;->delimiterOffset(Ljava/lang/String;Ljava/lang/String;II)I
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

    import okhttp3.internal.DoubleInetAddressDns
    import okhttp3.internal.RecordingOkAuthenticator
    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.addHeaderLenient
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.http.HTTP_EARLY_HINTS
    import okhttp3.internal.http.HTTP_PROCESSING
    import okhttp3.internal.http.RecordingProxySelector
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top