- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for singletonList (0.26 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java
return new DefaultPhase(name, Collections.emptyList(), Collections.singletonList(link), asList(phases)); } static Lifecycle.Phase phase(String name, Plugin plugin) { return new DefaultPhase( name, Collections.singletonList(plugin), Collections.emptyList(), Collections.emptyList()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX; import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.MinimalCollection; import com.google.common.collect.testing.features.CollectionFeature;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java
Collections.singletonList(system), nonTransitiveDependencyScopes)); result.add(internalScopeManager.createResolutionScope( RS_MAIN_COMPILE_PLUS_RUNTIME, InternalScopeManager.Mode.ELIMINATE, byProjectPath(CommonBuilds.PROJECT_PATH_MAIN), Collections.singletonList(system), nonTransitiveDependencyScopes));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
userResult.setToolchains(Collections.singletonList(toolchain)); props = new Properties(); props.put("key", "global_value"); toolchain = new ToolchainModel(); toolchain.setType("TYPE"); toolchain.setProvides(props); PersistedToolchains globalResult = new PersistedToolchains(); globalResult.setToolchains(Collections.singletonList(toolchain));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java
Collections.singletonList(system), nonTransitiveDependencyScopes)); result.add(internalScopeManager.createResolutionScope( RS_MAIN_COMPILE_PLUS_RUNTIME, InternalScopeManager.Mode.ELIMINATE, byProjectPath(CommonBuilds.PROJECT_PATH_MAIN), Collections.singletonList(system), nonTransitiveDependencyScopes));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
public void shouldInterpolateDependencyVersionToSetSameAsProjectVersion() throws Exception { Model model = Model.newBuilder() .version("3.8.1") .dependencies(Collections.singletonList( Dependency.newBuilder().version("${project.version}").build())) .build(); ModelInterpolator interpolator = createInterpolator();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
public void testReplaceValuesRemoveNotSupported() { List<V> values = singletonList(v3()); assertThrows(UnsupportedOperationException.class, () -> multimap().replaceValues(k0(), values)); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceValuesPutNotSupported() { List<V> values = singletonList(v3());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java
return Collections.singletonList(new DefaultArtifactVersion("10.1.3")); } public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository( Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) { return Collections.singletonList(new DefaultArtifactVersion("10.1.3")); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
private List<Entry<K, V>> containsNullKey; private List<Entry<K, V>> containsNullValue; @Override public void setUp() throws Exception { super.setUp(); containsNullKey = singletonList(entry(null, v3())); containsNullValue = singletonList(entry(k3(), null)); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAll_supportedNothing() { getMap().putAll(emptyMap()); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX; import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows; import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.MinimalCollection; import com.google.common.collect.testing.features.CollectionFeature;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.3K bytes - Viewed (0)