Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hasError (0.03 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            final AtomicBoolean hasError = new AtomicBoolean(false);
    
            Thread[] threads = new Thread[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                threads[i] = new Thread(() -> {
                    try {
                        curtainFinallyHook.hook(assistantDirector);
                    } catch (Exception e) {
                        hasError.set(true);
                    }
                });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

         * @return true if the operation was successful, false otherwise.
         */
        public boolean deleteAllWords() {
            final SuggestDeleteResponse response = suggester.indexer().deleteAll();
            if (response.hasError()) {
                logger.warn("Failed to delete all words.", response.getErrors().get(0));
                return false;
            }
            refresh();
            return true;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

        private static class MockBadWordSettings {
            public void deleteAll() {
                // Mock implementation
            }
        }
    
        private static class MockSuggestDeleteResponse {
            public boolean hasError() {
                return false;
            }
    
            public List<Throwable> getErrors() {
                return new ArrayList<>();
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

      val onException: (IOException) -> Unit,
    ) : ForwardingSink(delegate) {
      private var hasErrors = false
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (hasErrors) {
          source.skip(byteCount)
          return
        }
        try {
          super.write(source, byteCount)
        } catch (e: IOException) {
          hasErrors = true
          onException(e)
        }
      }
    
      override fun flush() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top