Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for orElse (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            }
            if (mavenOptions.showVersionAndExit().orElse(false)) {
                cmdAndArguments.add("--version");
            }
            if (mavenOptions.showVersion().orElse(false)) {
                cmdAndArguments.add("--show-version");
            }
            if (mavenOptions.quiet().orElse(false)) {
                cmdAndArguments.add("--quiet");
            }
            if (mavenOptions.verbose().orElse(false)) {
                cmdAndArguments.add("--verbose");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            request.setNoSnapshotUpdates(options.suppressSnapshotUpdates().orElse(false));
            request.setGoals(options.goals().orElse(List.of()));
            request.setReactorFailureBehavior(determineReactorFailureBehaviour(context));
            request.setRecursive(!options.nonRecursive().orElse(!request.isRecursive()));
            request.setOffline(options.offline().orElse(request.isOffline()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

            validate(form, messages -> {}, this::asDictIndexHtml);
            pageNumber.ifPresent(num -> {
                stopwordsPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                stopwordsPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminDictStopwords_AdminDictStopwordsJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

            validate(form, messages -> {}, this::asDictIndexHtml);
            pageNumber.ifPresent(num -> {
                protwordsPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                protwordsPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminDictProtwords_AdminDictProtwordsJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                duplicateHostPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                duplicateHostPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminDuplicatehost_AdminDuplicatehostJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                keyMatchPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                keyMatchPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminKeymatch_AdminKeymatchJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        public static String getMessage(final String key, final String defaultValue) {
            final Locale locale = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ROOT);
            return ComponentUtil.getMessageManager().findMessage(locale, key).orElse(defaultValue);
        }
    
        public static boolean hasActionRole(final String role) {
            final String[] roles;
            if (role.endsWith(FessAdminAction.VIEW)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            buf.append("{\"text\":\"");
            buf.append(LF);
            buf.append(StringEscapeUtils.escapeJson(discloser.getSavedSubject().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```");
            buf.append(LF).append(StringEscapeUtils.escapeJson(discloser.getSavedPlainText().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```\"}");
            return buf.toString();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                groupPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                groupPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminGroup_AdminGroupJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                pathMapPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                pathMapPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminPathmap_AdminPathmapJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top