Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for isOutdated (0.12 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            VersionInfo info = infos.get(key);
            if (info == null) {
                info = new VersionInfo(timestamp, version, repository);
                infos.put(key, info);
            } else if (info.isOutdated(timestamp)) {
                info.version = version;
                info.repository = repository;
                info.timestamp = timestamp;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input;
        }
    
        public boolean isUpdated() {
            return newInput != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && newInput.length() == 0;
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            final int result = 1;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

            assertNull(stemmerOverrideItem.getNewOutput());
            assertFalse(stemmerOverrideItem.isUpdated());
            assertFalse(stemmerOverrideItem.isDeleted());
    
            stemmerOverrideItem.setNewInput("bbb");
            stemmerOverrideItem.setNewOutput("b");
            assertTrue(stemmerOverrideItem.isUpdated());
            assertFalse(stemmerOverrideItem.isDeleted());
    
            stemmerOverrideItem.setNewInput("");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertNull(kuromojiItem.getNewPos());
            assertFalse(kuromojiItem.isUpdated());
            assertFalse(kuromojiItem.isDeleted());
    
            kuromojiItem.setNewToken("T1");
            kuromojiItem.setNewSegmentation("S1");
            kuromojiItem.setNewReading("R1");
            kuromojiItem.setNewPos("P1");
            assertTrue(kuromojiItem.isUpdated());
            assertFalse(kuromojiItem.isDeleted());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertNull(synonymItem.getNewOutputs());
            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]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            assertFalse(itemList.get(0).isUpdated());
    
            assertEquals(2, itemList.get(1).getInputs().length);
            assertEquals(1, itemList.get(1).getOutputs().length);
            assertEquals("b1", itemList.get(1).getInputs()[0]);
            assertEquals("b2", itemList.get(1).getInputs()[1]);
            assertEquals("B1", itemList.get(1).getOutputs()[0]);
            assertFalse(itemList.get(1).isUpdated());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

                assertEquals("reading" + (i + 1), kuromojiItem.getReading());
                assertEquals("pos" + (i + 1), kuromojiItem.getPos());
                assertFalse(kuromojiItem.isUpdated());
                assertFalse(kuromojiItem.isUpdated());
            }
        }
    
        /*
        // TODO
        public void test_insert() {
            final KuromojiFile kuromojiFile = new KuromojiFile(file1);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

        public String getInput() {
            return input;
        }
    
        public String getOutput() {
            return output;
        }
    
        public boolean isUpdated() {
            return newInput != null && newOutput != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && StringUtil.isBlank(newInput);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(input, output);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

            }
            return String.join("\n", inputs);
        }
    
        public String getOutput() {
            return output;
        }
    
        public boolean isUpdated() {
            return newInputs != null && newOutput != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        public void sort() {
            if (inputs != null) {
                Arrays.sort(inputs);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input;
        }
    
        public boolean isUpdated() {
            return newInput != null;
        }
    
        public boolean isDeleted() {
            return isUpdated() && newInput.length() == 0;
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            final int result = 1;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top