Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3181 - 3190 of 4,456 for override1 (0.05 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt

      val responses = mutableListOf<Response>()
      val routes = mutableListOf<Route>()
    
      fun onlyResponse() = responses.single()
    
      fun onlyRoute() = routes.single()
    
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
      ): Request? {
        if (route == null) throw NullPointerException("route == null")
        responses += response
        routes += route
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

      }
    
      @Test
      fun selectedProtocolIsNullWhenSslSocketThrowsExceptionForApplicationProtocol() {
        platform.assumeJdk9()
        val applicationProtocolUnsupported =
          object : DelegatingSSLSocket(null) {
            override fun getApplicationProtocol(): String = throw UnsupportedOperationException("Mock exception")
          }
        assertThat(Jdk9Platform().getSelectedProtocol(applicationProtocolUnsupported)).isNull()
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

      GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE);
    
      private final Set<Feature<? super Set>> implied;
    
      SetFeature(Feature<? super Set>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Set>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/UnmodifiableIterator.java

      /**
       * Guaranteed to throw an exception and leave the underlying data unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void remove() {
        throw new UnsupportedOperationException();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/CommonServerMessageBlockResponse.java

        /**
         * Checks if this is an asynchronous response.
         *
         * @return is an async response
         */
        boolean isAsync();
    
        /**
         *
         * @return the next response
         */
        @Override
        CommonServerMessageBlockResponse getNextResponse();
    
        /**
         * Prepares this response for the next request.
         *
         * @param next the next request to prepare for
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java

    public class ManagedVersionMap extends HashMap<String, Artifact> {
        public ManagedVersionMap(Map<String, Artifact> map) {
            super();
            if (map != null) {
                putAll(map);
            }
        }
    
        @Override
        public String toString() {
            StringBuilder buffer = new StringBuilder("ManagedVersionMap (" + size() + " entries)\n");
            Iterator<String> iter = keySet().iterator();
            while (iter.hasNext()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesPrecommitPlugin.java

    import org.gradle.api.plugins.JavaPlugin;
    import org.gradle.api.tasks.TaskProvider;
    
    public class DependencyLicensesPrecommitPlugin extends PrecommitPlugin implements InternalPlugin {
    
        @Override
        public TaskProvider<? extends Task> createTask(Project project) {
            project.getPlugins().apply(CompileOnlyResolvePlugin.class);
            TaskProvider<DependencyLicensesTask> dependencyLicenses = project.getTasks()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/resources/checkstyle_ide_fragment.xml

            <!-- Exclude short methods from this check - we don't want to have to document getters -->
            <property name="minLineCount" value="2" />
            <property name="allowedAnnotations" value="Override,Before,BeforeClass,After,AfterClass,Inject,TaskAction" />
            <property name="ignoreMethodNamesRegex" value="^main$"/>
            <message key="javadoc.missing" value="Public methods should be documented" />
        </module>
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 21 18:58:39 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  9. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTaskIT.java

    import org.gradle.testkit.runner.BuildResult;
    
    public class ExportElasticsearchBuildResourcesTaskIT extends GradleIntegrationTestCase {
    
        public static final String PROJECT_NAME = "elasticsearch-build-resources";
    
        @Override
        public String projectName() {
            return PROJECT_NAME;
        }
    
        public void testUpToDateWithSourcesConfigured() {
            getGradleRunner().withArguments("clean", "-s").build();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizer.java

        /**
         * Constructs a new {@link FullWidthToHalfWidthAlphabetNormalizer}.
         */
        public FullWidthToHalfWidthAlphabetNormalizer() {
            // nothing
        }
    
        @Override
        public String normalize(final String text, final String field, final String... langs) {
            if (text == null) {
                return null;
            }
            final char[] chars = new char[text.length()];
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top