Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 160 for Normalizer (0.36 seconds)

  1. android/guava/src/com/google/common/net/InternetDomainName.java

     * lookups.
     *
     * <p>During construction, names are normalized in two ways:
     *
     * <ol>
     *   <li>ASCII uppercase characters are converted to lowercase.
     *   <li>Unicode dot separators other than the ASCII period ({@code '.'}) are converted to the ASCII
     *       period.
     * </ol>
     *
     * <p>The normalized values will be returned from {@link #toString()} and {@link #parts()}, and will
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * Resolves and adds the given directory as a source with the given scope and language.
         * First, this method resolves the given root against the project base directory, then normalizes the path.
         * If no source already exists for the same scope, language and normalized directory,
         * these arguments are added as a new {@link SourceRoot} element.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
            for (Dependency dependency : dependencies) {
                normalized.put(dependency.getManagementKey(), dependency);
            }
    
            if (dependencies.size() != normalized.size()) {
                model.setDependencies(new ArrayList<>(normalized.values()));
            }
        }
    
        /**
         * DuplicateMerger
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. 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)
  5. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

                    indexExportJob.buildFilePath(tempDir.toString(), "http://example.com/foo/../../etc/passwd", new HtmlIndexExportFormatter());
            assertNotNull(result);
            assertTrue(result.normalize().startsWith(tempDir.normalize()), "Path must stay within base directory: " + result);
        }
    
        @Test
        public void test_buildFilePath_dotDotStripped() {
            final Path result =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            };
        }
    
        private static Long toLong(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Long.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * Converts the given object to a {@literal long}.
         *
         * @param o
         *            the object to convert
         * @return the converted {@literal long}
         */
    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)
  9. 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)
  10. 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)
Back to Top