Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 187 for idPresent (0.06 seconds)

  1. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

         *
         * @param dictId The dictionary ID.
         * @param kuromojiItem The Kuromoji item to store.
         */
        public void store(final String dictId, final KuromojiItem kuromojiItem) {
            getKuromojiFile(dictId).ifPresent(file -> {
                if (kuromojiItem.getId() == 0) {
                    file.insert(kuromojiItem);
                } else {
                    file.update(kuromojiItem);
                }
            });
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt

        @get:Optional
        @get:Input
        val androidSdkRoot: Provider<String> = project.providers.environmentVariable("ANDROID_SDK_ROOT")
    
        @TaskAction
        fun warmup() {
            if (!androidHome.isPresent && !androidSdkRoot.isPresent) {
                logger.lifecycle("Skip warmning up Android home because ANDROID_HOME/ANDROID_SDK_ROOT env vars are not set.")
                return
            }
            sdkVersions.orNull.orEmpty().forEach { version ->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 09:24:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

        protected SearchResult search(final String query, final SearchRequestParams params, final OptionalThing<FessUserBean> userBean) {
            final int pageSize = params.getPageSize();
            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                request.setAttribute(Constants.REQUEST_PAGE_SIZE, pageSize);
            });
            final OptionalEntity<SearchResponse> searchResponseOpt = sendRequest(query, params, userBean);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 09:24:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            }.orElse(
                Optional.empty<T>()
            )
        }.reduce { acc, next ->
            acc.zip(next) { left, right ->
                when {
                    left.isPresent -> {
                        require(!right.isPresent) {
                            "Expected at most one provider to be present"
                        }
                        left
                    }
                    else -> right
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

         * @param dictId the dictionary ID
         * @param protwordsItem the item to store
         */
        public void store(final String dictId, final ProtwordsItem protwordsItem) {
            getProtwordsFile(dictId).ifPresent(file -> {
                if (protwordsItem.getId() == 0) {
                    file.insert(protwordsItem);
                } else {
                    file.update(protwordsItem);
                }
            });
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                String fieldKey = field.getKey();
                String fieldDescription = "Configure " + fieldKey + ": " + field.getDescription();
                if (field.getOptions().isPresent()) {
                    // list options
                    ListPromptBuilder listPromptBuilder =
                            promptBuilder.createListPrompt().name(fieldKey).message(fieldDescription);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            searchLog.setQueryPageSize(pageSize);
            ComponentUtil.getRequestManager().findUserBean(FessUserBean.class).ifPresent(user -> {
                searchLog.setUser(user.getUserId());
            });
    
            LaRequestUtil.getOptionalRequest().ifPresent(req -> {
                searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.4K 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: Sat Dec 20 09:19:18 GMT 2025
    - 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: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top