Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 246 for orElse (0.1 seconds)

  1. 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]);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                validationMessagesLambda.message(messages);
                message = ComponentUtil.getMessageManager()
                        .toMessageList(LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ENGLISH), messages)
                        .stream()
                        .collect(Collectors.joining(" "));
                return this;
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

            is JApiBehavior -> this.getjApiClass()
            else -> error("Unsupported japicmp member type '${this::class}'")
        }
    
    
    internal
    val JApiClass.isKotlin: Boolean
        get() = newClass.orElse(null)?.isKotlin ?: false
    
    
    internal
    val JApiClass.simpleName: String
        get() = fullyQualifiedName.substringAfterLast(".")
    
    
    internal
    val JApiClass.packagePath: String
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

        private
        val JApiClass.kotlinSourceFilePath: String
            get() = "$packagePath/$bytecodeSourceFilename"
    
        private
        val JApiClass.bytecodeSourceFilename: String
            get() = newClass.orElse(null)?.classFile?.getAttribute("SourceFile")?.let { it as? SourceFileAttribute }?.fileName
                ?: error("Bytecode for $fullyQualifiedName is missing the 'SourceFile' attribute")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Optional.java

      public static <T> @Nullable Optional<T> fromJavaUtil(
          java.util.@Nullable Optional<T> javaUtilOptional) {
        return (javaUtilOptional == null) ? null : fromNullable(javaUtilOptional.orElse(null));
      }
    
      /**
       * Returns the equivalent {@code java.util.Optional} value to the given {@code
       * com.google.common.base.Optional}, or {@code null} if the argument is null.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         *
         * @return The username, or "guest" if not logged in.
         */
        public String getUsername() {
            return getRequestManager().findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER);
        }
    
        /**
         * Gets the request manager.
         *
         * @return The request manager.
         */
        protected RequestManager getRequestManager() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  7. 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 Consumer<String> validator = s -> {
                if (hasProjectExpression(s)) {
                    String path = pathSupplier.get();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Optional.java

      public static <T> @Nullable Optional<T> fromJavaUtil(
          java.util.@Nullable Optional<T> javaUtilOptional) {
        return (javaUtilOptional == null) ? null : fromNullable(javaUtilOptional.orElse(null));
      }
    
      /**
       * Returns the equivalent {@code java.util.Optional} value to the given {@code
       * com.google.common.base.Optional}, or {@code null} if the argument is null.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            if ((fieldConfigs.getConfig(fessConfig.getIndexFieldCache())
                    .map(org.codelibs.fess.crawler.util.FieldConfigs.Config::isCache)
                    .orElse(false) || fessConfig.isCrawlerDocumentCacheEnabled()) && fessConfig.isSupportedDocumentCacheMimetypes(mimeType)) {
                if (responseData.getContentLength() > 0
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/chat/ChatClient.java

         *
         * @return the context path
         */
        protected String resolveContextPath() {
            return LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getContextPath).orElse("");
        }
    
        /**
         * Builds a go URL for the given document.
         *
         * @param contextPath the application context path
         * @param docId the document ID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
Back to Top