Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createItem (0.04 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        }
    
        public void test_createMode() {
            // Test special behavior when id is 0 (create mode)
            StopwordsItem createItem = new StopwordsItem(0, "newword");
            assertTrue(createItem.isUpdated());
            assertEquals("newword", createItem.getNewInput());
            assertEquals("newword", createItem.toLineString());
    
            // Non-zero id should not auto-set newInput
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

         *
         * @param label the display label for the item
         * @param value the value associated with the item
         * @return a map containing the label and value entries
         */
        protected Map<String, String> createItem(final String label, final String value) {
            final Map<String, String> map = new HashMap<>(2);
            map.put(Constants.ITEM_LABEL, label);
            map.put(Constants.ITEM_VALUE, value);
            return map;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top