Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 176 for or_else (0.18 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

            stopwordsService.getStopwordsItem(dictId, id).ifPresent(entity -> {
                stopwordsService.delete(dictId, entity);
                saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
            }).orElse(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id)));
            });
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven4ScopeManagerConfiguration.java

            org.eclipse.aether.scope.DependencyScope system = internalScopeManager
                    .getDependencyScope(DependencyScope.SYSTEM.id())
                    .orElse(null);
    
            ArrayList<org.eclipse.aether.scope.ResolutionScope> result = new ArrayList<>();
            result.add(internalScopeManager.createResolutionScope(
                    RS_NONE,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

       * iterable is empty.
       *
       * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code
       * stream.collect(MoreCollectors.toOptional()).orElse(defaultValue)}.
       *
       * @throws IllegalArgumentException if the iterator contains multiple elements
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getOnlyElement(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

         */
        private LifecycleMapping lookupLifecycleMapping(final String packaging) {
            return lookup.lookupOptional(LifecycleMapping.class, packaging).orElse(null);
        }
    
        private void parseLifecyclePhaseDefinitions(Map<Plugin, Plugin> plugins, String phase, LifecyclePhase goals) {
            InputSource inputSource = new InputSource();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/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));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileAuthenticationBhv.java

            return new FileAuthenticationCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public FileAuthentication selectEntityWithDeletedCheck(CBCall<FileAuthenticationCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsKeyMatchBhv.java

        public KeyMatchCB newConditionBean() {
            return new KeyMatchCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public KeyMatch selectEntityWithDeletedCheck(CBCall<KeyMatchCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRequestHeaderBhv.java

        public RequestHeaderCB newConditionBean() {
            return new RequestHeaderCB();
        }
    
        @Override
        protected Entity doReadEntity(ConditionBean cb) {
            return facadeSelectEntity(downcast(cb)).orElse(null);
        }
    
        public RequestHeader selectEntityWithDeletedCheck(CBCall<RequestHeaderCB> cbLambda) {
            return facadeSelectEntityWithDeletedCheck(createCB(cbLambda));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/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));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                        CrawlingInfo crawlingInfo = crawlingInfoBhv.selectEntity(cb -> {
                            cb.query().setSessionId_Equal(sessionId);
                            cb.specify().columnSessionId();
                        }).orElse(null);//TODO
                        if (crawlingInfo == null) {
                            crawlingInfo = new CrawlingInfo();
                            crawlingInfo.setSessionId(list.get(0));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top