Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for Deleted (0.03 sec)

  1. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        // Test execute with successful purge (single file deleted)
        public void test_execute_singleFileDeleted() {
            thumbnailManager.setPurgeCallCount(1);
    
            String result = purgeThumbnailJob.execute();
    
            assertEquals("Deleted 1 thumbnail files.", result);
        }
    
        // Test execute with successful purge (multiple files deleted)
        public void test_execute_multipleFilesDeleted() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/RecursiveDeleteOption.java

       *
       * <p><b>Warning:</b> On a file system that supports symbolic links, it is possible for an
       * insecure recursive delete to delete files and directories that are <i>outside</i> the directory
       * being deleted. This can happen if, after checking that a file is a directory (and not a
       * symbolic link), that directory is deleted and replaced by a symbolic link to an outside
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/IoTestCase.java

      @CanIgnoreReturnValue
      private boolean delete(File file) {
        if (file.isDirectory()) {
          File[] files = file.listFiles();
          if (files != null) {
            for (File f : files) {
              if (!delete(f)) {
                return false;
              }
            }
          }
        }
    
        if (!file.delete()) {
          logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file});
          return false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            }
    
            final List<Map<String, Object>> afterList = readJobLog(NAME_PREFIX);
            assertEquals(0, afterList.size()); // check if logs are successfully deleted
        }
    
        /**
         * Test for CrawlingInfo
         * */
        private void testReadCrawlingInfo() {
            final List<Map<String, Object>> logList = readCrawlingInfo(webConfigId);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

         * @return true if updated, false otherwise
         */
        public boolean isUpdated() {
            return newInput != null;
        }
    
        /**
         * Checks if this item has been deleted.
         * @return true if deleted, false otherwise
         */
        public boolean isDeleted() {
            return isUpdated() && newInput.length() == 0;
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

         *
         * @return a string containing the execution result with the number of deleted files or error message
         */
        public String execute() {
            try {
                final long count = ComponentUtil.getThumbnailManager().purge(getExpiry());
                return "Deleted " + count + " thumbnail files.";
            } catch (final Exception e) {
                logger.error("Failed to purge thumbnails.", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

         */
        public boolean isUpdated() {
            return newToken != null;
        }
    
        /**
         * Returns true if the item has been deleted.
         *
         * @return True if the item has been deleted.
         */
        public boolean isDeleted() {
            return isUpdated() && newToken.length() == 0;
        }
    
        @Override
        public int hashCode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          }
        }
        out.close();
    
        // Check that source returns the right data
        assertTrue(Arrays.equals(data, source.read()));
    
        // Make sure that reset deleted the file
        out.reset();
        if (file != null) {
          assertFalse(file.exists());
        }
      }
    
    
      public void testThreshold_resetOnFinalize() throws Exception {
        testThreshold(0, 100, true, true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         */
        public boolean isUpdated() {
            return newInputs != null && newOutput != null;
        }
    
        /**
         * Checks whether this mapping item is marked for deletion.
         * An item is considered deleted if it has updates pending and the new inputs array is empty.
         *
         * @return true if the item is marked for deletion
         */
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

         */
        public void delete(final DuplicateHost duplicateHost) {
    
            duplicateHostBhv.delete(duplicateHost, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Retrieves all duplicate host configurations without pagination.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top