Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for singletonList (0.2 sec)

  1. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            MavenExecutionRequest executionRequest = new DefaultMavenExecutionRequest();
            Map<String, List<ToolchainModel>> toolchainModels = new HashMap<>();
            toolchainModels.put("unknown", Collections.singletonList(new ToolchainModel()));
            executionRequest.setToolchains(toolchainModels);
            when(session.getRequest()).thenReturn(executionRequest);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

            assertThat(filter.include(artifact), is(false));
        }
    
        @Test
        void testExcludeGroupIdWildcardNoMatch() {
            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId("*");
            exclusion.setArtifactId("maven-compat");
            ExclusionArtifactFilter filter = new ExclusionArtifactFilter(Collections.singletonList(exclusion));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Aug 29 15:25:58 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE));
        server.enqueue(new MockResponse().setBody("hello"));
        server.start();
    
        OkHttpClient client = new OkHttpClient.Builder()
            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
            .build();
    
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
    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;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.singletonList;
    
    import java.util.List;
    
    /**
     * GWT emulated version of {@link SingletonImmutableList}.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

            final MavenProject child = createMavenProject("maven-core-child");
            mavenProject.setCollectedProjects(Collections.singletonList(child));
            final List<MavenProject> listOfProjects = Collections.singletonList(mavenProject);
    
            final Set<MavenProject> requiredProjectsBySelectors =
                    sut.getRequiredProjectsBySelectors(mavenExecutionRequest, listOfProjects, selectors);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 8.6K bytes
    - Viewed (0)
  10. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top