Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 331 for SUBSTRING (0.11 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java

                String msg = "The expression ${" + expression + "} is deprecated.";
                if (newPrefix != null && !newPrefix.isEmpty()) {
                    msg += " Please use ${" + newPrefix + expression.substring(bannedPrefix.length()) + "} instead.";
                }
                problems.add(new ModelProblemCollectorRequest(Severity.WARNING, Version.V20).setMessage(msg));
            }
    
            return value;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/SerializeUtil.java

            }
    
            // Check against allowed patterns
            for (String allowedPattern : DEFAULT_ALLOWED_PATTERNS) {
                if (allowedPattern.endsWith("*")) {
                    String prefix = allowedPattern.substring(0, allowedPattern.length() - 1);
                    if (className.startsWith(prefix)) {
                        return ObjectInputFilter.Status.ALLOWED;
                    }
                } else if (className.equals(allowedPattern)) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. src/main/webapp/js/admin/plugins/form-validator/sanitize.js

    ");return a.each(c,function(a,b){c[a]=b.substr(0,1).toUpperCase()+b.substr(1,b.length)}),c.join(" ")},insert:function(a,b,c){var d=(b.attr("data-sanitize-insert-"+c)||"").replace(/\[SPACE\]/g," ");return"left"===c&&0===a.indexOf(d)||"right"===c&&a.substring(a.length-d.length)===d?a:("left"===c?d:"")+a+("right"===c?d:"")},insertRight:function(a,b){return this.insert(a,b,"right")},insertLeft:function(a,b){return this.insert(a,b,"left")},numberFormat:function(a,c){if(0===a.length)return a;if(!("numeral"in...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/InputValidator.java

            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
                path = path.substring(0, path.length() - 1);
            }
    
            return path;
        }
    
        /**
         * Validates username
         *
         * @param username the username to validate
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

            pin.startsWith("sha1/") -> {
              this.hashAlgorithm = "sha1"
              this.hash = pin.substring("sha1/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
    
            pin.startsWith("sha256/") -> {
              this.hashAlgorithm = "sha256"
              this.hash = pin.substring("sha256/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/core/io/ResourceUtil.java

         */
        public static String getExtension(final String path) {
            assertArgumentNotNull("path", path);
    
            final int extPos = path.lastIndexOf(".");
            if (extPos >= 0) {
                return path.substring(extPos + 1);
            }
            return null;
        }
    
        /**
         * Removes the extension from the path.
         *
         * @param path
         *            The path. Must not be {@literal null}.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            fun processClassFile(zipEntry: ZipEntry, builder: Trie.Builder) {
                val endIndex = zipEntry.name.lastIndexOf("/")
                if (endIndex > 0) {
                    val packageName = zipEntry.name.substring(0, endIndex)
                    if (shouldInclude(packageName, excludes, includes)) {
                        builder.addWord(packageName)
                    }
                }
            }
    
            private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Apr 11 15:53:18 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

                thrown.printStackTrace(new PrintWriter(sw));
                throwableStr = sw.toString();
                if (throwableStr.length() > MAX_THROWABLE_LENGTH) {
                    throwableStr = throwableStr.substring(0, MAX_THROWABLE_LENGTH);
                }
            }
    
            final LogNotificationEvent notificationEvent = new LogNotificationEvent( //
                    event.getTimeMillis(), //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java

            final String trace = sb.toString();
            final int columnSize = 200;
            return trace.length() > columnSize ? trace.substring(0, columnSize) : trace;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                String adocFileName = adocFile.getName();
                // getting_started.adoc -> getting_started-docinfo.html
                String docInfoName = adocFileName.substring(0, adocFileName.lastIndexOf('.')) + "-docinfo.html";
                String relativePath = adocDir.relativize(adocFile.toPath()).toString();
                File docInfo = new File(destinationDirectory, docInfoName);
                try {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top