Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isFamily (0.03 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

            OS_FAMILY = getOsFamily();
            IS_WINDOWS = isFamily(FAMILY_WINDOWS);
        }
    
        private Os() {}
    
        /**
         * Determines if the OS on which Maven is executing matches the
         * given OS family.
         *
         * @param family the family to check for
         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family) {
            return isFamily(family, OS_NAME);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java

            assertTrue(instance.equals(new FileModelSource(tempFile)));
        }
    
        @Test
        void testWindowsPaths() throws Exception {
            assumeTrue(Os.isFamily("Windows"));
    
            File upperCaseFile = createTempFile("TESTE");
            String absolutePath = upperCaseFile.getAbsolutePath();
            File lowerCaseFile = new File(absolutePath.toLowerCase());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top