Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 86 for isBlank (0.23 sec)

  1. src/main/java/org/codelibs/fess/entity/QueryContext.java

                } else {
                    this.queryString = queryString;
                }
            } else {
                this.queryString = queryString;
            }
            if (StringUtil.isBlank(this.queryString)) {
                this.queryString = "*";
            }
            if (isQuery) {
                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    highlightedQuerySet = new HashSet<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/PythonJob.java

            final ProcessHelper processHelper = ComponentUtil.getProcessHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (StringUtil.isBlank(filename)) {
                throw new JobProcessingException("Python script is not specified.");
            }
    
            cmdList.add(fessConfig.getPythonCommandPath());
    
            cmdList.add(getPyFilePath());
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                return LaRequestUtil.getOptionalRequest().map(request -> {
                    final String userAgent = request.getHeader("user-agent");
                    if (StringUtil.isBlank(userAgent)) {
                        return false;
                    }
    
                    return pathMapping.getUAMatcher(userAgent).find();
                }).orElse(false);
            }
            return false;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

                generateImportPackages()
                    .map { "$it.*" } + "" +
                    AnnotationGenerator.ADDITIONAL_DEFAULT_IMPORTS
            return imports.joinToString(separator = "\n") {
                if (it.isBlank()) "" else "import $it"
            }
        }
    
        private
        fun groovyProjectAccessors(): String {
            val objectMethods = Any::class.java.declaredMethods.toList()
            return Project::class
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jun 22 10:58:31 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

            includedDocUrls = fessConfig.getCrawlerDocumentHtmlDefaultIncludeSearchPatterns();
            excludedDocUrls = fessConfig.getCrawlerDocumentHtmlDefaultExcludeSearchPatterns();
            boost = 1.0f;
            if (StringUtil.isBlank(userAgent)) {
                userAgent = fessConfig.getUserAgentName();
            }
            numOfThread = Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB;
            intervalTime = Constants.DEFAULT_INTERVAL_TIME_FOR_WEB;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * ブランクではないかどうか返します。
         *
         * @param str
         *            文字列
         * @return ブランクではなければ{@literal true}
         * @see #isBlank(String)
         */
        public static boolean isNotBlank(final String str) {
            return !isBlank(str);
        }
    
        /**
         * charを含んでいるかどうか返します。
         *
         * @param str
         *            文字列
         * @param ch
         *            char
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            String commitId = BuildEnvironmentKt.getBuildEnvironmentExtension(project).getGitCommitId().get();
            if (commitId.isBlank() || commitId.toLowerCase().contains("unknown")) {
                // we can't figure out the commit ID (probably this is a source distribution build), let's skip adding source links
                return;
            }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/PingResponse.java

                }
                builder.endObject();
                return builder;
            }, XContentType.JSON)) {
                message = ((ByteArrayOutputStream) out).toString(Constants.UTF_8);
                if (StringUtil.isBlank(message)) {
                    message = "{}";
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        public int getStatus() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                return "Unknown error";
            }
    
            final Supplier<String> stacktraceString = () -> {
                final StringBuilder sb = new StringBuilder();
                if (StringUtil.isBlank(cause.getMessage())) {
                    sb.append(cause.getClass().getName());
                } else {
                    sb.append(cause.getMessage());
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            if (xpath == null) {
                xpath = fessConfig.getCrawlerDocumentHtmlCanonicalXpath();
            }
            if (StringUtil.isBlank(xpath)) {
                return null;
            }
            final String canonicalUrl = getSingleNodeValue(document, xpath, node -> node);
            if (StringUtil.isBlank(canonicalUrl)) {
                return null;
            }
            return normalizeCanonicalUrl(responseData.getUrl(), canonicalUrl);
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 41.9K bytes
    - Viewed (0)
Back to top