- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setNewInputs (0.04 sec)
-
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
// Set only newInputs - still not updated item.setNewInputs(new String[] { "new" }); assertFalse(item.isUpdated()); // Set both newInputs and newOutput - now updated item.setNewOutput("newOutput"); assertTrue(item.isUpdated()); // Set newInputs to null - not updated item.setNewInputs(null); assertFalse(item.isUpdated()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
* @param item the character mapping item to delete */ @Override public synchronized void delete(final CharMappingItem item) { final CharMappingItem mappingItem = item; mappingItem.setNewInputs(StringUtil.EMPTY_STRINGS); mappingItem.setNewOutput(StringUtil.EMPTY); try (MappingUpdater updater = new MappingUpdater(item)) { reload(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) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
CharMappingItem updateItem1 = item1.get(); updateItem1.setNewInputs(new String[] { "m", "n" }); updateItem1.setNewOutput("o"); // Create another update for the same item CharMappingItem updateItem2 = new CharMappingItem(1L, new String[] { "x", "y" }, "z"); updateItem2.setNewInputs(new String[] { "p", "q" }); updateItem2.setNewOutput("r");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
reload(updater); } } @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); } } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java
return getEntity(form).map(entity -> { final String[] newInputs = splitLine(form.inputs); validateMappingString(action, newInputs, "inputs", hook); entity.setNewInputs(newInputs); final String newOutput = form.output; entity.setNewOutput(newOutput); return entity; }); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java
return getEntity(form).map(entity -> { final String[] newInputs = splitLine(form.inputs); validateSynonymString(action, newInputs, "inputs", hook); entity.setNewInputs(newInputs); final String[] newOutputs = splitLine(form.outputs); validateSynonymString(action, newOutputs, "outputs", hook); entity.setNewOutputs(newOutputs); return entity;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.7K bytes - Viewed (1)