Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for isUpdated (0.05 sec)

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

        public void test_isUpdated() {
            // Test isUpdated method
            StopwordsItem item = new StopwordsItem(1, "original");
            assertFalse(item.isUpdated());
    
            item.setNewInput("updated");
            assertTrue(item.isUpdated());
    
            item.setNewInput("");
            assertTrue(item.isUpdated());
    
            item.setNewInput(null);
            assertFalse(item.isUpdated());
        }
    
        public void test_isDeleted() {
    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

        public void test_isUpdated() {
            // Test isUpdated method
            ProtwordsItem item = new ProtwordsItem(1, "word");
            assertFalse(item.isUpdated());
    
            item.setNewInput("newword");
            assertTrue(item.isUpdated());
    
            item.setNewInput("");
            assertTrue(item.isUpdated());
    
            item.setNewInput(null);
            assertFalse(item.isUpdated());
        }
    
        public void test_isDeleted() {
    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

            // Initially not updated
            assertFalse(item.isUpdated());
    
            // 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
    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;
                    }
    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/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;
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. 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;
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K 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;
                    }
    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;
                    }
    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;
                    }
    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/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        /**
         * Checks if the properties file has been updated since the last load.
         *
         * @return {@code true} if the file has been updated, {@code false} otherwise.
         */
        public boolean isUpdated() {
            final long now = System.currentTimeMillis();
            if (now - lastChecked < checkInterval) {
                lastChecked = now;
                return false;
            }
            lastChecked = now;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top