Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 165 for put (0.13 sec)

  1. maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

            return new CacheKey(extensionRealms);
        }
    
        public CacheRecord get(Key key) {
            return cache.get(key);
        }
    
        public CacheRecord put(Key key, ClassRealm projectRealm, DependencyFilter extensionArtifactFilter) {
            Objects.requireNonNull(projectRealm, "projectRealm cannot be null");
    
            if (cache.containsKey(key)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            cache.put(key, record);
            return record;
        }
    
        @Override
        public CacheRecord put(Key key, LifecycleExecutionException exception) {
            Objects.requireNonNull(exception, "exception cannot be null");
            assertUniqueKey(key);
            CacheRecord record = new CacheRecord(exception);
            cache.put(key, record);
            return record;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                        if (ret != null) {
                            return ret;
                        }
                        cycle.removeLast();
                        stateMap.put(v, DfsState.VISITED);
                    } else if (state == DfsState.VISITING) {
                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            PathModularization info = moduleInfo.get(path);
            if (info == null) {
                info = new PathModularization(path, true);
                moduleInfo.put(path, info);
                pathTypes.put(path, info.getPathType());
            }
            return info;
        }
    
        /**
         * Returns {@link JavaPathType#MODULES} if the given JAR file or output directory is modular.
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                Metadata metadata = it.next();
                if (metadata instanceof PluginsMetadata pluginMetadata) {
                    it.remove();
                    processedPlugins.put(pluginMetadata.getGroupId(), pluginMetadata);
                }
            }
        }
    
        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

            for (String phase : lifecycle.getPhases()) {
                Map<Integer, List<MojoExecution>> phaseBindings = new TreeMap<>();
    
                mappings.put(phase, phaseBindings);
    
                if (phase.equals(lifecyclePhase)) {
                    break;
                }
            }
    
            /*
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            Map<String, Expression> bySyntax = new HashMap<>();
    
            if (expressions != null && !expressions.isEmpty()) {
                for (Expression expression : expressions) {
                    bySyntax.put(expression.getSyntax(), expression);
                }
            }
    
            return bySyntax;
        }
    
        private static ClassLoader initializeDocLoader() throws ExpressionDocumentationException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

                if (e.getCause() instanceof PluginContainerException) {
                    throw (PluginContainerException) e.getCause();
                }
                throw e;
            }
        }
    
        public CacheRecord put(Key key, ClassRealm pluginRealm, List<Artifact> pluginArtifacts) {
            Objects.requireNonNull(pluginRealm, "pluginRealm cannot be null");
            Objects.requireNonNull(pluginArtifacts, "pluginArtifacts cannot be null");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

                    if (index < 0) {
                        location = sourceLocations.get(~index);
                    } else {
                        location = targetLocations.get(index);
                    }
                    locations.put(locations.size(), location);
                }
            }
    
            return new InputLocation(-1, -1, InputSource.merge(source.getSource(), target.getSource()), locations);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

                if (transferred == null) {
                    transferred = (long) length;
                } else {
                    transferred = transferred + length;
                }
                transfers.put(transferEvent.getResource(), transferred);
            }
    
            ArtifactTransferEvent event = wrap(transferEvent);
            event.setDataBuffer(buffer);
            event.setDataOffset(0);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
Back to top