Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 231 for orElse (0.8 sec)

  1. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            final String enc = LaRequestUtil.getOptionalRequest()
                    .filter(req -> req.getCharacterEncoding() != null)
                    .map(HttpServletRequest::getCharacterEncoding)
                    .orElse(Constants.UTF_8);
            final StringBuilder buf = new StringBuilder(url.length() + 100);
            for (final char c : url.toCharArray()) {
                if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            private Relocation getRelocation(Artifact artifact) {
                return relocations.stream()
                        .filter(r -> r.predicate.test(artifact))
                        .findFirst()
                        .orElse(null);
            }
        }
    
        private Relocations parseRelocations(RepositorySystemSession session) {
            String relocationsEntries = (String) session.getConfigProperties().get(CONFIG_PROP_RELOCATIONS_ENTRIES);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

            Method infoMethod = processHandleClass.getMethod("info");
            Method userMethod = processHandleInfoClass.getMethod("user");
            Method orElseMethod = optionalClass.getMethod("orElse", Object.class);
    
            Object current = currentMethod.invoke(null);
            Object info = infoMethod.invoke(current);
            Object user = userMethod.invoke(info);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 18:50:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
            }).orElse(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsBadWordBhv.java

        @Override
        public BadWordCB newConditionBean() {
            return new BadWordCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public BadWord selectEntityWithDeletedCheck(CBCall<BadWordCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsBoostDocumentRuleBhv.java

        public BoostDocumentRuleCB newConditionBean() {
            return new BoostDocumentRuleCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public BoostDocumentRule selectEntityWithDeletedCheck(CBCall<BoostDocumentRuleCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDuplicateHostBhv.java

        public DuplicateHostCB newConditionBean() {
            return new DuplicateHostCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public DuplicateHost selectEntityWithDeletedCheck(CBCall<DuplicateHostCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsJobLogBhv.java

        @Override
        public JobLogCB newConditionBean() {
            return new JobLogCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public JobLog selectEntityWithDeletedCheck(CBCall<JobLogCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                    }
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to update " + dictFile.getPath(), e);
                }
    
            }).orElse(() -> {
                throw new DictionaryException(dictFile.getPath() + " does not exist.");
            });
        }
    
        /**
         * Gets the HTTP response containing the content of a dictionary file.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsScheduledJobBhv.java

        public ScheduledJobCB newConditionBean() {
            return new ScheduledJobCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public ScheduledJob selectEntityWithDeletedCheck(CBCall<ScheduledJobCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top