Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2111 - 2120 of 3,670 for throwIf (0.14 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedComponentConfigurator.java

                final PlexusConfiguration configuration,
                final ExpressionEvaluator evaluator,
                final ClassRealm realm,
                final ConfigurationListener listener)
                throws ComponentConfigurationException {
            try {
                ClassRealmConverter.pushContextRealm(realm);
    
                this.configureComponent(component, configuration, evaluator, (ClassLoader) realm, listener);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/BreakingChangesGenerator.java

     */
    public class BreakingChangesGenerator {
    
        static void update(File templateFile, File outputFile, List<ChangelogEntry> entries) throws IOException {
            try (FileWriter output = new FileWriter(outputFile)) {
                output.write(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertThrows(
            IllegalArgumentException.class, () -> ticker.setAutoIncrementStep(-1, NANOSECONDS));
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            () -> {
              // adds two nanoseconds to the ticker
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

        private RelatedQueryHelper relatedQueryHelper;
        private MockRelatedQueryBhv mockBhv;
        private VirtualHostHelper virtualHostHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
    
            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            synonymFile = new SynonymFile("1", file1.getAbsolutePath(), new Date());
        }
    
        @Override
            protected void tearDown(TestInfo testInfo) throws Exception {
            file1.delete();
        }
        */
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            synonymFile = new SynonymFile("1", "dummy", new Date());
            List<SynonymItem> itemList = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

      public AbstractMapsTransformValuesTest() {
        super(false, true, false, true, true);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException {
        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
      /** Helper assertion comparing two maps */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java

        /**
         * Creates an artifact.
         *
         * @param request the request holding artifact creation parameters
         * @return an {@code Artifact}, never {@code null}
         * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid
         */
        @Nonnull
        Artifact create(@Nonnull ArtifactFactoryRequest request);
    
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInteger.java

      /**
       * Returns the result of dividing this by {@code val}.
       *
       * @throws ArithmeticException if {@code val} is zero
       * @since 14.0
       */
      public UnsignedInteger dividedBy(UnsignedInteger val) {
        return fromIntBits(UnsignedInts.divide(value, checkNotNull(val).value));
      }
    
      /**
       * Returns this mod {@code val}.
       *
       * @throws ArithmeticException if {@code val} is zero
       * @since 14.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          DELIMITER_DOT, DELIMITER_SPACE, DELIMITER_SEMICOLON -> {
            throw IOException("unexpected delimiter")
          }
        }
    
        // "002F" or "0000..002C"
        val sourceCodePoint0 = readHexadecimalUnsignedLong()
        val sourceCodePoint1 =
          when (select(optionsDot)) {
            DELIMITER_DOT -> {
              if (readByte() != '.'.code.toByte()) throw IOException("expected '..'")
              readHexadecimalUnsignedLong()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                fileIdField.setAccessible(true);
                byte[] actualFileId = (byte[]) fileIdField.get(request);
                assertArrayEquals(expectedFileId, actualFileId);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test constructor with Configuration and FileId")
        void testConstructorWithConfigAndFileId() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
Back to Top