Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 1,687 for null (0.02 seconds)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                    }
                };
            }
        };
    
        static <E1, E2 extends E1> List<E1> copy(Collection<E2> collection) {
            return collection == null ? List.of() : List.copyOf(collection);
        }
    
        static <K, V> Map<K, V> copy(Map<K, V> map) {
            if (map == null) {
                return emptyMap();
            } else if (map instanceof AbstractImmutableMap) {
                return map;
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            newInterfaces.keySet().removeAll(oldInterfaces.keySet())
    
            if (newInterfaces.isEmpty()) {
                return null
            }
    
            List<String> changes = filterChangesToReport(newClass, newInterfaces)
            if (changes.isEmpty()) {
                return null
            }
            return acceptOrReject(c, changes, Violation.error(c, " introduces internal or incubating interfaces"))
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java

         * variable lookup.
         *
         * @param props The properties to add the environment variables to, may be {@code null}.
         */
        public static void addEnvVars(Properties props) {
            if (props != null) {
                if (envVars == null) {
                    Properties tmp = new Properties();
                    boolean caseSensitive = !Os.IS_WINDOWS;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java

         *
         * @param relPath is the path of the requested model source relative to this model source POM.
         * @return related model source or <code>null</code> if no such model source.
         */
        ModelSource2 getRelatedSource(String relPath);
    
        /**
         * Returns location of the POM, never <code>null</code>.
         */
        URI getLocationURI();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/ConsoleIcon.java

         * @return the terminal's output charset or the system default charset
         */
        private static Charset getTerminalCharset(Terminal terminal) {
            if (terminal != null && terminal.encoding() != null) {
                return terminal.encoding();
            }
            return Charset.defaultCharset();
        }
    
        /**
         * Returns the Unicode character for this icon.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java

         * cache.
         *
         * @param project The project that employs the plugin realm, must not be {@code null}.
         * @param record The cache record being used for the project, must not be {@code null}.
         */
        void register(MavenProject project, Key key, CacheRecord record);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java

            fire(eventType, session, mojoExecution, null);
        }
    
        @Override
        public void fire(
                ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception) {
            ExecutionListener listener = session.getRequest().getExecutionListener();
    
            if (listener != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

            public void mergeManagedDependencies(Model model) {
                DependencyManagement dependencyManagement = model.getDependencyManagement();
                if (dependencyManagement != null) {
                    Map<Object, Dependency> dependencies = new HashMap<>();
                    Map<Object, Object> context = Collections.emptyMap();
    
                    for (Dependency dependency : model.getDependencies()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

        @BeforeEach
        void setUp() throws Exception {
            configurator = new DefaultBeanConfigurator();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
                return new Xpp3Dom(XmlService.read(new StringReader("<configuration>" + xml + "</configuration>")));
            } catch (XMLStreamException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top