Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 165 for null (0.12 sec)

  1. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
            assertThat(toDate(null), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         * .
         */
        @Test
        public void testCreateAndCopySrcNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[calendar] is null."));
            CalendarConversionUtil.localize(null);
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ModifierUtil.java

         * @param method
         *            メソッド。{@literal null}であってはいけません
         * @return パブリックかどうか
         */
        public static boolean isPublic(final Method method) {
            assertArgumentNotNull("method", method);
    
            return isPublic(method.getModifiers());
        }
    
        /**
         * <code>public</code>かどうか返します。
         *
         * @param field
         *            フィールド。{@literal null}であってはいけません
         * @return パブリックかどうか
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

        /**
         * {@link ZipInputStream#getNextEntry()}の例外処理をラップするメソッドです。
         *
         * @param zis
         *            {@link ZipInputStream}。{@literal null}であってはいけません
         * @return {@link ZipEntry}
         * @see ZipInputStream#getNextEntry()
         */
        public static ZipEntry getNextEntry(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
            try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/NullArgumentException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * 引数がnullだった場合にthrowする例外です。
     *
     * {@link NullPointerException}をthrowする代わりに使うことを想定しています。
     *
     * @author wyukawa
     */
    public class NullArgumentException extends ClIllegalArgumentException {
    
        /**
         *
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

             */
            public String getBbb(final Object a) {
                return null;
            }
    
            /**
             * @return boolean
             */
            public boolean isCCC() {
                return true;
            }
    
            /**
             * @return Object
             */
            public Object isDdd() {
                return null;
            }
    
            /**
             * @return String
             */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/Tuple4.java

            final int prime = 31;
            int result = 1;
            result = prime * result + ((value1 == null) ? 0 : value1.hashCode());
            result = prime * result + ((value2 == null) ? 0 : value2.hashCode());
            result = prime * result + ((value3 == null) ? 0 : value3.hashCode());
            result = prime * result + ((value4 == null) ? 0 : value4.hashCode());
            return result;
        }
    
        @Override
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

                }
                if (targetClass == null) {
                    return value;
                }
                for (final Class<?> clazz : iterable(targetClass, false)) {
                    converter = findConverter(clazz);
                    if (converter != null) {
                        break;
                    }
                }
                if (converter == null && destPropertyClass != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsEmptyCollectionOfQ() {
            Collection<String> c = null;
            assertThat(CollectionsUtil.isEmpty(c), is(true));
            c = new ArrayList<String>();
            assertThat(CollectionsUtil.isEmpty(c), is(true));
        }
    
        /**
         * Test method for
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top