- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setNewOutputs (0.33 sec)
-
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
synonymItem.setNewInputs(new String[] { "1", "2" }); synonymItem.setNewOutputs(new String[] { "3", "4" }); assertTrue(synonymItem.isUpdated()); assertFalse(synonymItem.isDeleted()); synonymItem.setNewInputs(new String[0]); synonymItem.setNewOutputs(new String[0]); assertTrue(synonymItem.isUpdated()); assertTrue(synonymItem.isDeleted()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
} public void setNewInputs(final String[] newInputs) { this.newInputs = newInputs; } public String[] getNewOutputs() { return newOutputs; } public void setNewOutputs(final String[] newOutputs) { this.newOutputs = newOutputs; } public String[] getInputs() { return inputs; } public String getInputsValue() { if (inputs == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
assertEquals(5, itemList1.size()); final SynonymItem synonymItem1 = itemList1.get(0); synonymItem1.setNewInputs(new String[] { "a1", "a2" }); synonymItem1.setNewOutputs(new String[] { "A1", "A2" }); synonymFile.update(synonymItem1); final PagingList<SynonymItem> itemList2 = synonymFile.selectList(0, 20); assertEquals(5, itemList2.size());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
} @Override public synchronized void delete(final SynonymItem item) { final SynonymItem synonymItem = item; synonymItem.setNewInputs(StringUtil.EMPTY_STRINGS); synonymItem.setNewOutputs(StringUtil.EMPTY_STRINGS); try (SynonymUpdater updater = new SynonymUpdater(item)) { reload(updater); } } protected void reload(final SynonymUpdater updater) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java
entity.setNewInputs(newInputs); final String[] newOutputs = splitLine(form.outputs); validateSynonymString(action, newOutputs, "outputs", hook); entity.setNewOutputs(newOutputs); return entity; }); } // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 19.5K bytes - Viewed (0)