Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 2,652 for throwIf (0.07 sec)

  1. src/test/java/org/codelibs/core/io/LineIteratorTest.java

    import java.io.StringReader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class LineIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            final LineIterator it = new LineIterator(reader);
            assertThat(it.hasNext(), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadataManager.java

        void resolve(RepositoryMetadata repositoryMetadata, RepositoryRequest repositoryRequest)
                throws RepositoryMetadataResolutionException;
    
        void resolve(
                RepositoryMetadata repositoryMetadata,
                List<ArtifactRepository> repositories,
                ArtifactRepository localRepository)
                throws RepositoryMetadataResolutionException;
    
        void resolveAlways(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

        }
    
        @Override
        public int read() throws IOException {
            return inputStream.read();
        }
    
        @Override
        public int read(final byte[] b, final int off, final int len) throws IOException {
            return inputStream.read(b, off, len);
        }
    
        @Override
        public int read(final byte[] b) throws IOException {
            return inputStream.read(b);
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportInternal.java

    
        /**
         * @return whether the transport was connected
         * @throws SmbException
         * @throws IOException
         * 
         */
        boolean ensureConnected () throws IOException;
    
    
        /**
         * @param ctx
         * @param name
         * @param targetHost
         * @param targetDomain
         * @param rn
         * @return dfs referral
         * @throws SmbException
         * @throws CIFSException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestWriter.java

      private final TestOutputStream out;
    
      public TestWriter(TestOption... options) throws IOException {
        this(new TestOutputStream(ByteStreams.nullOutputStream(), options));
      }
    
      public TestWriter(TestOutputStream out) {
        super(new OutputStreamWriter(checkNotNull(out), UTF_8));
        this.out = out;
      }
    
      @Override
      public void write(int c) throws IOException {
        super.write(c);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetBeanDesc() throws Exception {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
            assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(sameInstance(beanDesc)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testClear() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       *     completed.
       * @throws RejectedExecutionException {@inheritDoc}
       * @throws NullPointerException if any task is null
       */
      @Override
      <T extends @Nullable Object> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
          throws InterruptedException;
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testForName_EmptyName() throws Exception {
            ClassUtil.forName("");
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testGetField_EmptyName() throws Exception {
            ClassUtil.getField(getClass(), "");
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertEquals("2014-11-16T00:16:00Z", format.format(secondTestDate));
        }
    
        @Test
        public void testShouldNotThrowExceptionOnReferenceToNonExistentValue() throws Exception {
            Scm scm = Scm.newBuilder().connection("${test}/somepath").build();
            Model model = Model.newBuilder().scm(scm).build();
    
            ModelInterpolator interpolator = createInterpolator();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top