Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,211 for an (0.1 sec)

  1. src/test/java/jcifs/SmbPipeHandleTest.java

            /**
             * Verifies that the close method can be called without throwing an exception.
             * @throws CIFSException if an error occurs during close.
             */
            @Test
            public void testClose() throws CIFSException {
                assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object.");
                // Verify that the close method was called
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

        /** クラスローダ */
        protected ClassLoader classLoader;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link ClassLoaderIterator} for use in a for-each statement.
         *
         * @param classLoader the class loader (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link ClassLoaderIterator}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/CloseableUtil.java

        protected CloseableUtil() {
        }
    
        private static final Logger logger = Logger.getLogger(CloseableUtil.class);
    
        /**
         * Closes a {@link Closeable}.
         * <p>
         * If an exception is thrown by {@link Closeable#close()}, an error message is logged. The exception is not rethrown. This prevents the original exception from being lost in situations like the following:
         * </p>
         * <pre>
         * InputStream is = ...;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/Config.java

        }
    
        /**
         * Retrieve an <code>int</code>. If the key does not exist or
         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         *
         * @param key the property key to look up
         * @param def the default value to return if the property is not found or cannot be parsed
         * @return the property value as an int, or the default value
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/LineIterator.java

        /** The line that has been read */
        protected String line = EMPTY;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops.
         *
         * @param reader
         *            The {@link Reader} to read strings from. Must not be {@literal null}.
         * @return An {@link Iterable} that wraps a {@link LineIterator}.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

         * @param sitemap the sitemap to remove
         */
        public void removeSitemap(final Sitemap sitemap) {
            sitemapList.remove(sitemap);
        }
    
        /**
         * Gets all sitemaps in this set as an array.
         * @return an array of sitemaps
         */
        public Sitemap[] getSitemaps() {
            return sitemapList.toArray(new Sitemap[sitemapList.size()]);
        }
    
        /**
         * Sets the type of this sitemap set.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/ClassIterator.java

        protected final boolean includeObject;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link ClassIterator} for use in a for-each statement.
         *
         * @param clazz the class (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link ClassIterator}
         */
        public static Iterable<Class<?>> iterable(final Class<?> clazz) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            assertThrows(PACDecodingException.class, () -> new KerberosToken(malformedToken));
        }
    
        /**
         * Test constructor with a token that has an incorrect OID.
         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithWrongOid() throws IOException {
            byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

     * It extends the {@link RuntimeException} class and provides constructors
     * to create an exception instance with a message, a cause, or both.
     *
     * <p>Usage examples:</p>
     * <pre>
     * throw new SuggesterException("An error occurred");
     * throw new SuggesterException(new IOException("IO error"));
     * throw new SuggesterException("An error occurred", new IOException("IO error"));
     * </pre>
     *
     * @see RuntimeException
     */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayIterator.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * Adaptor that makes an array into an {@link Iterator}.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.ArrayIterator.*;
     *
     * String[] array = ...;
     * for (String element : iterable(array)) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top