Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 129 for Normalizer (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertEquals(path.normalize(), source.getPath());
        }
    
        @Test
        void testBuildSource() {
            Path path = Paths.get("/tmp");
            ModelSource source = Sources.buildSource(path);
    
            assertNotNull(source);
            assertInstanceOf(Sources.BuildPathSource.class, source);
            assertEquals(path.normalize(), source.getPath());
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java

         * @throws Exception
         */
        public void testNormalize() throws Exception {
            assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN));
            assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN));
            assertEquals("3", "1000.00", DecimalFormatUtil.normalize("1.000,00", Locale.GERMAN));
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. 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));
        }
    
        /**
         * Converts to {@literal int}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal int}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            }
        }
    
        private static Double toDouble(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Double.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts to {@literal double}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal double}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            }
        }
    
        private static Float toFloat(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Float.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts to {@literal float}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal float}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. 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));
        }
    
        /**
         * Converts to {@literal byte}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal byte}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                        }
                        normalized = true;
                    } else {
                        repos.add((ArtifactRepository) repository);
                    }
                }
    
                if (normalized) {
                    return repos;
                }
            }
    
            return (List<ArtifactRepository>) repositories;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            }
        }
    
        private static Short toShort(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Short.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts to {@literal short}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal short}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. compat/maven-compat/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(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. internal/config/identity/ldap/ldap.go

    // we assume the value returned by the LDAP server is canonical. Additionally,
    // the attribute type names in the DN are lower-cased.
    //
    // Return values:
    //
    // If the DN is found, the normalized (string) value and any requested
    // attributes are returned and error is nil.
    //
    // If the DN is not found, a nil result and error are returned.
    //
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 01:04:53 GMT 2024
    - 12.4K bytes
    - Click Count (1)
Back to Top