Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getDefault (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

        }
    
        private static Predicate<Artifact> toPredicate(Exclusion exclusion) {
            PathMatcher groupId = FileSystems.getDefault().getPathMatcher("glob:" + exclusion.getGroupId());
            PathMatcher artifactId = FileSystems.getDefault().getPathMatcher("glob:" + exclusion.getArtifactId());
            Predicate<Artifact> predGroupId = a -> groupId.matches(createPathProxy(a.getGroupId()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        }
    
        @Test
        void testLocaleIndependent() {
            Locale orig = Locale.getDefault();
            Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()};
            try {
                for (Locale locale : locales) {
                    Locale.setDefault(locale);
                    checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

        @BeforeEach
        void setLocaleToUseBuddhistCalendar() {
            defaultLocale = Locale.getDefault();
            Locale.setDefault(new Locale("th", "TH"));
        }
    
        @AfterEach
        void restoreLocale() {
            Locale.setDefault(defaultLocale);
        }
    
        static String gregorianDate() {
            SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                    .append(", runtime: ")
                    .append(System.getProperty("java.home", "<unknown runtime>"))
                    .append(ls);
            version.append("Default locale: ")
                    .append(Locale.getDefault())
                    .append(", platform encoding: ")
                    .append(System.getProperty("file.encoding", "<unknown encoding>"))
                    .append(ls);
            version.append("OS name: \"")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

            Locale orig = Locale.getDefault();
            try {
                Locale[] locales = {Locale.ENGLISH, new Locale("tr")};
                for (Locale locale : locales) {
                    Locale.setDefault(locale);
                    assertOrder(X_EQ_Y, "1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ");
                }
            } finally {
                Locale.setDefault(orig);
            }
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

       * runner would run it even if we did, but part of the problem is b/230620681.
       */
    
      private static final FileSystem FS = FileSystems.getDefault();
    
      private static Path root() {
        return FS.getRootDirectories().iterator().next();
      }
    
      private Path tempDir;
    
      @Override
      protected void setUp() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

        private CLIManager cliManager;
    
        private MessageBuilderFactory messageBuilderFactory;
    
        private FileSystem fileSystem = FileSystems.getDefault();
    
        private static final Pattern NEXT_LINE = Pattern.compile("\r?\n");
    
        public MavenCli() {
            this(null);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            }
          }
        }
      }
    
      public void testNulls() {
        NullPointerTester tester =
            new NullPointerTester()
                .setDefault(SleepingStopwatch.class, stopwatch)
                .setDefault(int.class, 1)
                .setDefault(double.class, 1.0d);
        tester.testStaticMethods(RateLimiter.class, Visibility.PACKAGE);
        tester.testInstanceMethods(RateLimiter.create(5.0, stopwatch), Visibility.PACKAGE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            }
          }
        }
      }
    
      public void testNulls() {
        NullPointerTester tester =
            new NullPointerTester()
                .setDefault(SleepingStopwatch.class, stopwatch)
                .setDefault(int.class, 1)
                .setDefault(double.class, 1.0d);
        tester.testStaticMethods(RateLimiter.class, Visibility.PACKAGE);
        tester.testInstanceMethods(RateLimiter.create(5.0, stopwatch), Visibility.PACKAGE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                if (null == value) {
                    processConfiguration(lookup, bean, loader, configuration, evaluator, listener);
                } else {
                    new CompositeBeanHelper(lookup, loader, evaluator, listener).setDefault(bean, value, configuration);
                }
                return bean;
            } catch (final ComponentConfigurationException e) {
                if (null == e.getFailedConfiguration()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top