Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2331 - 2340 of 3,282 for throwIt (0.05 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            model.setGroupId("modelGroup1");
            model.setArtifactId("modelArtifact1");
            model.setVersion("modelVersion1");
    
            return model;
        }
    
        @Test
        void testDebugEnabled() throws PlexusContainerException {
            Logger logger = mock(Logger.class);
            when(logger.isDebugEnabled()).thenReturn(true);
    
            DefaultClassRealmManager classRealmManager;
            ClassRealm classRealm;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

      private volatile boolean completed = false;
    
      @Override
      public void setUp() {
        builder = new ThreadFactoryBuilder();
      }
    
      public void testThreadFactoryBuilder_defaults() throws InterruptedException {
        ThreadFactory threadFactory = builder.build();
        Thread thread = threadFactory.newThread(monitoredRunnable);
        checkThreadPoolName(thread, 1);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *   }
     *
     *   @TestSubtype
     *   public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) {
     *     return notSubtype(intList);
     *   }
     * }
     *
     * public void testMySubtypes() throws Exception {
     *   new MySubtypeTests().testAllDeclarations();
     * }
     * }
     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 25 23:29:58 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

    public class HtmlExtractorTest extends PlainTestCase {
        private static final Logger logger = LogManager.getLogger(HtmlExtractorTest.class);
    
        public HtmlExtractor htmlExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("htmlExtractor", HtmlExtractor.class);
            htmlExtractor = container.getComponent("htmlExtractor");
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            return 0;
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

            this.problems = problems;
        }
    
        /**
         * Formats message out of problems: problems are sorted (in natural order of {@link BuilderProblem.Severity})
         * and then a list is built. These exceptions are usually thrown in "fatal" cases (and usually prevent Maven
         * from starting), and these exceptions may end up very early on output.
         *
         * @param message the base message to enhance
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                return new SuggestIndexResponse(items.length, items.length, result.getFailures(), System.currentTimeMillis() - start);
            } catch (final Exception e) {
                throw new SuggestIndexException("Failed to write items[" + items.length + "] to " + index, e);
            }
        }
    
        /**
         * Deletes a suggest item by ID.
         * @param id The ID of the item to delete.
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 34.4K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

        val request =
          Request
            .Builder()
            .url("https://publicobject.com/robots.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          for (certificate in response.handshake!!.peerCertificates) {
            println(CertificatePinner.pin(certificate))
          }
        }
      }
    }
    
    fun main() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

         * @param badWord Bad word
         */
        public void add(final String badWord) {
            final String validationError = getValidationError(badWord);
            if (validationError != null) {
                throw new IllegalArgumentException("Validation error: " + validationError);
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Adding bad word: index={}, word={}", arraySettings.arraySettingsIndexName, badWord);
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 03:02:17 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                            }
                        }
                        bw.write("\n");
                    }
                    bw.flush();
                } catch (IOException e) {
                    throw new IORuntimeException(e);
                }
            }).execute()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Bulk Response:\n{}", response.getContentAsString());
                }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
Back to Top