- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for safeConcat (0.16 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/DefaultMavenImmutableAttributesFactory.java
return delegate.concat(fallback, primary); } @Override public ImmutableAttributes safeConcat(ImmutableAttributes attributes1, ImmutableAttributes attributes2) throws AttributeMergingException { return delegate.safeConcat(attributes1, attributes2); } @Override public ImmutableAttributes compileScope(ImmutableAttributes original) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 7.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactoryTest.groovy
given: def set1 = factory.concat(factory.of(FOO, "foo1"), factory.of(BAR, "bar1")) def set2 = factory.concat(factory.of(FOO, "foo1"), factory.of(BAR, "bar2")) when: factory.safeConcat(set1, set2) then: AttributeMergingException e = thrown() e.attribute == BAR e.leftValue == "bar1" e.rightValue == "bar2" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 07 17:59:06 UTC 2022 - 8.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/attributes/ImmutableAttributesFactory.java
* * Attributes with same name but different type are considered equal for the purpose of merging. */ ImmutableAttributes safeConcat(ImmutableAttributes attributes1, ImmutableAttributes attributes2) throws AttributeMergingException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 27 04:00:15 UTC 2022 - 3.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ModuleResolveState.java
ImmutableAttributes attributes = ((AttributeContainerInternal) append).asImmutable(); if (mergedConstraintAttributes.isEmpty()) { return attributes; } return attributesFactory.safeConcat(mergedConstraintAttributes.asImmutable(), attributes); } private ImmutableAttributes appendAttributes(ImmutableAttributes dependencyAttributes, SelectorState selectorState) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 02:21:08 UTC 2024 - 18.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactory.java
} } } return current; } @Override public ImmutableAttributes safeConcat(ImmutableAttributes attributes1, ImmutableAttributes attributes2) throws AttributeMergingException { if (attributes1 == ImmutableAttributes.EMPTY) { return attributes2; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 6.6K bytes - Viewed (0)