Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for substring (0.22 sec)

  1. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            BeanConfigurationValuePreprocessor preprocessor = (value, type) -> {
                if (value != null && value.startsWith("${") && value.endsWith("}")) {
                    return value.substring(2, value.length() - 1);
                }
                return value;
            };
    
            BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

                        final URL warUrl = URLUtil.create(zipUrl, "../..");
                        final String path = warUrl.getPath();
                        zipUrl = FileUtil.toURL(new File(path.substring(0, path.length() - 1)));
                        prefix = zipUrlString.substring(warUrl.toExternalForm().length());
                        loadFromZip(zipUrl);
                    }
                }
    
                this.rootPackage = rootPackage;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/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('/');
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java

                @Override
                protected void parseURL(final URL u, final String spec, final int start, final int limit) {
                    setURL(u, "zip", null, 0, null, null, spec.substring(4), null, null);
                }
    
                @Override
                protected URLConnection openConnection(final URL u) throws IOException {
                    return null;
                }
            });
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

        }
    
        public static boolean isJavaVersionCompatible(String requiredJdkRange, String currentJavaVersion) {
            if (requiredJdkRange.startsWith("!")) {
                return !currentJavaVersion.startsWith(requiredJdkRange.substring(1));
            } else if (isRange(requiredJdkRange)) {
                return isInRange(currentJavaVersion, getRange(requiredJdkRange));
            } else {
                return currentJavaVersion.startsWith(requiredJdkRange);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return ".*" + Pattern.quote(p.substring(GsaConfigParser.CONTAINS.length())) + ".*";
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP)) {
                return p.substring(GsaConfigParser.REGEXP.length());
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP_CASE)) {
                return p.substring(GsaConfigParser.REGEXP_CASE.length());
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/StaxLocation.java

            if (e instanceof XMLStreamException xe && xe.getLocation() != null) {
                int idx = message.indexOf("\nMessage: ");
                if (idx >= 0) {
                    return message.substring(idx + "\nMessage: ".length());
                }
            }
            return message;
        }
    
        public StaxLocation(javax.xml.stream.Location location) {
            this.location = location;
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
        private static Predicate<Artifact> artifactPredicate(Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                        continue;
                    }
                    final String propertyName = StringUtil.decapitalize(methodName.substring(3));
                    setupReadMethod(m, propertyName);
                } else if (methodName.startsWith("is")) {
                    if (m.getParameterTypes().length != 0
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            final File rootDir = ResourceUtil.getBuildDir(getClass());
            final String path = ResourceUtil.getResourcePath(getClass());
            final int pos = path.lastIndexOf("/");
            final String baseDirectory = path.substring(0, pos);
            ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> {
                try {
                    if (count < 10) {
                        System.out.println(path1);
                    }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top