Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getNewInputs (0.07 seconds)

  1. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

        }
    
        @Test
        public void test_defensiveCopy_newInputs() {
            // Test that getNewInputs() returns defensive copy
            SynonymItem item = new SynonymItem(1, new String[] { "a" }, new String[] { "x" });
            item.setNewInputs(new String[] { "p", "q", "r" });
    
            String[] returnedInputs = item.getNewInputs();
    
            // Modifying returned array should not affect original
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8K bytes
    - Click Count (1)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

        }
    
        /**
         * Gets the new input words.
         * Returns a defensive copy to prevent external modification.
         *
         * @return The new input words (defensive copy).
         */
        public String[] getNewInputs() {
            return newInputs == null ? null : newInputs.clone();
        }
    
        /**
         * Sets the new input words.
         *
         * @param newInputs The new input words.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         * Returns a defensive copy to prevent external modification.
         *
         * @return array of new input sequences (defensive copy), or null if no updates are pending
         */
        public String[] getNewInputs() {
            return newInputs == null ? null : newInputs.clone();
        }
    
        /**
         * Sets the array of new input character sequences for update operations.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top