Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for setDelegate (0.14 sec)

  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 {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (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);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. okhttp/src/main/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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. android/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> {@code stream.count()}.
       */
      public final int size() {
        return Iterables.size(getDelegate());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (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());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/merge/MavenToolchainMerger.java

                return;
            }
    
            recessive.setSourceLevel(recessiveSourceLevel);
    
            dominant.update(new org.apache.maven.toolchain.v4.MavenToolchainsMerger()
                    .merge(dominant.getDelegate(), recessive.getDelegate(), true, null));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

        hostname: String?,
        protocols: List<Protocol>,
      ) {
        getDelegate(sslSocket)?.configureTlsExtensions(sslSocket, hostname, protocols)
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        return getDelegate(sslSocket)?.getSelectedProtocol(sslSocket)
      }
    
      @Synchronized private fun getDelegate(sslSocket: SSLSocket): SocketAdapter? {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            List<org.apache.maven.api.model.Profile> interpolated =
                    interpolateActivations(tmpModel.getDelegate().getProfiles(), profileActivationContext, problems);
            if (interpolated != tmpModel.getDelegate().getProfiles()) {
                tmpModel.update(tmpModel.getDelegate().withProfiles(interpolated));
            }
    
            // inject external profile into current model
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            write(output, options, model.getDelegate());
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, org.apache.maven.model.Model model)
                throws IOException {
            write(output, options, model.getDelegate());
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top