Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 171 for newInstance (0.04 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

            Properties sysProperties = new Properties();
            sysProperties.setProperty("myproperty", "test");
    
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(getPom("complex"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts

        rootProject.plugins.apply(TestFilesCleanupRootPlugin::class.java)
        val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>()
    
        val projectState = objects.newInstance(TestFilesCleanupProjectState::class.java)
    
        globalExtension.projectStates.put(path, projectState)
        projectState.projectBuildDir = layout.buildDirectory
        projectState.projectPath = path
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java

        }
    
        /**
         * Creates a new settings builder instance.
         *
         * @return The new settings builder instance, never {@code null}.
         */
        public DefaultSettingsBuilder newInstance() {
            return new DefaultSettingsBuilder(
                    new DefaultSettingsReader(), new DefaultSettingsWriter(), new DefaultSettingsValidator());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            return props;
        }
    
        @Test
        void testNullSafe() throws Exception {
            Profile p = Profile.newInstance();
    
            assertActivation(false, p, newContext(null, null));
    
            p = p.withActivation(Activation.newInstance());
    
            assertActivation(false, p, newContext(null, null));
        }
    
        @Test
        void testPrefix() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java

        }
    
        @Override
        protected <RESULT extends Group> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet()
                        .stream()
                        .filter(e -> !"name".equals(e.getKey()))
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java

                        if (impl != null) {
                            return (Slf4jConfiguration)
                                    Class.forName(impl).getDeclaredConstructor().newInstance();
                        }
                    } catch (IOException
                            | ClassNotFoundException
                            | NoSuchMethodException
                            | InvocationTargetException
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionConfigurationModule.java

            if (extension.getKey() != null) {
                XmlNode configuration = extension.getConfiguration();
                if (configuration == null) {
                    configuration = XmlNode.newInstance("configuration");
                }
                UnaryOperator<String> cb = Interpolator.memoize(callback);
                UnaryOperator<String> it = s -> interpolator.interpolate(s, cb);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

     */
    @Deprecated(since = "4.0.0")
    class DefaultModelCache implements ModelCache {
    
        private final RepositorySystemSession session;
    
        private final RepositoryCache cache;
    
        public static ModelCache newInstance(RepositorySystemSession session) {
            if (session.getCache() == null) {
                return null;
            } else {
                return new DefaultModelCache(session);
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

      ReserializingTestCollectionGenerator(TestCollectionGenerator<E> delegate) {
        this.delegate = delegate;
      }
    
      public static <E> ReserializingTestCollectionGenerator<E> newInstance(
          TestCollectionGenerator<E> delegate) {
        return new ReserializingTestCollectionGenerator<>(delegate);
      }
    
      @Override
      public Collection<E> create(Object... elements) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java

      CycleDetectingLockFactory factory;
      private Lock[] plainLocks;
      private Lock[] detectingLocks;
    
      @BeforeExperiment
      void setUp() throws Exception {
        this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN);
        this.plainLocks = new Lock[lockNestingDepth];
        for (int i = 0; i < lockNestingDepth; i++) {
          plainLocks[i] = new ReentrantLock();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top