Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for toLineString (0.05 sec)

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

            // When newInput is set back to null
            item.setNewInput(null);
            assertEquals("original", item.toLineString());
        }
    
        public void test_toLineString_withEmptyInput() {
            // Test toLineString with empty original input
            StopwordsItem item = new StopwordsItem(1, "");
            assertEquals("", item.toLineString());
    
            item.setNewInput("new");
    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/protwords/ProtwordsItemTest.java

            assertEquals("", item.toLineString());
    
            // Test with item created with id=0
            ProtwordsItem newItem = new ProtwordsItem(0, "newword");
            assertEquals("newword", newItem.toLineString());
        }
    
        public void test_toLineString_withEmptyInput() {
            // Test toLineString with empty input
            ProtwordsItem item = new ProtwordsItem(1, "");
            assertEquals("", item.toLineString());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Should use new values when updated
            assertEquals("new1,new2,new3=>newOutput", item.toLineString());
        }
    
        public void test_toLineString_withSingleInput() {
            String[] inputs = { "single" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            assertEquals("single=>output", item.toLineString());
        }
    
        public void test_toLineString_withEmptyInputs() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

            public KuromojiItem write(final KuromojiItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
                    if (!item.equals(oldItem)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            public SynonymItem write(final SynonymItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
                    if (!item.equals(oldItem)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            public CharMappingItem write(final CharMappingItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
                    if (!item.equals(oldItem)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            public ProtwordsItem write(final ProtwordsItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
                    if (!item.equals(oldItem)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            public StopwordsItem write(final StopwordsItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
                    if (!item.equals(oldItem)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

            public StemmerOverrideItem write(final StemmerOverrideItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
                    if (!item.equals(oldItem)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            // Debug: print what we actually got
            if (result.size() > 0) {
                for (CharMappingItem item : result) {
                    System.out.println("Unexpected item: " + item.toLineString());
                }
            }
    
            // An empty file should return no items
            assertEquals("Empty file should have no items", 0, result.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top