Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getNewOutputs (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        }
    
        @Test
        public void test_defensiveCopy_newOutputs() {
            // Test that getNewOutputs() returns defensive copy
            SynonymItem item = new SynonymItem(1, new String[] { "a" }, new String[] { "x" });
            item.setNewOutputs(new String[] { "p", "q", "r" });
    
            String[] returnedOutputs = item.getNewOutputs();
    
            // 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 output synonyms.
         * Returns a defensive copy to prevent external modification.
         *
         * @return The new output synonyms (defensive copy).
         */
        public String[] getNewOutputs() {
            return newOutputs == null ? null : newOutputs.clone();
        }
    
        /**
         * Sets the new output synonyms.
         *
         * @param newOutputs The new output synonyms.
         */
    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/synonym/SynonymFile.java

                            writer.write(item.toLineString());
                            writer.write(Constants.LINE_SEPARATOR);
                            return new SynonymItem(item.getId(), item.getNewInputs(), item.getNewOutputs());
                        }
                        return null;
                    } finally {
                        item.setNewInputs(null);
                        item.setNewOutputs(null);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top