Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 68 for setDelegate (0.16 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java

        private ArtifactMetadataSource delegate;
    
        @Inject
        public SwitchableMetadataSource(@Named("test") ArtifactMetadataSource delegate) {
            this.delegate = delegate;
        }
    
        public void setDelegate(ArtifactMetadataSource delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

        @Inject
        SwitchableMetadataSource switchableMetadataSource;
    
        @BeforeEach
        void setup() throws CycleDetectedInComponentGraphException {
            switchableMetadataSource.setDelegate(defaultMetadataSource);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       * connections.
       */
      private fun detachTimeout(timeout: ForwardingTimeout) {
        val oldDelegate = timeout.delegate
        timeout.setDelegate(Timeout.NONE)
        oldDelegate.clearDeadline()
        oldDelegate.clearTimeout()
      }
    
      /**
       * The response body from a CONNECT should be empty, but if it is not then we should consume it
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 17.5K bytes
    - Click Count (7)
  4. guava/src/com/google/common/collect/FluentIterable.java

       */
      @Override
      public String toString() {
        return Iterables.toString(getDelegate());
      }
    
      /**
       * Returns the number of elements in this fluent iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#count}.
       */
      public final int size() {
        return Iterables.size(getDelegate());
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  5. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            request.setUserToolchainsSource(
                    new StringSource(new DefaultToolchainsXmlFactory().toXmlString(userResult.getDelegate())));
            request.setGlobalToolchainsSource(
                    new StringSource(new DefaultToolchainsXmlFactory().toXmlString(globalResult.getDelegate())));
    
            ToolchainsBuildingResult result = toolchainBuilder.build(request);
            assertNotNull(result.getEffectiveToolchains());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                return getDelegate().getToolchains(session, type, requirements);
            }
    
            @Nonnull
            @Override
            public Optional<org.apache.maven.api.Toolchain> getToolchainFromBuildContext(
                    @Nonnull Session session, @Nonnull String type) throws ToolchainManagerException {
                return getDelegate().getToolchainFromBuildContext(session, type);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 31 10:58:52 GMT 2025
    - 11K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

                dominant.delegate = SettingsUtilsV4.merge(dominant.getDelegate(), recessive.getDelegate());
            }
        }
    
        /**
         * @param modelProfile
         * @return a profile
         */
        public static Profile convertToSettingsProfile(org.apache.maven.model.Profile modelProfile) {
            return new Profile(SettingsUtilsV4.convertToSettingsProfile(modelProfile.getDelegate()));
        }
    
        /**
         * @param settingsProfile
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        getDelegate(sslSocket)?.configureTlsExtensions(sslSocket, hostname, protocols)
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? = getDelegate(sslSocket)?.getSelectedProtocol(sslSocket)
    
      @Synchronized private fun getDelegate(sslSocket: SSLSocket): SocketAdapter? {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                    .flatMap(project -> project.getModel().getDelegate().getProfiles().stream())
                    .toList();
        }
    
        @Override
        @Nonnull
        public List<Profile> getDeclaredActiveProfiles() {
            return project.getActiveProfiles().stream()
                    .map(org.apache.maven.model.Profile::getDelegate)
                    .toList();
        }
    
        @Override
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            @Override
            @Nonnull
            public Optional<Lifecycle> lookup(String id) {
                return getDelegate().lookup(id);
            }
    
            @Override
            public Iterator<Lifecycle> iterator() {
                return getDelegate().iterator();
            }
    
            protected LifecycleRegistry getDelegate() {
                return lifecycleRegistry;
            }
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top