Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 206 for idPresent (0.11 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            // Verify the field naming is set to CAMEL_TO_LOWER_SNAKE
            OptionalThing<JsonFieldNaming> fieldNamingOpt = option.getFieldNaming();
            assertTrue("Field naming should be present", fieldNamingOpt.isPresent());
            assertEquals(JsonFieldNaming.CAMEL_TO_LOWER_SNAKE, fieldNamingOpt.get());
        }
    
        @Test
        public void test_provideMappingOption_notNull() {
            // Test that mapping option is never null
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixtureExtension.java

            serviceToProjectUseMap.put(key, this.project.getPath());
    
            Optional<String> otherProject = this.findOtherProjectUsingService(key);
            if (otherProject.isPresent()) {
                throw new GradleException(
                    String.format(
                        Locale.ROOT,
                        "Projects %s and %s both claim the %s service defined in the docker-compose.yml of "
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/MoreObjects.java

            return !((java.util.Optional<?>) value).isPresent();
          } else if (value instanceof OptionalInt) {
            return !((OptionalInt) value).isPresent();
          } else if (value instanceof OptionalLong) {
            return !((OptionalLong) value).isPresent();
          } else if (value instanceof OptionalDouble) {
            return !((OptionalDouble) value).isPresent();
          } else if (value instanceof Optional) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

         *
         * @param keyObj the crawler object to track (UrlQueue, StatsKeyObject, String, or Number)
         */
        public void begin(final Object keyObj) {
            getCacheKey(keyObj).ifPresent(key -> {
                try {
                    statsCache.get(key);
                } catch (final Exception e) {
                    final StringBuilder buf = createStringBuffer(keyObj, getCurrentTimeMillis());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            OptionalEntity<ProtwordsItem> item = protwordsFile.get(999);
            assertFalse(item.isPresent());
        }
    
        @Test
        public void test_get_withUnloadedData() {
            // Test getting item when data is not loaded yet
            OptionalEntity<ProtwordsItem> item = protwordsFile.get(1);
            assertTrue(item.isPresent());
            assertEquals("test1", item.get().getInput());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() = systemProperty(BUNDLE_GROOVY_MAJOR).orNull?.toInt() ?: 4
    
    val Project.daemonDebuggingIsEnabled: Boolean
        get() = propertyFromAnySource(DEBUG_DAEMON).isPresent
    
    val Project.launcherDebuggingIsEnabled: Boolean
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt

                    })
                }
                .reduce { acc, next ->
                    acc.zip(next) { left , right ->
                        when {
                            !left.isPresent -> right
                            !right.isPresent -> left
                            else -> Optional.of(combiner(left.get(), right.get()))
                        }
                    }
                }
                .map { it.orElse(null) }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         * if applicable.
         */
        default boolean effectiveVerbose() {
            return options().isPresent() && options().orElseThrow().verbose().orElse(false)
                    || ciInfo().isPresent() && ciInfo().orElseThrow().isVerbose();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

         * @param stopwordsItem The stopword item to store.
         */
        public void store(final String dictId, final StopwordsItem stopwordsItem) {
            getStopwordsFile(dictId).ifPresent(file -> {
                if (stopwordsItem.getId() == 0) {
                    file.insert(stopwordsItem);
                } else {
                    file.update(stopwordsItem);
                }
            });
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/SynonymService.java

         * @param dictId      The ID of the dictionary.
         * @param synonymItem The synonym item to store.
         */
        public void store(final String dictId, final SynonymItem synonymItem) {
            getSynonymFile(dictId).ifPresent(file -> {
                if (synonymItem.getId() == 0) {
                    file.insert(synonymItem);
                } else {
                    file.update(synonymItem);
                }
            });
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top