Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for orElse (0.04 sec)

  1. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                            .stream().forEach(v -> modifyDeleteEntry(modifyList, attrGivenName, v)));
            final String attrMail = fessConfig.getLdapAttrMail();
            OptionalUtil.ofNullable(user.getMail()).filter(StringUtil::isNotBlank).ifPresent(s -> modifyReplaceEntry(modifyList, attrMail, s))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                            });
    
                            writeJsonResponse(HttpServletResponse.SC_CREATED, escapeJsonKeyValue(RESULT_FIELD, "created"));
    
                        }).orElse(() -> {
                            throw new WebApiException(HttpServletResponse.SC_NOT_FOUND, "Not found: " + docId);
                        });
    
            } catch (final WebApiException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                                || stream(user.getGroups()).get(stream -> stream.anyMatch(s -> (GROUP_VALUE_PREFIX + s).equals(key))))
                        .orElse(false)) {
                    return p.getSecond();
                }
                return null;
            }).filter(StringUtil::isNotBlank).toArray(n -> new String[n]);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                String location = f.next().location;
                ActivationFrame parent = f.next();
    
                return parent.parent.map(p -> p.getLocation(location)).orElse(null);
            };
            final UnaryOperator<String> transformer = s -> {
                if (hasProjectExpression(s)) {
                    String path = pathSupplier.get();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    .setLocation(Optional.ofNullable(target.getLocation(locationKey))
                            .map(InputLocation::new)
                            .orElse(null))
                    .setException(e));
        }
    
        private static boolean isNotEmpty(String string) {
            return string != null && !string.isEmpty();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top