Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for isUpdate (0.04 sec)

  1. cmd/admin-handlers-idp-config.go

    	if cfgTarget != madmin.Default {
    		// This cannot give an error at this point.
    		subSysTargets, _ := s.GetAvailableTargets(subSys)
    		subSysTargetsSet := set.CreateStringSet(subSysTargets...)
    		if isUpdate && !subSysTargetsSet.Contains(cfgTarget) {
    			return ErrAdminConfigIDPCfgNameDoesNotExist
    		}
    		if !isUpdate && subSysTargetsSet.Contains(cfgTarget) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            prevToken = null;
            readBufferIndex = BUFFER_SIZE;
            readBufferLen = 0;
            ch = 0;
            blkStart = 0;
            nextBlkStart = 0;
            if (synonymLoader != null && synonymLoader.isUpdate(lastModified)) {
                lastModified = synonymLoader.getLastModified();
                final SynonymMap map = synonymLoader.getSynonymMap();
                if (map != null) {
                    synonymMap = map;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top