Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,529 for IS (0.01 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(newArray.length, is(2));
            assertThat(newArray[0], is("111"));
            assertThat(newArray[1], is("222"));
    
            final String[] emptyArray = new String[0];
            assertThat(ArrayUtil.addAll((Object[]) null, (Object[]) null), is(nullValue()));
            assertThat(ArrayUtil.addAll(null, emptyArray).length, is(0));
            assertThat(ArrayUtil.addAll(emptyArray, null), is(sameInstance(emptyArray)));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(entry.getValue(), is(sameClass(Integer.class)));
            entry = it.next();
            assertThat(entry.getKey().getName(), is("T2"));
            assertThat(entry.getValue(), is(sameClass(Long.class)));
            entry = it.next();
            assertThat(entry.getKey().getName(), is("T1"));
            assertThat(entry.getValue(), is(sameClass(String.class)));
            entry = it.next();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Integer.class)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Number.class)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameClass(Object.class)));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            // This test demonstrates that try-with-resources handles null safely
            try (InputStream is = null) {
                if (is == null) {
                    throw new IOException("Resource is null");
                }
                fail("Should not reach this point");
            } catch (IOException e) {
                assertEquals("Resource is null", e.getMessage());
                // No NullPointerException should be thrown when exiting try-with-resources
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final Map<String, Object> map = BeanUtil.copyBeanToNewMap(hoge);
            assertThat(map.size(), is(4));
            assertThat(map.get("aaa"), is((Object) "1"));
            assertThat(map.get("search_bbb"), is((Object) "2"));
            assertThat(map.get("search_ccc.ddd"), is((Object) "3"));
            assertThat(map.get("employee.name"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.exception;
    
    /**
     * The class CrawlerSystemException is a runtime exception that is thrown when a system error occurs during crawling.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.message;
    
    import static org.hamcrest.CoreMatchers.equalTo;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/FieldDesc.java

        <T> Class<T> getFieldType();
    
        /**
         * Returns {@literal true} if the field is {@literal public}.
         *
         * @return {@literal true} if the field is {@literal public}
         */
        boolean isPublic();
    
        /**
         * Returns {@literal true} if the field is {@literal static}.
         *
         * @return {@literal true} if the field is {@literal static}
         */
        boolean isStatic();
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.util.Locale;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

                        return mediaType.getType() + "/" + mediaType.getSubtype();
                    }
                }
    
                final MediaType mediaType = mimeTypes.detect(is == null || is.markSupported() ? is : new BufferedInputStream(is), metadata);
                if (useFilenameOnOctetStream && MediaType.OCTET_STREAM.equals(mediaType)) {
                    final MediaType mediaTypeFromFilename = mimeTypes.detect(null, metadata);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top