Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 142 for normalize (0.2 sec)

  1. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            }
        }
    
        private static Integer toInteger(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Integer.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * {@literal int}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@literal int}
         */
        public static int toPrimitiveInt(final Object o) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

                        "Java toolchain without the " + JavaToolchainImpl.KEY_JAVAHOME + " configuration element.");
            }
            Path normal = Paths.get(javahome.getValue()).normalize();
            if (Files.exists(normal)) {
                jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString());
            } else {
                throw new MisconfiguredToolchainException(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

            }
        }
    
        private static Byte toByte(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Byte.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * {@literal byte}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@literal byte}
         */
        public static byte toPrimitiveByte(final Object o) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. bin/diff_yaml.py

            raise
    
    
    def normalize_res(res, args):
        if not res:
            return res
    
        if args.ignore_labels:
            drop_keys(res, "metadata", "labels")
    
        if args.ignore_namespace:
            drop_keys(res, "metadata", "namespace")
    
        res = normalize_ports(res)
    
        res = normalize_configmap(res)
    
        return res
    
    
    def normalize(rl, args):
        for i in range(len(rl)):
    Python
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

            if (Files.isDirectory(pomPath)) {
                pomPath = context.locate(pomPath);
            }
    
            if (pomPath == null || !Files.isRegularFile(pomPath)) {
                return Optional.empty();
            }
    
            Optional<RelativeProject> mappedProject = Optional.ofNullable(context.getRawModel(pomFile, pomPath.normalize()))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            }
        }
    
        private static Double toDouble(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return new Double(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * {@literal double}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@literal double}
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

        }
    
        public String toString() {
            return "JDK[" + getJavaHome() + "]";
        }
    
        public String findTool(String toolName) {
            Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize());
            if (toRet != null) {
                return toRet.toAbsolutePath().toString();
            }
            return null;
        }
    
        private static Path findTool(String toolName, Path installDir) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelUrlNormalizer.java

    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     */
    public interface ModelUrlNormalizer {
    
        /**
         * Normalizes the well-known URLs of the specified model.
         *
         * @param model The model whose URLs should be normalized, may be {@code null}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

            Path path = getPath().getParent().resolve(norm);
            Path relatedPom = locator.locateExistingPom(path);
            if (relatedPom != null) {
                return new PathSource(relatedPom.normalize(), null);
            }
            return null;
        }
    
        @Override
        public boolean equals(Object o) {
            return this == o || o instanceof PathSource ps && Objects.equals(path, ps.path);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultUrlNormalizer.java

    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.services.model.UrlNormalizer;
    
    /**
     * Normalizes a URL.
     *
     */
    @Named
    @Singleton
    public class DefaultUrlNormalizer implements UrlNormalizer {
    
        @Override
        public String normalize(String url) {
            String result = url;
    
            if (result != null) {
                while (true) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top