Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MappingUpdater (0.05 sec)

  1. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
            }
        }
    
        /**
         * Reloads the character mapping items from the dictionary file.
         *
         * @param updater the mapping updater to use for writing changes, or null for read-only reload
         */
        protected void reload(final MappingUpdater updater) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            }
        }
    
        // Test MappingUpdater close method with error in writer
        public void test_mappingUpdater_closeWithError() throws Exception {
            writeTestFile("a,b => c\n");
    
            // This test verifies that close() handles errors gracefully
            CharMappingItem newItem = new CharMappingItem(0, new String[] { "x", "y" }, "z");
    
            // Insert will trigger MappingUpdater which will be closed automatically
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top