Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StopwordsItem (0.04 sec)

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

            // Test hashCode method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            StopwordsItem item2 = new StopwordsItem(1, "test");
            StopwordsItem item3 = new StopwordsItem(2, "test");
            StopwordsItem item4 = new StopwordsItem(1, "different");
    
            // Same input should have same hashCode regardless of id
            assertEquals(item1.hashCode(), item2.hashCode());
    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/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        public void test_updater_updateItem() {
            loadTestData();
    
            StopwordsItem originalItem = stopwordsFile.get(1).get();
            StopwordsItem updateItem = new StopwordsItem(1, "the");
            updateItem.setNewInput("modified");
    
            StopwordsFile.StopwordsUpdater updater = stopwordsFile.new StopwordsUpdater(updateItem);
    
            StopwordsItem result = updater.write(originalItem);
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

        }
    
        @Override
        public synchronized OptionalEntity<StopwordsItem> get(final long id) {
            if (stopwordsItemList == null) {
                reload(null);
            }
    
            for (final StopwordsItem StopwordsItem : stopwordsItemList) {
                if (id == StopwordsItem.getId()) {
                    return OptionalEntity.of(StopwordsItem);
                }
            }
            return OptionalEntity.empty();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        //                                                                        ============
    
        private static OptionalEntity<StopwordsItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final StopwordsItem entity = new StopwordsItem(0, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top