- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 40 for computeIfAbsent (0.24 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java
throw exception; } } @Override protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) { return residentContext .computeIfAbsent(getContextId(invokerRequest), k -> new LocalContext(this, invokerRequest)) .copy(invokerRequest); } protected String getContextId(MavenInvokerRequest<MavenOptions> invokerRequest) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
ConcurrentMap<String, ConcurrentMap<String, Object>> pluginContextsByKey = pluginContextsByProjectAndPluginKey.computeIfAbsent(projectKey, k -> new ConcurrentHashMap<>()); String pluginKey = plugin.getPluginLookupKey(); return pluginContextsByKey.computeIfAbsent(pluginKey, k -> new ConcurrentHashMap<>()); } public ProjectDependencyGraph getProjectDependencyGraph() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
throws ArtifactDescriptorException { Relocations relocations = (Relocations) session.getData() .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session)); if (relocations != null) { Artifact original = artifactDescriptorResult.getRequest().getArtifact();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
} @Override public Project getProject(MavenProject project) { return project != null && project.getBasedir() != null ? allProjects.computeIfAbsent(project.getId(), id -> new DefaultProject(this, project)) : null; } @Override public List<ArtifactRepository> toArtifactRepositories(List<RemoteRepository> repositories) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
} if (cls.isArray()) { evaluateArray(target); } else if (isQualifiedForInterpolation(cls)) { Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields()); for (Field field : fields) { Class<?> type = field.getType(); if (isQualifiedForInterpolation(field, type)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* @param supplier the supplier will compute the new value * @return the session data associated with the key */ @Nullable <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier); /** * Create a key using the given class as an identifier and as the type of the object. */ static <T> Key<T> key(Class<T> clazz) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
if (mgmt != null) { for (Plugin plugin : mgmt.getPlugins()) { String key = plugin.getKey(); managedVersions.computeIfAbsent(key, k -> plugin.getVersion()); } } } } for (String key : versions.keySet()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
String referenceKey = ""; if (summary.getReference() != null && !summary.getReference().isEmpty()) { referenceKey = references.computeIfAbsent(summary.getReference(), k -> "[Help " + (references.size() + 1) + "]"); } String msg = summary.getMessage(); if (!referenceKey.isEmpty()) { if (msg.indexOf('\n') < 0) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
for (ArtifactRepository repository : repositories) { String key = repository.getId(); List<ArtifactRepository> aliasedRepos = reposByKey.computeIfAbsent(key, k -> new ArrayList<>()); aliasedRepos.add(repository); } List<ArtifactRepository> effectiveRepositories = new ArrayList<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0)