Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 143 for newInstance (0.11 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

                        }
                        String impl = properties.getProperty(slf4jBinding);
                        if (impl != null) {
                            return (Slf4jConfiguration) Class.forName(impl).newInstance();
                        }
                    } catch (IOException | ClassNotFoundException | IllegalAccessException | InstantiationException ex) {
                        // ignore and move on to the next
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

        protected SitemapSet parseXmlSitemaps(final InputStream in) {
            final XmlSitemapsHandler handler = new XmlSitemapsHandler();
            try {
                final SAXParserFactory spfactory = SAXParserFactory.newInstance();
                spfactory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true);
                spfactory.setFeature(Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

        }
    
        @Override
        protected <RESULT extends User> 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.setPassword(DfTypeUtil.toString(source.get(PASSWORD)));
                result.setGroups(toStringArray(source.get(GROUPS)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

        public XPathAPI() {
            xPath = createXPath(f -> {});
        }
    
        public XPath createXPath(final Consumer<XPathFactory> builder) {
            try {
                final XPathFactory factory = XPathFactory.newInstance();
                builder.accept(factory);
                return factory.newXPath();
            } catch (final Exception e) {
                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

    @Deprecated(since = "4.0.0")
    public class DefaultModelCache implements ModelCache {
        private static final String KEY = DefaultModelCache.class.getName();
    
        @SuppressWarnings("unchecked")
        public static ModelCache newInstance(RepositorySystemSession session) {
            ConcurrentHashMap<Object, Supplier<?>> cache;
            RepositoryCache repositoryCache = session.getCache();
            if (repositoryCache == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

         */
        public static void registerDriver(final Class<Driver> driverClass) {
            assertArgumentNotNull("driverClass", driverClass);
            registerDriver(ClassUtil.newInstance(driverClass));
        }
    
        /**
         * JDBCドライバを登録します。
         *
         * @param driver
         *            登録するJDBCドライバ。{@literal null}であってはいけません
         */
        public static void registerDriver(final Driver driver) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

                classDoc.addClassExtension(extensionDoc);
            }
        }
    
        private void build(ClassExtensionDoc extensionDoc) {
            Document doc;
            try {
                doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
            } catch (ParserConfigurationException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
Back to top