Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,693 for threw (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedAndUnsupported() {
        try {
          assertNull("get(null) should return null or throw", get(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testGet_nonNullWhenNullContained() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

      }
    
      private fun registerStandardClass(
        access: Feature.BeforeAnalysisAccess,
        name: String,
      ) {
        val clazz: Class<*> = access.findClassByName(name) ?: throw IllegalStateException("Missing class $name")
        RuntimeReflection.register(clazz)
        clazz.declaredConstructors.forEach {
          RuntimeReflection.register(it)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

            mapEntry("one", "January"),
            mapEntry("two", "February"),
            mapEntry("three", "March"),
            mapEntry("four", "April"),
            mapEntry("five", "May"));
      }
    
      @Override
      public SampleElements<String> sampleKeys() {
        return new SampleElements<>("one", "two", "three", "four", "five");
      }
    
      @Override
      public SampleElements<String> sampleValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedAndUnsupported() {
        try {
          assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testFind_nonNullWhenNullContained() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    
      private static Runnable runnableThrowing(final RuntimeException e) {
        return new Runnable() {
          @Override
          public void run() {
            throw e;
          }
        };
      }
    
      @SuppressWarnings("serial")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

      public Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollLastEntry() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

            } catch (ComponentLookupException e) {
                throw new IllegalStateException(e);
            }
        }
    
        private static RepositorySystemSession rss(PlexusContainer c) {
            try {
                LegacySupport legacySupport = c.lookup(LegacySupport.class);
    
                return legacySupport.getRepositorySession();
            } catch (ComponentLookupException e) {
                throw new IllegalStateException(e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            Optional<T> optional = lookupOptional(type);
            if (optional.isPresent()) {
                return optional.get();
            } else {
                throw new LookupException("No mapping for key: " + type.getName());
            }
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            return lookup(type);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

        }
    
        @Override
        public void addHandlers(Map<String, ArtifactHandler> handlers) {
            throw new UnsupportedOperationException("Adding handlers programmatically is not supported anymore");
        }
    
        @Deprecated
        public Set<String> getHandlerTypes() {
            throw new UnsupportedOperationException("Querying handlers programmatically is not supported anymore");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. .github/workflows/create_issue.js

      const pr_match_groups = context.payload.head_commit.message.match(/\Rollback of PR #(\d+).*/) || [];
      if (pr_match_groups.length != 2) {
        console.log(`PR Number not found in ${context.payload.head_commit.message}`);
        throw "Error extracting PR Number from commit message";
      }
      const pr_number = parseInt(pr_match_groups[1]);
      const owner = context.payload.repository.owner.name;
      const repo = context.payload.repository.name;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 18 23:04:59 UTC 2021
    - 2.8K bytes
    - Viewed (0)
Back to top