Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for startswith (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
            // null case is covered by canDetermineActivation(), so we can do a straight startsWith() here.
            if (jdk.startsWith("[") || jdk.startsWith("(")) {
                try {
                    return matchJdkVersionRange(jdk);
                } catch (InvalidVersionSpecificationException e) {
                    throw new ProfileActivationException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

            if (requiredJdkRange.startsWith("!")) {
                return !currentJavaVersion.startsWith(requiredJdkRange.substring(1));
            } else if (isRange(requiredJdkRange)) {
                return isInRange(currentJavaVersion, getRange(requiredJdkRange));
            } else {
                return currentJavaVersion.startsWith(requiredJdkRange);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            String test = expectedVersion;
            boolean reverse = false;
            final boolean result;
            if (test.startsWith(REGEX_PREFIX)) {
                result = actualVersion.matches(test.substring(REGEX_PREFIX.length()));
            } else {
                if (test.startsWith("!")) {
                    reverse = true;
                    test = test.substring(1);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                    if (!urlValue.startsWith("#")) {
                        final String u;
                        if (!protocolHelper.isValidFileProtocol(urlValue)) {
                            if (urlValue.startsWith("/")) {
                                u = "file:" + urlValue;
                            } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                if (part2.length() == 1 || !part2.startsWith("0")) {
                    buildNumber = tryParseInt(part2);
                    if (buildNumber == null) {
                        qualifier = part2;
                    }
                } else {
                    qualifier = part2;
                }
            }
    
            if ((!part1.contains(".")) && !part1.startsWith("0")) {
                majorVersion = tryParseInt(part1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

         */
        private String chopLeadingFileSeparator(String path) {
            if (path != null) {
                if (path.startsWith("/") || path.startsWith("\\")) {
                    path = path.substring(1);
                }
            }
            return path;
        }
    
        public void unalignFromBaseDirectory(Model model, File basedir) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                }
                while ((urlQueue = urlQueueService.poll(sessionId2)) != null) {
                    assertTrue(urlQueue.getUrl() + "=>" + url2, urlQueue.getUrl().startsWith(url2));
                }
    
                dataService.iterate(sessionId1, accessResult -> assertTrue(accessResult.getUrl().startsWith(url1)));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                if (name.startsWith(DATA_STORE.getId())) {
                    return DATA_STORE;
                }
                if (name.startsWith(THEME.getId())) {
                    return THEME;
                }
                if (name.startsWith(INGEST.getId())) {
                    return INGEST;
                }
                if (name.startsWith(SCRIPT.getId())) {
                    return SCRIPT;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            if (url != null) {
                if (url.startsWith("://")) {
                    final String protocol = currentUrl.split(":")[0];
                    return new URL(protocol + url);
                }
                if (url.startsWith("//")) {
                    final String protocol = currentUrl.split(":")[0];
                    return new URL(protocol + ":" + url);
                }
                if (url.startsWith("/") || url.indexOf(':') == -1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            if (StringUtil.isBlank(url)) {
                return StringUtil.EMPTY; // empty
            }
    
            if (url.startsWith("file:////")) {
                final String value = decodeUrlAsName(url.substring(9), true);
                return abbreviateSite("\\\\" + value.replace('/', '\\'));
            }
            if (url.startsWith("file:")) {
                final String value = decodeUrlAsName(url.substring(5), true);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top