Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 147 for IsBlank (0.09 sec)

  1. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/JavaSystemPropertiesProxySettings.java

            this.defaultPort = defaultPort;
            if (StringUtils.isBlank(proxyHost)) {
                this.proxy = null;
            } else {
                this.proxy = new HttpProxy(proxyHost, initProxyPort(proxyPortString), proxyUser, proxyPassword);
            }
        }
    
        private int initProxyPort(String proxyPortString) {
            if (StringUtils.isBlank(proxyPortString)) {
                return defaultPort;
            }
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        }
    
        private AuthScope getAuthScope() {
            if (StringUtil.isBlank(getHostname())) {
                return AuthScope.ANY;
            }
    
            int p;
            if (getPort() == null) {
                p = AuthScope.ANY_PORT;
            } else {
                p = getPort();
            }
    
            String r = getAuthRealm();
            if (StringUtil.isBlank(r)) {
                r = AuthScope.ANY_REALM;
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

            final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldThumbnail(), String.class);
            if (StringUtil.isBlank(form.queryId) || StringUtil.isBlank(url) || !thumbnailSupport) {
                // 404
                throw responseManager.new404("Thumbnail for " + form.docId + " is not found.");
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

        FessConfig getFessConfig();
    
        Logger getLogger();
    
        default String getHost(final String u) {
            if (StringUtil.isBlank(u)) {
                return StringUtil.EMPTY; // empty
            }
    
            String url = u;
            final String originalUrl = url;
    
            int idx = url.indexOf("://");
            if (idx >= 0) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

        protected String denyPrefix = "(deny)";
    
        @Resource
        protected SystemHelper systemHelper;
    
        public String encode(final String value) {
            if (StringUtil.isBlank(value)) {
                return null;
            }
    
            String permission = value.trim();
            String lower = permission.toLowerCase(Locale.ROOT);
            final String aclPrefix;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/cmd/gofmt/simplify.go

    		// - a range of the form: for x, _ = range v {...}
    		// can be simplified to: for x = range v {...}
    		// - a range of the form: for _ = range v {...}
    		// can be simplified to: for range v {...}
    		if isBlank(n.Value) {
    			n.Value = nil
    		}
    		if isBlank(n.Key) && n.Value == nil {
    			n.Key = nil
    		}
    	}
    
    	return s
    }
    
    func (s simplifier) simplifyLiteral(typ reflect.Value, astType, x ast.Expr, px *ast.Expr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 20:06:14 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testIsBlank() throws Exception {
            assertEquals("1", true, StringUtil.isBlank(" "));
            assertEquals("2", true, StringUtil.isBlank(""));
            assertEquals("3", false, StringUtil.isBlank("a"));
            assertEquals("4", false, StringUtil.isBlank(" a "));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/OsddHelper.java

        }
    
        protected File getOsddFile() {
            if (!isOsddLinkEnabled()) {
                logger.debug("OSDD is disabled.");
                return null;
            }
            if (StringUtil.isBlank(osddPath)) {
                logger.info("OSDD file is not found.");
                return null;
            }
            final String path = LaServletContextUtil.getServletContext().getRealPath(osddPath);
            if (path == null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileIntegrationTest.groovy

            file("src/main/scala/App.scala") << """
                object App {
                  def main(args: Array[String]): Unit = {
                    var x : String = "Test String"
                    // isBlank is from JDK 11
                    println(x.isBlank)
                  }
                }
            """
    
            when:
            run ":compileScala"
    
            then:
            executedAndNotSkipped(":compileScala")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

        }
    
        protected static String[] getDefaultGroupsAsArray() {
            final String value = ComponentUtil.getFessConfig().getSystemProperty("oic.default.groups");
            if (StringUtil.isBlank(value)) {
                return StringUtil.EMPTY_STRINGS;
            }
            return split(value, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).toArray(n -> new String[n]));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top