- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for singletonList (0.18 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/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));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java
return new DefaultPhase(name, Collections.singletonList(plugin), Collections.emptyList()); } static Plugin plugin(String coord, String phase) { String[] c = coord.split(":"); return Plugin.newBuilder() .groupId(c[0]) .artifactId(c[1]) .version(c[2]) .executions(Collections.singletonList(PluginExecution.newBuilder()
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/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));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.1K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/model/MavenModelMergerTest.java
model = Model.newBuilder() .profiles(Collections.singletonList(modelProfile)) .build(); builder = Model.newBuilder(model); modelMerger.mergeModel_Prerequisites(builder, model, parent, false, null); assertEquals(Collections.singletonList(modelProfile), builder.build().getProfiles()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
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")); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testIsEmpty() { Iterable<String> emptyList = Collections.emptyList(); assertTrue(Iterables.isEmpty(emptyList)); Iterable<String> singletonList = Collections.singletonList("foo"); assertFalse(Iterables.isEmpty(singletonList)); } public void testSkip_simple() { Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
public void testPartition_1_1() { List<Integer> source = Collections.singletonList(1); List<List<Integer>> partitions = Lists.partition(source, 1); assertEquals(1, partitions.size()); assertEquals(Collections.singletonList(1), partitions.get(0)); } public void testPartition_1_2() { List<Integer> source = Collections.singletonList(1); List<List<Integer>> partitions = Lists.partition(source, 2);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java
DefaultMavenMetadataCache.CacheKey k1 = new DefaultMavenMetadataCache.CacheKey(a1, false, lr1, Collections.singletonList(rr1)); DefaultMavenMetadataCache.CacheKey k2 = new DefaultMavenMetadataCache.CacheKey(a2, false, lr2, Collections.singletonList(rr2)); assertEquals(k1.hashCode(), k2.hashCode()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java
project.setRootDirectory(Paths.get("src/test/resources/consumer/trivial")); project.setOriginalModel(model); project.setRemoteArtifactRepositories(Collections.singletonList(new MavenArtifactRepository( "central", "http://repo.maven.apache.org/", new DefaultRepositoryLayout(), null, null))); } Model model = builder.build(session, project, file);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
public void testPartition_1_1() { List<Integer> source = Collections.singletonList(1); List<List<Integer>> partitions = Lists.partition(source, 1); assertEquals(1, partitions.size()); assertEquals(Collections.singletonList(1), partitions.get(0)); } public void testPartition_1_2() { List<Integer> source = Collections.singletonList(1); List<List<Integer>> partitions = Lists.partition(source, 2);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0)