- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for setNewInputs (0.1 sec)
-
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
assertFalse(synonymItem.isUpdated()); assertFalse(synonymItem.isDeleted()); 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());
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/mapping/CharMappingFile.java
reload(updater); } } @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 Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
// create newInputs = inputs; newOutputs = outputs; } } public String[] getNewInputs() { return newInputs; } public void setNewInputs(final String[] newInputs) { this.newInputs = newInputs; } public String[] getNewOutputs() { return newOutputs; } public void setNewOutputs(final String[] newOutputs) {
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/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
// create newInputs = inputs; newOutput = output; } } public String[] getNewInputs() { return newInputs; } public void setNewInputs(final String[] newInputs) { this.newInputs = newInputs; } public String getNewOutput() { return newOutput; } public void setNewOutput(final String newOutput) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
final PagingList<SynonymItem> itemList1 = synonymFile.selectList(0, 20); 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);
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
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 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/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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 19.5K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 19.5K bytes - Viewed (0)