Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for substring (0.07 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. 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)
  6. 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)
  7. 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)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                    if (pos + 2 < decoded.length()) {
                        String hexStr = decoded.substring(pos + 1, pos + 3);
                        char ch = (char) Integer.parseInt(hexStr, 16);
                        decoded = decoded.substring(0, pos) + ch + decoded.substring(pos + 3);
                    }
                }
            }
            return decoded;
        }
    
        public int hashCode() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                    .filter(m -> m.getName().startsWith("merge"))
                    .filter(m -> {
                        String baseName = m.getName().substring(5 /* merge */);
                        String entity = baseName.substring(baseName.indexOf('_') + 1);
                        try {
                            Type returnType = m.getParameterTypes()[0]
                                    .getMethod("get" + entity)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    if (module.regionMatches(true, module.length() - 4, ".xml", 0, 4)) {
                        module = module.substring(0, module.lastIndexOf('/') + 1);
                    }
    
                    String moduleName = module;
                    if (moduleName.endsWith("/")) {
                        moduleName = moduleName.substring(0, moduleName.length() - 1);
                    }
    
                    int lastSlash = moduleName.lastIndexOf('/');
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top