Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for factory (0.1 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java

    class DefaultArtifactFactoryTest {
    
        @Inject
        ArtifactFactory factory;
    
        @Test
        void testPropagationOfSystemScopeRegardlessOfInheritedScope() {
            Artifact artifact = factory.createDependencyArtifact(
                    "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided");
            Artifact artifact2 = factory.createDependencyArtifact(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

                ArtifactRepositoryPolicy releases) {
            return injectSession(factory.createArtifactRepository(id, url, repositoryLayout, snapshots, releases), true);
        }
    
        public void setGlobalUpdatePolicy(String updatePolicy) {
            factory.setGlobalUpdatePolicy(updatePolicy);
        }
    
        public void setGlobalChecksumPolicy(String checksumPolicy) {
            factory.setGlobalChecksumPolicy(checksumPolicy);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        CountingSupplier<Queue<Integer>> factory = new QueueSupplier();
    
        Map<Color, Collection<Integer>> map = Maps.newEnumMap(Color.class);
        Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory);
        assertEquals(0, factory.count);
        multimap.putAll(Color.BLUE, asList(3, 1, 4));
        assertEquals(1, factory.count);
        multimap.putAll(Color.RED, asList(2, 7, 1, 8));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.versioning.ArtifactVersion;
    import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.factory.ArtifactFactory;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.versioning.ArtifactVersion;
    import org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

        private Model read(InputStream input, Path pomFile, Map<String, ?> options) throws IOException {
            try {
                XMLInputFactory factory = XMLInputFactory.newFactory();
                factory.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, false);
                XMLStreamReader parser = factory.createXMLStreamReader(input);
    
                InputSource source = getSource(options);
                boolean strict = isStrict(options);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

        Supplier<TreeMap<Integer, Character>> factory =
            new Supplier<TreeMap<Integer, Character>>() {
              @Override
              public TreeMap<Integer, Character> get() {
                return Maps.newTreeMap();
              }
            };
        Map<String, Map<Integer, Character>> backingMap = Maps.newLinkedHashMap();
        Table<String, Integer, Character> table = newCustomTable(backingMap, factory);
        populate(table, data);
        return table;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java

    /**
     * A factory to create settings builder instances when no dependency injection is available. Note: This class
     * is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system,
     * Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/MergerTest.java

    class MergerTest {
    
        @Test
        void testMergerPreserveLocations() throws Exception {
            try (InputStream is = getClass().getResourceAsStream("/poms/factory/complex.xml")) {
    
                InputSource inputSource = new InputSource(null, "classpath:/poms/factory/complex.xml");
                Model model = new MavenStaxReader().read(is, true, inputSource);
                InputLocation propertiesLocation = model.getLocation("properties");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                        final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                        factory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true);
                        factory.setFeature(Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);
                        factory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
                        factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top