Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for SUBSTRING (0.13 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            String url = u;
            final String originalUrl = url;
    
            int idx = url.indexOf("://");
            if (idx >= 0) {
                url = url.substring(idx + 3);
            }
    
            idx = url.indexOf('/');
            if (idx >= 0) {
                url = url.substring(0, idx);
            }
    
            if (url.equals(originalUrl)) {
                return getFessConfig().getCrawlerDocumentUnknownHostname();
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        private boolean determineVersionMatch(String version) {
            String test = version;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = Os.OS_VERSION.equals(test);
    
            if (reverse) {
                return !result;
            } else {
                return result;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            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);
                }
                result = actualVersion.equalsIgnoreCase(test);
            }
    
            return reverse != result;
        }
    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. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

            if (ind1 == -1 || ind2 == -1) {
                return;
            }
    
            this.groupId = name.substring(0, ind1);
            if (ind1 == ind2) {
                this.artifactId = name.substring(ind1 + 1);
            } else {
                this.artifactId = name.substring(ind1 + 1, ind2);
                this.version = name.substring(ind2 + 1);
            }
        }
    
        public ArtifactMetadata(String groupId, String name, String version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                    version = line.substring(line.indexOf("\"", 11) + 1, line.lastIndexOf("\""))
                }
                if (line.startsWith("\"buildTime\"")) {
                    var date = line.substring(line.indexOf("\"", 12) + 1, line.lastIndexOf("\""))
                    date = date.substring(0, 4) + "-" + date.substring(4, 6) + "-" + date.substring(6, 8)
                    versions[version!!] = date
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            Matcher matcher = GETTER_METHOD_NAME.matcher(name);
            if (matcher.matches()) {
                int startName = matcher.start(2);
                String propName = name.substring(startName, startName + 1).toLowerCase(Locale.ROOT) + name.substring(startName + 1);
                PropertyMetaData property = getCurrentClass().addReadableProperty(propName, returnType, rawCommentText, methodMetaData);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

        private val includePackagePatterns: List<Pattern> by lazy {
            includes.map {
                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
                } else {
                    Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+")
                }
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            final int length = str.length();
            if (length > 1
                    && str.startsWith("\"")
                    && str.endsWith("\"")
                    && str.substring(1, length - 1).indexOf('"') == -1) {
                str = str.substring(1, length - 1);
            }
            return str;
        }
    
        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                if (basedirExpr != null) {
                    if (s.length() > basedirExpr.length()) {
                        // Take out basedir expression and the leading slash
                        s = chopLeadingFileSeparator(s.substring(basedirExpr.length()));
                    } else {
                        s = ".";
                    }
                }
            }
    
            return s;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

                        result = result.substring(3);
                        continue;
                    }
                    int parent = idx - 1;
                    while (parent >= 0 && result.charAt(parent) == '/') {
                        parent--;
                    }
                    parent = result.lastIndexOf('/', parent);
                    if (parent < 0) {
                        result = result.substring(idx + 4);
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top